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

guile: Fix cross more, including 1.8 #36399

Merged
merged 1 commit into from Mar 7, 2018

Conversation

Ericson2314
Copy link
Member

@Ericson2314 Ericson2314 commented Mar 7, 2018

Motivation for this change

Ii fixed a few things, and also made the derivations more similar so changes can be more easily applied to each of them in the future.

Things done

Built all 3 native and cross (aarch64-linux).

  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • 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 nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@Ericson2314 Ericson2314 added the 6.topic: cross-compilation Building packages on a different sort platform than than they will be run on label Mar 7, 2018
@Ericson2314 Ericson2314 added this to the 18.03 milestone Mar 7, 2018
@Ericson2314 Ericson2314 requested a review from shlevy March 7, 2018 00:21
@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Partial log (click to expand)

patching script interpreter paths in /nix/store/qb8sgkl2r0kfs4mhb801v4vl4agkpgpp-guile-2.2.3
/nix/store/qb8sgkl2r0kfs4mhb801v4vl4agkpgpp-guile-2.2.3/bin/.guile-snarf-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/1kpsj1lp668c2jjp7nvmxgyy9051izq6-bash-4.4-p12/bin/sh"
/nix/store/qb8sgkl2r0kfs4mhb801v4vl4agkpgpp-guile-2.2.3/bin/guild: interpreter directive changed from "/bin/sh" to "/nix/store/1kpsj1lp668c2jjp7nvmxgyy9051izq6-bash-4.4-p12/bin/sh"
/nix/store/qb8sgkl2r0kfs4mhb801v4vl4agkpgpp-guile-2.2.3/bin/guile-config: interpreter directive changed from "/bin/sh" to "/nix/store/1kpsj1lp668c2jjp7nvmxgyy9051izq6-bash-4.4-p12/bin/sh"
strip is /nix/store/3cpk3n0gj67283n3qhc3qi74zgzadxv6-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/k9z4l8s1p975nil13hax7mx93pz7k6gy-guile-2.2.3-dev/lib
patching script interpreter paths in /nix/store/k9z4l8s1p975nil13hax7mx93pz7k6gy-guile-2.2.3-dev
strip is /nix/store/3cpk3n0gj67283n3qhc3qi74zgzadxv6-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/hd9g8ibm5a1x4gi6bhhw3zvljncghxrq-guile-2.2.3-info
/nix/store/qb8sgkl2r0kfs4mhb801v4vl4agkpgpp-guile-2.2.3

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

cannot find section .dynstr
shrinking RPATHs of ELF executables and libraries in /nix/store/95wfm7lhk9pdvv0bbpjb2dlrmjl6pmx5-guile-2.2.3-dev
strip is /nix/store/ki5nz16mh8h8qngsxi6wfr38ifzi064i-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/95wfm7lhk9pdvv0bbpjb2dlrmjl6pmx5-guile-2.2.3-dev/lib 
patching script interpreter paths in /nix/store/95wfm7lhk9pdvv0bbpjb2dlrmjl6pmx5-guile-2.2.3-dev
checking for references to /tmp/nix-build-guile-2.2.3.drv-0 in /nix/store/95wfm7lhk9pdvv0bbpjb2dlrmjl6pmx5-guile-2.2.3-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/mvl8b8v0j3bink9c4xal6sc09pqic4sp-guile-2.2.3-info
strip is /nix/store/ki5nz16mh8h8qngsxi6wfr38ifzi064i-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/mvl8b8v0j3bink9c4xal6sc09pqic4sp-guile-2.2.3-info
checking for references to /tmp/nix-build-guile-2.2.3.drv-0 in /nix/store/mvl8b8v0j3bink9c4xal6sc09pqic4sp-guile-2.2.3-info...

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/y4dlq7s8q2kdsg56b8nncfiv5dnx5435-guile-2.2.3-dev
strip is /nix/store/3l67pallq6xda4rgygnpaj8rhcqvzh6d-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/y4dlq7s8q2kdsg56b8nncfiv5dnx5435-guile-2.2.3-dev/lib
patching script interpreter paths in /nix/store/y4dlq7s8q2kdsg56b8nncfiv5dnx5435-guile-2.2.3-dev
checking for references to /build in /nix/store/y4dlq7s8q2kdsg56b8nncfiv5dnx5435-guile-2.2.3-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/qcf5k6mfqjr3ll8d3z7nb7cfpyrwfq6g-guile-2.2.3-info
strip is /nix/store/3l67pallq6xda4rgygnpaj8rhcqvzh6d-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/qcf5k6mfqjr3ll8d3z7nb7cfpyrwfq6g-guile-2.2.3-info
checking for references to /build in /nix/store/qcf5k6mfqjr3ll8d3z7nb7cfpyrwfq6g-guile-2.2.3-info...
/nix/store/7621rzhqnc3qi88438jawacqbhrycp9j-guile-2.2.3

@Ericson2314 Ericson2314 merged commit b5cf1d2 into NixOS:staging Mar 7, 2018
@Ericson2314 Ericson2314 added this to After big PR in Cross compilation Mar 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: cross-compilation Building packages on a different sort platform than than they will be run on 10.rebuild-darwin: 1-10 10.rebuild-linux: 11-100
Projects
No open projects
Cross compilation
After big PR
Development

Successfully merging this pull request may close these issues.

None yet

2 participants