svgalib requires the kernel headers to compile and will fail on any emerge done before emerging kernel sources for any stage 1 or 2 install. This is _very_ confusing for new to novice users as the reason for failure is not readily apparent. It's probably not too common for new users to set svga, but in one instance I have given a new user my USE flags that contained svga and heard back that the install kept failing. Even for advanced users, it's always annoying to have to redo 'emerge -e system' Reproducible: Always Steps to Reproduce: 1. begin stage1 install, using svga as a USE flag 2. continue install and do: emerge -e system 3. merge will fail on svgalib Actual Results: non-obvious compilation error on svgalib, system failed to merge Expected Results: either the svga flag should be filtered, or a warning should be issued stating to chose your kernel source and emerge it (this brings in a lot of other sytem dependencies though). a warning could also be put into the documentation saying what use flags will pull in packages that require kernel sources. emerge info taken after successfull emerge -e system (after setting -svga): oompaloompa / # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r0, 2.6.10-5-386 i686) =============================================================== == System uname: 2.6.10-5-386 i686 AMD Sempron(tm) Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -fprefetch-loop-arrays -mmmx -msse - ftracer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/ share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -fprefetch-loop-arrays -mmmx - msse -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org ftp://ftp.ussg.iu.edu/pub/linux/gentoo http:// mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/opt/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts ccache cdparanoia cdr crypt cups cvs dedicated dhcp distcc doc dvd dvdr emboss encode examples fastread firefox flash fluidsynth foomaticdb gd gdbm gif gpm gstreamer gtk gtk2 gtkhtml hardenedphp imap imlib imlib2 ipv6 jack javascript jikes jpeg junit kdeenablefinal kdexdeltas kerberos ladcca ladspa libg++ libwww mad maildir midi mikmod mmx mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin objc odbc ogg oggvorbis opengl pam pdflib perl php png python readline samba sdl sftplogging slang spell sql sqlite sse ssl subversion tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs xine xinerama xml xml2 xscreensaver xv zlib video_cards_nvidia userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LINGUAS
Remove the use flag, this can't be fixed. That's why it was removed from default use flags. *** This bug has been marked as a duplicate of 93505 ***