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 on pkgsMusl.ghc865Binary breaking all GHC versions #88160

Closed
utdemir opened this issue May 19, 2020 · 1 comment
Closed

Build failure on pkgsMusl.ghc865Binary breaking all GHC versions #88160

utdemir opened this issue May 19, 2020 · 1 comment
Labels

Comments

@utdemir
Copy link
Member

utdemir commented May 19, 2020

Describe the bug

Building ghc865Binary on pkgsMusl fails with following error:

"/nix/store/r653jxnww0qp3biyakmj1xj5qwvg86ig-ghc-8.6.5-binary/lib/ghc-8.6.5/bin/ghc-pkg" --force --global-package-db "/nix/store/r653jxnww0qp3biyakmj1xj5qwvg86ig-ghc-8.6.5-binary/lib/ghc-8.6.5/package.conf.d" update rts/dist/package.conf.install
/nix/store/r653jxnww0qp3biyakmj1xj5qwvg86ig-ghc-8.6.5-binary/lib/ghc-8.6.5/bin/ghc-pkg: /nix/store/mncp14kchmm54a1xvlsvrp07vj3rkxr7-ncurses-6.2-abi5-compat/lib/libtinfo.so.5: no version information available (required by /nix/store/r653jxnww0qp3biyakmj1xj5qwvg86ig-ghc-8.6.5-binary/lib/ghc-8.6.5/bin/ghc-pkg)
/nix/store/r653jxnww0qp3biyakmj1xj5qwvg86ig-ghc-8.6.5-binary/lib/ghc-8.6.5/bin/ghc-pkg: /nix/store/mncp14kchmm54a1xvlsvrp07vj3rkxr7-ncurses-6.2-abi5-compat/lib/libtinfo.so.5: no version information available (required by /nix/store/r653jxnww0qp3biyakmj1xj5qwvg86ig-ghc-8.6.5-binary/lib/ghc-8.6.5/bin/../terminfo-0.4.1.2/libHSterminfo-0.4.1.2-ghc8.6.5.so)
Inconsistency detected by ld.so: dl-lookup.c: 111: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!
make[1]: *** [ghc.mk:991: install_packages] Error 127
make: *** [Makefile:51: install] Error 2
builder for '/nix/store/1z930k8adi569ay2i6y7f2lv1szv8yah-ghc-8.6.5-binary.drv' failed with exit code 2

This breaks other GHC versions too on pkgsMusl, since ghc865Binary is used when bootstrapping the others.

I did a bisect and turns out ghc865Binary always failed with the same error on pkgsMusl since it was introduced on commit 3c7ef6b. Previously, ghc863Binary used to work.

To Reproduce
Steps to reproduce the behavior:

  1. cd nixpkgs/
  2. git checkout 14669dc40c4
  3. nix-build -A pkgsMusl.haskell.packages.ghc865Binary.ghc

cc @thefloweringash @nh2 @adamse

@utdemir utdemir added the 0.kind: bug Something is broken label May 19, 2020
@utdemir
Copy link
Member Author

utdemir commented May 20, 2020

Just noticed that this is a duplicate of #85924. Closing.

@utdemir utdemir closed this as completed May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants