svga Reproducible: Always Steps to Reproduce: 1. emerge svgalib[-which.version.you.want] Actual Results: ... (svgalib build log) grep: //usr/src/linux/include/linux/autoconf.h: No such file or directory Makefile.alt:11: *** commands commence before first target. Stop. ... (a portage failure notice) Expected Results: svgalib merged # emerge info Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.4.21-0.13mdk i686) ================================================================= System uname: 2.4.21-0.13mdk i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 26 2005, 17:12:01)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.5, 1.9.4, 1.8.5-r2, 1.4_p6, 1.6.3, 1.7.9 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r3 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env \ /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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=i686 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org \ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X apm arts avi berkdb bitmap-fonts crypt cups emacs encode esd f77 flac \ font-server foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imlib ipv6 java \ jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam \ pdflib perl pic png postgres python qt quicktime readline samba sdl slang spell ssl \ svga tcpd tiff truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Fail both, svgalib-1.9.19-r1 and svgalib-1.9.19-r1
Please attach the entire build output.
Here you are: make[1]: Entering directory `/var/tmp/portage/svgalib-1.9.19-r3/work/svgalib-1.9.19/threeDKit' i686-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -fPIC -I../include -I. -I../src -O2 -march=i686 -fomit-frame-pointer -pipe -I../gl -c -o 3dinit.o 3dinit.c i686-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -fPIC -I../include -I. -I../src -O2 -march=i686 -fomit-frame-pointer -pipe -I../gl -c -o 3dkit.o 3dkit.c i686-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -fPIC -I../include -I. -I../src -O2 -march=i686 -fomit-frame-pointer -pipe -I../gl -c -o quickmath.o quickmath.c i686-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -fPIC -I../include -I. -I../src -O2 -march=i686 -fomit-frame-pointer -pipe -I../gl -c -o swtriangle.o swtriangle.c i686-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -fPIC -I../include -I. -I../src -O2 -march=i686 -fomit-frame-pointer -pipe -I../gl -c -o triangl.o triangl.c i686-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -fPIC -I../include -I. -I../src -O2 -march=i686 -fomit-frame-pointer -pipe -I../gl -c -o triangle.o triangle.c i686-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -fPIC -I../include -I. -I../src -O2 -march=i686 -fomit-frame-pointer -pipe -I../gl -c -o wrapsurf.o wrapsurf.c i686-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -fPIC -I../include -I. -I../src -O2 -march=i686 -fomit-frame-pointer -pipe -I../gl -c -o wtriangle.o wtriangle.c i686-pc-linux-gnu-gcc -shared -Wl,-soname,lib3dkit.so.1 \ -o lib3dkit.so.1.9.19 3dinit.o 3dkit.o quickmath.o swtriangle.o triangl.o triangle.o wrapsurf.o wtriangle.o -lm i686-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -fPIC -I../include -I. -I../src -O2 -march=i686 -fomit-frame-pointer -pipe -I../gl -c -o planukit.o planukit.c i686-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -fPIC -I../include -I. -I../src -O2 -march=i686 -fomit-frame-pointer -pipe -I../gl -c -o planinit.o planinit.c i686-pc-linux-gnu-gcc -L../sharedlib -o plane planukit.o planinit.o 3dinit.o 3dkit.o quickmath.o swtriangle.o triangl.o triangle.o wrapsurf.o wtriangle.o -lm -lvgagl -lvga # chown root plane # chmod u+s plane i686-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -fPIC -I../include -I. -I../src -O2 -march=i686 -fomit-frame-pointer -pipe -I../gl -c -o wrapdemo.o wrapdemo.c wrapdemo.c:495: warning: return type of 'main' is not `int' i686-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -fPIC -I../include -I. -I../src -O2 -march=i686 -fomit-frame-pointer -pipe -I../gl -L../sharedlib -o wrapdemo wrapdemo.c 3dinit.o 3dkit.o quickmath.o swtriangle.o triangl.o triangle.o wrapsurf.o wtriangle.o -lm -lvgagl -lvga wrapdemo.c:495: warning: return type of 'main' is not `int' # chown root wrapdemo # chmod u+s wrapdemo make[1]: Leaving directory `/var/tmp/portage/svgalib-1.9.19-r3/work/svgalib-1.9.19/threeDKit' grep: //usr/src/linux/include/linux/autoconf.h: No such file or directory Makefile.alt:11: *** commands commence before first target. Stop. !!! ERROR: media-libs/svgalib-1.9.19-r3 failed. !!! Function src_compile, Line 93, Exitcode 2 !!! Failed to build kernel module! !!! If you need support, post the topmost build error, NOT this status message.
if your autoconf.h file is missing it means your kernel source isnt properly setup