Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339231 - Portage 2.2_rc88 emerge @security crashing with python3
Summary: Portage 2.2_rc88 emerge @security crashing with python3
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 144480 210077
  Show dependency tree
 
Reported: 2010-09-30 09:41 UTC by Szpadel
Modified: 2010-10-06 21:17 UTC (History)
1 user (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 Szpadel 2010-09-30 09:41:19 UTC
11:36:42 [25] sunshine ~ # emerge -p @security
Traceback (most recent call last):
  File "/usr/bin/emerge", line 43, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/main.py", line 1425, in emerge_main
    myfiles, retval = expand_set_arguments(myfiles, myaction, root_config)
  File "/usr/lib64/portage/pym/_emerge/main.py", line 1150, in expand_set_arguments
    set_atoms = setconfig.getSetAtoms(s)
  File "/usr/lib64/portage/pym/portage/_sets/__init__.py", line 203, in getSetAtoms
    myatoms = myset.getAtoms()
  File "/usr/lib64/portage/pym/portage/_sets/base.py", line 64, in getAtoms
    self._load()
  File "/usr/lib64/portage/pym/portage/_sets/base.py", line 59, in _load
    self.load()
  File "/usr/lib64/portage/pym/portage/_sets/security.py", line 37, in load
    myglsa = glsa.Glsa(glsaid, self._settings, self._vardbapi, self._portdbapi)
  File "/usr/lib64/portage/pym/portage/glsa.py", line 460, in __init__
    self.read()
  File "/usr/lib64/portage/pym/portage/glsa.py", line 478, in read
    self.parse(urllib_request_urlopen(myurl))
  File "/usr/lib64/portage/pym/portage/glsa.py", line 508, in parse
    self.announced = format_date(getText(myroot.getElementsByTagName("announced")[0], format="strip"))
  File "/usr/lib64/portage/pym/portage/glsa.py", line 398, in format_date
    splitdate = datestr.split("-", 2)
TypeError: Type str doesn't support the buffer API


Reproducible: Always

Steps to Reproduce:
1. emerge @security







this is not needed in this case, but.... ;-)

11:36:45 [26] sunshine ~ # emerge --info
Portage 2.2_rc88 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-zen2 x86_64)
=================================================================
System uname: Linux-2.6.35-zen2-x86_64-AMD_Athlon-tm-_64_Processor_2800+-with-gentoo-2.0.1
Timestamp of tree: Thu, 30 Sep 2010 04:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.67
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -Os -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -Os -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going "
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://mirror.ovh.net/gentoo-distfiles/ "
LANG="pl_PL"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
LINGUAS="pl"
MAKEOPTS="-s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--progress -z --compress-level=9 --exclude=*/ChangeLog"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/zugaina /var/lib/layman/x11 /var/lib/layman/vmware /var/lib/layman/multimedia /var/lib/layman/openrc /var/lib/layman/pure-funtoo /var/lib/layman/mozilla /usr/portage/local/myport"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apm arts bash-completion berkdb branding bzip2 cairo ccache cdr cli colordiff consolekit cracklib cups custom-cpuopts custom-optimization cxx dbus djvu dri drm-next dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm hal iconv id3tag jpeg kde lame lcms ldap libnotify logrotate lzma mad mikmod mmx mmxext mng modules mp3 mp4 mpd mpeg mplayer mtp mudflap multilib nano-syntax ncurses nfs nls nptl nptlonly nsplugin nspluginwrapper ogg opengl openmp optimization optimized-qmake pam pango pcre pdf perl png ppds pppd prediction python qt qt-static qt3 qt3support qt4 readline reflection scanner sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vim-syntax vorbis x264 xcb xml xorg xulrunner xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="gpm keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon ati" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 2 Zac Medico gentoo-dev 2010-10-06 21:17:41 UTC
This is fixed in 2.2_rc90.