Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78690 - ati-drivers 8.8.25 - emerge fail - Error: kernel includes at /usr/src/linux/include do not match current kernel
Summary: ati-drivers 8.8.25 - emerge fail - Error: kernel includes at /usr/src/linux/i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-19 09:16 UTC by arpac
Modified: 2005-01-19 09:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arpac 2005-01-19 09:16:59 UTC
Impossible to emerge the new ati-drivers :/

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS="~x86" emerge ati-drivers-extra
Actual Results:  
 * 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.28-gentoo-r5"
instead of "".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux

!!! ERROR: media-video/ati-drivers-8.8.25 failed.


uname -r: 2.4.28-gentoo-r5
ls -l /usr/src/
total 2
lrwxrwxrwx   1 root root  31 jan 12 01:05 linux -> /usr/src/linux-2.4.28-gentoo-r5
drwxr-xr-x  16 root root 912 jan 12 15:08 linux-2.4.28-gentoo-r5
Comment 1 arpac 2005-01-19 09:46:51 UTC
/usr/portage/media-video/ati-drivers/ati-drivers-8.8.25.ebuild :
change 

	else
		export _POSIX2_VERSION="199209"
		# That is the dirty way to avoid the id -u check
		sed -e 's:`id -u`:0:' \
			-e 's:`uname -r`:${KV_FULL}:' \
			-i make.sh
		chmod +x make.sh
		./make.sh || die "DRM module not built"
	fi

to 

	else
		export _POSIX2_VERSION="199209"
		# That is the dirty way to avoid the id -u check
		sed -e 's:`id -u`:0:' \
			-i make.sh
		chmod +x make.sh
		./make.sh || die "DRM module not built"
	fi