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

Bug 86228

Summary: getbinpkgonly does not find available binary file.
Product: Portage Development Reporter: Aniruddha Shankar <k>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: VERIFIED NEEDINFO    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.

However,
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:
1.
2.
3.





korma root # emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1,
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/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -mmmx -msse -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
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
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -mmmx -msse -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://bhim/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://bhim/gentoo-portage"
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"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
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