Summary: | x11-drivers/ati-drivers-12.9_beta fails with kernel 3.7-rc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fabio Rossi <rossi.f> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jekarlson |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | ati-drivers-kernel-3.7-vmreserved.patch |
Description
Fabio Rossi
2012-10-15 21:47:28 UTC
i am getting this error * These sources have not yet been prepared. * We cannot build against an unprepared tree. * To resolve this, please type the following: * * # cd /usr/src/linux * # make oldconfig * # make modules_prepare * * Then please try merging this module again. * ERROR: x11-drivers/ati-drivers-12.9_beta9000 failed (setup phase): * Kernel sources need compiling first * * Call stack: * ebuild.sh, line 93: Called pkg_setup * ati-drivers-12.9_beta9000.ebuild, line 245: Called linux-mod_pkg_setup * linux-mod.eclass, line 586: Called check_kernel_built * linux-info.eclass, line 639: Called die * The specific snippet of code: * die "Kernel sources need compiling first" the kernel is built and running (In reply to comment #1) > i am getting this error [...] > the kernel is built and running No, probably there is a mismatch between "uname -r" and "eselect kernel show" on your system. You error is unrelated to this bug in any case. le@le1558 /lu $ uname -r 3.7.0-rc1 le@le1558 /lu $ eselect kernel show Current kernel symlink: /usr/src/linux-3.7-rc1 le@le1558 /lu $ so should i open another bug? I already tried * # cd /usr/src/linux * # make oldconfig * # make modules_prepare Created attachment 326930 [details, diff]
ati-drivers-kernel-3.7-vmreserved.patch
I have create a simple patch to solve the problem, tested and working. The patch can be applied also to the legacy driver 12.6_beta_pre897
This has nothing to do with ati-drivers anyways, it's in linux-info.eclass https://bugs.gentoo.org/show_bug.cgi?id=438876 http://rglinuxtech.com/2012/10/15/3-7-rc1-problems/ workaround, no guarantees: ln -sf /usr/src/linux-3.7-rc2/include/generated/uapi/linux/version.h /usr/src/linux-3.7-rc2/include/linux/version.h (In reply to comment #4) > so should i open another bug? > > I already tried > > * # cd /usr/src/linux > * # make oldconfig > * # make modules_prepare Added the patch to x11 overlay ati-drivers-12.9_beta9000. The patch should have no effect on older kernels. (In reply to comment #5) > Created attachment 326930 [details, diff] [details, diff] > ati-drivers-kernel-3.7-vmreserved.patch > > I have create a simple patch to solve the problem, tested and working. The > patch can be applied also to the legacy driver 12.6_beta_pre897 Fixed in CVS. (In reply to comment #8) > Fixed in CVS. Would you mind adding the patch also to the legacy driver ebuild (version 12.6_beta_pre897)? Thanks! patch was now added to the legacy driver too. This seems to have been removed in the latest ati-drivers-12.6_beta_pre897: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-12.6_beta_pre897.ebuild?r1=1.8&r2=1.9 (line 328) It doesn't build on 3.7 anymore. (In reply to comment #12) > This seems to have been removed in the latest ati-drivers-12.6_beta_pre897: > > http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-drivers/ati- > drivers/ati-drivers-12.6_beta_pre897.ebuild?r1=1.8&r2=1.9 (line 328) > > It doesn't build on 3.7 anymore. A new bug #448656 has been opened too, I think the new bug can be closed as a duplicate of this one as soon as the patch will be enabled again ;-) |