When trying to emerge a set that set has te be in the last overly or portage won't know about it. ex: I have kde, kde-testing and kde-crazy overlays. When trying to emerge @kde-4.2 (in kde-testing) my PORDIR_OVERLAY var has to be "... kde-testing" but when trying to emerge @kde-live ( in kde-crazy) PORTDIR_OVERLAY has to be "... kde-crazy" Reproducible: Always Steps to Reproduce: Portage 2.2_rc20 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r0, 2.6.27-gentoo-r7 x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-r7-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9400_@_2.53GHz-with-glibc2.2.5 Timestamp of tree: Sun, 28 Dec 2008 14:35:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p48 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.0 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core2 -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=core2 -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache distlocks fixpackages installsources multilib-strict parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans usepkg userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.utf-8" LDFLAGS="-Wl,-O1" LINGUAS="en sv sv_SE en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude=".cvs" --exclude="patches"" 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="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/wschlich-testing /usr/local/portage/layman/java-overlay /usr/local/portage/layman/kde-testing /usr/local/portage/layman/kde-crazy /usr/local/portage" SYNC="rsync://dx/gentoo-portage" USE="X a52 aac accessibility acpi aiglx alsa amd64 asf avi bash-completion berkdb bitmap-fonts bluetooth branding browserplugin bzip2 cairo ccache cdr cli cracklib crypt cscope css cups curl cvs dbus divx divx4linux dlloader dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox flac foomaticdb freetype gcj gdbm geoip gif gimp gmedia gpm gstreamer gtk hal htmlhandbook http iconv id3tag ieee1394 imap imlib ipv6 isdnlog ithreads java javascript jfs jpeg kde kdeenablefinal kdehiddenvisibility kdepim ldap libnotify lm_sensors logitech-mouse mad maildir midi mikmod mmx mmx2 mmxext mod_python mono mozbranding moznopango mozsvg mp3 mpeg mplayer msn mudflap multilib ncurses nls nptl nptlonly nsplugin ntfs nvidia obex ogg oggvorbis opengl openmp oscar pam pch pcre pdf pdflib perl plasma png ppds pppd python qt qt3 qt3support qt4 quicktime readline realmedia reflection reiserfs samba scanner sdl session smp spell spl sse sse2 sse4cpudetection ssl ssse3 startup-notification subversion svg symlink sysfs syslog taglib tcpd tetex theora threads tiff tk truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vim-syntax vim-with-x visualization vnc vorbis wifi wmf wmp wxwindows xcomposite xface xfs xine xml xorg xosd xpm xulrunner xv xvid zlib" ALSA_CARDS="intel" 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="synaptics mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sv sv_SE en_US" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
That doesn't sound right, the code in question is processing all overlays in order. Please attach the relevant sets.conf files form the overlays involved, maybe they are overwriting each others set definitions.
:::kde-testing::: [kde sets] class = portage.sets.files.StaticFileSet multiset = true directory = ${repository:kde}/sets/ :::kde-crazy::: [kde sets] class = portage.sets.files.StaticFileSet multiset = true directory = ${repository:kde-crazy}/sets/ Could it be because they both use "kde sets"?
Yes, sets.conf sections that have the same name will override eachother. Those overlays should use different section names such as [kde testing] and [kde crazy].
Closing as upstream as the fault is not inportage but in the setup of the overlays.