Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30836 - emerge crashes while trying to emerge python-fchksum-1.7.1
Summary: emerge crashes while trying to emerge python-fchksum-1.7.1
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-10 09:11 UTC by Daniel Milne
Modified: 2011-10-30 22:20 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 Daniel Milne 2003-10-10 09:11:01 UTC
Emerge version 2.0.47-r7 fails while attempting to emerge python-fchksum-1.7.1.
python-fchksum is appears to be a dependency for portage, so upgrading portage
is not possible. 



Reproducible: Always
Steps to Reproduce:
1. Try upgrading portage with "emerge -U portage"
2.
3.

Actual Results:  
# emerge -U portage
>>> --upgradeonly implies --update... adding --update to options.
Calculating dependencies ...done!
>>> emerge (1 of 3) dev-python/python-fchksum-1.7.1 to /
>>> md5 src_uri ;-) python-fchksum-1.7.1.tar.gz
>>> Unpacking source...
>>> Unpacking python-fchksum-1.7.1.tar.gz to
/var/tmp/portage/python-fchksum-1.7.1/work
>>> Source unpacked.
['setup.py', 'build']
running build
running build_ext
Traceback (most recent call last):
  File "setup.py", line 78, in ?
    extra_link_args = lflags_arg,
  File "/usr/lib/python2.2/distutils/core.py", line 138, in setup
    dist.run_commands()
  File "/usr/lib/python2.2/distutils/dist.py", line 902, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.2/distutils/dist.py", line 922, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.2/distutils/command/build.py", line 107, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.2/distutils/cmd.py", line 330, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.2/distutils/dist.py", line 922, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.2/distutils/command/build_ext.py", line 231, in run
    customize_compiler(self.compiler)
  File "/usr/lib/python2.2/distutils/sysconfig.py", line 135, in customize_compiler
    (cc, opt, ccshared, ldshared, so_ext) = \
  File "/usr/lib/python2.2/distutils/sysconfig.py", line 417, in get_config_vars
    func()
  File "/usr/lib/python2.2/distutils/sysconfig.py", line 316, in _init_posix
    parse_makefile(filename, g)
  File "/usr/lib/python2.2/distutils/sysconfig.py", line 222, in parse_makefile
    line = fp.readline()
  File "/usr/lib/python2.2/distutils/text_file.py", line 224, in readline
    if string.strip(line) == "":
  File "/usr/lib/python2.2/string.py", line 85, in strip
    return s.strip(chars)
TypeError: strip() takes no arguments (1 given)

!!! ERROR: dev-python/python-fchksum-1.7.1 failed.
!!! Function src_compile, Line 20, Exitcode 1
!!! (no error message)


Expected Results:  
Correctly emerge portage and it's dependencies.

# emerge info
Portage 2.0.49-r7 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.6.0-test6-mm1)
=================================================================
System uname: 2.6.0-test6-mm1 i686 AMD Athlon(tm) processor
distcc 2.11 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -Os -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://www.fhh.opensource-mirror.de/gentoo.org/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://trumpetti.atm.tut.fi/gentoo/ http://ds.thn.htu.se/linux/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss apm cups encode foomaticdb gif libg++ mad mikmod ncurses nls pdflib
zlib directfb gtkhtml gdbm berkdb slang readline arts bonobo tcltk java guile
sdl gpm tcpd pam libwww perl python esd motif gphoto2 ldap cdr aalib alsa
apache2 avi crypt dvd exif fbcon gd -gnome gtk imap imlib innodb jpeg kde
mozilla mozsvg mozcalendar mpeg mysql oggvorbis opengl png postgres qt quicktime
spell ssl svga truetype usb X xinerama xmms xml xml2 xv"
Comment 1 Daniel Milne 2003-10-14 06:58:09 UTC
After forcing a new version of portage to emerge with ebuild, breaking portage,
rescuing portage and updating python/portage and stuff, things seem ok.

Since I can no longer reproduce it, I guess this bug can be closed? Or marked
invalid?
Comment 2 Markus Nigbur (RETIRED) gentoo-dev 2003-10-14 07:31:08 UTC
reopen if you can reproduce it anytime.