Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 293482

Summary: media-libs/mesa-7.5.2 moves /usr/lib64/libGL.la, emerges fail looking at old location
Product: Gentoo Linux Reporter: Matt Savigear <mcs_gentoo>
Component: [OLD] LibraryAssignee: Gentoo X packagers <x11>
Status: RESOLVED INVALID    
Severity: normal CC: chainsaw, scarabeus
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matt Savigear 2009-11-17 10:04:58 UTC
mesa-7.5.2 creates /usr/lib64/opengl/xorg-x11/lib/libGL.la however many ebuild still seem to rely on /usr/lib64/libGL.la and fail to complete.

Reproducible: Always

Steps to Reproduce:
1. Upgrade to media-libs/mesa-7.5.2
2. Attempt to emerge e.g. gimp

Actual Results:  
/usr/bin/sed: can't read /usr/lib64/libGL.la: No such file or directory
libtool: link: `/usr/lib64/libGL.la' is not a valid libtool archive

Expected Results:  
Package installs correctly.

Either some paths need to be fixed somewhere to enable libtool (and presumably the final applications) to find the new libGL.la, or mesa needs to include a link from /usr/lib64 to /usr/lib64/opengl/xorg-x11/lib.

I have got my systems working again using
ln -s /usr/lib64/opengl/xorg-x11/lib/libGL.la /usr/lib64/libGL.la
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2009-11-17 11:50:38 UTC
Mesa 7.5 ships libGL.la but we removed it from 7.6 and up. So we've modified eselect-opengl not to link libGL.la anymore (it was a gentoo-only hack).

So you'll need to fix broken .la files.

You can either use revdep-rebuild or lafilefixer for that.

Thanks
Comment 2 Matt Savigear 2009-11-17 11:54:42 UTC
Well, revdep-rebuild failed with the same error prior to my filing this bug. I was unaware of lafilefixer which I'm looking at now.
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2009-11-17 12:08:05 UTC
revdep-rebuild fails miserable when there are dependency loops. And there are many above/with gtk. Going with emerge --keep-going is a good idea in that case, going over the same packages multiple times if needs be.

Thanks
Comment 4 Matt Savigear 2009-11-17 12:16:02 UTC
Thanks Rémi - lafilefixer has done the job!