bobwire / pentoo

Automatically exported from code.google.com/p/pentoo
1 stars 0 forks source link

[Solved] emerge --update --newuse --deep @world -vat fails to emerge media-libs/mesa-8.0.4-r1 #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Starting with a Pentoo 2012 Beta2, HDD install in VirtualBox
1. eix-sync
2. emerge --update --newuse --deep @world -vat

What is the expected output?

--- replaced dir /usr
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.

Switching to xorg-x11 OpenGL interface... done
 * Note that in order to have full S3TC support, it is necessary to install
 * media-libs/libtxc_dxtn as well. This may be necessary to get nice
 * textures in some apps, and some others even require this to run.
>>> media-libs/mesa-8.0.4-r1 merged.
>>> Regenerating /etc/ld.so.cache...

>>> Recording media-libs/mesa in "world" favorites file...

 * Messages for package media-libs/mesa-8.0.4-r1:

 * Note that in order to have full S3TC support, it is necessary to install
 * media-libs/libtxc_dxtn as well. This may be necessary to get nice
 * textures in some apps, and some others even require this to run.
 * QA Notice: Package triggers severe warnings which indicate that it
 *            may exhibit random runtime failures.
 * nouveau_span.c:74:4: warning: implicit declaration of function '_swrast_map_texture'
 * nouveau_span.c:76:4: warning: implicit declaration of function '_swrast_unmap_texture'
 * QA Notice: Package triggers severe warnings which indicate that it
 *            may exhibit random runtime failures.
 * brw_shader.cpp:101:9: warning: converting to non-pointer type 'GLboolean' from NULL
 * Please do not file a Gentoo bug and instead report the above QA
 * issues directly to the upstream developers of this software.
 * Homepage: http://mesa3d.sourceforge.net/
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

What do you see instead?

Sorry it has scrolled off the screen buffer; it was something like

/bin/sh ../../../../bin/mklib -o i915_dri.so.tmp -noprefix -linker 
'x86_64-pc-linux-gnu-g++' -ldflags '-Wl,-O1 -Wl,--as-needed 
-Wl,--hash-style=gnu -L/usr/lib64/llvm  -lpthread -lffi -ldl -lm ' \
        target.o ../../../../src/mesa/drivers/dri/common/utils.o ../../../../src/mesa/drivers/dri/common/dri_util.o ../../../../src/mesa/drivers/dri/common/xmlconfig.o   ../../../../src/gallium/state_trackers/dri/drm/libdridrm.a ../../../../src/gallium/w
insys/i915/drm/libi915drm.a ../../../../src/gallium/winsys/sw/wrapper/libwsw.a 
../../../../src/gallium/drivers/softpipe/libsoftpipe.a 
../../../../src/gallium/drivers/galahad/libgalahad.a 
../../../../src/gallium/drivers/trace/libtrace.a ../../../../src/ga
llium/drivers/rbug/librbug.a ../../../../src/gallium/drivers/i915/libi915.a 
../../../../src/gallium/drivers/llvmpipe/libllvmpipe.a \
                -Wl,--start-group ../../../../src/mesa/libmesagallium.a ../../../../src/gallium/auxiliary/libgallium.a -Wl,--end-group \
                  ../../../../src/mesa/libmesa.a  -ldrm   -lexpat -lm -lpthread -ldl -ldrm_intel -lLLVMTableGen -lLLVMMCJIT -lLLVMRuntimeDyld -lLLVMObject -lLLVMMCDisassembler -lLLVMLinker -lLLVMipo -lLLVMInterpreter -lLLVMInstrumentation -lLLVMJIT -lLLVMExecutionEngine -lLLVMDebugInfo -lLLVMBitWriter -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMX86Desc -lLLVMSelectionDAG -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMX86Info -lLLVMAsmPrinter -lLLVMMCParser -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAsmParser -lLLVMArchive -lLLVMBitReader -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMSupport

LD cannot find -lLLVMTableGen

What version of the product are you using? On what operating system?
Pentoo 2012 Beta2, HDD installed into VirtualBox VM, some update already 
applied, mesa-8.0.4-r1 is one of the ones that was failing to update/rebuild.

Please provide any additional information below.

I solved this by re-emerging llvm, and then emerging media-libs/mesa-8.0.4-r1.

This was after I had a similar problem with emerging virtualbox-guest-additions 
and ld was failing to find supc++ (shown as the build command line argument as 
the-l flag "-lsupc++"), after Googling and asking in #gentoo and #pentoo about 
the error, I was set straight, re-emerging gcc solved that issue.

I'm not sure if there is a more elegant (or proper) solution, like rebuilding 
the ld cache, however this worked for me.

Original issue reported on code.google.com by berne.ca...@gmail.com on 10 Nov 2012 at 8:25

GoogleCodeExporter commented 9 years ago
Please try Beta3 and re-open if the problem still exists.

Original comment by blshkv on 10 Nov 2012 at 10:45

GoogleCodeExporter commented 9 years ago
Is there a way to upgrade from Beta2 to Beta3? If I eix-sync and emerge 
--update --newuse --deep @world, does that make my install equivalent to Beta3?

Thanks.

Original comment by berne.ca...@gmail.com on 10 Nov 2012 at 10:52

GoogleCodeExporter commented 9 years ago
Yes, please follow our wiki:
http://code.google.com/p/pentoo/wiki/PentooUpdater#On_regular_basis

Original comment by blshkv on 10 Nov 2012 at 12:00

GoogleCodeExporter commented 9 years ago
This is caused by a bug in catalyst which was fixed for beta3. Users before 
beta3 are advised to "emerge -e @world" or at least "emerge -1 glibc"

Original comment by sidhayn on 10 Nov 2012 at 3:02