Created attachment 424162 [details] libcc1.la After emerging sys-devel/gcc-5.3.0 (and having survived rebuilding @world) everytime I run revdep-rebuild I get: # revdep-rebuild -p --ignore * This is the new python coded version * Please report any bugs found using it. * The original revdep-rebuild script is installed as revdep-rebuild.sh * Please files bugs at: https://bugs.gentoo.org/ * Collecting system binaries and libraries * Checking dynamic linking consistency * Assign files to packages !!! Broken orphaned files: No installed package was found for the following: * /usr/lib64/gcc/x86_64-pc-linux-gnu/5.3.0/plugin/libcc1plugin.la * /usr/lib64/gcc/x86_64-pc-linux-gnu/5.3.0/libgfortran.la * /usr/lib64/gcc/x86_64-pc-linux-gnu/5.3.0/libcc1.la * /usr/lib64/gcc/x86_64-pc-linux-gnu/5.3.0/libgomp-plugin-host_nonshm.la emerge --pretend --oneshot --complete-graph=y sys-devel/gcc:5 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ~] sys-devel/gcc-5.3.0 or, with the bash version: # revdep-rebuild.sh -p --ignore * Configuring search environment for revdep-rebuild * Checking reverse dependencies * Packages containing binaries and libraries broken by a package update * will be emerged. * Collecting system binaries and libraries * Generated new 1_files.rr * Collecting complete LD_LIBRARY_PATH * Generated new 2_ldpath.rr * Checking dynamic linking consistency [ 42% ] * broken /usr/lib64/gcc/x86_64-pc-linux-gnu/5.3.0/libcc1.la (requires /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/./libstdc++.la) * broken /usr/lib64/gcc/x86_64-pc-linux-gnu/5.3.0/plugin/libcc1plugin.la (requires /usr/lib/../lib64/libstdc++.la) [ 97% ] * broken /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/libcc1.la (requires /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/./libstdc++.la) * broken /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/plugin/libcc1plugin.la (requires /usr/lib/../lib64/libstdc++.la) [ 100% ] * Generated new 3_broken.rr * Assigning files to packages * /usr/lib64/gcc/x86_64-pc-linux-gnu/5.3.0/libcc1.la -> sys-devel/gcc * /usr/lib64/gcc/x86_64-pc-linux-gnu/5.3.0/plugin/libcc1plugin.la -> sys-devel/gcc * /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/libcc1.la -> sys-devel/gcc * /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/plugin/libcc1plugin.la -> sys-devel/gcc * Generated new 4_raw.rr and 4_owners.rr * Cleaning list of packages to rebuild * Generated new 4_pkgs.rr * Assigning packages to ebuilds * Generated new 4_ebuilds.rr * Evaluating package order * Generated new 5_order.rr * All prepared. Starting rebuild emerge --complete-graph=y --oneshot --keep-going y --with-bdeps y --pretend sys-devel/gcc:5 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ~] sys-devel/gcc-5.3.0 * Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild. Even if I re-emerge gcc the problem remains... I will attach the files.
Created attachment 424164 [details] libcc1plugin.la
Created attachment 424166 [details] libgfortran.la
Created attachment 424168 [details] libgomp-plugin-host_nonshm.la
Running fix_libtool_files.sh has no effect, BTW.
Confirming, same here: * sys-devel/gcc-5.3.0::installed /usr/lib64/gcc/x86_64-pc-linux-gnu/5.3.0/libcc1.la (requires /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/./libstdc++.la) /usr/lib64/gcc/x86_64-pc-linux-gnu/5.3.0/plugin/libcc1plugin.la (requires /usr/lib/../lib64/libstdc++.la)
it's not clear to me why your la files are getting libstdc++.la references but mine are not. might be a race of sorts ... libstdc++.la gets installed before the other ones. anyways, all of those files can be trimmed which makes the issue moot: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e80c1f78bdf2b94ae0fd6b639fd9f3b72ab77905