Bug#707891: llvm-toolchain-3.2 FTBFS on most architectures.

peter green plugwash at p10link.net
Thu May 23 22:26:34 UTC 2013


Recent uploads have changed things round a bit. The package still FTBFS 
on most architectures but it does so in a different way.
> make[1]: Leaving directory `/build/buildd-llvm-toolchain-3.2_3.2repack-6-s390x-gQ5TrE/llvm-toolchain-3.2-3.2repack'
>    dh_install -a
> cp: cannot stat 'debian/tmp/usr/bin/lldb-3.2': No such file or directory
> dh_install: cp -a debian/tmp/usr/bin/lldb-3.2 debian/lldb-3.2//usr/bin/ returned exit code 1
> make: *** [binary-arch] Error 2
>   
This looks like you need to set the architecture list for lldb-3.2 in 
debian/control to match the list of architectures that you are building 
lldb on.

Sparc fails in it's own different way

>/build/buildd-llvm-toolchain-3.2_3.2repack-6-sparc-_XxPw3/llvm-toolchain-3.2-3.2repack/build-llvm/Release/bin/opt -insert-edge-profiling -o /build/buildd-llvm-toolchain-3.2_3.2repack-6-sparc-_XxPw3/llvm-toolchain-3.2-3.2repack/build-llvm/test/Analysis/Profiling/Output/load-branch-weights-ifs.ll.tmp1 < /build/buildd-llvm-toolchain-3.2_3.2repack-6-sparc-_XxPw3/llvm-toolchain-3.2-3.2repack/test/Analysis/Profiling/load-branch-weights-ifs.ll
>rm -f /build/buildd-llvm-toolchain-3.2_3.2repack-6-sparc-_XxPw3/llvm-toolchain-3.2-3.2repack/build-llvm/test/Analysis/Profiling/Output/load-branch-weights-ifs.ll.tmp1.prof_data
>/build/buildd-llvm-toolchain-3.2_3.2repack-6-sparc-_XxPw3/llvm-toolchain-3.2-3.2repack/build-llvm/Release/bin/lli -use-mcjit=false -load /build/buildd-llvm-toolchain-3.2_3.2repack-6-sparc-_XxPw3/llvm-toolchain-3.2-3.2repack/build-llvm/Release/lib/libprofile_rt.so /build/buildd-llvm-toolchain-3.2_3.2repack-6-sparc-_XxPw3/llvm-toolchain-3.2-3.2repack/build-llvm/test/Analysis/Profiling/Output/load-branch-weights-ifs.ll.tmp1      -llvmprof-output /build/buildd-llvm-toolchain-3.2_3.2repack-6-sparc-_XxPw3/llvm-toolchain-3.2-3.2repack/build-llvm/test/Analysis/Profiling/Output/load-branch-weights-ifs.ll.tmp1.prof_data
>/build/buildd-llvm-toolchain-3.2_3.2repack-6-sparc-_XxPw3/llvm-toolchain-3.2-3.2repack/build-llvm/Release/bin/opt -profile-file /build/buildd-llvm-toolchain-3.2_3.2repack-6-sparc-_XxPw3/llvm-toolchain-3.2-3.2repack/build-llvm/test/Analysis/Profiling/Output/load-branch-weights-ifs.ll.tmp1.prof_data -profile-metadata-loader -S -o - < /build/buildd-llvm-toolchain-3.2_3.2repack-6-sparc-_XxPw3/llvm-toolchain-3.2-3.2repack/test/Analysis/Profiling/load-branch-weights-ifs.ll      | /build/buildd-llvm-toolchain-3.2_3.2repack-6-sparc-_XxPw3/llvm-toolchain-3.2-3.2repack/build-llvm/Release/bin/FileCheck /build/buildd-llvm-toolchain-3.2_3.2repack-6-sparc-_XxPw3/llvm-toolchain-3.2-3.2repack/test/Analysis/Profiling/load-branch-weights-ifs.ll
>rm -f /build/buildd-llvm-toolchain-3.2_3.2repack-6-sparc-_XxPw3/llvm-toolchain-3.2-3.2repack/build-llvm/test/Analysis/Profiling/Output/load-branch-weights-ifs.ll.tmp1.prof_data
>--
>Exit Code: 1
>Command Output (stderr):
>--
>Error opening '/build/buildd-llvm-toolchain-3.2_3.2repack-6-sparc-_XxPw3/llvm-toolchain-3.2-3.2repack/build-llvm/Release/lib/libprofile_rt.so': /build/buildd-llvm-toolchain-3.2_3.2repack-6-sparc-_XxPw3/llvm-toolchain-3.2-3.2repack/build-llvm/Release/lib/libprofile_rt.so: cannot open shared object file: No such file or directory
>  -load request ignored.
>WARNING: This target JIT is not designed for the host you are running.  If bad things happen, please choose a different -march switch.
>/build/buildd-llvm-toolchain-3.2_3.2repack-6-sparc-_XxPw3/llvm-toolchain-3.2-3.2repack/build-llvm/Release/bin/lli: error creating EE: target does not support JIT code generation
<--snip--->
>make[1]: Leaving directory `/build/buildd-llvm-toolchain-3.2_3.2repack-6-sparc-_XxPw3/llvm-toolchain-3.2-3.2repack'
>   dh_install -a
>cp: cannot stat `debian/tmp/usr/lib/llvm-3.2/lib/libprofile_rt.so': No such file or directory
>dh_install: cp -a debian/tmp/usr/lib/llvm-3.2/lib/libprofile_rt.so debian/libclang-common-dev//usr/lib/llvm-3.2/lib/ returned exit code 1
>make: *** [binary-arch] Error 2

Dunno what is going on there.



More information about the Pkg-llvm-team mailing list