Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573302 - sys-devel/gcc: installed .la files do not clean up libstdc++.la references
Summary: sys-devel/gcc: installed .la files do not clean up libstdc++.la references
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-29 14:02 UTC by Paolo Pedroni
Modified: 2016-05-12 01:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libcc1.la (libcc1.la,1000 bytes, application/x-shared-library-la)
2016-01-29 14:02 UTC, Paolo Pedroni
Details
libcc1plugin.la (libcc1plugin.la,1020 bytes, application/x-shared-library-la)
2016-01-29 14:02 UTC, Paolo Pedroni
Details
libgfortran.la (libgfortran.la,1.02 KB, application/x-shared-library-la)
2016-01-29 14:03 UTC, Paolo Pedroni
Details
libgomp-plugin-host_nonshm.la (libgomp-plugin-host_nonshm.la,1.10 KB, application/x-shared-library-la)
2016-01-29 14:03 UTC, Paolo Pedroni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2016-01-29 14:02:13 UTC
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.
Comment 1 Paolo Pedroni 2016-01-29 14:02:40 UTC
Created attachment 424164 [details]
libcc1plugin.la
Comment 2 Paolo Pedroni 2016-01-29 14:03:15 UTC
Created attachment 424166 [details]
libgfortran.la
Comment 3 Paolo Pedroni 2016-01-29 14:03:38 UTC
Created attachment 424168 [details]
libgomp-plugin-host_nonshm.la
Comment 4 Paolo Pedroni 2016-01-29 14:07:23 UTC
Running fix_libtool_files.sh has no effect, BTW.
Comment 5 Petr Zima 2016-04-01 23:17:48 UTC
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)
Comment 6 SpanKY gentoo-dev 2016-05-12 01:06:53 UTC
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