Repository navigation
Closed
Labels
0.kind: build failureA package fails to build
Description
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
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 1Additional 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
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to build
Activity
paparodeo commentedon Jan 16, 2025
https://salsa.debian.org/debian/pmount/-/tree/debian/master/debian/patches
specifically https://salsa.debian.org/debian/pmount/-/blob/debian/master/debian/patches/fix-implicit-function-declaration.patch will fix.