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

libiconv: Correct cross-building #15021

Closed
wants to merge 4 commits into from

Conversation

bnikolic
Copy link
Contributor

Things done
  • [ X] Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • OS X
    • Linux
  • 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/)
  • [ X] Fits CONTRIBUTING.md.

Select the crossDrv based on the target platform in all-packages.nix,
remove superfluous assert in libiconv

nix-shell -p nox --run "nox-review wip" fails because it tries to build libiconvReal on Linux which fails on master already

Select the crossDrv based on the target platform in all-packages.nix,
remove superfluous assert in libiconv
@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @domenkozar, @vcunat and @edolstra to be potential reviewers

@vcunat
Copy link
Member

vcunat commented Apr 27, 2016

Hmm, yes, I think so. Cross-compilation is still rather hacky, unfortunately.

Not possible to cross-compile darwin.libiconv since it is a system
library.
find-tarballs.nix was failing withing this fix
@bnikolic
Copy link
Contributor Author

I've fixed the failure in CI call into find-tarballs.nix. Remaining is the failure in libiconvReal by the automatic dependency checker -- it should try to build this on a glibc system. How to proceed?

@rasendubi rasendubi added the 6.topic: cross-compilation Building packages on a different sort platform than than they will be run on label Sep 15, 2016
@DavidEGrayson
Copy link
Contributor

DavidEGrayson commented Dec 24, 2016

I made similar changes to libiconv in my pull request here: #21388

@Ericson2314
Copy link
Member

Ericson2314 commented Dec 24, 2016

As did I #21268. My or @DavidEGrayson's PRs should be merged in lieu of this.

@joachifm
Copy link
Contributor

joachifm commented Jan 1, 2017

Closing in deference to the above mentioned PRs.

@joachifm joachifm closed this Jan 1, 2017
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants