Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86228 - getbinpkgonly does not find available binary file.
Summary: getbinpkgonly does not find available binary file.
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Portage team
Depends on:
Reported: 2005-03-22 01:50 UTC by Aniruddha Shankar
Modified: 2007-01-11 11:01 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Aniruddha Shankar 2005-03-22 01:50:57 UTC
With particular packages, trying to emerge --getbinpkgonly does not install them, despite their presence in the binhost. I can update some packages ... but some will refuse to install. 

the local machine is called korma and the binhost bhim.

korma root # rm /var/cache/edb/metadata.idx.most_recent 
korma root # rm /var/cache/edb/remote_metadata.pickle 
korma root # emerge -uvDp mozilla-firefox

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] net-www/mozilla-firefox-1.0.1  -debug +gnome +java +ldap -mozdevelop -moznoxft +mozsvg -mozxmlterm -xinerama +xprint 31,905 kB 

Total size of downloads: 31,905 kB
korma root # emerge -uvDGd mozilla-firefox
Fetching binary packages info...
 * No password provided for username 'anonymous'

Loaded metadata pickle.
cache miss: 'x' --- cache hit: 'o'
ooooo(truncated for brevity)
  -- DONE!

Calculating dependencies  
Parent:    None
Depstring: net-www/mozilla-firefox
Candidates: ['net-www/mozilla-firefox']

!!! There are no packages available to satisfy: "mozilla-firefox"
!!! Either add a suitable binary package or compile from an ebuild.

bhim root # ls -l /usr/portage/packages/All/mozilla-firefox-1.0.1.tbz2 
-rw-r--r--  1 root root 9059911 Mar 22 14:19 /usr/portage/packages/All/mozilla-firefox-1.0.1.tbz2

Reproducible: Always
Steps to Reproduce:

korma root # emerge info
Portage (default-linux/x86/2004.3, gcc-3.3.5, glibc-,
2.6.11-ck2 i686)
System uname: 2.6.11-ck2 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 19 2005, 12:23:02)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/libtool:   1.5.10-r4
CFLAGS="-march=pentium3 -O2 -pipe -mmmx -msse -mfpmath=sse"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -mmmx -msse -mfpmath=sse"
FEATURES="autoaddcvs autoconfig buildpkg ccache distcc distlocks sandbox sfperms"
USE="x86 X aalib acpi acpi4linux alsa apache2 apm arts artswrappersuid audiofile
avi berkdb bitmap-fonts bzlib cdparanoia cdr cpdflib crypt cups curl dba dga
dhcp dnd dv dvb dvd dvdr dvdread edl encode esd exif faac faad fam fftw fla flac
fltk font-server foomaticdb fortran ftp gd gdbm gif gimp gimpprint gkrellm gnome
gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal i8x0 imagemagick imap imlib imlib2
jack jack-tmpfs java javascript jbig jpeg kde kdeenablefinal lcms ldap libcaca
libclamav libg++ libwww lzo mad mailbox maildir mbox mime ming mmx mmx2 mng
motif mozilla mozsvg mp3 mpeg mpi mysql nas ncurses nethack network nls nptl
oggvorbis openal opengl oss pam pcre pdf pdflib perl pic png posix ppds python
qt quicktime readline real recode rtc samba scanner sdl session silc slang slp
sockets speex spell sqlite sse sse2 ssl svga tcltk tcpd tga theora tiff truetype
truetype-fonts type1-fonts underscores unicode usb v4l v4l2 vim-with-x wmf xml
xml2 xmms xpm xprint xscreensaver xv xvid zlib video_cards_i810 linguas_hi"
Comment 1 Aniruddha Shankar 2005-03-22 01:59:56 UTC
after copying the damn binpkg over to the localmachine's /usr/portage/packages/All/, I did 
 emerge -v --usepkgonly mozilla-firefox
Calculating dependencies   
!!! There are no packages available to satisfy: "mozilla-firefox"
!!! Either add a suitable binary package or compile from an ebuild.
Comment 2 Brian Harring (RETIRED) gentoo-dev 2005-03-23 01:02:30 UTC
Up for posting the binpkg somewhere so it can be checked over?  (wild guess)
Comment 3 Aniruddha Shankar 2005-05-12 00:49:35 UTC
13:10 <Kream> the way that I've been solving problems is this: if --getbinpkgonly screws up, make sure all /usr/local/portage, USE flags, /etc/portage/package.keywords are IDENTICAL... then i try to delete the remote metadata files (two of em)... then I try --getbinpkg ... then I resort to manually copying the binaries into /usr/portage/packages/All .... then a --usepkgonly usually works. By then I've been swearing for a long time.. :)

This problem was fixed by method 3... spoken to ferringb on #gentoo-portage at Thu May 12 07:47:37 UTC 2005 ... the logs should shed more light on the matter... basically we came to the conclusion that the binpkg flakiness is due to some underlying issues with the binpkg code.. I will be starting a blog to document my experiments with binpkg
cheers :)
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2005-05-12 08:03:10 UTC
Reopening... If we closed every bug that is planned on being fixed in the next major version, we'd have no open bugs. ;)
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2005-10-16 08:40:17 UTC
Closing this again.. There's no useful information here, unfortunately. 
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 11:01:26 UTC
Closing due to old age