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

cryptsetup: fixup static build #96024

Closed
wants to merge 1 commit into from

Conversation

baloo
Copy link
Member

@baloo baloo commented Aug 22, 2020

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@SuperSandro2000
Copy link
Member

nix-build -A pkgsStatic.cryptsetup

checking for x86_64-unknown-linux-musl-ld option to reload object files... -r
checking for x86_64-unknown-linux-musl-objdump... x86_64-unknown-linux-musl-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-unknown-linux-musl-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-unknown-linux-musl-ar... x86_64-unknown-linux-musl-ar
/nix/store/f7b0y2q80kgnqjkjmh7cng048wsy6mw9-x86_64-unknown-linux-musl-binutils-2.31.1/bin/x86_64-unknown-linux-musl-ld: /build/audit-2.8.5/auparse/.libs/libauparse.a(auditd-config.o): in function `clear_config':
/build/audit-2.8.5/auparse/auditd-config.c:74: multiple definition of `clear_config'; auditd-auditd-config.o:/build/audit-2.8.5/src/auditd-config.c:277: first defined here
/nix/store/f7b0y2q80kgnqjkjmh7cng048wsy6mw9-x86_64-unknown-linux-musl-binutils-2.31.1/bin/x86_64-unknown-linux-musl-ld: /build/audit-2.8.5/auparse/.libs/libauparse.a(auditd-config.o): in function `free_config':
/build/audit-2.8.5/auparse/auditd-config.c:329: multiple definition of `free_config'; auditd-auditd-config.o:/build/audit-2.8.5/src/auditd-config.c:1855: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:580: auditd] Error 1
make[3]: Leaving directory '/build/audit-2.8.5/src'
make[2]: *** [Makefile:828: all-recursive] Error 1
make[2]: Leaving directory '/build/audit-2.8.5/src'
make[1]: *** [Makefile:470: all-recursive] Error 1
make[1]: Leaving directory '/build/audit-2.8.5'
make: *** [Makefile:402: all] Error 2
checking for archiver @FILE support... @
checking for x86_64-unknown-linux-musl-strip... (cached) x86_64-unknown-linux-musl-strip
checking for x86_64-unknown-linux-musl-ranlib... x86_64-unknown-linux-musl-ranlib
builder for '/nix/store/5d0g0l0g7lbpnra8zg8h15cvsvd3fy7x-audit-2.8.5-x86_64-unknown-linux-musl.drv' failed with exit code 2
building '/nix/store/n3x9xq42z22p2rncb5v5vizq7blxvby8-db-4.8.30-x86_64-unknown-linux-musl.drv'...
cannot build derivation '/nix/store/dvz8jh9lg6wz5wyczb4lrnxzqxd40bc6-systemd-minimal-247.2-x86_64-unknown-linux-musl.drv': 1 dependencies couldn't be built
building '/nix/store/shaab5ajmdzj8kqjnbrsxmap1655bk9h-gettext-0.21-x86_64-unknown-linux-musl.drv'...
cannot build derivation '/nix/store/9ha97q32ihhsa3imycb65v64ps8ph0dx-lvm2-2.03.10-x86_64-unknown-linux-musl.drv': 1 dependencies couldn't be built
building '/nix/store/y9hccgjslfri5mfqvif3j776nqwj5vsv-popt-1.16-x86_64-unknown-linux-musl.drv'...
cannot build derivation '/nix/store/qx0nkdd8c5nja8pmf3a4dh4ym842n5xk-cryptsetup-2.3.4-x86_64-unknown-linux-musl.drv': 1 dependencies couldn't be built

@baloo baloo closed this Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants