Summary: | app-portage/gentoolkit-0.3.1 revdep-rebuild ignores SEARCH_DIRS_MASK | ||
---|---|---|---|
Product: | Portage Development | Reporter: | cyshei |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dark.knight.ita, gletonai, jwbraun, perfinion, proteuss, zx2c4 |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 346443 | ||
Bug Blocks: | 579176 |
Description
cyshei
2016-01-16 16:40:02 UTC
Same problem here. I have SEARCH_DIRS_MASK="/usr/local" but the new revdep-rebuild searches through /usr/local and reports orphaned files. The old version revdep-rebuild.sh works as expected. I have made several commits fixing the search mask capabilities. The final one: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=6f47784b6a706a51bddfdb0056b3d078a16ab80d Please test the changes by emerging gentoolkit-9999 to confirm the masking is working correctly for the next release. I'd like to know that I found them all. Unfortunately, it still doesn't seem to work as expected for me: % sudo env SEARCH_DIRS_MASK="/opt/cuda" revdep-rebuild -i * 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/ * Collecting system binaries and libraries * Checking dynamic linking consistency * Assign files to packages emerge --oneshot --complete-graph=y dev-util/nvidia-cuda-toolkit:0/7.5.18 Calculating dependencies -^C % sudo env SEARCH_DIRS_MASK="/opt/cuda" revdep-rebuild.sh -i * 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 [ 100% ] * Dynamic linking on your system is consistent... All done. % eix -e gentoolkit [I] app-portage/gentoolkit Available versions: 0.3.0.8-r2 (~)0.3.0.9 (~)0.3.0.9-r1 0.3.0.9-r2 (~)0.3.1-r1 (**)9999 {PYTHON_TARGETS="pypy python2_7 python3_3 python3_4 python3_5"} Installed versions: 9999(06:20:11 PM 05/18/2016)(PYTHON_TARGETS="python2_7 python3_4 -pypy -python3_3 -python3_5") Homepage: https://www.gentoo.org/proj/en/portage/tools/index.xml Description: Collection of administration scripts for Gentoo LD_LIBRARY_MASK is ignored too # cat /etc/revdep-rebuild/60-java LD_LIBRARY_MASK="libjvm.so libjawt.so" # revdep-rebuild * 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/ * Collecting system binaries and libraries * Checking dynamic linking consistency * Assign files to packages emerge --oneshot --complete-graph=y dev-java/icedtea:8 dev-java/swt:3.8 x11-wm/wmii:0 Please test the newly release gentoolkit-0.3.2. LD_LIBRARY_MASK are being used in the code. *** Bug 599034 has been marked as a duplicate of this bug. *** Seems not to be finally fixed in gentoolkit-0.3.2-r1 (latest stable as of now): # eix -e gentoolkit [I] app-portage/gentoolkit Verfügbare Versionen: 0.3.0.8-r2 0.3.0.9-r2 ~0.3.1.1 ~0.3.2 0.3.2-r1 ~0.3.3 **9999 {PYTHON_TARGETS="pypy python2_7 python3_4 python3_5"} Installierte Versionen: 0.3.2-r1(13:43:40 19.12.2016)(PYTHON_TARGETS="python2_7 python3_4 -pypy -python3_5") Startseite: https://wiki.gentoo.org/wiki/Project:Portage-Tools Beschreibung: Collection of administration scripts for Gentoo # env SEARCH_DIRS_MASK="/usr/lib64/opera" revdep-rebuild -i -- -p * 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/ * Collecting system binaries and libraries * Checking dynamic linking consistency * Assign files to packages emerge -p --oneshot --complete-graph=y www-client/opera:0 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] www-client/opera-12.16_p1860-r1 # env SEARCH_DIRS_MASK="/usr/lib64/opera" revdep-rebuild.sh -i -- -p * 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 [ 100% ] * Dynamic linking on your system is consistent... All done. # There have been several more fixes to revdep-rebuild for the new 03.3. release that was done last week. Please test that one to see if it still errors. We will call for that one to become stable after the customary 30 day waiting period. Yes, that works for me: # revdep-rebuild -V revdep-rebuild 0.3.3 # revdep-rebuild -- -p * 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/ * Checking dynamic linking consistency Your system is consistent Fixed in gentoolkit-0.3.3 |