Skip to content

Build failure: pmount #374181

Closed
Closed

Description

@sgrb

Nixpkgs version

  • Unstable (25.05)

Steps to reproduce

nix build github:NixOS/nixpkgs/9abb87b552b7f55ac8916b6fc9e5cb486656a2f3#legacyPackages.x86_64-linux.pmount

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/282775271

Relevant log output

make[2]: Entering directory '/build/pmount-0.9.23/src'
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -c fs.c
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -c luks.c
luks.c: In function 'luks_create_lockfile':
luks.c:147:7: error: implicit declaration of function 'creat' [-Wimplicit-function-declaration]
  147 |   f = creat( path, 0600);
      |       ^~~~~
luks.c:153:3: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
  153 |   close(f);
      |   ^~~~~
      |   pclose
luks.c: In function 'luks_remove_lockfile':
luks.c:183:5: error: implicit declaration of function 'unlink' [-Wimplicit-function-declaration]
  183 |     unlink(path);
      |     ^~~~~~
make[2]: *** [Makefile:378: luks.o] Error 1

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.6.66, NixOS, 25.05 (Warbler), 25.05.20241219.d70bd19
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.11
  • channels(root): ""
  • channels(slava): ""
  • nixpkgs: /nix/store/8fwsiv0hd7nw1brkvka0jf1frk3m7qkr-source

Notify maintainers


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

Labels

0.kind: build failure

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions