Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310921 - app-misc/klive-0.28 fails with =dev-lang/python-2.6.5*
Summary: app-misc/klive-0.28 fails with =dev-lang/python-2.6.5*
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Miscellaneous
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-23 13:48 UTC by Graham Murray
Modified: 2011-11-29 16:33 UTC (History)
3 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 Graham Murray 2010-03-23 13:48:55 UTC
After upgrade of python to 2.6.5, klive fails

Mar 23 13:41:49 gmdev twisted: [-] twistd 10.0.0 (/usr/bin/python2.6 2.6.5) starting up.
Mar 23 13:41:49 gmdev twisted: [-] reactor class: twisted.internet.selectreactor.SelectReactor.
Mar 23 13:41:49 gmdev twisted: [-] __builtin__.klive_protocol starting on 42858
Mar 23 13:41:49 gmdev twisted: [-] Starting protocol <__builtin__.klive_protocol instance at 0xa237a8c>
Mar 23 13:41:49 gmdev twisted: [-] Starting KLive: network protocol 1, client version 0.25
Mar 23 13:41:49 gmdev twisted: [-] Traceback (most recent call last):
Mar 23 13:41:49 gmdev twisted: [-]   File "/usr/bin/twistd-2.6", line 19, in <module>
Mar 23 13:41:49 gmdev twisted: [-]     run()
Mar 23 13:41:49 gmdev twisted: [-]   File "/usr/lib/python2.6/site-packages/twisted/scripts/twistd.py", line 27, in run
Mar 23 13:41:49 gmdev twisted: [-]     app.run(runApp, ServerOptions)
Mar 23 13:41:49 gmdev twisted: [-]   File "/usr/lib/python2.6/site-packages/twisted/application/app.py", line 693, in run
Mar 23 13:41:49 gmdev twisted: [-]     runApp(config)
Mar 23 13:41:49 gmdev twisted: [-]   File "/usr/lib/python2.6/site-packages/twisted/scripts/twistd.py", line 23, in runApp
Mar 23 13:41:49 gmdev twisted: [-]     _SomeApplicationRunner(config).run()
Mar 23 13:41:49 gmdev twisted: [-]   File "/usr/lib/python2.6/site-packages/twisted/application/app.py", line 423, in run
Mar 23 13:41:49 gmdev twisted: [-]     self.postApplication()
Mar 23 13:41:49 gmdev twisted: [-]   File "/usr/lib/python2.6/site-packages/twisted/scripts/_twistd_unix.py", line 205, in postApplication
Mar 23 13:41:49 gmdev twisted: [-]     self.startApplication(self.application)
Mar 23 13:41:49 gmdev twisted: [-]   File "/usr/lib/python2.6/site-packages/twisted/scripts/_twistd_unix.py", line 316, in startApplication
Mar 23 13:41:49 gmdev twisted: [-]     self.shedPrivileges(self.config['euid'], uid, gid)
Mar 23 13:41:49 gmdev twisted: [-]   File "/usr/lib/python2.6/site-packages/twisted/scripts/_twistd_unix.py", line 287, in shedPrivileges
Mar 23 13:41:49 gmdev twisted: [-]     switchUID(uid, gid, euid)
Mar 23 13:41:49 gmdev twisted: [-]   File "/usr/lib/python2.6/site-packages/twisted/python/util.py", line 677, in switchUID
Mar 23 13:41:49 gmdev twisted: [-]     initgroups(uid, gid)
Mar 23 13:41:49 gmdev twisted: [-]   File "/usr/lib/python2.6/site-packages/twisted/python/util.py", line 636, in initgroups
Mar 23 13:41:49 gmdev twisted: [-]     return _c_initgroups(pwd.getpwuid(uid)[0], primaryGid)
Mar 23 13:41:49 gmdev twisted: [-] TypeError: an integer is required

emerge --info
Portage 2.2_rc67 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo i686)
=================================================================
System uname: Linux-2.6.33-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_E8200_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 23 Mar 2010 08:00:01 +0000
app-shells/bash:     4.1_p2-r1
dev-java/java-config: 2.1.10
dev-lang/python:     2.5.4-r3, 2.6.5, 3.1.2
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.8.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.3.4, 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -march=native -mtune=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests buildsyspkg distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://gentoo.tiscali.nl/ http://mirror.ovh.net/gentoo-distfiles/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/sunrise /var/lib/layman/x11 /var/lib/layman/liquidx /usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 bash-completion berkdb branding bzip2 cairo caps cdr cli consolekit cracklib crypt cups curl cvs cxx dbus doc dri dts dvd dvdr eds emacs emboss encode evo examples expat fam ffmpeg flac fortran gd gdbm geoip gif gnome gnome-keyring gnutls gpm gstreamer gtk gtkhtml hal htmlhandbook iconv idn imagemagick imlib ipv6 java jpeg kde kdehiddenvisibility ldap libnotify libsamplerate logrotate lzo mad mikmod mmap mmx mng modules mono mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png policykit postgres ppds pppd pulseaudio python qt3support qt4 quicktime readline reflection samba sdl semantic-desktop session speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs tcl tcpd theora threads thunar tiff tk truetype unicode usb vim-syntax vorbis win32codecs x264 x86 xattr xcb xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="intel-hda" 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 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" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa fbdev nv nouveau" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-03-26 18:30:02 UTC
Can you reproduce this bug with dev-lang/python-2.6.5-r1?
Comment 2 Graham Murray 2010-03-29 11:33:56 UTC
(In reply to comment #1)
> Can you reproduce this bug with dev-lang/python-2.6.5-r1?
> 

Yes, it does the same thing with python-2.6.5-r1. I have also re-emerged twisted and klive but these made no difference.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-04-04 17:28:33 UTC
'/etc/init.d/klive start' works for me.
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-04-04 17:34:05 UTC
Or maybe a problem is reproducible. Please report it to upstream.
Comment 5 Michael Weber (RETIRED) gentoo-dev 2010-05-03 20:45:17 UTC
I can reproduce this behavior (i'm not completly ~amd64 but the most core parts)

1. have media-sound/rhythmbox-0.12.8 (emerged Mon Apr 12 00:20:53 2010)
2. upgrade python from dev-lang/python-2.6.4-r1 (Sun Mar  7 19:14:50 2010) to
dev-lang/python-2.6.5-r2
3. run "strace -s 1000 -f -vvv -o rhythmbox.strace  /usr/bin/rhythmbox" and see http://pastebin.com/3H3tUKH0

I have no debugging symbols turned on, but will quickpck the current rhythmbox, reemergem, and test ... 

Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-gentoo-r1-pandora.3 x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-r1-pandora.3-x86_64-AMD_Phenom-tm-_II_X4_920_Processor-with-gentoo-2.0.1
Timestamp of tree: Mon, 03 May 2010 18:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2
dev-python/pycrypto: 2.1.0_beta1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -mcx16 -msahf -mpopcnt --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10 -mieee-fp -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -mcx16 -msahf -mpopcnt --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10 -mieee-fp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--binpkg-respect-use y"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://nash.fs.lmu.de/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="de en en_US"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/usr/local/portage/layman/science /usr/local/portage/layman/gnome /usr/local/portage/layman/sunrise /usr/local/portage/layman/xmw /usr/local/portage/layman/x11"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl alsa amd64 ao apache2 bash-completion berkdb bluetooth bzip2 cairo cdda cddb cdparanoia cdr cgi cli consolekit cracklib crypt ctype cups curl cxx dbus dga djvu dri dts dv dvb dvd dvdr dvdread encode exif faac faad fbcon ffmpeg fftw flac fontconfig fortran gdbm gif gimp glut gnome gnome-keyring gnutls gphoto2 gpm gs gstreamer gtk iconv id3tag ieee1394 imagemagick introspection ipod ipv6 java java6 jbig joystick jpeg jpeg2k lame latex lcms libnotify libsamplerate lm_sensors lzma lzo mad mikmod mmap mmx mng modules mp3 mpeg mpi mplayer mudflap multilib mysql nas nautilus ncurses nls nptl nptlonly nsplugin ogg openal openexr opengl openmp pam pch pcre pdf perl png policykit postgres pppd python quicktime raw readline reflection rle samba sdl session smp speex spell spl sqlite sse sse2 ssl subversion svg symlink sysfs syslog taglib tcl tcpd theora threads tiff tk truetype unicode upnp usb vhosts vim-syntax vorbis wavpack webkit x264 xcb xine xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="intel-hda" 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 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" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Michael Weber (RETIRED) gentoo-dev 2010-05-05 02:50:37 UTC
Please excuse my last posting, i posted to the wrong bug.

I've installed klive, the server works. The traceback looks like a nin digit in a uid or an gid, can you check that, Graham? 
Comment 7 Ian Delaney (RETIRED) gentoo-dev 2011-11-29 16:33:05 UTC
to my knowledge klive is dead and no longer viable