The Ebuild is looking for autoconf.h in /usr/src/linux/include/linux/ when it should be looking for it in /usr/include/linux/ instead (I assume). Reproducible: Always Steps to Reproduce: 1. emerge rsync 2. emerge -u world Actual Results: # chown root wrapdemo # chmod u+s wrapdemo make[1]: Leaving directory `/usr/portage/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/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.18-r1 failed. !!! Function src_compile, Line 83, Exitcode 2 !!! Failed to build kernel module! Expected Results: A successful Ebuild update.
It worked ok on my side.. sys-devel/autoconf-2.58-r1 * That's my version of autoconfig if it helps. Also you might want to try emerge sync again to see if it was fixed in a recent update.
My autoconf is at version 2.59-r3, which is newer than yours. I did an rsync this afternoon but it didn't help any. I even tried removing & reinstalling svgalib but to no avail.
take a look at bug #43277. It looks similar.
Hello, I have nearly the same problem. I've just compiled a new linux-2.6.6 kernel, so this one has no CONFIG_MODVERSION flag, which is required in the Makefile.alt: MODVER = $(shell grep CONFIG_MODVERSIONS $(INCLUDEDIR)/linux/autoconf.h) ifeq ($(MODVER),) @echo INCLUDEDIR is not set up correctly exit 1 endif A patch is needed to correct all referencies to MODVER. What do you think about it ?
svgalib needs your kernel source (/usr/src/linux) the only way i could get CONFIG_MODVERSIONS to not appear in include/linux/autoconf.h was to disable module support ... as soon as i enabled it, this appeared in the file: #define CONFIG_MODVERSIONS 1 so if you have modules disabled, well svgalib isnt going to work anyways :) *** This bug has been marked as a duplicate of 43277 ***