Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: pmount #374181

Closed
3 tasks done
sgrb opened this issue Jan 16, 2025 · 1 comment · Fixed by #374282
Closed
3 tasks done

Build failure: pmount #374181

sgrb opened this issue Jan 16, 2025 · 1 comment · Fixed by #374282
Assignees
Labels
0.kind: build failure A package fails to build

Comments

@sgrb
Copy link
Contributor

sgrb commented Jan 16, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants