Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27256 - `emerge dshieldpy -gK` fails
Summary: `emerge dshieldpy -gK` fails
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 29311 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-08-24 16:54 UTC by SpanKY
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 SpanKY gentoo-dev 2003-08-24 16:54:00 UTC
root@home 0 root # emerge dshieldpy -gK
Fetching binary packages info...
 * No password provided for username 'anonymous'

Loaded metadata pickle.
cache miss: 'x' --- cache hit: 'o'

!!! Failed to write binary metadata to disk!
!!! modified
  -- DONE!

Calculating dependencies   
!!! There are no packages available to satisfy: "dshieldpy"
!!! Either add a suitable binary package or compile from an ebuild.

!!! Error calculating dependencies. Please correct.
root@home 0 root # emerge info
Portage 2.0.49 (default-1.0, gcc-2.95.3, glibc-2.2.5-r8, 2.4.21-grsec)
=================================================================
System uname: 2.4.21-grsec i586 Pentium MMX
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i386 -mcpu=i386 -O3 -pipe"
CHOST="i386-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /var/qmail/supervise/qmail-smtpd"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=i386 -mcpu=i386 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/var/tmp/pkgdir"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 -3dfx -3dnow aalib -acl -afs -alsa apm -arts -atlas -avi -berkdb
-bonobo crypt cups curl -dga -directfb doc -dvd -encode -esd -evo -fbcon -flash
-gb gd gdbm ggi -ggz gif -gnome -gnome-libs -gphoto2 -gpm -gtk -gtkhtml -guile
-icc -icc-pgo imap imlib -innodb ipv6 -java jpeg -kde -lcms -ldap -libg++
-libgda libwww -matrox -maildir mbox -mikmod -mmx -motif -mozilla -mpeg mysql
-nas ncurses -nls nocardbus -odbc -oggvorbis -opengl -oss pam -pcmcia -pda
-pdflib perl -pic -plotutils png -pnp -postgres python -qt -qtmt -quicktime
readline -ruby samba sasl -sdl slang slp snmp -socks5 spell -sse ssl -static
svga -tcltk tcpd -tetex tiff truetype -trusted -voodoo3 -X -xface xml xml2 -xmms
-xv -zeo zlib"

the remote host looks like this (ftp://wh0rd.de/):
root@rux0r 0 ftp # pwd
/home/ftp
root@rux0r 0 ftp # ls
All          app-shells  dev-php      net-analyzer  net-libs   sys-kernel
app-admin    app-text    dev-python   net-dialup    net-mail   sys-libs
app-arch     dev-db      dev-util     net-firewall  net-misc   x11-base
app-crypt    dev-java    gnome-base   net-fs        net-print  x11-libs
app-editors  dev-lang    media-gfx    net-ftp       net-www    x11-misc
app-emacs    dev-libs    media-libs   net-im        sys-apps
app-misc     dev-perl    media-sound  net-irc       sys-devel
root@rux0r 0 ftp # ls All/dshieldpy-3.2.tbz2 
All/dshieldpy-3.2.tbz2
root@rux0r 0 ftp # ls net-firewall/dshieldpy-3.2.tbz2 
net-firewall/dshieldpy-3.2.tbz2
Comment 1 Alexander Winston 2003-08-24 21:09:39 UTC
Trying to execute the output of emerge (anything) is always going to cause problems.
Comment 2 SpanKY gentoo-dev 2003-08-27 20:58:54 UTC
i didnt actually type '`emerge dshieldpy -gK`' into a terminal, that's stupid 
 
i used the `` to indicate the command ... it's a convention i use because it's a lot 
easier to pick out commands in a block of text if you quote them as such 
Comment 3 SpanKY gentoo-dev 2003-09-21 21:15:38 UTC
this is (1) part lack of documentation and (1) part bug in portage

worked with nick and he has the fix in cvs while i updated the manpages
Comment 4 SpanKY gentoo-dev 2003-09-21 22:15:49 UTC
*** Bug 29311 has been marked as a duplicate of this bug. ***
Comment 5 Bill Cavalieri 2003-09-21 23:51:21 UTC
I changed line 864 of /usr/bin/emerge (per SpanKY):
-myk=["binary",myroot,myeb_pkg,pkguseflags]
-myk=["binary",myroot,myeb_pkg,string.join(pkguseflags, " ")]

run emerge -Gp world, downloads metadata, displays a list of most of what would be updated with binary's from binhost and what would need to be build :), but I still get this error:

[binary     U ] x11-libs/pango-1.2.3 [1.2.1-r1]
[binary     U ] sys-apps/gawk-3.1.3 [3.1.2-r3]
[binary   R   ] sys-kernel/linux-headers-2.4.19-r1
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2073, in ?
    mydepgraph.display(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1058, in display
    if (myoldslot==mynewslot) and portage.pkgcmp(portage.pkgsplit(x[2]), portage.pkgsplit(myoldbest)) < 0:
  File "/usr/lib/python2.2/site-packages/portage.py", line 2252, in pkgcmp
    r1=string.atoi(pkg1[2][1:])
  File "/usr/lib/python2.2/string.py", line 225, in atoi
    return _int(s, base)
ValueError: invalid literal for int(): r6
Comment 6 Bill Cavalieri 2003-09-22 00:24:22 UTC
here's a bit more detail:

emerge -Ugp gimp
<Fetching text>

Calculating dependencies   !!! aux_get(): ebuild for 'media-gfx/gimp-1.3.15' does not exist at:
!!!            /usr/portage/media-gfx/gimp/gimp-1.3.15.ebuild
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2054, in ?
    retval,favorites=mydepgraph.select_files(myfiles)
  File "/usr/bin/emerge", line 740, in select_files
    self.mysd=self.select_dep(portage.root,mykey,arg=x)
  File "/usr/bin/emerge", line 856, in select_dep
    cand=self.is_newer_ver_installed(myroot,x,myeb_pkg)
  File "/usr/bin/emerge", line 770, in is_newer_ver_installed
    myslot=portage.portdb.aux_get(pkgver,["SLOT"])[0]
  File "/usr/lib/python2.2/site-packages/portage.py", line 3557, in aux_get
    raise KeyError
KeyError