Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 580300 - app-portage/gentoolkit-0.3.1-r1 r-r.py: list libs, blacklist openoffice
Summary: app-portage/gentoolkit-0.3.1-r1 r-r.py: list libs, blacklist openoffice
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-17 08:51 UTC by nobody
Modified: 2016-04-19 20:20 UTC (History)
0 users

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 nobody 2016-04-17 08:51:34 UTC
cat /etc/revdep-rebuild/50-openoffice-bin
SEARCH_DIRS_MASK="/usr/lib/openoffice
/usr/lib32/openoffice
/usr/lib64/openoffice"

Look at actual results:
1/ openoffice is not set in revdep-rebuild.sh (and glad it did not!), while python version add it to list, does python version doesn't handle the mask yet?
2/ i prefer again the output of the .sh version, where it report /usr/lib/librdf.la as broken, even yeah, it doesn't matter as revdep-rebuild have no work to do, it's cool that the revdep-rebuild.sh version is reporting it broken (so i could remove it).

Reproducible: Always

Actual Results:  
 revdep-rebuild -ip
 * 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
^C
beleg krinn # revdep-rebuild -ip
 * 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

emerge  --pretend --oneshot --complete-graph=y app-office/openoffice-bin:0 app-pda/libplist:0/3

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

Calculating dependencies... done!
[ebuild   R    ] app-office/openoffice-bin-4.1.2 
[ebuild   R    ] app-pda/libplist-1.12 

revdep-rebuild.sh -ip
 * 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
[ 60% ]  *   broken /usr/lib/librdf.la (requires -lrasqal)
[ 71% ]  *   broken /usr/lib/python2.7/site-packages/plist.so (requires libplist.so.2)
[ 75% ]  *   broken /usr/lib/python3.4/site-packages/plist.so (requires libplist.so.2)
[ 100% ]                 
 * Generated new 3_broken.rr
 * Assigning files to packages
 *  !!! /usr/lib/librdf.la not owned by any package is broken !!!
 *   /usr/lib/librdf.la -> (none)
 *   /usr/lib/python2.7/site-packages/plist.so -> app-pda/libplist
 *   /usr/lib/python3.4/site-packages/plist.so -> app-pda/libplist
 * 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 --buildpkg --pretend app-pda/libplist:0/3

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

Calculating dependencies... done!
[ebuild   R    ] app-pda/libplist-1.12 
 * Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild.


Expected Results:  
Would prefer if the python version run like the sh version:
- output all founded broken libs like in: [ 71% ]  *   broken /usr/lib/python2.7/site-packages/plist.so (requires libplist.so.2)
it's more informative, even it correctly assign the package and is in its emerge list, i prefer known who is broken.
- output also broken but not assign to a package libs like in :  *  !!! /usr/lib/librdf.la not owned by any package is broken !!!
- and of course handle open-office blacklist file


if really you don't wish revdep-rebuild.py output like the .sh version per default, i would not be against a new switch to enable ouput of libs (ones broken without a package, and ones broken with a package).