I have tcl and tk masked on my system since I don't like them. Doing USE="-tcl -tk" emerge -a =sys-libs/db-4.5.20_p2 still wants to install it. I can't find any reason why tcl is in the dependency tree. Is it a bug in portage? Or in the ebuild? This is the output These are the packages that would be merged, in reverse order: Calculating dependencies | !!! All ebuilds that could satisfy ">=dev-lang/tcl-8.4" have been masked. !!! One of the following masked packages is required to complete your request: - dev-lang/tcl-8.4.14-r1 (masked by: package.mask) /etc/portage/package.mask: # Personal dislike - dev-lang/tcl-8.4.15 (masked by: package.mask) - dev-lang/tcl-8.4.14 (masked by: package.mask) - dev-lang/tcl-8.5_alpha6 (masked by: package.mask, package.mask) - dev-lang/tcl-8.4.9 (masked by: package.mask) For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. (dependency required by "sys-libs/db-4.5.20_p2" [ebuild]) Reproducible: Always Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r6 x86_64) ================================================================= System uname: 2.6.22-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ Timestamp of tree: Wed, 26 Sep 2007 20:30:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r4 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18 sys-devel/gcc-config: 1.4.0-r2 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon64" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=athlon64" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks metadata-transfer multilib-strict sandbox sfperms splitdebug strict test unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirror.muntinternet.net/pub/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LDFLAGS="-Wl,--as-needed" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/sunrise /usr/local/overlays/gnome-experimental /usr/local/overlays/java-overlay /usr/local/overlays/philantrop /usr/local/overlays/portage /usr/local/overlays/matsuu" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 64bit X a52 aac acl acpi adns aiglx alsa amd64 apache2 artworkextra avahi berkdb bitmap-fonts bluetooth cairo cegui cli cracklib crypt ctype cups curl daap dbus devhelp device-mapper dri dts dvd eds epiphany exif extraengine fam ffmpeg firefox flac fontconfig foomaticdb fortran galago gdbm gedit gif gimp glade glitz glut gnome gphoto2 gpm gstreamer gtk guile hal hddtemp http ical iconv imlib inherit-graph inkjar ipv6 isdnlog java javascript joystick jpeg jpeg2k keyring lcms libnotify lm_sensors mad maildir midi mmx mmxext mono mp3 mpeg mpeg2 mudflap mysql mysqli ncurses nforce2 nls nptl nptlonly nsplugin obex ogg openal opengl openmp pam pcre pdf pdo perl php png postfix postscript ppds pppd pulseaudio python quicktime rar readline reflection samba scanner sdl session smp snmp sourceview spell spl sse sse2 ssl ssse3 subversion svg tagwriting tcpd test tga theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb valgrind vorbis wmf x264 xorg xpm xv xvid zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="canon casio" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse wacom joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fglrx radeon vesa vga" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Hmm, I found FEATURE="test" to cause that. Interesting. Is this still a bug?
No, not any bug. FEATURES=test enables USE=test, tcl is required for running tests w/ sys-libs/db