[Mesa-dev] [Bug 52346] New: libxcb version not specified (correctly) in dependency check

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jul 21 16:56:57 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=52346

             Bug #: 52346
           Summary: libxcb version not specified (correctly) in dependency
                    check
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: darxus at chaosreigns.com


With libxcb1 v1.7, mesa fails to build with:

make[3]: Entering directory `/home/darxus/source.test.master/mesa/src/glx'
create_context.c:103:7: error: implicit declaration of function
'xcb_glx_create_context_attribs_arb_checked'
[-Werror=implicit-function-declaration]

With xcb rebuilt from git, it builds.  There are rumours that it depends on xcb
v1.8.1.

12:21PM < tilman> Darxus: http://e8903aeff8f0df94.paste.se/ does that patch fix
the problem?
12:23PM < mattst88> weird. we have PKG_CHECK_MODULES([XCB],[x11-xcb xcb-glx >=
1.8.1]) a few lines below.
12:23PM < mattst88> oh, that's in the else case
12:26PM < mattst88> so, that whole if/else block just allows people to compile
Mesa without having the X pkgconfig files?
12:27PM < mattst88> if I'm reading that right, that seems really silly.

The patch tillman mentioned is, in configure.ac:

-        dri_modules="x11 xext xdamage xfixes x11-xcb xcb-glx"
+        dri_modules="x11 xext xdamage xfixes x11-xcb xcb-glx >= 1.8.1"

This is a new build failure that showed up in the last week on Ubuntu Oneric.

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


More information about the mesa-dev mailing list