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

Fix androidndk "ensure unaffected test" #44308

Merged

Conversation

matthewbauer
Copy link
Member

Motivation for this change
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)
  • Fits CONTRIBUTING.md.

@@ -52,7 +53,7 @@ stdenv.mkDerivation rec {
outputs = [ "bin" "dev" "out" ]; # small man pages in $bin

nativeBuildInputs =
[ gtk-doc pkgconfig autoreconfHook intltool gobjectIntrospection ]
[ gtk-doc pkgconfig autoreconfHook intltool buildPackages.gobjectIntrospection ]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that wasn't needed after all.


src = fetchurl {
url = "mirror://savannah/lzip/${name}.tar.gz";
sha256 = "0319q59kb8g324wnj7xzbr7vvlx5bcs13lr34j0zb3kqlyjq2fy9";
};

configureFlags = "CPPFLAGS=-DNDEBUG CFLAGS=-O3 CXXFLAGS=-O3" + stdenv.lib.optionalString stdenv.isCross " CXX=${stdenv.cc.targetPrefix}c++";
configureFlags = "CPPFLAGS=-DNDEBUG CFLAGS=-O3 CXXFLAGS=-O3"
+ stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) " CXX=${stdenv.cc.targetPrefix}c++";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is explicit CXX actually needed here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it. I think it makes sense to make it unconditional though.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you make it unconditional, there's a risk that someone notices it native-compiles fine and removes it completely. So I would keep it conditional.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dezgeg but that's why we do #21471! :) namely the prefixing compilers always to level the playing field.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, that's not something to be expected from a standard native-compiling environment.

"-DLLVM_HOST_TRIPLE=${stdenv.hostPlatform.config}"
"-DLLVM_DEFAULT_TARGET_TRIPLE=${stdenv.targetPlatform.config}"
"-DTARGET_TRIPLE=${stdenv.targetPlatform.config}"
"-DLLVM_HOST_TRIPLE=${stdenv.buildPlatform.config}"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very awkward but what I had to do to get equal hashes for these commmands:

$ nix-instantiate -A buildPackages.buildPackages.androidndk --arg crossSystem '{config = "mips64el-apple-windows-gnu"; libc = "glibc"; }'
$ nix-instantiate -A buildPackages.androidndk --arg crossSystem '{config = "mips64el-apple-windows-gnu"; libc = "glibc"; }'

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

llvm is being pulled in through jdk & mesa-noglu.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait no they should all be host. llvm uses the terminology correctly here. We'd just make the last one host not target for sake of the "ensure unaffected" test.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you do that? I definitely don't want ensure unaffected to break LLVM cross.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • LLVM_DEFAULT_TARGET_TRIPLE is just the default. It would be the host for ensureUnaffected's sake.
  • LLVM_TARGETS_TO_BUILD we keep unset to build them all
  • TARGET_TRIPLE I don't even know whether it exists, or why we used it. @dtzWill can we remove it? `

@@ -22,6 +23,5 @@ stdenv.mkDerivation rec {
homepage = http://www.nongnu.org/lzip/lzip.html;
description = "A lossless data compressor based on the LZMA algorithm";
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.unix;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

platforms.all, otherwise Hydra stops building it.

@matthewbauer matthewbauer force-pushed the fix-cross-ensureUnaffected-test branch from ea58ae3 to 761d5ce Compare August 1, 2018 17:56
@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: libgcrypt, libtasn1, llvm, lzip

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

Partial log (click to expand)

cannot build derivation '/nix/store/fr5pmsnk8ycd4q06gc25f1qfaz7ahrdb-clang-wrapper-5.0.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/kpjw1n3cfn0p5z2s5vi5i5f0hqisrr0v-stdenv-darwin.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/359hfga8vh43pzgy4jf8p0r169llpcg3-gettext-0.19.8.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/n96cjlk9i1c3lk33ncgbq0p6q4lr8w0b-perl-5.24.4.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/7ry2jl7y763zf0iar8lprzp52l6w90l7-libgpg-error-1.28.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/widp6dpxfkplz88ngm5vpgy1g43i7phf-texinfo-6.5.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/5nxjm9sgk3wx3sqdp8ck5sb7rfnfgw6i-libgcrypt-1.8.3.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/3pz93dxlhp79b9n14gcba9rmaagasvk7-libtasn1-4.13.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/k70jbvwznnm3y7lg4k91pwm7bb8qv3f5-lzip-1.20.drv': 2 dependencies couldn't be built
error: build of '/nix/store/3pz93dxlhp79b9n14gcba9rmaagasvk7-libtasn1-4.13.drv', '/nix/store/5nxjm9sgk3wx3sqdp8ck5sb7rfnfgw6i-libgcrypt-1.8.3.drv', '/nix/store/k70jbvwznnm3y7lg4k91pwm7bb8qv3f5-lzip-1.20.drv', '/nix/store/wckjhnfxcp5h1lk4xzjzsp27pjvl4hz0-llvm-5.0.2.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: libapparmor, libgcrypt, libtasn1, llvm, lzip

Partial log (click to expand)

  /nix/store/766ysnal54x46cc8pciwz3k58mdl5zms-e2fsprogs-1.44.3.drv
  /nix/store/yy901dq2wzg8zlcd3ars5a6fpjawj3si-libarchive-3.3.2.drv
  /nix/store/qgk2kq4zf20l0fpxh1zrf001xjn2h7jz-cmake-3.11.2.drv
  /nix/store/xyv5xc2sl4px8r9hlzg3qzg7y9rcrs79-llvm-5.0.2.drv
waiting for locks or build slots...
/nix/store/4f33i5440pck8gm0kzrrj2xkhlv3c2lv-libapparmor-2.12.0
/nix/store/xxvmr0g07365x1qf3c63js5jmww69f5z-libgcrypt-1.8.3
/nix/store/x2kvwzr2s5a8k37mshi9xc5sq8l4z9mv-libtasn1-4.13
/nix/store/lzb04v1qrjnjp9kfjacfvndv50nxcszr-llvm-5.0.2
/nix/store/zgcy0qk34hhp7g4vvxs9yvwxf87pkmnc-lzip-1.20

@matthewbauer matthewbauer changed the base branch from master to staging August 1, 2018 19:00
@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: libgcrypt, libtasn1, llvm, lzip, polkit

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

Partial log (click to expand)

cannot build derivation '/nix/store/sf60bsis952nar7vbnh9d51y0nq1283h-absolute_gir_path.patch.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/6hp4vazjn37klaqz4jwd5ja4hjs19mwl-harfbuzz-1.8.2.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/4q5dg68czald8hnx8rwzbh4v95725d9h-gobject-introspection-1.56.0.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/f307wlza5a297pj71mm5z5g4q6qv462c-harfbuzz-icu-1.8.2.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/qf2091yb5k36f495hpmnk468ymi5wpya-texlive-core-big.bin-2017.drv': 17 dependencies couldn't be built
cannot build derivation '/nix/store/kwn6405qvbf2p0lvl1chynbczmqsl01m-texlive-combined-2017.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/m9vlsi0552l638c096i8fqpm2akcyppw-dblatex-0.3.10.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/nbnsz28aivyq38klkgsn3gfwm6jiw7gw-gtk-doc-1.28.drv': 15 dependencies couldn't be built
cannot build derivation '/nix/store/ybahhr0x52ahzm814xrn7fva6q7gpz3i-polkit-0.113.drv': 13 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/3pz93dxlhp79b9n14gcba9rmaagasvk7-libtasn1-4.13.drv', '/nix/store/5nxjm9sgk3wx3sqdp8ck5sb7rfnfgw6i-libgcrypt-1.8.3.drv', '/nix/store/k70jbvwznnm3y7lg4k91pwm7bb8qv3f5-lzip-1.20.drv', '/nix/store/wckjhnfxcp5h1lk4xzjzsp27pjvl4hz0-llvm-5.0.2.drv', '/nix/store/ybahhr0x52ahzm814xrn7fva6q7gpz3i-polkit-0.113.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: libapparmor, libgcrypt, libtasn1, llvm, lzip, polkit

Partial log (click to expand)

strip is /nix/store/zrs21zqcchgyabjf4xfimncdq16njizc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/7961sgg5mkpvq4j54rrs0vj2jf2avscz-polkit-0.113/lib
patching script interpreter paths in /nix/store/7961sgg5mkpvq4j54rrs0vj2jf2avscz-polkit-0.113
checking for references to /build in /nix/store/7961sgg5mkpvq4j54rrs0vj2jf2avscz-polkit-0.113...
/nix/store/4f33i5440pck8gm0kzrrj2xkhlv3c2lv-libapparmor-2.12.0
/nix/store/xxvmr0g07365x1qf3c63js5jmww69f5z-libgcrypt-1.8.3
/nix/store/x2kvwzr2s5a8k37mshi9xc5sq8l4z9mv-libtasn1-4.13
/nix/store/lzb04v1qrjnjp9kfjacfvndv50nxcszr-llvm-5.0.2
/nix/store/zgcy0qk34hhp7g4vvxs9yvwxf87pkmnc-lzip-1.20
/nix/store/xg6jdh4b5824a7m8k1czcdmqcdx5lp45-polkit-0.113-bin

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: libgcrypt, libtasn1, llvm, lzip

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

Partial log (click to expand)

cannot build derivation '/nix/store/r1rvpl4lv152ifyxckp7rigyqxrnnvlw-clang-wrapper-5.0.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/hv591wazwjliw4g3d9fcidlq8zccjz90-stdenv-darwin.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/kl4yk0ymlqw1pffm90p08wb5a01q01g0-gettext-0.19.8.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/874270p99dp8r1ih53q3m5cmdl22kzha-perl-5.24.4.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/v755l3wjq4hgs5y5r4vmy6q27a8i6vfz-libgpg-error-1.28.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/hgr9cmkh1s551cg83cknf75591g9wjfp-texinfo-6.5.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/ms3jhllg32k6wjrnp7ckiq5xqaqpdv8j-libgcrypt-1.8.3.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/x2i69ia40ji2ci3b3x3iikna9hfsjq0j-libtasn1-4.13.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/3xivxsx39hrjkxalsrhms4m5gs47nnb7-lzip-1.20.drv': 2 dependencies couldn't be built
error: build of '/nix/store/3xivxsx39hrjkxalsrhms4m5gs47nnb7-lzip-1.20.drv', '/nix/store/hhjn9j327zxq0z82jarq5zylvj5viva9-llvm-5.0.2.drv', '/nix/store/ms3jhllg32k6wjrnp7ckiq5xqaqpdv8j-libgcrypt-1.8.3.drv', '/nix/store/x2i69ia40ji2ci3b3x3iikna9hfsjq0j-libtasn1-4.13.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: libapparmor, libgcrypt, libtasn1, llvm, lzip, polkit

Partial log (click to expand)

checking for references to /build in /nix/store/89v35r756zkqfbamyfkwanr1kghi1pa1-polkit-0.113-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/xy45hgf18jkj0m6ysrfwqz0hswvfah6y-polkit-0.113
shrinking /nix/store/xy45hgf18jkj0m6ysrfwqz0hswvfah6y-polkit-0.113/lib/libpolkit-gobject-1.so.0.0.0
shrinking /nix/store/xy45hgf18jkj0m6ysrfwqz0hswvfah6y-polkit-0.113/lib/libpolkit-agent-1.so.0.0.0
shrinking /nix/store/xy45hgf18jkj0m6ysrfwqz0hswvfah6y-polkit-0.113/lib/polkit-1/polkitd
shrinking /nix/store/xy45hgf18jkj0m6ysrfwqz0hswvfah6y-polkit-0.113/lib/polkit-1/polkit-agent-helper-1
strip is /nix/store/1hi76hr87bd1y1q1qjk0lv8nmcjip1c8-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/xy45hgf18jkj0m6ysrfwqz0hswvfah6y-polkit-0.113/lib
patching script interpreter paths in /nix/store/xy45hgf18jkj0m6ysrfwqz0hswvfah6y-polkit-0.113
checking for references to /build in /nix/store/xy45hgf18jkj0m6ysrfwqz0hswvfah6y-polkit-0.113...

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: libapparmor, libgcrypt, libtasn1, llvm, lzip

Partial log (click to expand)

Dependee "/build/llvm/build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/llvm/build/CMakeFiles/check-all.dir/depend.internal".
Scanning dependencies of target check-all
make[3]: Leaving directory '/build/llvm/build'
make -f CMakeFiles/check-all.dir/build.make CMakeFiles/check-all.dir/build
make[3]: Entering directory '/build/llvm/build'
[100%] Running all regression tests
/nix/store/l3ggfcs45wa8n14j7hrgc2hfz3shhr36-python-2.7.15/bin/python2.7 /build/llvm/utils/lit/lit.py -sv --param llvm_site_config=/build/llvm/build/test/lit.site.cfg --param llvm_unit_site_config=/build/llvm/build/test/Unit/lit.site.cfg /build/llvm/build/test
-- Testing: 21449 tests, 4 threads --
building of '/nix/store/wd5h0daw45q789ihf014mnqcpc623div-llvm-5.0.2.drv' timed out after 1800 seconds
error: build of '/nix/store/wd5h0daw45q789ihf014mnqcpc623div-llvm-5.0.2.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: libapparmor, libgcrypt, libtasn1, llvm, lzip

Partial log (click to expand)

shrinking /nix/store/z2jhy8mxi91cx599xbynn7gni82x13pq-llvm-5.0.2-lib/lib/libLLVM-5.0.so
strip is /nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/z2jhy8mxi91cx599xbynn7gni82x13pq-llvm-5.0.2-lib/lib
patching script interpreter paths in /nix/store/z2jhy8mxi91cx599xbynn7gni82x13pq-llvm-5.0.2-lib
checking for references to /build in /nix/store/z2jhy8mxi91cx599xbynn7gni82x13pq-llvm-5.0.2-lib...
/nix/store/hqhbp8nr4k1g5yn4wn0xs58l50zj77x3-libapparmor-2.12.0
/nix/store/xfp8hwvfm1wfni0rzpqf1f7mc6n5ryc2-libgcrypt-1.8.3
/nix/store/99jf5qs69pm3ba8jz8hy8lqkvvcx1lzb-libtasn1-4.13
/nix/store/a30m2am2skplnh4rxrwv3zdpqxi6sy5f-llvm-5.0.2
/nix/store/03xb5g4bnbprjy7xzw0lxabxj86rxrz8-lzip-1.20

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: libapparmor, libgcrypt, libtasn1, llvm, lzip

Partial log (click to expand)

/build/llvm/lib/CodeGen/WinEHPrepare.cpp:1017:6: warning: 'void {anonymous}::WinEHPrepare::verifyPreparedFunclets(llvm::Function&)' defined but not used [-Wunused-function]
 void WinEHPrepare::verifyPreparedFunclets(Function &F) {
      ^~~~~~~~~~~~
[ 17%] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/XRayInstrumentation.cpp.o
[ 17%] Linking CXX static library ../libLLVMCodeGen.a
[ 17%] Built target LLVMCodeGen
Scanning dependencies of target LLVMSelectionDAG
[ 17%] Building CXX object lib/CodeGen/SelectionDAG/CMakeFiles/LLVMSelectionDAG.dir/DAGCombiner.cpp.o
building of '/nix/store/8z8zqhifpbfqq8iqni5l9m66fqs6ram1-llvm-5.0.2.drv' timed out after 3600 seconds
error: build of '/nix/store/8z8zqhifpbfqq8iqni5l9m66fqs6ram1-llvm-5.0.2.drv' failed

@matthewbauer matthewbauer force-pushed the fix-cross-ensureUnaffected-test branch from 761d5ce to de2dfff Compare August 2, 2018 19:49
Copy link
Member

@Ericson2314 Ericson2314 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Note I think enough of this to get the tests passing can go direct to master. (If TARGET_TRIPLE really is not a thing, then it shouldn't hurt to temporarily keep it defined as hostPlatform.config.)

@matthewbauer
Copy link
Member Author

Rebased to avoid conflicting with #44367.

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: libtasn1, llvm, lzip

Partial log (click to expand)

Dependee "/build/llvm/build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/llvm/build/CMakeFiles/check-all.dir/depend.internal".
Scanning dependencies of target check-all
make[3]: Leaving directory '/build/llvm/build'
make -f CMakeFiles/check-all.dir/build.make CMakeFiles/check-all.dir/build
make[3]: Entering directory '/build/llvm/build'
[100%] Running all regression tests
/nix/store/l3ggfcs45wa8n14j7hrgc2hfz3shhr36-python-2.7.15/bin/python2.7 /build/llvm/utils/lit/lit.py -sv --param llvm_site_config=/build/llvm/build/test/lit.site.cfg --param llvm_unit_site_config=/build/llvm/build/test/Unit/lit.site.cfg /build/llvm/build/test
-- Testing: 21449 tests, 4 threads --
building of '/nix/store/a5pdqam4a5v2fcmi4fr9ck0wlb2hyyfl-llvm-5.0.2.drv' timed out after 1800 seconds
error: build of '/nix/store/a5pdqam4a5v2fcmi4fr9ck0wlb2hyyfl-llvm-5.0.2.drv' failed

llvm is a library so it should just need to know about build & host.
GCC will already have a cross compiler built.

/cc @Ericson2314 @dtzWill
@matthewbauer matthewbauer force-pushed the fix-cross-ensureUnaffected-test branch from de2dfff to 1461b90 Compare August 2, 2018 20:53
@matthewbauer matthewbauer merged commit ec34a91 into NixOS:staging Aug 2, 2018
@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: libtasn1, llvm, lzip

Partial log (click to expand)

checking for references to /build in /nix/store/5knihas45a4v37wgpclbi48skmxx55bb-llvm-5.0.2-python...
shrinking RPATHs of ELF executables and libraries in /nix/store/16nkzk9g07z513hjz95l13cd4fvn1ccl-llvm-5.0.2-lib
shrinking /nix/store/16nkzk9g07z513hjz95l13cd4fvn1ccl-llvm-5.0.2-lib/lib/libLLVM-5.0.so
strip is /nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/16nkzk9g07z513hjz95l13cd4fvn1ccl-llvm-5.0.2-lib/lib
patching script interpreter paths in /nix/store/16nkzk9g07z513hjz95l13cd4fvn1ccl-llvm-5.0.2-lib
checking for references to /build in /nix/store/16nkzk9g07z513hjz95l13cd4fvn1ccl-llvm-5.0.2-lib...
/nix/store/99jf5qs69pm3ba8jz8hy8lqkvvcx1lzb-libtasn1-4.13
/nix/store/gk0gssv1xhyl2r56p9qy49vl3axwcmqm-llvm-5.0.2
/nix/store/03xb5g4bnbprjy7xzw0lxabxj86rxrz8-lzip-1.20

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: llvm

Partial log (click to expand)

/nix/store/hr1grr823n3q4bvi0nbj5nd0p26f1dl9-llvm-5.0.2-python/share/opt-viewer/opt-stats.py: interpreter directive changed from "/usr/bin/env python2.7" to "/nix/store/8y7di06q1pilsdlsznbsvmc2jis9rzks-python-2.7.15/bin/python2.7"
/nix/store/hr1grr823n3q4bvi0nbj5nd0p26f1dl9-llvm-5.0.2-python/share/opt-viewer/opt-diff.py: interpreter directive changed from "/usr/bin/env python2.7" to "/nix/store/8y7di06q1pilsdlsznbsvmc2jis9rzks-python-2.7.15/bin/python2.7"
checking for references to /build in /nix/store/hr1grr823n3q4bvi0nbj5nd0p26f1dl9-llvm-5.0.2-python...
shrinking RPATHs of ELF executables and libraries in /nix/store/z2jhy8mxi91cx599xbynn7gni82x13pq-llvm-5.0.2-lib
shrinking /nix/store/z2jhy8mxi91cx599xbynn7gni82x13pq-llvm-5.0.2-lib/lib/libLLVM-5.0.so
strip is /nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/z2jhy8mxi91cx599xbynn7gni82x13pq-llvm-5.0.2-lib/lib
patching script interpreter paths in /nix/store/z2jhy8mxi91cx599xbynn7gni82x13pq-llvm-5.0.2-lib
checking for references to /build in /nix/store/z2jhy8mxi91cx599xbynn7gni82x13pq-llvm-5.0.2-lib...
/nix/store/a30m2am2skplnh4rxrwv3zdpqxi6sy5f-llvm-5.0.2

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: llvm

Partial log (click to expand)

[ 31%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCFragment.cpp.o
[ 31%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCInst.cpp.o
[ 31%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCInstPrinter.cpp.o
[ 31%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCInstrAnalysis.cpp.o
[ 31%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCInstrDesc.cpp.o
[ 31%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCLabel.cpp.o
[ 31%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCLinkerOptimizationHint.cpp.o
[ 31%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCMachOStreamer.cpp.o
building of '/nix/store/hhjn9j327zxq0z82jarq5zylvj5viva9-llvm-5.0.2.drv' timed out after 1800 seconds
error: build of '/nix/store/hhjn9j327zxq0z82jarq5zylvj5viva9-llvm-5.0.2.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: llvm

Partial log (click to expand)

/nix/store/bra6d1946a13q1bi5w28qxxbf2d6snnz-llvm-5.0.2-python/share/opt-viewer/opt-stats.py: interpreter directive changed from "/usr/bin/env python2.7" to "/nix/store/l3ggfcs45wa8n14j7hrgc2hfz3shhr36-python-2.7.15/bin/python2.7"
/nix/store/bra6d1946a13q1bi5w28qxxbf2d6snnz-llvm-5.0.2-python/share/opt-viewer/opt-viewer.py: interpreter directive changed from "/usr/bin/env python2.7" to "/nix/store/l3ggfcs45wa8n14j7hrgc2hfz3shhr36-python-2.7.15/bin/python2.7"
/nix/store/bra6d1946a13q1bi5w28qxxbf2d6snnz-llvm-5.0.2-python/share/opt-viewer/optrecord.py: interpreter directive changed from "/usr/bin/env python2.7" to "/nix/store/l3ggfcs45wa8n14j7hrgc2hfz3shhr36-python-2.7.15/bin/python2.7"
checking for references to /build in /nix/store/bra6d1946a13q1bi5w28qxxbf2d6snnz-llvm-5.0.2-python...
shrinking RPATHs of ELF executables and libraries in /nix/store/8kc5l7b19276rjawyca25yq55msd3sl4-llvm-5.0.2-lib
shrinking /nix/store/8kc5l7b19276rjawyca25yq55msd3sl4-llvm-5.0.2-lib/lib/libLLVM-5.0.so
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/8kc5l7b19276rjawyca25yq55msd3sl4-llvm-5.0.2-lib/lib
patching script interpreter paths in /nix/store/8kc5l7b19276rjawyca25yq55msd3sl4-llvm-5.0.2-lib
checking for references to /build in /nix/store/8kc5l7b19276rjawyca25yq55msd3sl4-llvm-5.0.2-lib...

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: libtasn1, llvm, lzip

Partial log (click to expand)

stripping (with command strip and flags -S) in /nix/store/2m6lq3ipvrx7646i54smhnxzp010kmcp-gnutar-1.30/bin
patching script interpreter paths in /nix/store/2m6lq3ipvrx7646i54smhnxzp010kmcp-gnutar-1.30
strip is /nix/store/4q1c84f1ynfvsd85a932375sg0jc89v8-bootstrap-tools/bin/strip
patching script interpreter paths in /nix/store/dm2c2bkp4hil5458jv12jky9nmzjbvpi-gnutar-1.30-info
cannot build derivation '/nix/store/wkycfaq2qgi7bbcwsi5j9i34i5v7xnsm-stdenv-darwin.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/cpgi341jpi4m7r9rqwkkqwcj4ny4iaql-perl-5.24.4.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/zpjzi3lc16rqbk42hmykl2nb8qwgh3qj-texinfo-6.5.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/221h94bljhcn7cr9h33dfmb3y0y0fpza-libtasn1-4.13.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/5n6slhf8wljazlysr2zwf4nfq6ja1fdm-lzip-1.20.drv': 2 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/221h94bljhcn7cr9h33dfmb3y0y0fpza-libtasn1-4.13.drv', '/nix/store/5n6slhf8wljazlysr2zwf4nfq6ja1fdm-lzip-1.20.drv', '/nix/store/v59c7dfga98aq48qcjwd0m7kj0amdy3r-llvm-5.0.2.drv' failed

@matthewbauer matthewbauer deleted the fix-cross-ensureUnaffected-test branch February 22, 2019 04:26
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

4 participants