Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 194048

Summary: binary packages of fftw sci-libs/fftw-3.1.2 are uninstallable
Product: Gentoo Linux Reporter: Joshua Hoblitt <j_gentoo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Severity: normal CC: j_gentoo
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Package list:
Runtime testing required: ---

Description Joshua Hoblitt 2007-09-28 03:42:14 UTC
This one is a complete mystery to me but it is 100% reproducible when rebuilding the package and retrying the install.  I have confirmed this on 7 different systems.

ipp009 ~ # emerge -Kva fftw

These are the packages that would be merged, in order:

Calculating dependencies... done!
[binary  N    ] sci-libs/fftw-3.1.2  USE="sse sse2 -altivec -test" 

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 

>>> Emerging (1 of 1) sci-libs/fftw-3.1.2 to /
>>> Extracting info

Invalid package name: sci-libs/fftw-3.1.2:3.0
Traceback (most recent call last):
  File "/usr/bin/emerge", line 5547, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 5542, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 5009, in action_build
    retval = mergetask.merge(pkglist, favorites, mtimedb)
  File "/usr/bin/emerge", line 3221, in merge
  File "/usr/lib64/portage/pym/", line 8021, in pkgmerge
    tree="bintree", mydbapi=mydbapi, vartree=vartree)
  File "/usr/lib64/portage/pym/", line 3447, in doebuild
    use_cache, mydbapi)
  File "/usr/lib64/portage/pym/", line 3013, in doebuild_environment
    mysettings.setcpv(mycpv, use_cache=use_cache, mydb=mydbapi)
  File "/usr/lib64/portage/pym/", line 1724, in setcpv
    best_match = best_match_to_list(cpv_slot, cpdict.keys())
  File "/usr/lib64/portage/pym/", line 528, in best_match_to_list
    for x in match_to_list(mypkg, mylist):
  File "/usr/lib64/portage/pym/", line 499, in match_to_list
    if match_from_list(x, [mypkg]):
  File "/usr/lib64/portage/pym/", line 630, in match_from_list
    result = pkgcmp(pkgsplit(remove_slot(x)), mysplit)
  File "/usr/lib64/portage/pym/", line 188, in pkgcmp
ValueError: empty string for float()
ipp009 ~ # emerge -va fftw

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] sci-libs/fftw-3.1.2  USE="sse sse2 (-altivec) -test" 2,673 kB 

Total: 1 package (1 new), Size of downloads: 2,673 kB

Would you like to merge these packages? [Yes/No] 
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) sci-libs/fftw-3.1.2 to /
Adjusting permissions recursively: '/portage/distfiles/'
Adjusting permissions recursively: '/portage/distfiles/.locks'
>>> Downloading ''
           => `/portage/distfiles/fftw-3.1.2.tar.gz'
Connecting to||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,736,360 (2.6M) [application/x-gzip]

100%[====================================>] 2,736,360      1.02M/s             

17:38:38 (1.02 MB/s) - `/portage/distfiles/fftw-3.1.2.tar.gz' saved [2736360/2736360]

 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking fftw-3.1.2.tar.gz ;-) ...                                     [ ok ]
>>> Unpacking source...
>>> Unpacking fftw-3.1.2.tar.gz to /var/tmp/portage/sci-libs/fftw-3.1.2/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sci-libs/fftw-3.1.2 ...

Reproducible: Always

Actual Results:  
Portage (!../usr/portage/profiles/default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.22-gentoo x86_64)
System uname: 2.6.22-gentoo x86_64 Dual-Core AMD Opteron(tm) Processor 2220
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 09 Jul 2007 18:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61
sys-devel/automake:  1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
CFLAGS="-O2 -pipe -march=k8"
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 /usr/share/genkernel"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=k8"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict suidctl userfetch userpriv usersandbox"
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 --filter=H_**/files/digest-*"
USE="X acl acpi amd64 apache2 bash-completion berkdb bitmap-fonts cli cracklib crypt cups dri firefox fontconfig fortran gdbm gif gnome gnome2 gnutls gpm graphviz gtk gtk2 iconv imap ipv6 isdnlog jbig jpeg jpeg2k lcms libg++ mbox midi mmx mpeg mudflap ncurses nfs nls nptl openmp pam pcre perl pic png pppd python readline reflection samba session spl sse sse2 ssl svg sysfs tcpd tiff truetype truetype-fonts type1-fonts unicode vim-with-x xattr xinerama xorg xpm xv 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="r128 radeon nv vga"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-28 07:09:05 UTC
At minimum upgrade your portage to latest stable before reporting portage bugs, please. Reopen if you can reproduce with
Comment 2 Joshua Hoblitt 2007-09-29 14:07:51 UTC
This bug appears to be resolved in