if a use flag is listed in use.local.desc for any package, repoman will accept it in IUSE for any ebuild, even if not specified in use.local.desc. For example, the "monkey" use flag is listed in use.local.desc for app-cdr/k3b but repoman will not complain when "monkey" is added to IUSE for any other ebuild. Reproducible: Always Steps to Reproduce: 1. add use flag listed in use.local.desc for another package to IUSE for different package. 2. run repoman full Actual Results: repoman didn't complain about invalid USE flag. Expected Results: repoman should have complained about invalid USE flag. Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25) ================================================================= System uname: 2.4.25 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.9 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=i686 -O3 -pipe -Wall" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/X11/rstart /etc/X11/serverconfig /etc/X11/starthere /etc/X11/xdm /etc/bash_completion /etc/gconf /etc/pango /etc/sound/events /etc/ssmtp /etc/terminfo /usr/X11R6/lib/X11/xkb /etc/env.d" CXXFLAGS="-mcpu=i686 -O3 -pipe -Wall -Wno-deprecated" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache cvs sandbox" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/home/msterret/gentoo-x86" PORTDIR_OVERLAY="/home/msterret/src/portage-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X apm arts avi berkdb cdr crypt cscope cups dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 guile java jpeg libg++ libwww mad mikmod mmx mozilla moznocompose moznoirc moznomail mpeg nas ncurses noreiserfs oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline sdl spell sse ssl tcpd tiff truetype x86 xml2 xmms xv zlib"
Created attachment 30131 [details, diff] Checks only for package name when checking use.local.desc Patch for for repoman from portage-2.0.51_pre7 but should apply to 2.0.50-r6. Untested as my system seems to be partially broken at present :/ I've assumed that package names in use.local.desc cannot have versions or operators.
Doesn't seem to apply to -r6. Can you try it again? Maybe I messed something up on my end.
Created attachment 30134 [details, diff] Same but for 2.0.50-r6
Hmmm, I don't think this patch works correctly. It's complaining about too many things. For example, it claims that: games-arcade/tuxracer/tuxracer-0.61-r3.ebuild: stencil-buffer is bad, but it's listed in use.local.desc.
Created attachment 30204 [details, diff] Fix for bug in previous patch The 2.0.51_pre7 patch works. The variable names changed a little between the versions and I used a wrong one for the 2.0.50-r6 patch.
just had this problem in pre13, could this be included in the next release? :)
Added the 1st patch to CVS. Will be in the next .51 release.