Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149139 - app-portage/porthole-0.4.1 fails with python-2.5
Summary: app-portage/porthole-0.4.1 fails with python-2.5
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.5
  Show dependency tree
 
Reported: 2006-09-25 22:44 UTC by Charlie Shepherd (RETIRED)
Modified: 2007-01-07 13:37 UTC (History)
1 user (show)

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


Attachments
Patch against app-portage/porthole-0.4.1 (email.diff,739 bytes, patch)
2006-11-16 19:35 UTC, Jim Dabell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie Shepherd (RETIRED) gentoo-dev 2006-09-25 22:44:35 UTC
copying porthole.desktop -> /var/tmp/portage/porthole-0.4.1/image/usr/share/applications
running install_egg_info
Writing /var/tmp/portage/porthole-0.4.1/image/usr/lib/python2.5/site-packages/porthole-0.4.1-py2.5.egg-info
Traceback (most recent call last):
  File "setup.py", line 30, in <module>
    ("share/applications", ["porthole.desktop"])
  File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.5/distutils/command/install.py", line 510, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.5/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.5/distutils/command/install_egg_info.py", line 41, in run
    self.distribution.metadata.write_pkg_file(f)
  File "/usr/lib/python2.5/distutils/dist.py", line 1095, in write_pkg_file
    file.write('Author-email: %s\n' % self.get_contact_email() )
TypeError: not all arguments converted during string formatting

!!! ERROR: app-portage/porthole-0.4.1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_install
  ebuild.sh, line 1020:   Called src_install
  porthole-0.4.1.ebuild, line 32:   Called distutils_src_install
  distutils.eclass, line 51:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

emerge --info:

Mars portage # emerge --info
Portage 2.1.2_pre1-r1 (default-linux/x86/2006.1, gcc-4.1.1/vanilla, glibc-2.4.20060329-r0, 2.6.18-rc4-viper i686)
=================================================================
System uname: 2.6.18-rc4-viper i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.5
Last Sync: Sun, 24 Sep 2006 18:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r3, 2.5-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17.50.0.3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe -fno-ident -fweb -frename-registers -ftracer -Wall"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe -fno-ident -fweb -frename-registers -ftracer -Wall"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache collision-protect confcache distlocks metadata-transfer nodoc noinfo parallel-fetch sandbox sfperms strict stricter userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk"
LANG="en_GB"
LC_ALL="en_GB"
LDFLAGS="-Wl,-O1 -Wl,-zdynsort -Wl,--as-needed -Wl,--sort-common -Wl,-z,now"
LINGUAS="en en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/initng /usr/local/overlays/xgl-coffee /usr/local/overlays/pkgcore /usr/portage/local/layman/liquidx /usr/portage/local/layman/vmware /usr/portage/local/layman/initng /usr/portage/local/layman/hanno-xgl"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 7zip X X509 aac acl acpi alsa amd amuled ansi apache2 arts asf audacious bash-completion bzip2 cap ccache cdda cddb cdinstall cdparanoia cdr cdrom cgi chroot ck-plus cracklib crypt css cups curl curlwrappers dbus dhcp dillo dio directfb djbfft dnd dri dv dvdread edl elibc_glibc encode erandom exif ext-png ext-zlib extensions fastcgi fbcon fbsplash ffmpeg firefox flash fortify fpx geoip gif gimp gimpprint ginac glgd glibc-compat20 glibc-omitfp glitz glut gmp gmtfull gnuplot gpm graphviz gs gsl gtk gtk2 hal hardenedphp hbci hdf iconv icq ide idl image imap imlib imlib2 infopipe initng_plugins_also initng_plugins_bash_launcher initng_plugins_chdir initng_plugins_chroot initng_plugins_conflict initng_plugins_cpout initng_plugins_critical initng_plugins_cron initng_plugins_daemon initng_plugins_dev initng_plugins_dllaunch initng_plugins_envparser initng_plugins_find initng_plugins_fstat initng_plugins_history initng_plugins_idleprobe initng_plugins_initctl initng_plugins_interactive initng_plugins_iparser initng_plugins_last initng_plugins_limit initng_plugins_logfile initng_plugins_netprobe initng_plugins_ngc4 initng_plugins_pause initng_plugins_pidfile initng_plugins_provide initng_plugins_reload initng_plugins_renice initng_plugins_rlparser initng_plugins_simple_launcher initng_plugins_stcmd initng_plugins_stdout initng_plugins_suid initng_plugins_syncron initng_plugins_syslog initng_plugins_unneeded innodb input_devices_joystick input_devices_keyboard input_devices_mouse ipv6 irda irmc j2ee jabber javacomm javamail javascript jbig jboss jce jms jmx joystick jpeg jpeg2k jta jython kakasi kde kdehiddenvisibility kdenewldflags kdexdeltas kerberos kernel_linux kqemu krb4 latex lcms leim libclamav libdsk libgd libgda libsamplerate libwww linguas_en linguas_en_GB live lua lzo lzw m17n-lib mad maildir matroska mbox mcal mdb migemo mime mixer mjpeg mmap mmx mmxext mono mozcalendar mozdevelop mozsvg mozxmlterm mp3 mpeg mpi mplayer msn mule multislot music mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses net netcdf network neural nis nls no-old-linux nomalloccheck nowin nptl nptlonly ntlm ntpl oav objc ocaml offensive ogg oggvorbis openal opengl oscar ospfapi pam parse-clocks pcap pcntl pcre pdf perl pertty pg-hier pg-intdatetime pg-vacuumdelay php physfs pic plotutils png portaudio povray ppds pri print procmail python qa qt3 qt4 quicktime quotas quotes readline real reiser4 reiserfs risky rogue rplay sdl seamonkey semanticfix session sftplogging shared sharedmem slp smime sndfile snortsam socks5 sox sse sse-filters sse2 ssl suspend2 svga symlink sysvipc szip tcltk tcpd tga theora tidy tk transcode truetype uim unicode usb userland_GNU v4l v4l2 vcd vda video_cards_i810 videos virus-scan vorbis wddx webdav wifi win32codecs winbind wma wmf wxwindows xanim xatrix xchatdccserver xchattext xcomposite xemacs xface xgetdefault xine xml xmlreader xmlrpc xmlwriter xmms xorg xosd xpm xprint xrandr xscreensaver xsettings xv xvid xvmc yahoo yaz yp yv12 zaptel zeo zlib zvbi"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jim Dabell 2006-11-16 19:32:22 UTC
This is because the maintainers have specified the email addresses as a tuple.  According to the Python documentation, it should be a string:

http://docs.python.org/dist/module-distutils.core.html

It was also an error in 2.4, although presumably the distutils installation didn't trip on it until 2.5
Comment 2 Jim Dabell 2006-11-16 19:35:33 UTC
Created attachment 102172 [details, diff]
Patch against app-portage/porthole-0.4.1

This just removes all but one of the email addresses and leaves it as a string.
Comment 3 Bryan Østergaard (RETIRED) gentoo-dev 2007-01-07 13:37:59 UTC
This is fixed in version 0.5.0 which has been in the tree for a year now.