Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609478 - app-portage/gentoolkit: revdep-rebuild is broken completely
Summary: app-portage/gentoolkit: revdep-rebuild is broken completely
Status: RESOLVED NEEDINFO
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-16 00:58 UTC by inssecure
Modified: 2017-02-16 15:13 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 inssecure 2017-02-16 00:58:51 UTC
Regardless of the existence of broken packages, the output of the new python-based is always the same:

* Collecting system binaries and libraries
	Could not save cache: write() argument 1 must be unicode, not str
 * Checking dynamic linking consistency

Your system is consistent

I think it fails to work because of this error "Could not save cache: write() argument 1 must be unicode, not str".
The old version, revdep-rebuild.sh, successfully found my 10 broken packages, but that old version does not work quite correctly either, because it tries to rebuild all the tree (1300 packages) although it is not needed.

Please fix both revdep-rebuild tools as they are essential on Gentoo.

Reproducible: Always

Steps to Reproduce:
For example,
1.Downgrade Qt 5.7 -> 5.6
2.Run revdep-rebuild, see the mentioned red error message.
3.No broken packages are found, although all Qt5 apps are now broken
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2017-02-16 15:13:26 UTC
Wrong,  The failure to write the cache only means if you did another run in a short period of time, it would not be able to load the cache, so it would have to scan everything again from scratch.

This write cache issue ( bug 589130 ) and other issues regarding the masks have been fixed in the 0.3.3 release.

Please emerge the latest version of gentoolkit and re-test.

Also, please try to include at a minimum, your emerge --info.

But also please include the output of both the python version of revdep-rebuild and the bash version of revdep-rebuild.  If neither version are able to detect your breakage, then chances are there is no breakage.  But if the bash one shows the breakage, it will give us a starting point to trace how the python one is failing.  So, please don't immediately rebuild if possible.

Re-open when you get the above info.