Just doing a recent update and ran into a problem la files are being removed during the install stage for ebuilds that inherit / use the xorg-2 eclass so far pixman / libXmu / libXi appear to be affected, possibly others it looks as if the la file is getting generated at the compile stage, copied at the install stage but then at the last minute during the install stage I end up with a "Removing unnecessary /var/tmp/portage/x11-libs/pixman-0.20.2/image/usr/lib/libpixman-1.la" get the same sort of thing with libXmu digging into this leads me to the xorg-2_src_install section where there's a couple of lines that read # Don't install libtool archives (even with static-libs) remove_libtool_files all which is a function within qutotools-utils.eclass to remove all libtool files installed as part of the package browsing through the anon CVS leads me to http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/xorg-2.eclass?view=log where this seems to have been added in, in version 1.24 Feb 28 it mentions in the comments "complete .la file removal," so it looks like this is intentional perhaps these packages shouldn't be using the xorg-2 eclass? not sure how many others this may affect Reproducible: Always Steps to Reproduce: 1. emerge pixman / libXmu / libXi 2. la file such as /usr/lib/libpixman-1.la is absent Actual Results: absence of la files generated by packages inheriting from the xorg-2 eclass Expected Results: la files should be present
it looks as if to get the above packages to output the la file in addition to commenting out the line #remove_libtool_files all in the eclass I also had to enable the static-libs use flag for each of the packages (such as libXmu) is this expected? if so then perhaps the packages depending on libXmu for example need the depends updating to check the build has taken place with "static-libs" enabled
Thanks for the report. There is a general movement to remove .la files in packages. This report doesn't state an actual issue - what's the problem?
Not a bug. The removals are intentional. You may use lafilefixer or revdep-rebuild to fix your system.
I'm a newbie to Gentoo. And I ran into the same problem. Thank you very much for your suggestion. I have run revdep-rebuild ,however it didn't work(There are still so many softwares need *.la). I think lafilefixer is a not a best solution too after I read this link(http://forums.gentoo.org/viewtopic-t-866961.html). However, I'll have to lafilefixer later. Is there a better solution? (In reply to comment #3) > Not a bug. The removals are intentional. You may use lafilefixer or > revdep-rebuild to fix your system.