Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658908 - sys-devel/gcc-7.x: revdep-rebuild is needed after migrating to gcc7 from 6, but is not documented
Summary: sys-devel/gcc-7.x: revdep-rebuild is needed after migrating to gcc7 from 6, b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 659092 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-06-24 08:52 UTC by Pacho Ramos
Modified: 2018-06-26 12:38 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2018-06-24 08:52:11 UTC
https://wiki.gentoo.org/wiki/Upgrading_GCC

only mentions revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc usage, but, when migrating from gcc6 to gcc7, a plain "revdep-rebuild" run is needed:
# revdep-rebuild -p -v
 * 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 file bugs at: https://bugs.gentoo.org/
 * Found a valid cache, skipping collecting phase
 * Scanning files
 * Checking dynamic linking consistency
 * Broken files that require: libgfortran.so.3 (64 bits)
	* /usr/lib64/R/lib/libRlapack.so
	* /usr/lib64/blas/reference/libblas.so.0.0.0
	* /usr/lib64/lapack/reference/liblapack.so.0.0.0
	* /usr/lib64/libmpi_usempi_ignore_tkr.so.20.1.0
	* /usr/lib64/libmpi_usempif08.so.20.1.0
 * Assign files to packages
	* /usr/lib64/R/lib/libRlapack.so -> dev-lang/R-3.4.1
	* /usr/lib64/blas/reference/libblas.so.0.0.0 -> sci-libs/blas-reference-20070226-r4
	* /usr/lib64/lapack/reference/liblapack.so.0.0.0 -> sci-libs/lapack-reference-3.2.1-r4
	* /usr/lib64/libmpi_usempi_ignore_tkr.so.20.1.0 -> sys-cluster/openmpi-2.0.2
	* /usr/lib64/libmpi_usempif08.so.20.1.0 -> sys-cluster/openmpi-2.0.2

emerge  --pretend --verbose --oneshot --complete-graph=y sci-libs/blas-reference:0 sci-libs/lapack-reference:0 dev-lang/R:0 sys-cluster/openmpi:0

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sci-libs/blas-reference-20070226-r4::gentoo  USE="-doc" 0 KiB
[ebuild   R    ] sci-libs/lapack-reference-3.2.1-r4::gentoo  USE="-doc" 0 KiB
[ebuild   R    ] sys-cluster/openmpi-2.0.2::gentoo  USE="cxx fortran numa romio threads -cma (-cuda) -heterogeneous -ipv6 -java -mpi-threads" ABI_X86="(64) -32 (-x32)" OPENMPI_FABRICS="(-knem) (-ofed) (-psm)" OPENMPI_OFED_FEATURES="(-connectx-xrc) (-control-hdr-padding) (-dynamic-sl) (-failover) (-rdmacm) (-udcm)" OPENMPI_RM="(-pbs) (-slurm)" 0 KiB
[ebuild   R    ] dev-lang/R-3.4.1::gentoo  USE="X cairo jpeg nls openmp png readline tiff tk -doc -icu -java -lapack -minimal -perl (-prefix) -profile -static-libs" 0 KiB

Total: 4 packages (4 reinstalls), Size of downloads: 0 KiB

I would then add a note to the documentation page (probably it would even be safer to simply suggest people to run "revdep-rebuild" in general after any gcc upgrade (i.e show it under https://wiki.gentoo.org/wiki/Upgrading_GCC#Short_version section)

Thanks
Comment 1 Pacho Ramos gentoo-dev 2018-06-26 12:33:32 UTC
*** Bug 659092 has been marked as a duplicate of this bug. ***