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: man-pages (Darwin) #312797

Closed
Qyriad opened this issue May 19, 2024 · 3 comments · Fixed by #312813
Closed

Build failure: man-pages (Darwin) #312797

Qyriad opened this issue May 19, 2024 · 3 comments · Fixed by #312813
Labels
0.kind: build failure 6.topic: darwin Running or building packages on Darwin

Comments

@Qyriad
Copy link
Member

Qyriad commented May 19, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix build "github:NixOS/nixpkgs/master#man-pages"

Reproduced on Nixpkgs commit 68ead29

Build log

@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/a4rsd0p48z6qggksskfxzskcqy4hk6lg-man-pages-6.7.tar.xz
source root is man-pages-6.7
setting SOURCE_DATE_EPOCH to timestamp 1710871633 of file man-pages-6.7/share/mk/src.mk
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "installPhase" }
Running phase: installPhase
install flags: -j8 SHELL=/nix/store/9wgn14v41bks2yb74jbmiiyi7y13334w-bash-5.2p26/bin/bash SHELL=env prefix=/nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7 install
bash: line 1: locale: command not found
MKDIR		/nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man1/
MKDIR		/nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man2/
MKDIR		/nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man3/
MKDIR		/nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man4/
MKDIR		/nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man5/
MKDIR		/nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man6/
MKDIR		/nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man7/
MKDIR		/nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man8/
MKDIR		/nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man2type/
INSTALL		/nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man3/a64l.3
INSTALL		/nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man3/abort.3
INSTALL		/nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man3/abs.3
INSTALL		/nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man3/acos.3
INSTALL		/nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man3/acosf.3
INSTALL		/nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man3/acosh.3
INSTALL		/nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man3/acoshf.3
INSTALL		/nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man3/acoshl.3
install: skipping file '/dev/stdin', as it was replaced while being copied
INSTALL		/nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man3/acosl.3
install: skipping file '/dev/stdin', as it was replaced while being copied
install: skipping file '/dev/stdin', as it was replaced while being copied
make: *** [share/mk/install/man.mk:54: /nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man3/abort.3] Error 1
make: *** Waiting for unfinished jobs....
install: skipping file '/dev/stdin', as it was replaced while being copied
install: skipping file '/dev/stdin', as it was replaced while being copied
make: *** [share/mk/install/man.mk:54: /nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man3/a64l.3] Error 1
make: *** [share/mk/install/man.mk:54: /nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man3/acos.3] Error 1
make: *** [share/mk/install/man.mk:54: /nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man3/acosf.3] Error 1
make: *** [share/mk/install/man.mk:54: /nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man3/abs.3] Error 1
install: skipping file '/dev/stdin', as it was replaced while being copied
install: skipping file '/dev/stdin', as it was replaced while being copied
make: *** [share/mk/install/man.mk:54: /nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man3/acosh.3] Error 1
make: *** [share/mk/install/man.mk:54: /nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man3/acoshf.3] Error 1
install: skipping file '/dev/stdin', as it was replaced while being copied
make: *** [share/mk/install/man.mk:54: /nix/store/61x5w8m1vd75rzs02w8agjr2mf3n0vlf-man-pages-6.7/share/man/man3/acoshl.3] Error 1

Notify maintainers

@trofi

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"aarch64-darwin"`
 - host os: `Darwin 23.4.0, macOS 14.4.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Lix, like Nix) 2.90.0pre20240518_139d31f
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`
output here

(Note: it says "Lix" as that's the primary Nix on my system, but I also reproduced this with Nix 2.18)


Add a 👍 reaction to issues you find important.

@Qyriad Qyriad added 6.topic: darwin Running or building packages on Darwin 0.kind: build failure labels May 19, 2024
@trofi
Copy link
Contributor

trofi commented May 19, 2024

Oh, yes. It was discussed in #300797 for a while and was fixed upstream in https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=9524f0f63badd896ccf6da7d79511100d86c4721 . But I completely forgot to pull it in. It's a bit hard as makefiles where the fix was applied are in a frequent churn. Let's package a master snapshot instead.

trofi added a commit to trofi/nixpkgs that referenced this issue May 19, 2024
@trofi trofi mentioned this issue May 19, 2024
13 tasks
@trofi
Copy link
Contributor

trofi commented May 19, 2024

Proposed the fix as #312813 . Can you check if it works on darwin?

@Qyriad
Copy link
Member Author

Qyriad commented May 19, 2024

Yep that works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure 6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants