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

rust-cbindgen: fix darwin build #49295

Merged
merged 1 commit into from Oct 27, 2018
Merged

Conversation

LnL7
Copy link
Member

@LnL7 LnL7 commented Oct 27, 2018

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.

@GrahamcOfBorg
Copy link

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

Attempted: rust-cbindgen

Partial log (click to expand)

make[3]: Leaving directory '/build/rustc-1.30.0-src/build/x86_64-unknown-linux-gnu/llvm/build'
make[3]: Entering directory '/build/rustc-1.30.0-src/build/x86_64-unknown-linux-gnu/llvm/build'
[ 63%] Building CXX object lib/Target/X86/MCTargetDesc/CMakeFiles/LLVMX86Desc.dir/X86AsmBackend.cpp.o
[ 63%] Building CXX object lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86LegalizerInfo.cpp.o
[ 63%] Building CXX object lib/Target/X86/MCTargetDesc/CMakeFiles/LLVMX86Desc.dir/X86MCTargetDesc.cpp.o
[ 63%] Building CXX object lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86MCInstLower.cpp.o
building of '/nix/store/j1yzzw5jg9dpxlrcp5mj8awfgh755byb-rustc-1.30.0.drv' timed out after 1800 seconds
cannot build derivation '/nix/store/amvxhnkmn7szrbgp5k6zrd9nrms8i7cj-cargo-1.30.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/hq3qfc489ds2m4jwdadaqqn89w67a1q6-rust-cbindgen-0.6.3.drv': 2 dependencies couldn't be built
error: build of '/nix/store/hq3qfc489ds2m4jwdadaqqn89w67a1q6-rust-cbindgen-0.6.3.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: rust-cbindgen

Partial log (click to expand)


installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/6mmrzfcn37k8cwaq20wwg5kqyaf07dc7-rust-cbindgen-0.6.3
shrinking /nix/store/6mmrzfcn37k8cwaq20wwg5kqyaf07dc7-rust-cbindgen-0.6.3/bin/cbindgen
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/6mmrzfcn37k8cwaq20wwg5kqyaf07dc7-rust-cbindgen-0.6.3/bin
patching script interpreter paths in /nix/store/6mmrzfcn37k8cwaq20wwg5kqyaf07dc7-rust-cbindgen-0.6.3
checking for references to /build in /nix/store/6mmrzfcn37k8cwaq20wwg5kqyaf07dc7-rust-cbindgen-0.6.3...
/nix/store/6mmrzfcn37k8cwaq20wwg5kqyaf07dc7-rust-cbindgen-0.6.3

@GrahamcOfBorg
Copy link

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

Attempted: rust-cbindgen

Partial log (click to expand)

[ 32%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/IntervalPartition.cpp.o
[ 32%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/IteratedDominanceFrontier.cpp.o
[ 32%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/LazyBranchProbabilityInfo.cpp.o
[ 32%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/LazyBlockFrequencyInfo.cpp.o
[ 32%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/LazyCallGraph.cpp.o
[ 32%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/LazyValueInfo.cpp.o
building of '/nix/store/c6y5nyc90yyf6grcyp6basd2xz54afmy-rustc-1.30.0.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/qsi7vnllifj610ni78z3hs6j7rh3wibf-cargo-1.30.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/kl5v5bspwjqh0b39242wycgd3ksyn01i-rust-cbindgen-0.6.3.drv': 2 dependencies couldn't be built
error: build of '/nix/store/kl5v5bspwjqh0b39242wycgd3ksyn01i-rust-cbindgen-0.6.3.drv' failed

@dywedir dywedir merged commit 59cd623 into NixOS:master Oct 27, 2018
@LnL7 LnL7 deleted the darwin-rust-cbindgen branch October 28, 2018 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants