Navigation Menu

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

xfsprogs: fix cross compilation #51170

Merged
merged 2 commits into from Dec 2, 2018
Merged

Conversation

eburimu
Copy link
Contributor

@eburimu eburimu commented Nov 28, 2018

Motivation for this change

Fixes #51131

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option 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/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@c0bw3b c0bw3b added the 6.topic: cross-compilation Building packages on a different sort platform than than they will be run on label Nov 28, 2018
@Mic92
Copy link
Member

Mic92 commented Nov 29, 2018

@GrahamcOfBorg build pkgsCross.aarch64-multiplatform.xfsprogs xfsprogs

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: pkgsCross.aarch64-multiplatform.xfsprogs, xfsprogs

Partial log (click to expand)

strip is /nix/store/kjh00kmvpdvy82y17rxgj41c908my324-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/56wv4d0rk90g0zyfk9xk41hk9aif4bnl-xfsprogs-4.14.0/lib
patching script interpreter paths in /nix/store/56wv4d0rk90g0zyfk9xk41hk9aif4bnl-xfsprogs-4.14.0
checking for references to /build/ in /nix/store/56wv4d0rk90g0zyfk9xk41hk9aif4bnl-xfsprogs-4.14.0...
shrinking RPATHs of ELF executables and libraries in /nix/store/zz6753yw0n7smwl2pn2bqqrb2k87v5f9-xfsprogs-4.14.0-doc
strip is /nix/store/kjh00kmvpdvy82y17rxgj41c908my324-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/zz6753yw0n7smwl2pn2bqqrb2k87v5f9-xfsprogs-4.14.0-doc
checking for references to /build/ in /nix/store/zz6753yw0n7smwl2pn2bqqrb2k87v5f9-xfsprogs-4.14.0-doc...
/nix/store/jb8q3v4jg652rab4sv0gr6061cbwrdgv-xfsprogs-4.14.0-bin
/nix/store/637r1vizwxrm66s9sjsi25fdlzq8jfpy-xfsprogs-4.14.0-bin

@GrahamcOfBorg
Copy link

Timed out, unknown build status on x86_64-darwin (full log)

Attempted: pkgsCross.aarch64-multiplatform.xfsprogs

The following builds were skipped because they don't evaluate on x86_64-darwin: xfsprogs

Partial log (click to expand)

cannot build derivation '/nix/store/kf4wgmddnp6g2pdj5viqaa99cm858jhy-python2.7-setuptools-40.4.3.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/4fwzbzf1knxnnhsmnpq7d49ydw6h1pfa-zlib-1.2.11-aarch64-unknown-linux-gnu.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/d6ng8jpl0ch6fw2cc81347q0pgf6byam-cracklib-2.9.6-aarch64-unknown-linux-gnu.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/2qh4r8774pjpqnbia6jjy43yn9hj5v9h-gnome-doc-utils-0.20.10.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/qd8lapz3akk28mfy5yb3v1rfdb47gm96-readline-6.3p08-aarch64-unknown-linux-gnu.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/vv1aifnnxs76f6drc6jwwwj7g124s36c-linux-pam-1.3.0-aarch64-unknown-linux-gnu.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/jb0dfrdzwzi5bhvsaylz2szwpv2mck4l-shadow-4.6-aarch64-unknown-linux-gnu.drv': 13 dependencies couldn't be built
cannot build derivation '/nix/store/d98whwyanzdnfwgzm18s5xn2wsl9vim2-util-linux-2.33-aarch64-unknown-linux-gnu.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/86kkq6a220rl9dcjf94xry4d0jq3qif1-xfsprogs-4.14.0-aarch64-unknown-linux-gnu.drv': 8 dependencies couldn't be built
error: build of '/nix/store/86kkq6a220rl9dcjf94xry4d0jq3qif1-xfsprogs-4.14.0-aarch64-unknown-linux-gnu.drv' failed

@GrahamcOfBorg
Copy link

Timed out, unknown build status on x86_64-linux (full log)

Attempted: pkgsCross.aarch64-multiplatform.xfsprogs, xfsprogs

Partial log (click to expand)

cannot build derivation '/nix/store/ymgsxh7ln909jrpr9vbai7irsf3d3s73-ncurses-6.1-20181027-aarch64-unknown-linux-gnu.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/fa8yq4lb956fx9y4hb7vidiaacc61ja2-xfsprogs-4.14.0.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/dzj5g3lyqbwj899l86mavhaqyw253g3g-zlib-1.2.11-aarch64-unknown-linux-gnu.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/8098ib2zfdjb943dwb2wlcksy86f6kff-cracklib-2.9.6-aarch64-unknown-linux-gnu.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/h5yvnc79ya3x8dp34sq7csyid7ryial7-readline-6.3p08-aarch64-unknown-linux-gnu.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/nhx4y3vny2l9ib7sl374bx8sxc9cjffh-linux-pam-1.3.0-aarch64-unknown-linux-gnu.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/rqlxwdv5dyhlmr9r2p76q50hlqx603ps-shadow-4.6-aarch64-unknown-linux-gnu.drv': 14 dependencies couldn't be built
cannot build derivation '/nix/store/hbwwvqiqraiarfb9bb37myxx476zhwy9-util-linux-2.33-aarch64-unknown-linux-gnu.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/m6hchpgqp5gixgaal0gnj8sscpz3shvi-xfsprogs-4.14.0-aarch64-unknown-linux-gnu.drv': 10 dependencies couldn't be built
error: build of '/nix/store/fa8yq4lb956fx9y4hb7vidiaacc61ja2-xfsprogs-4.14.0.drv', '/nix/store/m6hchpgqp5gixgaal0gnj8sscpz3shvi-xfsprogs-4.14.0-aarch64-unknown-linux-gnu.drv' failed

@Ericson2314 Ericson2314 merged commit 7beb1ad into NixOS:staging Dec 2, 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: 0 10.rebuild-linux: 11-100
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants