FTBFS when building against latest mesa (9.0 based)

Bug #1040895 reported by Ricardo Salveti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glmark2
Fix Released
High
Jesse Barker
glmark2 (Ubuntu)
Fix Released
High
Ricardo Salveti

Bug Description

At the same time this package was updated at Ubuntu, a new mesa was pushed at the archive. As a result, the builds that took more time to initialize itself, were built agains the latest mesa that was already available at the archive.

Build log: https://launchpadlibrarian.net/113429613/buildlog_ubuntu-quantal-armel.glmark2_2012.08-0ubuntu1_FAILEDTOBUILD.txt.gz

Relevant part:
[ 59/124] cxx: src/canvas-x11-glx.cpp -> build/src/canvas-x11-glx.cpp.2.o
../src/canvas-x11-glx.cpp: In member function 'virtual bool CanvasX11GLX::make_current()':
../src/canvas-x11-glx.cpp:63:69: error: invalid operands of types 'void' and 'int' to binary 'operator!='
Waf: Leaving directory `/build/buildd/glmark2-2012.08/build'
Build failed

That's because the function prototype got changed due version 33 of glxext.h:
-typedef int ( * PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawable drawable, int interval);
+typedef void ( * PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawable drawable, int interval);

Related branches

Changed in glmark2 (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Changed in glmark2 (Ubuntu):
assignee: nobody → Jesse Barker (jesse-barker)
Changed in glmark2:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Jesse Barker (jesse-barker)
status: Confirmed → Fix Committed
Changed in glmark2 (Ubuntu):
assignee: Jesse Barker (jesse-barker) → Ricardo Salveti (rsalveti)
status: Confirmed → In Progress
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Debdiff including the patch to fix the API change available at project's trunk.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package glmark2 - 2012.08-0ubuntu2

---------------
glmark2 (2012.08-0ubuntu2) quantal; urgency=low

  * debian/patches/update-handle-api-change-glx_ext_swap_control.patch:
    - Fixing FTBFS with latest mesa due api change (LP: #1040895)
 -- Ricardo Salveti de Araujo <email address hidden> Sat, 25 Aug 2012 23:35:30 -0300

Changed in glmark2 (Ubuntu):
status: In Progress → Fix Released
Changed in glmark2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.