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

Minor cross fixes, 1 #33575

Merged
merged 5 commits into from Jan 9, 2018
Merged

Minor cross fixes, 1 #33575

merged 5 commits into from Jan 9, 2018

Conversation

dtzWill
Copy link
Member

@dtzWill dtzWill commented Jan 7, 2018

Motivation for this change

Number of straightforward-ish fixes for cross-compilation.

configure test overrides for pkgconfig and libkrb5 are needed for at least raspberryPi
as can be seen if one reverts them (or looks at Hydra, probably).

Things done
  • 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.

@dtzWill
Copy link
Member Author

dtzWill commented Jan 9, 2018

( cc @bgamari @Ericson2314 )

dtzWill and others added 5 commits January 9, 2018 11:23
* move bison/flex to nativeBuildInputs
* add patch to avoid use of undocumented glibc macro
* fix use of 'install -s' to avoid invoking 'strip' directly
(cherry picked from commit 91fdb2f)
@Ericson2314
Copy link
Member

Thanks!

@Ericson2314 Ericson2314 merged commit 0c16a11 into NixOS:master Jan 9, 2018
@dtzWill dtzWill deleted the fix/cross-1 branch January 9, 2018 17:39
@Ericson2314 Ericson2314 added the 6.topic: cross-compilation Building packages on a different sort platform than than they will be run on label Jan 9, 2018
@Ericson2314 Ericson2314 added this to @bgamari's numerous fixes in Cross compilation Jan 9, 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: 1-10
Projects
No open projects
Cross compilation
@bgamari's and @dtzWill's num...
Development

Successfully merging this pull request may close these issues.

None yet

4 participants