Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146289 - portage bails out on emerge of net-print/apsfilter-7.2.5
Summary: portage bails out on emerge of net-print/apsfilter-7.2.5
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 136244
  Show dependency tree
 
Reported: 2006-09-04 10:36 UTC by Carsten Lohrke (RETIRED)
Modified: 2006-09-04 19:30 UTC (History)
0 users

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


Attachments
never return a tuple from new_protect_filename (no_tuple.patch,432 bytes, patch)
2006-09-04 11:04 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2006-09-04 10:36:31 UTC
>>> /usr/share/apsfilter/driver/stp/pcl-690
>>> /usr/share/apsfilter/driver/stp/pcl-750
>>> /usr/share/apsfilter/driver/stp/pcl-810
--- /usr/etc/
--- /usr/etc/apsfilter/
>>> /usr/etc/apsfilter/basedir -> /usr/share/apsfilter
--- /etc/
Traceback (most recent call last):
  File "/usr/bin/emerge", line 4045, in ?
    emerge_main()
  File "/usr/bin/emerge", line 4040, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 3580, in action_build
    mergetask.merge(pkglist, favorites, mtimedb)
  File "/usr/bin/emerge", line 2044, in merge
    prev_mtimes=ldpath_mtimes)
  File "/usr/lib/portage/pym/portage.py", line 3019, in doebuild
    vartree=vartree, prev_mtimes=prev_mtimes)
  File "/usr/lib/portage/pym/portage.py", line 3238, in merge
    mydbapi=mydbapi, prev_mtimes=prev_mtimes)
  File "/usr/lib/portage/pym/portage.py", line 6402, in merge
    cleanup=cleanup, mydbapi=mydbapi, prev_mtimes=prev_mtimes)
  File "/usr/lib/portage/pym/portage.py", line 6030, in treewalk
    self.mergeme(srcroot,destroot,outfile,None,secondhand,cfgfiledict,mymtime)
  File "/usr/lib/portage/pym/portage.py", line 6201, in mergeme
    mymtime=movefile(mysrc,mydest,newmtime=thismtime,sstat=mystat, mysettings=self.settings)
  File "/usr/lib/portage/pym/portage.py", line 3091, in movefile
    dstat=os.lstat(os.path.dirname(dest))
  File "/usr/lib/python2.4/posixpath.py", line 119, in dirname
    return split(p)[0]
  File "/usr/lib/python2.4/posixpath.py", line 77, in split
    i = p.rfind('/') + 1
AttributeError: 'tuple' object has no attribute 'rfind'


Portage 2.1.1_rc1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.4
Last Sync: Sun, 03 Sep 2006 08:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fforce-addr -mfpmath=sse -funit-at-a-time -msse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -pipe -fforce-addr -mfpmath=sse -funit-at-a-time -msse3 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect confcache cvs distlocks fixpackages keeptemp keepwork metadata-transfer noclean parallel-fetch sandbox sfperms splitdebug strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
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'           --exclude-from=/etc/portage/rsync_excludes"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac acl acpi activefilter alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cdr chroot cli crypt css cups curl dbus dga dlloader doc dv dvd dvdr eds elibc_glibc emacs emboss encode exif faad fam ffmpeg firebird firefox flac fontconfig fortran gcj gcl gd gif glut gphoto2 gpm graphviz hal hbci idl idn imagemagick imap input_devices_keyboard input_devices_mouse ipv6 isdnlog jack javascript jpeg jpeg2k kde kernel_linux kipi ladcca lcms ldap libg++ linguas_de lirc lm_sensors lzo mad maildir matroska mbox md5sum mmx mmxext mng mp3 mpeg musepack nas ncurses network nls nptl nptlonly ofx ogg openexr opengl pam pcap pcre pdflib perl pg-hier php png postgres ppds pppd python qt3 qt4 quicktime readline reflection rtc ruby samba sasl scanner sdl session skey slp snmp sox spell spl sse sse2 ssl subversion svg svga tcpd tetex theora threads tiff transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_fbdev video_cards_nvidia video_cards_vesa vorbis win32codecs wmf xcomposite xerces xine xml xml2 xorg xv xvid yaz zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Zac Medico gentoo-dev 2006-09-04 11:04:11 UTC
Created attachment 95984 [details, diff]
never return a tuple from new_protect_filename

Hmm, that must be a rare case.  It's fixed in svn r4400 (at least, I'm pretty sure that I've found the source of the tuple).
Comment 2 Zac Medico gentoo-dev 2006-09-04 19:30:56 UTC
This has been released in 2.1.1_rc1-r4.