Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 552104 - sys-apps/portage: _unicode_decode() takes at least 1 argument
Summary: sys-apps/portage: _unicode_decode() takes at least 1 argument
Status: RESOLVED DUPLICATE of bug 546176
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-14 15:26 UTC by Kristian Fiskerstrand (RETIRED)
Modified: 2015-06-14 16:27 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 Kristian Fiskerstrand (RETIRED) gentoo-dev 2015-06-14 15:26:12 UTC
Ran into this issue during a world update. 

>>> Emerging binary (1 of 42) app-misc/ca-certificates-20140927.3.17.2::gentoo
 * ca-certificates-20140927.3.17.2.tbz2 MD5 SHA1 size ;-) ...            [ ok ]
>>> Extracting info 
>>> Extracting app-misc/ca-certificates-20140927.3.17.2

>>> Installing (1 of 42) app-misc/ca-certificates-20140927.3.17.2::gentoo
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/portage/dbapi/_MergeProcess.py", line 234, in _spawn
    prev_mtimes=self.prev_mtimes, counter=counter)
  File "/usr/lib64/python2.7/site-packages/portage/dbapi/vartree.py", line 4985, in merge
    counter=counter)
  File "/usr/lib64/python2.7/site-packages/portage/dbapi/vartree.py", line 4146, in treewalk
    rval = self._merge_contents(srcroot, destroot, cfgfiledict)
  File "/usr/lib64/python2.7/site-packages/portage/dbapi/vartree.py", line 4424, in _merge_contents
    self.settings["EPREFIX"].lstrip(os.sep), cfgfiledict, mymtime):
  File "/usr/lib64/python2.7/site-packages/portage/dbapi/vartree.py", line 4616, in mergeme
    myrealdest, mydmode, destmd5, mydest_link)
  File "/usr/lib64/python2.7/site-packages/portage/dbapi/vartree.py", line 4918, in _protect
    force=force)
  File "/usr/lib64/python2.7/site-packages/portage/util/__init__.py", line 1704, in new_protect_filename
    encoding=_encodings['merge'], errors='replace')
TypeError: _unicode_decode() takes at least 1 argument (2 given)

>>> Failed to install app-misc/ca-certificates-20140927.3.17.2, Log file:

>>>  '/var/tmp/portage/app-misc/ca-certificates-20140927.3.17.2/temp/build.log'
(full build log at http://download.sumptuouscapital.com/gentoo/ca-certificates-20140927.3.17.2-build.log.txt ) 

# emerge --info
Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.7.3, glibc-2.20-r2, 3.4.91-gentoo-r1-kf0 x86_64)


Reproducible: Always

Steps to Reproduce:
emerge -1 ca-certificates
Comment 1 Felix Janda 2015-06-14 16:16:30 UTC
Duplicate of bug 546176
(Fixed in portage 2.2.19.)
Comment 2 Mike Gilbert gentoo-dev 2015-06-14 16:27:57 UTC

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