Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275144 - sys-apps/portage-2.2_rc33 - repoman does not distinguish between cached IUSE and present IUSE
Summary: sys-apps/portage-2.2_rc33 - repoman does not distinguish between cached IUSE ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-23 06:36 UTC by Jeroen Roovers (RETIRED)
Modified: 2017-03-16 00:28 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 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-23 06:36:32 UTC
As noted in bug #274670 comment #8, repoman somehow finds that a USE flag (zip-external) is in use when it isn't (metadata cache?) and complains that the USE flag should be documented:

RepoMan scours the neighborhood...
  IUSE.invalid                  2
   dev-lang/php/php-5.2.9-r2.ebuild: zip-external
   dev-lang/php/php-5.2.10.ebuild: zip-external

Note: use --include-dev (-d) to check dependencies for 'dev' profiles

Please fix these important QA issues first.
RepoMan sez: "Make your QA payment on time and you'll never see the likes of
me."


Tue Jun 23 08:36:02 CEST 2009
Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r5-JeR i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-JeR-i686-AMD_Athlon-tm-_XP_2500+-with-glibc2.0
Timestamp of tree: Tue, 23 Jun 2009 03:20:01 +0000
distcc[1650] (dcc_set_trace_from_env) ERROR: failed to open logfile /var/log/distcc: Permission denied [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon-xp -Wall"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/app-defaults/XTerm /usr/share/X11/app-defaults/XTerm-color"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=athlon-xp -Wall"
DISTDIR="/keeps/gentoo/distfiles"
FEATURES="autoaddcvs buildpkg cvs distlocks fixpackages notitles parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test-fail-continue unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://mirror.muntinternet.net/pub/gentoo/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://mirror.leaseweb.com/gentoo/ "
LANG="en"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
LINGUAS="en en_GB nl"
MAKEOPTS="-j3"
PKGDIR="/keeps/gentoo/packages/astrid"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/keeps/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acpi alsa asf audiofile bash-completion berkdb bl bluetooth boost branding bzip2 cairo cdda cddb cdio cdparanoia cdr chroot cli cpudetection cracklib crypt cscope css cups curl custom-cflags custom-cxxflags dga dillo divx dri dv dvd dvdr dvdread edl eds elf emboss encode evo fame fbcon ffmpeg flac flash fontforge foomaticdb fortran freetype gdbm ggi gif gimpprint glib glitz glut gmedia gnokii gnutls gpm gs gstreamer gtk gtk2 iconv idn imlib inkjar ipv6 isdnlog jingle jpeg kde lcms libcaca libnotify libsamplerate live lm_sensors logrotate lzo mad matroska midi mikmod mjpeg mmx mng modplug mozilla mozsvg mozxmlterm mp3 mpeg mplayer mudflap musepack ncurses nethack network nl nls nptl nptlonly nsplugin offensive ogg opengl openmp openssl optimisememory pam pcre pda pdf perl physfs plotutils png ppds pppd pulseaudio python quicktime readline realmedia reflection rtc rtsp ruby samba screenshot sdl server session sftplogging shout skins smux snmp speex spell spl sse ssl startup-notification stream svg sysfs syslog tcpd test tetex tga theora threads tiff truetype unicode upnp usb userlocales utils v4l v4l2 vcd vidix vim vlm vorbis win32codecs winbind wmp x86 xanim xml xml2 xorg xosd xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Zac Medico gentoo-dev 2009-06-23 22:37:51 UTC
Apparently your cache in /var/cache/edb/dep got corrupted somehow. The way that it's supposed to work is that the timestamps of the ebuild and inherited eclasses are stored in the cache entry and those are used to validate it. Normally this works fine, but apparently something went wrong on your system.

Did the IUSE change due to an eclass change that you made locally? If so, then that would explain it. If you're making local eclass changes, you need to have FEATURES=metadata-transfer enabled. This is due to a limitation in the cache format that is distributed with the rsync tree (it doesn't include eclass timestamps).  In order to solve this problem, we need to extend the cache format as discussed in the "[RFC] DIGESTS metadata variable for cache validation" thread:

http://archives.gentoo.org/gentoo-dev/msg_cfa80e33ee5fa6f854120ddfb9b468b3.xml
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-24 01:10:34 UTC
(In reply to comment #1)
> Apparently your cache in /var/cache/edb/dep got corrupted somehow. The way that
> it's supposed to work is that the timestamps of the ebuild and inherited
> eclasses are stored in the cache entry and those are used to validate it.
> Normally this works fine, but apparently something went wrong on your system.
> 
> Did the IUSE change due to an eclass change that you made locally? 

I use no other eclasses than those in the official tree.

> If so, then
> that would explain it. If you're making local eclass changes, you need to have
> FEATURES=metadata-transfer enabled.

I made no local eclass changes, but I didn't have FEATURES=metadata-transfer on that system either.
Comment 3 Zac Medico gentoo-dev 2009-06-24 02:47:04 UTC
(In reply to comment #2)
> I made no local eclass changes, but I didn't have FEATURES=metadata-transfer on
> that system either.

Then something else must have caused the cache validation mechanism to fail. Is there a cache entry located at /var/cache/edb/dep/keeps/gentoo/portage/dev-lang/php-5.2.10 and does it contain zip-external in its IUSE value?
Comment 4 Zac Medico gentoo-dev 2009-06-24 02:49:22 UTC
Also, please check line 11 of /gentoo/portage/metadata/cache/dev-lang/php-5.2.10 and check if that contains zip-external.
Comment 5 Zac Medico gentoo-dev 2009-06-24 02:50:28 UTC
Of course, I mean '/keeps/gentoo/portage/metadata/cache/dev-lang/php-5.2.10'.
Comment 6 Brian Dolbec (RETIRED) gentoo-dev 2017-03-16 00:28:13 UTC
This has had no activity in years, there has been so many changes to portage/repoman since then.  Plus there have been no new reported occurances of this.

Closing