[SM-Grimoire-Bugs] [Bug 15547] New: glibc overwrites libdrm headers (cast xf86-video-intel 2.10.0 fails)

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Fri Jan 15 00:43:16 EST 2010


http://bugs.sourcemage.org/show_bug.cgi?id=15547

           Summary: glibc overwrites libdrm headers (cast xf86-video-intel
                    2.10.0 fails)
           Product: Codex
           Version: test grimoire
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: libs
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: drjschn at gmx.de


the problem: cast xf86-video-intel 2.10.0 fails when glibc had been casted
after libdrm:

   i830_video.c:210: error: 'I915_PARAM_HAS_OVERLAY' undeclared (first use in
this function)

this caused the xf86-video-intel spell to be reverted in the repo (twice now
%-). the first revert quoted:

    http://lists.freedesktop.org/archives/intel-gfx/2009-December/005168.html:
        It requires headers from libdrm 2.4.16 or kernel 2.6.33 (which
    isn't even -rc1 yet) now to build.. Your distro might package the
    drm headers from the kernel and not have libdrm replace them. On
    debian based distros for instance they are in linux-libc-dev and
    you need to adjust the libdrm build to not remove the headers as
    well as have it replace linux-libc-dev.

i haven't tested wether it would work with a future linux-2.6.33 but since drm
headers are not maintained in the kernel anymore and since there is no overlap
in the installed files list of linux and libdrm i'd expect that problem not to
go away by waiting for the new linux.

the quote says it all: keep glibc from overwriting drm headers. don't know how
to do that now but luckily libdrm is backward-compatible so xf86-video-intel
2.9.1 will work fine with current libdrm.

P.S.: according to a reply to the url above one could also install libdrm
headers elsewhere and hope pkg_config will make sure nothing breaks.

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the SM-Grimoire-Bugs mailing list