Closed hvenev closed 11 years ago
Please can you pastebin your build.log and also your make.conf - what USE flags are you using for this package?
This is what I currently have: sys-devel/llvm-9999::FireBurn USE="amdgpu gold libffi multitarget -debug -ocaml {-test} -udis86 -vim-syntax"
On my machine build fails with the same error which mustrumr got. I tried both with default USE flags and with those specified above. Currently I have this: sys-devel/llvm-32bit-9999::FireBurn USE="amdgpu gold libffi multitarget -debug -ocaml {-test} -udis86 -vim-syntax" Build.log pastebin: http://pastebin.com/BCwjmtcq (1/5) http://pastebin.com/0DX4E75F (2/5) http://pastebin.com/JmRNyFv3 (3/5) http://pastebin.com/jwK0jex9 (4/5) http://pastebin.com/0teHxnFn (5/5)
make.conf: http://pastebin.com/Cgf2qkh8
Out of interest does the llvm-9999-r1 package install correctly? Also which emul packages do you have installed?
Yes, the 64-bit version compiles without errors.
app-emulation/emul-linux-x86-baselibs-20121202 -development
app-emulation/emul-linux-x86-db-20121202 -development
app-emulation/emul-linux-x86-gtklibs-20121028 -development
app-emulation/emul-linux-x86-medialibs-20121028 -development
app-emulation/emul-linux-x86-opengl-20121028 -development
app-emulation/emul-linux-x86-qtlibs-20121028 -development -gtkstyle
app-emulation/emul-linux-x86-soundlibs-20121028 +alsa -development
app-emulation/emul-linux-x86-xlibs-20121028 +opengl -development
Looking up further in the build.log I see:
llvm[0]: Constructing LLVMBuild project information.
/var/tmp/portage/sys-devel/llvm-32bit-9999/work/llvm-9999.src/utils/llvm-build/llvm-build \
--native-target "x86" \
--enable-targets "AMDGPU CppBackend X86 " \
--enable-optional-components "" \
--write-library-table /var/tmp/portage/sys-devel/llvm-32bit-9999/work/llvm-9999.src/tools/llvm-config/LibraryDependencies.inc \
--write-make-fragment /var/tmp/portage/sys-devel/llvm-32bit-9999/work/llvm-9999.src/Makefile.llvmbuild
Traceback (most recent call last):
File "/var/tmp/portage/sys-devel/llvm-32bit-9999/work/llvm-9999.src/utils/llvm-build/llvm-build", line 3, in
I don't know enough about how Python is being used to take a stab at a solution, but I think because the script can't import all of its modules, certain .inc files are not generated leading to the error.
Ah can you try eselecting python 2 manually before emerging
I had to remove the python eclass from the ebuild as it was trying to select a 32bit python with we don't have and isn't necessary
With Python 2.7 llvm-32bit compiles without errors. Thanks for support.
If any one can figure out a way to force python 2 without needing a 32bit python please let me know
Until then I'm closing this off
llvm[1]: Compiling llvm-config.cpp for Release build if x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/sys-devel/llvm-32bit-9999/work/llvm-9999.src/include -I/var/tmp/portage/sys-devel/llvm-32bit-9999/work/llvm-9999.src/tools/llvm-config -DNDEBUG -D_GNU_SOURCE -DSTDC_CONSTANT_MACROS -DSTDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/sys-devel/llvm-32bit-9999/work/llvm-9999.src/tools/llvm-config/Release -fvisibility-inlines-hidden -fno-exceptions -fPIC -Woverloaded-virtual -Wcast-qual -O2 -pipe -O2 -pipe -fomit-frame-pointer -march=corei7 -mtune=corei7 -O2 -march=corei7 -mtune=corei7 -m32 -I/usr/lib64/libffi-3.0.11/include -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -c -MMD -MP -MF "/var/tmp/portage/sys-devel/llvm-32bit-9999/work/llvm-9999.src/tools/llvm-config/Release/llvm-config.d.tmp" -MT "/var/tmp/portage/sys-devel/llvm-32bit-9999/work/llvm-9999.src/tools/llvm-config/Release/llvm-config.o" -MT "/var/tmp/portage/sys-devel/llvm-32bit-9999/work/llvm-9999.src/tools/llvm-config/Release/llvm-config.d" llvm-config.cpp -o /var/tmp/portage/sys-devel/llvm-32bit-9999/work/llvm-9999.src/tools/llvm-config/Release/llvm-config.o ; \ then /bin/mv -f "/var/tmp/portage/sys-devel/llvm-32bit-9999/work/llvm-9999.src/tools/llvm-config/Release/llvm-config.d.tmp" "/var/tmp/portage/sys-devel/llvm-32bit-9999/work/llvm-9999.src/tools/llvm-config/Release/llvm-config.d"; else /bin/rm "/var/tmp/portage/sys-devel/llvm-32bit-9999/work/llvm-9999.src/tools/llvm-config/Release/llvm-config.d.tmp"; exit 1; fi llvm-config.cpp:45:35: fatal error: LibraryDependencies.inc: No such file or directory compilation terminated. /bin/rm: cannot remove ‘/var/tmp/portage/sys-devel/llvm-32bit-9999/work/llvm-9999.src/tools/llvm-config/Release/llvm-config.d.tmp’: No such file or directory make[1]: * [/var/tmp/portage/sys-devel/llvm-32bit-9999/work/llvm-9999.src/tools/llvm-config/Release/llvm-config.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-devel/llvm-32bit-9999/work/llvm-9999.src/tools/llvm-config' make: * [all] Error 1
emerge --info '=sys-devel/llvm-32bit-9999'
,emerge -pqv '=sys-devel/llvm-32bit-9999'
.