Updating my desktop. It is quite out of date (130 packages to be updated), at least compared to my other boxes. The build of svgalib is failing. See the URL for gcc output. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Platform is a P-II 400MHz. USE="acl apache2 athena cscope curl dga dvd fbcon gb gd imap innodb ipv6 \ jikes junit kerberos ldap libgda maildir mbox mcal pda plotutils ppds \ samba sasl slp snmp socks5 sse tiff usagi usb vim-with-x wmf Xaw3d \ xinerama -3dnow" CFLAGS="-march=pentium2 -O2 -pipe" CXXFLAGS="${CFLAGS}" ACCEPT_KEYWORDS="~x86" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" FEATURES="distcc"
The compile dies with the error: make: Entering directory `/var/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/kernel/svgalib_helper' Makefile:10: *** INCLUDEDIR is not set up correctly. Stop. INCLUDEDIR is set in the svgalib ebuild: make INCLUDEDIR="/usr/src/linux/include" -C kernel/svgalib_helper \ clean all || die "Failed to build kernel module!" This error is easily reproduced by upgrading kernel sources without running make menuconfig or make dep on the new sources: 1. 2.4.20-gentoo-r5 is the currently used kernel 2. emerge gentoo-sources-2.4.20-r6 3. ln -sf /usr/src/linux-2.4.20-gentoo-r6 /usr/src/linux 4. emerge /usr/portage/media-libs/svgalib/svgalib-1.9.17-r3.ebuild
That look's to be it. I built 2.4.20-gentoo-r6 on Aug 22 and svgalib has since been updated. Thanks, Mark