Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545270 - =sys-apps/portage-2.2.18: dispatch-conf throws unicode decode traceback after world update
Summary: =sys-apps/portage-2.2.18: dispatch-conf throws unicode decode traceback after...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 552176 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-01 22:20 UTC by Vadim A. Misbakh-Soloviov (mva)
Modified: 2015-06-17 02:44 UTC (History)
1 user (show)

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


Attachments
traceback.log (file_545270.txt,923 bytes, text/plain)
2015-04-01 22:21 UTC, Vadim A. Misbakh-Soloviov (mva)
Details
emerge --info (file_545270.txt,21.45 KB, text/plain)
2015-04-01 22:23 UTC, Vadim A. Misbakh-Soloviov (mva)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2015-04-01 22:20:34 UTC
Hi!
I've discovered, that after world update on stable systems (with a little of ~arch packages, so that portage 2.2.18 is used), with python2.7 set as default python interpreter, dispatch-conf starts to throw attached traceback.

Debugging shows, that it is somehow related to bunch of ca-certificates in /etc/ssl/* (at least, if merge them with dispatch-conf under python3 or etc-update — dispatch-conf do not throw traceback anymore).

Reproducible: Always
Comment 1 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2015-04-01 22:21:13 UTC
Created attachment 400356 [details]
traceback.log
Comment 2 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2015-04-01 22:23:47 UTC
Created attachment 400358 [details]
emerge --info
Comment 3 Zac Medico gentoo-dev 2015-04-01 22:30:28 UTC
There's a patch in the following branch:

    https://github.com/zmedico/portage/tree/bug_545270

I've posted it for review here:

    http://thread.gmane.org/gmane.linux.gentoo.portage.devel/5400
Comment 4 Zac Medico gentoo-dev 2015-04-01 22:46:51 UTC
The patch is now update to also use the unicode wrapper for shutil.
Comment 5 Zac Medico gentoo-dev 2015-04-01 23:20:31 UTC
It's updated again with some fixes in bin/dispatch-conf.
Comment 6 Zac Medico gentoo-dev 2015-04-01 23:40:44 UTC
You should be able to test my branch like this:

ACCEPT_KEYWORDS="**" \
portage_LIVE_REPO="https://github.com/zmedico/portage.git" \
portage_LIVE_BRANCH="bug_545270" emerge -1 =sys-apps/portage-9999
Comment 7 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2015-04-02 12:16:56 UTC
yup, thanks, it looks like that patch fixed the problem.
Comment 8 Zac Medico gentoo-dev 2015-04-02 19:18:57 UTC
Thanks for testing! This is in the master branch now:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=f9a2d7025e22f5e1711f39c4740a020f6f0d2c8f
Comment 9 Brian Dolbec (RETIRED) gentoo-dev 2015-05-19 19:35:56 UTC
Released in portage-2.2.19
Comment 10 Zac Medico gentoo-dev 2015-06-17 02:44:22 UTC
*** Bug 552176 has been marked as a duplicate of this bug. ***