Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 429544 - sys-apps/portage-2.2.0_alpha120_p21 TypeError: sequence item 1: expected str instance, bytes found
Summary: sys-apps/portage-2.2.0_alpha120_p21 TypeError: sequence item 1: expected str ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-02 17:42 UTC by tman
Modified: 2012-08-03 20:28 UTC (History)
4 users (show)

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 tman 2012-08-02 17:42:59 UTC
>>> Starting parallel fetch
>>> Emerging (1 of 229) sys-libs/e2fsprogs-libs-1.42.5_pre from poly-c
>>> Installing (1 of 229) sys-libs/e2fsprogs-libs-1.42.5_pre
>>> Emerging (2 of 229) sys-fs/e2fsprogs-1.42.5_pre from poly-c
>>> Installing (2 of 229) sys-fs/e2fsprogs-1.42.5_pre
>>> Emerging (3 of 229) kde-base/khelpcenter-4.9.0

 * Messages for package sys-libs/e2fsprogs-libs-1.42.5_pre:

 * Package:    sys-libs/e2fsprogs-libs-1.42.5_pre
 * Repository: poly-c
 * USE:        amd64 elibc_glibc kernel_linux multilib nls static-libs userland_GNU
 * FEATURES:   preserve-libs sandbox
 * Package:    sys-libs/e2fsprogs-libs-1.42.5_pre
 * Repository: poly-c
 * USE:        amd64 elibc_glibc kernel_linux multilib nls static-libs userland_GNU
 * FEATURES:   preserve-libs sandbox
 * Applying e2fsprogs-libs-1.42.5-fix-comm_err-linking.patch ...

 * Messages for package sys-fs/e2fsprogs-1.42.5_pre:

 * Package:    sys-fs/e2fsprogs-1.42.5_pre
 * Repository: poly-c
 * USE:        amd64 elibc_glibc kernel_linux multilib nls userland_GNU
 * FEATURES:   preserve-libs sandbox
 * Package:    sys-fs/e2fsprogs-1.42.5_pre
 * Repository: poly-c
 * USE:        amd64 elibc_glibc kernel_linux multilib nls userland_GNU
 * FEATURES:   preserve-libs sandbox
 * Applying e2fsprogs-1.38-tests-locale.patch ...
 * Applying e2fsprogs-1.41.8-makefile.patch ...
 * Applying e2fsprogs-1.40-fbsd.patch ...
 * Applying e2fsprogs-1.41.12-darwin-makefile.patch ...
 * Applying e2fsprogs-1.42.5-fix-comm_err-linking.patch ...
Traceback (most recent call last):
  File "/usr/bin/emerge", line 50, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/main.py", line 2060, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 456, in action_build
    retval = mergetask.merge()
  File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1009, in merge
    rval = self._merge()
  File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1359, in _merge
    self._main_loop()
  File "/usr/lib64/portage/pym/_emerge/PollScheduler.py", line 160, in _main_loop
    self.sched_iface.iteration()
  File "/usr/lib64/portage/pym/portage/util/_eventloop/EventLoop.py", line 174, in iteration
    if not x.callback(f, event, *x.args):
  File "/usr/lib64/portage/pym/_emerge/SpawnProcess.py", line 215, in _output_handler
    self._unregister_if_appropriate(event)
  File "/usr/lib64/portage/pym/_emerge/AbstractPollTask.py", line 129, in _unregister_if_appropriate
    self.wait()
  File "/usr/lib64/portage/pym/_emerge/AsynchronousTask.py", line 57, in wait
    self._wait_hook()
  File "/usr/lib64/portage/pym/_emerge/AsynchronousTask.py", line 161, in _wait_hook
    self._exit_listener_stack.pop()(self)
  File "/usr/lib64/portage/pym/_emerge/EbuildPhase.py", line 219, in _ebuild_exit
    _post_src_install_uid_fix(settings, out)
  File "/usr/lib64/portage/pym/portage/package/ebuild/doebuild.py", line 1803, in _post_src_install_uid_fix
    desktop_validate = validate_desktop_entry(fpath)
  File "/usr/lib64/portage/pym/portage/util/_desktop_entry.py", line 56, in validate_desktop_entry
    desktop_entry = parse_desktop_entry(path)
  File "/usr/lib64/portage/pym/portage/util/_desktop_entry.py", line 34, in parse_desktop_entry
    read_file(f)
  File "/usr/lib64/python3.2/configparser.py", line 708, in read_file
    self._read(f, source)
  File "/usr/lib64/python3.2/configparser.py", line 1063, in _read
    fpname, lineno)
  File "/usr/lib64/python3.2/configparser.py", line 228, in __init__
    Error.__init__(self, "".join(msg))
TypeError: sequence item 1: expected str instance, bytes found


Reproducible: Always




Portage 2.2.0_alpha120_p21 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.15-r2, 3.5.0-gentoo x86_64)
=================================================================
System uname: Linux-3.5.0-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.1
Timestamp of tree: Thu, 02 Aug 2012 17:30:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          9999
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.2
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo mpd science scarabeus luman nikai emacs java-overlay mgorny qt gnome wine-diablo3 gamerlay-stable Techwolf poly-c wirelay ruby lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en vi"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
Comment 1 Mike Gilbert gentoo-dev 2012-08-02 18:43:43 UTC
Looks like a portage bug.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-08-03 19:13:48 UTC
*** Bug 429692 has been marked as a duplicate of this bug. ***
Comment 4 Martin von Gagern 2012-08-03 19:30:18 UTC
(In reply to comment #3)
> *** Bug 429692 has been marked as a duplicate of this bug. ***

I don't see how this is a duplicate. At least the symptoms appear nothing alike to me: this one here talks about a python backtrace from emerge, whereas that one describes a broken system as the /usr/lib symlink got overwritten by a package which presumably cannot cope with the non-existence of standard directories in its install destination.
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-08-03 20:28:22 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > *** Bug 429692 has been marked as a duplicate of this bug. ***
> 
> I don't see how this is a duplicate.

My mistake, nevermind.