Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306771 - x11-drivers/ati-drivers-10.2.ebuild doesn't like the 2.6.33 kernel
Summary: x11-drivers/ati-drivers-10.2.ebuild doesn't like the 2.6.33 kernel
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
: 306761 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-25 09:05 UTC by Helmut Jarausch
Modified: 2010-02-28 17:34 UTC (History)
3 users (show)

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 Helmut Jarausch 2010-02-25 09:05:11 UTC
Please make ati-drivers depend on kernel < 2.6.33
With 2.6.33 it bails out with
firegl_public.c:31:28: error: linux/autoconf.h: No such file or directory
firegl_public.c:166:30: error: linux/utsrelease.h: No such file or directory
...

(It builds and runs fine with kernel 2.6.32-gentoo-r7)


Reproducible: Always
Comment 1 Rafał Mużyło 2010-02-25 12:59:37 UTC
Could you complain to ati upstream about it too ?

Anyway, in 2.6.33, those headers are not linux/*,
but generated/*.
Comment 2 ScytheMan 2010-02-25 16:18:18 UTC
dup of http://bugs.gentoo.org/show_bug.cgi?id=306761 ?

There is also a patch for 2.6.33
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2010-02-26 06:36:47 UTC
*** Bug 306761 has been marked as a duplicate of this bug. ***
Comment 4 Attila Oláh 2010-02-26 20:25:57 UTC
For me the patch attached to http://bugs.gentoo.org/show_bug.cgi?id=306761 only solves half of the problem. I still get these errors:

/var/tmp/portage/x11-drivers/ati-drivers-10.2/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke__cmpxchg':                                             
/var/tmp/portage/x11-drivers/ati-drivers-10.2/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1473: error: variable or field '__ret' declared void                      
/var/tmp/portage/x11-drivers/ati-drivers-10.2/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1473: error: variable or field '__old' declared void                      
/var/tmp/portage/x11-drivers/ati-drivers-10.2/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1473: error: variable or field '__new' declared void 
Comment 5 Attila Oláh 2010-02-27 00:00:46 UTC
Correction:

The patch worked great. It looks like I applied it on a wrong copy; silly me...
Comment 6 Fabio Erculiani (RETIRED) gentoo-dev 2010-02-28 17:34:10 UTC
Fixed in tree (I made the patch myself and only then realized someone posted one here).

+  28 Feb 2010; Fabio Erculiani <lxnay@gentoo.org>
+  +files/ati-drivers-2.6.33.patch, ati-drivers-10.1.ebuild,
+  ati-drivers-10.2.ebuild,
+  +files/ati-drivers-fix_compilation-bug-297322.patch:
+  add 2.6.33 kernel support and really close bug 297322
+