[Mesa-dev] Recent master build failure (upgrade gl2ext.h / glDrawBuffersNV fallout)

Ian Romanick idr at freedesktop.org
Tue Jul 10 18:00:55 PDT 2012

On 07/10/2012 02:39 PM, Jeremy Huddleston Sequoia wrote:
> Mesa master stopped building successfully on my tinderbox on 7/6.  The relevant changes from the previous successful build were 95ce454..c445b0f, and I bisected it to the upgrade of gl2ext.h to version 18099 (see below).
> ../../../src/mapi/glapi/glapitemp.h:4635:1: error: no previous prototype for 'glDrawBuffersNV' [-Werror=missing-prototypes]
> The commit mentions that this new failure is expected, so it would be nice if the fix for the original issue could now be included as well.

This commit fixed another, even more catastrophic, problem.  The fix is 
to get a new gl2ext.h, when it's available, that fixes the original 
problem.  In the mean time, I think tinderbox will remain broken. :(

See http://lists.freedesktop.org/archives/mesa-dev/2012-July/023670.html

> --Jeremy
> 3ed8d4285360047d78cfd3218ac4f8f325ae5d6e is the first bad commit
> commit 3ed8d4285360047d78cfd3218ac4f8f325ae5d6e
> Author: Kristian Høgsberg <krh at bitplanet.net>
> Date:   Tue Jul 3 20:47:04 2012 -0400
>      GLES2: upgrade gl2ext.h to version 18099
>      Redo this commit, and remove the inclusion of gl2ext.h
>      from src/mapi/glapi/glapi_priv.h.  The include was added in
>      8f3be339850ead96f9c6200db4e0db1f74e39d13 to fix a missing prototype for
>      glDrawBuffersNV and others, but it's not possible to include both
>      glext.h and gl2ext.h from the same file.
>      I don't see the missing prototype here (with or without shared glapi)
>      so I'm just removing the offending #include.
>      Also, since we're redoing this, update to the most recent gl2ext.2.
>      Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>
> :040000 040000 3076bd4623a3727eb3690e39801c459ea2c08706 7754f21c4cee87eb86ccb5ac8b9cbf810d0835ff M	include
> :040000 040000 0e602fff716a390251eacb932e7f406eb399e2e0 ed4ecdd9127f4541ed0f148f3b97e6eefb6572df M	src
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev

More information about the mesa-dev mailing list