Try to emerge app-arch/p7zip. In the ebuild =app-arch/p7zip-9.13 it states: KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" so amd64 && ~amd64-linux emerge -pv app-arch/p7zip gives: # emerge -pv app-arch/p7zip These are the packages that would be merged, in order: Calculating dependencies... done! !!! All ebuilds that could satisfy "app-arch/p7zip" have been masked. !!! One of the following masked packages is required to complete your request: - app-arch/p7zip-9.13-r3 (masked by: ~amd64 keyword) - app-arch/p7zip-9.13-r2 (masked by: ~amd64 keyword) - app-arch/p7zip-9.13-r1 (masked by: ~amd64 keyword) - app-arch/p7zip-9.13 (masked by: ~amd64 keyword) - app-arch/p7zip-9.04 (masked by: ~amd64 keyword) For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. Even if I state ACCEPT_KEYWORDS="amd64 amd64-linux" in /etc/make.conf the output is just the same. Reproducible: Always Steps to Reproduce: 1. AMD64 Gentoo linux system 2. no keywording of app-arch/p7zip 3. emerge app-arch/p7zip Actual Results: need to keyword app-arch/p7zip Expected Results: no need to keyword app-arch/p7zip ;-) because of KEYWORDS="alpha amd64 ..." in app-arch/p7zip-9.13 there should be an emerge possible. Maybe the use of keywords is inversed? I (in the role of a normal user) would expect the emerge to succeed. So maybe "~amd64-linux" is more specific (and then more importand) than "amd64", but if I explicidly state to accept a "amd64" keyword by writing ACCEPT_KEYWORDS="amd64 amd64-linux" the emerge should follow my explicidly stated wish. Shouldn't it? Or if you look at it in a different way, the output of "emerge -pv app-arch/p7zip" is misleading. Then it should state that "- app-arch/p7zip-9.13 (masked by: ~amd64-linux keyword)" instead of "(masked by: ~amd64 keyword)" which is wrong. best regards
# emerge --info Portage 2.1.9.25 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.36-gentoo-r5-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-58-with-gentoo-1.12.14 Timestamp of tree: Fri, 14 Jan 2011 03:45:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [disabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11-r1 dev-lang/python: 2.5.4-r4, 2.6.6-r1, 3.1.2-r4 dev-util/ccache: 2.4-r9 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.2.4-r1::<unknown repository>, 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon64 -fomit-frame-pointer" 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 /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=athlon64 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--nospinner --color=y" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ " LC_ALL="de_DE@euro" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/kde-sunset /var/lib/layman/sunrise /var/lib/layman/unknown-horizons /var/lib/layman/gamerlay /var/lib/layman/games /usr/local/portage" SYNC="rsync://XXX" USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gimp gmp gnome gpm gtk hal iconv ipv6 jpeg kde laptop lcms ldap libnotify mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pch pcmcia pcre pdf perl png policykit ppds pppd python qt3 qt3support qt4 readline samba sdl session smp spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype type1 udev unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="devinput" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati radeon vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Please re-sync your tree and try again ~amd64-linux is a prefix keyword. You only care about the amd64 one
I did resync the last two days and the result was just the same: !!! All ebuilds that could satisfy "app-arch/p7zip" have been masked. !!! One of the following masked packages is required to complete your request: - app-arch/p7zip-9.13-r3 (masked by: ~amd64 keyword) - app-arch/p7zip-9.13-r2 (masked by: ~amd64 keyword) - app-arch/p7zip-9.13-r1 (masked by: ~amd64 keyword) - app-arch/p7zip-9.13 (masked by: ~amd64 keyword) - app-arch/p7zip-9.04 (masked by: ~amd64 keyword) (dependency required by "sys-boot/unetbootin-494" [ebuild]) For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. If I keyword the package everything is ok: # echo app-arch/p7zip >> /etc/portage/package.keywords # emerge -pv app-arch/p7zip These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild N ] app-arch/p7zip-9.13-r3 USE="kde pch -doc -rar (-static) -wxwidgets" 0 kB Total: 1 package (1 new), Size of downloads: 0 kB
Show me the output of equery m p7zip
The stable version doesn't know option 'm': # equery m p7zip !!! unknown global option m, reusing as local option !!! unknown global option p7zip, reusing as local option !!! No command or unknown command given Usage: .... Going to install Version 0.3.0
# equery m p7zip * app-arch/p7zip [gentoo] Herd: no-herd Maintainer: radek@gentoo.org Maintainer: jlec@gentoo.org Bug fixing guy Upstream: None specified Location: /usr/portage/app-arch/p7zip Keywords: 9.04:0: Keywords: 9.13:0: Keywords: 9.13-r1:0: Keywords: 9.13-r2:0: Keywords: 9.13-r3:0: ~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos
(In reply to comment #3) > I did resync the last two days and the result was just the same: > > !!! All ebuilds that could satisfy "app-arch/p7zip" have been masked. > !!! One of the following masked packages is required to complete your request: > - app-arch/p7zip-9.13-r3 (masked by: ~amd64 keyword) > - app-arch/p7zip-9.13-r2 (masked by: ~amd64 keyword) > - app-arch/p7zip-9.13-r1 (masked by: ~amd64 keyword) > - app-arch/p7zip-9.13 (masked by: ~amd64 keyword) > - app-arch/p7zip-9.04 (masked by: ~amd64 keyword) Then you have more trouble than you know, because 9.04 was removed from the tree months ago: *p7zip-9.13-r1 (19 Sep 2010) 19 Sep 2010; Justin Lecher <jlec@gentoo.org> -p7zip-4.57.ebuild, -p7zip-4.58-r1.ebuild, -p7zip-4.65.ebuild, -p7zip-9.04.ebuild, +p7zip-9.13-r1.ebuild: Added pch USE and do not mix CFLAGS/CXXFLAGS You will need to fix your system. Try our support forums or IRC channel for help. Meanwhile, there is no bug here to fix.
Just for the record: An strace of "equery m p7zip" gave another source of ebuilds. I found old content in /var/lib/layman/kde-sunset/app-arch/p7zip: # ls /var/lib/layman/kde-sunset/app-arch/p7zip ChangeLog Manifest p7zip-9.04.ebuild p7zip-9.13-r1.ebuild files metadata.xml p7zip-9.13.ebuild p7zip-9.13-r3.ebuild So basically it's my fault. My apologies to all readers for the hassle. Is it possible to give a priority list of the ebuild sources? I.e. to give /usr/portage a higher priority than /var/lib/layman? regards