I emerged emacs-cvs and read many of the messages the scrolled by. When I saw the configuration summary, I noticed that all of my USE variable parameters had been properly included in the configuration except for Xaw3d. Shouldn't the USE=Xaw3d build dependencies on that package and install it and configure software like emacs-cvs to use it? Reproducible: Always Steps to Reproduce: 1. edit make.conf and include Xaw3d in USE= 2. emerge -v emacs-cvs 3. read the messages and note the configuration summary. 4. (as far as reproducibility goes, I only did this twice, and I did not unmerge before emerging the second time. The second time is when I captured the configuration summary from the text that scrolls by). Actual Results: lots of text scrolls by, including the configuration summary where included packages and enabled options are summarized (the results of a ./configure --... command) Among other lines, this one is the offender: emacs uses Xaw3d: No pasted from output: ...lots of text... # emerge -v emacs-cvs checking for mbstate_t... yes checking for C restrict keyword... __restrict checking for C restricted array declarations... yes Configured for `i686-pc-linux-gnu'. Where should the build process find the source code? /var/tmp/portage/emacs-cvs-21.3.50/work/em acs What operating system and machine description files should Emacs use? `s/gnu-linux.h' and `m/intel386.h' What compiler should emacs be built with? gcc -g -O2 Should Emacs use the GNU version of malloc? yes (Using Doug Lea's new malloc from the GNU C Library.) Should Emacs use a relocating allocator for buffers? yes Should Emacs use mmap(2) for buffer allocation? no What window system should Emacs use? x11 What toolkit should Emacs use? GTK Where do we find X Windows header files? /usr/X11R6/include Where do we find X Windows libraries? /usr/X11R6/lib Does Emacs use -lXaw3d? no Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use -lungif? yes Does Emacs use -lpng? yes Does Emacs use X toolkit scroll bars? yes configure: creating ./config.status config.status: creating Makefile config.status: creating lib-src/Makefile.c ...lots of text... Expected Results: that configuration summary should have listed: emacs uses Xaw3d: Yes I would envision something like this: ...lots of text... checking for mbstate_t... yes checking for C restrict keyword... __restrict checking for C restricted array declarations... yes Configured for `i686-pc-linux-gnu'. Where should the build process find the source code? /var/tmp/portage/emacs-cvs-21.3.50/work/em acs What operating system and machine description files should Emacs use? `s/gnu-linux.h' and `m/intel386.h' What compiler should emacs be built with? gcc -g -O2 Should Emacs use the GNU version of malloc? yes (Using Doug Lea's new malloc from the GNU C Library.) Should Emacs use a relocating allocator for buffers? yes Should Emacs use mmap(2) for buffer allocation? no What window system should Emacs use? x11 What toolkit should Emacs use? GTK Where do we find X Windows header files? /usr/X11R6/include Where do we find X Windows libraries? /usr/X11R6/lib Does Emacs use -lXaw3d? yes <<<<-----<<<<<< Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use -lungif? yes Does Emacs use -lpng? yes Does Emacs use X toolkit scroll bars? yes configure: creating ./config.status config.status: creating Makefile config.status: creating lib-src/Makefile.c config.status: creating oldXMenu/Makefile ...lots of text... tombstone runlevels # emerge info Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo-r2) ================================================================= System uname: 2.4.25-gentoo-r2 i686 Intel(R) Xeon(TM) CPU 2.40GHz Gentoo Base System version 1.4.9 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] 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="-O3 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://mirror.datapipe.net/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.eliteitminds.com" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X Xaw3d acl acpi afs alsa apache2 apm arts avi berkdb bonobo caps crypt cups doc emacs emacs-w3 encode esd ethereal evo firebird flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile hardened icq imagemagick imap imlib innodb ipv6 jabber jack java jikes jpeg kde kerberos krb4 ldap libg++ libwww mad mcal mikmod motif mozilla mpeg mysql ncurses nls odbc oggvorbis opengl oss pam pda pdflib perl plotutils png ppds prelude python qt quicktime readline ruby samba sasl sdl slang slp spell sse ssl svga tcltk tcpd tetex tiff truetype unicode usb vhosts x86 xinerama xml2 xmms xv zeo zlib" FWIW, I'll add: tombstone runlevels # emerge search Xaw3d Searching... [ Results for search key : Xaw3d ] [ Applications found : 1 ] * x11-libs/Xaw3d Latest version available: 1.5-r1 Latest version installed: 1.5-r1 Size of downloaded files: 277 kB Homepage: http://freshmeat.net/projects/xaw3d/ Description: drop-in 3D replacement of the Xaw widget set which comes with X License: X11 tombstone runlevels # emerge -pv emacs-cvs These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] app-editors/emacs-cvs-21.3.50 +X +Xaw3d +gnome +gtk +gtk2 +nls +spell [empty/missing/bad digest] ^^^^^^ Total size of downloads: 0 kB
You have the gtk USE flag selected. I/we arbitrarily chose for gtk to have higher precendence than Xaw3d. If you want to use Xaw3d, make sure the gtk USE flag is not selected when installing emacs-cvs, either by setting environment variables or by configuring emacs-cvs-specific USE flags in /etc/portage/package.use.
Marking as INVALID.
What is done in the emacs-cvs ebuild is standard practice for ebuilds; however, i may be desirable for ebuilds to simply give an error in the case that confliting USE flags are selected, so that the user is not faced with arbitrary behavior automatically. The user would then have to use either environment variables or a per-package USE flag configuration so that conflicting USE flags are not specified. Prior to per-package USE flags, this type of behavior would be highly inconvenient. Now though, it may be more desirable. Until it is approved as a useful policy, however, I will not change the emacs-cvs ebuild.