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

coreutils-8.31 is broken on musl #59934

Closed
matthewbauer opened this issue Apr 20, 2019 · 5 comments
Closed

coreutils-8.31 is broken on musl #59934

matthewbauer opened this issue Apr 20, 2019 · 5 comments
Labels
6.topic: musl Running or building packages with musl libc

Comments

@matthewbauer
Copy link
Member

Issue description

/cc @dtzWill

This appears to be some issue introduced in coreutils 8.31. The log result is:

/nix/store/3gpwl9qq007w9dxn09nw9rj0jwpywp50-aarch64-unknown-linux-musl-binutils-2.31.1/bin/aarch64-unknown-linux-musl-ld: lib/libcoreutils.a(strtold.o):/build/coreutils-8.31/lib/strtod.c:305: multiple definition of `minus_zero'; lib/libcoreutils.a(strtod.o):/build/coreutils-8.31/lib/strtod.c:305: first defined here

Job is here:

https://hydra.nixos.org/job/nixpkgs/cross-trunk/aarch64-musl.coreutils.x86_64-linux

Steps to reproduce

Technical details

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

@dtzWill
Copy link
Member

dtzWill commented Apr 21, 2019

Hmm, that's curious. Investigating...

EDIT: seems broken for cross(-musl), pkgsMusl.coreutils does work.

@dtzWill
Copy link
Member

dtzWill commented Apr 22, 2019 via email

@nh2
Copy link
Contributor

nh2 commented May 12, 2019

I suffer from this; I can't build static stack with static-haskell-nix with latest nixpkgs master because of the stack -> git -> coreutils dependency.

@nh2
Copy link
Contributor

nh2 commented Aug 14, 2019

@matthewbauer Is this still a problem? I'm quite sure I'm building the latest coreutils successfully with musl currently (but not with cross).

@matthewbauer
Copy link
Member Author

Yes, this was fixed in #61250

@tomodachi94 tomodachi94 added the 6.topic: musl Running or building packages with musl libc label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: musl Running or building packages with musl libc
Projects
None yet
Development

No branches or pull requests

4 participants