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
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
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.
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
Thanks Rémi - lafilefixer has done the job!