Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104632 - x11-drm fails to compile on 2.6.13 kernel
Summary: x11-drm fails to compile on 2.6.13 kernel
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-02 12:21 UTC by Ilya Eremin
Modified: 2007-02-06 07:40 UTC (History)
2 users (show)

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


Attachments
The emerge log (2618-x11-drm-20050502.log,670.08 KB, text/plain)
2005-09-02 12:25 UTC, Ilya Eremin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Eremin 2005-09-02 12:21:30 UTC
All versions (testing and stable) fail to compile with mach64. I will attach the
log, since its pretty big.

Reproducible: Always
Steps to Reproduce:
1.emerge x11-drm
2.
3.

Actual Results:  
Emerge fails

Expected Results:  
Emerge completed
Comment 1 Ilya Eremin 2005-09-02 12:25:39 UTC
Created attachment 67502 [details]
The emerge log
Comment 2 Joshua Baergen (RETIRED) gentoo-dev 2005-09-03 07:51:56 UTC
Comment on attachment 67502 [details]
The emerge log

Changed file type to text/plain.
Comment 3 Joshua Baergen (RETIRED) gentoo-dev 2005-09-03 08:02:32 UTC
2.6.13 is wreaking havoc with all external modules right now. If you don't want
to work on patching x11-drm my best advice is stick with 2.6.12.

Before you do, quickly try with vanilla-sources-2.6.13 to make sure it's not one
of our patches.  If it still fails maybe post a bug at
https://bugs.freedesktop.org for dri (they share that bugzilla).
Comment 4 Ilya Eremin 2005-09-03 10:39:01 UTC
Ok I'll do that. Is it worth truying the drm CVS ?
Comment 5 Ilya Eremin 2005-09-04 02:15:34 UTC
Update: Works fine with vanilla-sources 2.6.13. So I guess it is gentoo-sources'
fault?
Comment 6 Joshua Baergen (RETIRED) gentoo-dev 2005-09-07 20:41:40 UTC
Possibly...

The files it claims are missing shouldn't be.  Did you config/compile the new
kernel before trying x11-drm?
Comment 7 Ilya Eremin 2005-09-07 23:53:56 UTC
Yes, I will try recompiling it again though.
Comment 8 Martin May 2005-09-10 14:36:17 UTC
Hm - I don't know, why portage wants to install the new version of x11-drm.
I have also kernel 2.6.13.
It looks like this:

>>> emerge (1 of 1) x11-base/x11-drm-20050502 to /
>>> md5 files   ;-) x11-drm-20050502.ebuild
>>> md5 files   ;-) x11-drm-4.3.0-r7.ebuild
>>> md5 files   ;-) x11-drm-20050807.ebuild
>>> md5 files   ;-) files/digest-x11-drm-4.3.0-r7
>>> md5 files   ;-) files/digest-x11-drm-20050502
>>> md5 files   ;-) files/digest-x11-drm-20050807
>>> md5 files   ;-) files/modules.d-x11-drm
>>> md5 src_uri ;-) x11-drm-20050502-gentoo-0.2.tar.bz2
>>> md5 src_uri ;-) linux-drm-20050502-kernelsource.tar.bz2
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.13-gentoo

!!! ERROR: x11-base/x11-drm-20050502 failed.
!!! Function pkg_setup, Line 38, Exitcode 0
!!! Please set at least one video card in VIDEO_CARDS in make.conf or the
environment. Possible VIDEO_CARDS values are: 3dfx ffb i810 i830 i915 mach64
matrox rage128 radeon savage sis via.
!!! If you need support, post the topmost build error, NOT this status message.

But I have an nvidia-graphics-board, so I don't need it?!
Comment 9 Joshua Baergen (RETIRED) gentoo-dev 2005-09-10 15:09:47 UTC
(In reply to comment #8)
> Hm - I don't know, why portage wants to install the new version of x11-drm.
This is not related to this particular bug.  Please check the output of `emerge
-utvDN world` to see what's dragging it in.  File another bug if it's still a
problem.
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2006-08-17 17:55:08 UTC
This still relevant?
Comment 11 Stephan Wagner 2006-09-03 10:02:20 UTC
yes! I have also the problem, that x11-drm won't compile
Comment 12 miste78 2006-09-07 12:44:31 UTC
latest stable version of x11-drm (20050502) does not compile with linux-2.6.17-suspend2-r5, latest testing version (20060608) does.
arch=x86
Comment 13 Vrejakti 2006-12-15 18:40:43 UTC
It looks to me as though your /usr/include/asm and possibly /usr/include/linux directory contents have been modified thus causing the build to fail. It could be worth looking into restoring your /usr/include files to a default state - if someone can confirm my theory. It's only a rough guess, as I've seen similar errors when I modified my includes and tried compiling X11 from source...
Comment 14 Marc Doughty 2007-01-19 15:21:31 UTC
I think it's safe to close this for sanity... Both the offending package and the offending kernel are history.

>=2.6.19 are breaking x11-drm (and many other external modules) now, but it's a different issue, and there are already bugs filed.
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2007-02-06 07:40:53 UTC
Closing.