When fix_libtool_files.sh change some .la files, they become orphans from portage point of view. This is quite bad since they will never get cleaned from the system but if they are, by chance, later overwritten by a package update. The following patch for fixlafiles.awk fixes that behavior. It relies on an helper script that searches which are the packages owning the modified files, and update their mtime/md5 values in their /var/db/pkg "CONTENTS" records. CCing dev-portage@ because they are probably better placed to comment on the basic idea and the python side of the implementation.
Created attachment 57381 [details, diff] fixlafiles.awk--fix_CONTENTS.patch This is the patch for fixlafiles.awk. It has been made against the version from gcc-3.4.3.20050110-r2.
Created attachment 57382 [details] fix_contents And this is the python helper script.
*** This bug has been marked as a duplicate of 71265 ***