When I tried to emerge ati-driver-8.8.25 the DRM module failed to build and gave this error: "Error: kernel includes at /usr/src/linux/include do not match current kernel. they are versioned as "2.4.26-gentoo-r14" instead of "". " The full thread on this bug can be seen at the included url. This includes the fix I implemented. Basically I change "${KV_FULL}" to "${KV}" in the respective ebuild, since all other ati ebuilds use "${KV}" for the kernel version. Reproducible: Always Steps to Reproduce: 1.ACCEPT_KEYWORDS="~x86" emerge =ati-drivers-8.8.25 2. 3. Actual Results: mjg91 X11 # ACCEPT_KEYWORDS="~x86" emerge ati-drivers Calculating dependencies ...done! >>> emerge (1 of 1) media-video/ati-drivers-8.8.25 to / >>> md5 src_uri ;-) fglrx_6_8_0-8.8.25-1.i386.rpm * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.4.27 * Using KV_OBJ=o * X11 implementation is xorg-x11. >>> Unpacking source... >>> Unpacking fglrx_6_8_0-8.8.25-1.i386.rpm >>> Source unpacked. * Building the DRM module... ATI module generator V 2.0 ========================== initializing... Error: kernel includes at /usr/src/linux/include do not match current kernel. they are versioned as "2.4.27" instead of "". you might need to adjust your symlinks: - /usr/include - /usr/src/linux Expected Results: .... some compiling goes on...... then >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... >>> media-video/ati-drivers-8.8.25 merged. >>> clean: No packages selected for removal. >>> Auto-cleaning packages ... >>> No outdated packages were found on your system.
I get too this error with 2.4.28-r5 and ati-drivers 8.8.25-r1.
Got the installation error fixed by commenting part: sed -e 's:`id -u`:0:' \ -e 's:`uname -r`:${KV_FULL}:' \ -i make.sh Now drivers work very well and installed as well too. Same thing is on both 8.8.25 and 8.8.25 and is causing these problems.
forget to mention that is found from ebuild.
Still not fixed in ati-drivers-8.8.25-r2.
looks like a linux-info issue
Created attachment 49453 [details, diff] Fix Please try that and tell me if it fixes the problem
KV is going away and being replaced by KV_FULL so please stick with it. The ebuild should inherit linux-info or linux-mod, not both. If KV_FULL is empty, maybe this is the problem?
Same problem here: * Building the DRM module... ./make.sh: line 52: [: 3: unary operator expected ATI module generator V 2.0 ========================== initializing... Error: kernel includes at /usr/src/linux/include do not match current kernel. they are versioned as "2.4.26-gentoo-r9" instead of "". you might need to adjust your symlinks: - /usr/include - /usr/src/linux !!! ERROR: media-video/ati-drivers-8.8.25-r3 failed. !!! Function src_compile, Line 82, Exitcode 1 !!! DRM module not built !!! If you need support, post the topmost build error, NOT this status message. But the patch fixed the problem! Thanks!
Daniel the problem is that KV_FULL is local while KV is global. the patch I posted here should fix the issue changing a bit the sed expression
*** Bug 79669 has been marked as a duplicate of this bug. ***
bug fixed then
Closing