Created attachment 408362 [details] emerge --info '=dev-lang/rust-1.1.0::gentoo' Hello, I'm trying to compile dev-lang/rust-1.1.0 on my ~amd64 box but I keep getting the following error: make[1]: Leaving directory '/var/tmp/portage/dev-lang/rust-1.1.0/work/rustc-1.1.0/i686-unknown-linux-gnu/rt/jemalloc' 100 14.7M 100 14.7M 0 0 1141k 0 0:00:13 0:00:13 --:--:-- 1601k determined most recent snapshot: rust-stage0-2015-04-27-857ef6e-linux-i386-0bc8cffdce611fb71fd7d3d8e7cdbfaf748a4f16.tar.bz2 got download with ok hash opening snapshot dl/rust-stage0-2015-04-27-857ef6e-linux-i386-0bc8cffdce611fb71fd7d3d8e7cdbfaf748a4f16.tar.bz2 extracting rust-stage0/bin/rustc if [ -e "i686-unknown-linux-gnu/stage0/bin/rustc" ]; then touch "i686-unknown-linux-gnu/stage0/bin/rustc"; else echo "ERROR: snapshot i686-unknown-linux-gnu/stage0/bin/rustc not found"; exit 1; fi * ERROR: dev-lang/rust-1.1.0::gentoo failed (compile phase): * emake failed I send emerge --info output for that package and detailed build log as attachment. I can provide any viable information to reproduce and fix the issue.
Created attachment 408364 [details] build.log for dev-lang/rust-1.1.0
I just tried to install the package without "system-llvm" flag but it keeps failing. The new error like the following: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lLLVMMCDisassembler /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /var/tmp/portage/dev-lang/rust-1.1.0/work/rustc-1.1.0/i686-unknown-linux-gnu/llvm/Release/lib/libLLVMX86Info.a when searching for -lLLVMX86Info /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libLLVMX86Info.a when searching for -lLLVMX86Info /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libLLVMX86Info.a when searching for -lLLVMX86Info /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lLLVMX86Info /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /var/tmp/portage/dev-lang/rust-1.1.0/work/rustc-1.1.0/i686-unknown-linux-gnu/llvm/Release/lib/libLLVMX86AsmPrinter.a when searching for -lLLVMX86AsmPrinter /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libLLVMX86AsmPrinter.a when searching for -lLLVMX86AsmPrinter /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libLLVMX86AsmPrinter.a when searching for -lLLVMX86AsmPrinter /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lLLVMX86AsmPrinter /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /var/tmp/portage/dev-lang/rust-1.1.0/work/rustc-1.1.0/i686-unknown-linux-gnu/llvm/Release/lib/libLLVMMC.a when searching for -lLLVMMC /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libLLVMMC.a when searching for -lLLVMMC /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libLLVMMC.a when searching for -lLLVMMC /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lLLVMMC /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /var/tmp/portage/dev-lang/rust-1.1.0/work/rustc-1.1.0/i686-unknown-linux-gnu/llvm/Release/lib/libLLVMX86Utils.a when searching for -lLLVMX86Utils /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libLLVMX86Utils.a when searching for -lLLVMX86Utils /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libLLVMX86Utils.a when searching for -lLLVMX86Utils /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lLLVMX86Utils /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /var/tmp/portage/dev-lang/rust-1.1.0/work/rustc-1.1.0/i686-unknown-linux-gnu/llvm/Release/lib/libLLVMCore.a when searching for -lLLVMCore /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libLLVMCore.a when searching for -lLLVMCore /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libLLVMCore.a when searching for -lLLVMCore /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lLLVMCore /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /var/tmp/portage/dev-lang/rust-1.1.0/work/rustc-1.1.0/i686-unknown-linux-gnu/llvm/Release/lib/libLLVMSupport.a when searching for -lLLVMSupport /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../libLLVMSupport.a when searching for -lLLVMSupport /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libLLVMSupport.a when searching for -lLLVMSupport /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lLLVMSupport collect2: error: ld returned 1 exit status error: aborting due to previous error /var/tmp/portage/dev-lang/rust-1.1.0/work/rustc-1.1.0/mk/target.mk:162: recipe for target 'i686-unknown-linux-gnu/stage0/lib/rustlib/i686-unknown-linux-gnu/lib/stamp.rustc_llvm' failed make: *** [i686-unknown-linux-gnu/stage0/lib/rustlib/i686-unknown-linux-gnu/lib/stamp.rustc_llvm] Error 101 make: *** Waiting for unfinished jobs.... info: now are following matches for liblog-*.so libraries: i686-unknown-linux-gnu/stage0/lib/rustlib/i686-unknown-linux-gnu/lib/liblog-gentoo-stable.so info: now are following matches for liblog-*.rlib libraries: i686-unknown-linux-gnu/stage0/lib/rustlib/i686-unknown-linux-gnu/lib/liblog-gentoo-stable.rlib info: now are following matches for libfmt_macros-*.so libraries: i686-unknown-linux-gnu/stage0/lib/rustlib/i686-unknown-linux-gnu/lib/libfmt_macros-gentoo-stable.so info: now are following matches for libfmt_macros-*.rlib libraries: i686-unknown-linux-gnu/stage0/lib/rustlib/i686-unknown-linux-gnu/lib/libfmt_macros-gentoo-stable.rlib info: now are following matches for libgetopts-*.so libraries: i686-unknown-linux-gnu/stage0/lib/rustlib/i686-unknown-linux-gnu/lib/libgetopts-gentoo-stable.so info: now are following matches for libgetopts-*.rlib libraries: i686-unknown-linux-gnu/stage0/lib/rustlib/i686-unknown-linux-gnu/lib/libgetopts-gentoo-stable.rlib * ERROR: dev-lang/rust-1.1.0::gentoo failed (compile phase): * emake failed I send a detailed build log as attachment for this case.
Created attachment 408366 [details] build log for -system-llvm
@Burak Sezer: as a temporary solution, please, use dev-lang/rust-bin. I asked other people to investigate this bug, I'll look at it in the next week.
You have something wrong with arch, so rust and llvm try to build for x86. That's strange. Please, try to reproduce this with rust-1.2. It can be something related to multilib settings.
Hello, Thank you. I will try to reproduce the issue with rust 1.2 as soon as possible. Probably this weekend.
Hey guys, It seems to work fine right now. Don't worry.