Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68054 - Binary metadata write failure
Summary: Binary metadata write failure
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-18 13:54 UTC by Kevin Quick
Modified: 2005-02-28 01:16 UTC (History)
0 users

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 Kevin Quick 2004-10-18 13:54:50 UTC
Trying "emerge -g ..." with newly created PKGDIR/PORTAGE_BINHOST configuration
gets exception error:

!!! Failed to write binary metadata to disk!
!!! 'modified'

Investigation showed that /usr/lib/portage/pym/getbinpkg.py:509 is doing a "if metadata[baseurl]["modified"]:" test, but modified is an invalid key.  Workaround (not necessarily the correct solution) is to add initialization of this key/value of zero where other metadata is initialized (~line 425).

Note that there was no previous use of -g on this system, so no existing binary metadata existed.

sys-apps./portage 2.0.51_pre24


Reproducible: Always
Steps to Reproduce:
1. emerge -pg ...any-package...
2.
3.




Gentoo Base System version 1.4.16
Portage 2.0.51_pre24 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.
6.5-gentoo-r1 i686)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1500MHz
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.4.3-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -march=pentium4 -fomit-frame-pointer -mfpmath=sse -msse -msse2 
-mmmx -maccumulate-outgoing-args"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
2/share/config /usr/kde/3/share/config /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/ /var/bind /
var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -march=pentium4 -fomit-frame-pointer -mfpmath=sse -msse -
msse2 -mmmx -maccumulate-outgoing-args"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ 
http://open-systems.ufl.edu/mirrors/gentoo ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/leo_tmrndcfg_laptop_packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://fogo/gentoo-portage"
USE="X acpi alsa apm arts avi berkdb bitmap-fonts crypt cscope cups dga directfb 
encode esd f77 foomaticdb gd gdbm gif gpm gtk gtk2 imap imlib jpeg kde libg++ 
libwww mad maildir mikmod motif moznocompose moznoirc moznomail mozsvg mpeg 
mysql ncurses nls nptl oggvorbis opengl oss pam pcmcia pda pdflib perl png 
python qt quicktime readline samba sdl slang spell sse sse2 ssl svga tcltk tcpd 
tetex tiff truetype wxwindows x86 xml2 xmms xosd xprint xv zlib"
Comment 1 Brian Harring (RETIRED) gentoo-dev 2005-02-28 01:16:05 UTC
Closing, been 5 months and is the only report of this
Re-open if you're still hitting it (pardon the delay btw).