Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606856 - app-portage/gentoolkit-0.3.2-r1: python2/python3 confusion in revdep-rebuild?
Summary: app-portage/gentoolkit-0.3.2-r1: python2/python3 confusion in revdep-rebuild?
Status: RESOLVED DUPLICATE of bug 589130
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-22 22:58 UTC by Ian Zimmerman
Modified: 2017-01-24 20:37 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 Ian Zimmerman 2017-01-22 22:58:02 UTC
Trying to run the new python based revdep-rebuild, I always get this:

root@matica portage # 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
	Could not save cache: write() argument 1 must be unicode, not str

To me this looks like the typical example of trying to run a python2 script under python3.

I have both python2.7 and python3.4 installed, but the default (via eselect) is python2.7.  Unfortunately I don't understand the gentoo python infra (python-exec etc.) well enough yet to go deeper.  But if you tell me how to dig out relevant details I surely will.





Reproducible: Always
Comment 1 Guillaume Seren 2017-01-24 15:29:51 UTC
Hey behemothchess,
I can not reproduce your problem, please give more information about your system

```
sudo 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/
 * Checking dynamic linking consistency
```
Comment 2 Paul Varner (RETIRED) gentoo-dev 2017-01-24 20:37:22 UTC
This bug is fixed in gentoolkit-0.3.3 

You can ignore the error if you don't want to upgrade to an unstable version. It doesn't impact the ability of revdep-rebuild to find problems. It only impacts the ability to write the cache for speeding up future runs of the tool.

*** This bug has been marked as a duplicate of bug 589130 ***