Your message dated Wed, 23 Oct 2013 13:18:23 +0000
with message-id <e1vyykn-0001dc...@franck.debian.org>
and subject line Bug#727198: fixed in libopengl-perl 0.6702+dfsg-2
has caused the Debian Bug report #727198,
regarding libopengl-perl: fails to build with Mesa >= 9.2.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
727198: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727198
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libopengl-perl
Version: 0.6702+dfsg-1
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch trusty

libopengl-perl fails to build with Mesa >= 9.2.0 as follows:

  cc -c  -I/usr/include -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE 
-DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  
 -DVERSION=\"0.6702\" -DXS_VERSION=\"0.6702\" -fPIC "-I/usr/lib/perl/5.18/CORE" 
 -DHAVE_VER -DHAVE_GL -DHAVE_GLU -DHAVE_GLUT -DHAVE_GLX -DHAVE_FREEGLUT 
-DHAVE_FREEGLUT_H -DGL_GLEXT_LEGACY pogl_const.c
  In file included from /usr/lib/perl/5.18/CORE/perl.h:5156:0,
                   from pgopogl.h:22,
                   from pogl_const.xs:18:
  gl_const.h: In function 'neoconstant':
  gl_const.h:2071:4: error: 'GL_PIXEL_TEX_GEN_Q_CEILING_SGIX' undeclared (first 
use in this function)
    i(GL_PIXEL_TEX_GEN_Q_CEILING_SGIX)
      ^
  /usr/lib/perl/5.18/CORE/embed.h:377:40: note: in definition of macro 'newSViv'
   #define newSViv(a)  Perl_newSViv(aTHX_ a)
                                          ^
  gl_const.h:2071:2: note: in expansion of macro 'i'
    i(GL_PIXEL_TEX_GEN_Q_CEILING_SGIX)
    ^
  gl_const.h:2071:4: note: each undeclared identifier is reported only once for 
each function it appears in
    i(GL_PIXEL_TEX_GEN_Q_CEILING_SGIX)
      ^
  /usr/lib/perl/5.18/CORE/embed.h:377:40: note: in definition of macro 'newSViv'
   #define newSViv(a)  Perl_newSViv(aTHX_ a)
                                          ^
  gl_const.h:2071:2: note: in expansion of macro 'i'
    i(GL_PIXEL_TEX_GEN_Q_CEILING_SGIX)
    ^
  gl_const.h:2072:4: error: 'GL_PIXEL_TEX_GEN_Q_ROUND_SGIX' undeclared (first 
use in this function)
    i(GL_PIXEL_TEX_GEN_Q_ROUND_SGIX)
      ^
  /usr/lib/perl/5.18/CORE/embed.h:377:40: note: in definition of macro 'newSViv'
   #define newSViv(a)  Perl_newSViv(aTHX_ a)
                                          ^
  gl_const.h:2072:2: note: in expansion of macro 'i'
    i(GL_PIXEL_TEX_GEN_Q_ROUND_SGIX)
    ^
  gl_const.h:2073:4: error: 'GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX' undeclared (first 
use in this function)
    i(GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX)
      ^
  /usr/lib/perl/5.18/CORE/embed.h:377:40: note: in definition of macro 'newSViv'
   #define newSViv(a)  Perl_newSViv(aTHX_ a)
                                          ^
  gl_const.h:2073:2: note: in expansion of macro 'i'
    i(GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX)
    ^
  gl_const.h:2074:4: error: 'GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX' undeclared 
(first use in this function)
    i(GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX)
      ^
  /usr/lib/perl/5.18/CORE/embed.h:377:40: note: in definition of macro 'newSViv'
   #define newSViv(a)  Perl_newSViv(aTHX_ a)
                                          ^
  gl_const.h:2074:2: note: in expansion of macro 'i'
    i(GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX)
    ^
  gl_const.h:2075:4: error: 'GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX' undeclared 
(first use in this function)
    i(GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX)
      ^
  /usr/lib/perl/5.18/CORE/embed.h:377:40: note: in definition of macro 'newSViv'
   #define newSViv(a)  Perl_newSViv(aTHX_ a)
                                          ^
  gl_const.h:2075:2: note: in expansion of macro 'i'
    i(GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX)
    ^
  gl_const.h:2076:4: error: 'GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX' undeclared (first 
use in this function)
    i(GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX)
      ^
  /usr/lib/perl/5.18/CORE/embed.h:377:40: note: in definition of macro 'newSViv'
   #define newSViv(a)  Perl_newSViv(aTHX_ a)
                                          ^
  gl_const.h:2076:2: note: in expansion of macro 'i'
    i(GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX)
    ^
  gl_const.h:2077:4: error: 'GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX' undeclared (first 
use in this function)
    i(GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX)
      ^
  /usr/lib/perl/5.18/CORE/embed.h:377:40: note: in definition of macro 'newSViv'
   #define newSViv(a)  Perl_newSViv(aTHX_ a)
                                          ^
  gl_const.h:2077:2: note: in expansion of macro 'i'
    i(GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX)
    ^
  gl_const.h:2164:4: error: 'GL_FOG_SCALE_SGIX' undeclared (first use in this 
function)
    i(GL_FOG_SCALE_SGIX)
      ^
  /usr/lib/perl/5.18/CORE/embed.h:377:40: note: in definition of macro 'newSViv'
   #define newSViv(a)  Perl_newSViv(aTHX_ a)
                                          ^
  gl_const.h:2164:2: note: in expansion of macro 'i'
    i(GL_FOG_SCALE_SGIX)
    ^
  gl_const.h:2165:4: error: 'GL_FOG_SCALE_VALUE_SGIX' undeclared (first use in 
this function)
    i(GL_FOG_SCALE_VALUE_SGIX)
      ^
  /usr/lib/perl/5.18/CORE/embed.h:377:40: note: in definition of macro 'newSViv'
   #define newSViv(a)  Perl_newSViv(aTHX_ a)
                                          ^
  gl_const.h:2165:2: note: in expansion of macro 'i'
    i(GL_FOG_SCALE_VALUE_SGIX)
    ^
  gl_const.h:2336:4: error: 'GL_DEPTH_PASS_INSTRUMENT_SGIX' undeclared (first 
use in this function)
    i(GL_DEPTH_PASS_INSTRUMENT_SGIX)
      ^
  /usr/lib/perl/5.18/CORE/embed.h:377:40: note: in definition of macro 'newSViv'
   #define newSViv(a)  Perl_newSViv(aTHX_ a)
                                          ^
  gl_const.h:2336:2: note: in expansion of macro 'i'
    i(GL_DEPTH_PASS_INSTRUMENT_SGIX)
    ^
  gl_const.h:2337:4: error: 'GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX' undeclared 
(first use in this function)
    i(GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX)
      ^
  /usr/lib/perl/5.18/CORE/embed.h:377:40: note: in definition of macro 'newSViv'
   #define newSViv(a)  Perl_newSViv(aTHX_ a)
                                          ^
  gl_const.h:2337:2: note: in expansion of macro 'i'
    i(GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX)
    ^
  gl_const.h:2338:4: error: 'GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX' undeclared 
(first use in this function)
    i(GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX)
      ^
  /usr/lib/perl/5.18/CORE/embed.h:377:40: note: in definition of macro 'newSViv'
   #define newSViv(a)  Perl_newSViv(aTHX_ a)
                                          ^
  gl_const.h:2338:2: note: in expansion of macro 'i'
    i(GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX)
    ^
  make[1]: *** [pogl_const.o] Error 1

Here's a patch, which I've also sent upstream as per the Forwarded patch
header.

  * Tolerate absence of several extensions removed in Mesa 9.2.0.

diff -Nru libopengl-perl-0.6702+dfsg/debian/patches/removed_gl_extensions 
libopengl-perl-0.6702+dfsg/debian/patches/removed_gl_extensions
--- libopengl-perl-0.6702+dfsg/debian/patches/removed_gl_extensions     
1970-01-01 01:00:00.000000000 +0100
+++ libopengl-perl-0.6702+dfsg/debian/patches/removed_gl_extensions     
2013-10-23 11:11:31.000000000 +0100
@@ -0,0 +1,60 @@
+Description: Tolerate absence of several extensions removed in Mesa 9.2.0
+ See: http://cgit.freedesktop.org/mesa/mesa/commit/?h=9a14e41
+Author: Colin Watson <cjwat...@ubuntu.com>
+Forwarded: https://sourceforge.net/p/pogl/code/merge-requests/1/
+Last-Update: 2013-10-23
+
+Index: b/gl_const.h
+===================================================================
+--- a/gl_const.h
++++ b/gl_const.h
+@@ -1921,8 +1921,10 @@
+       i(GL_FRAMEZOOM_SGIX)
+       i(GL_FRAMEZOOM_FACTOR_SGIX)
+       i(GL_MAX_FRAMEZOOM_FACTOR_SGIX)
++#if defined(GL_FfdMaskSGIX)
+       i(GL_TEXTURE_DEFORMATION_BIT_SGIX)
+       i(GL_GEOMETRY_DEFORMATION_BIT_SGIX)
++#endif
+       i(GL_GEOMETRY_DEFORMATION_SGIX)
+       i(GL_TEXTURE_DEFORMATION_SGIX)
+       i(GL_DEFORMATIONS_MASK_SGIX)
+@@ -2068,6 +2070,7 @@
+       i(GL_TEXTURE_MATERIAL_PARAMETER_EXT)
+       i(GL_ALPHA_MIN_SGIX)
+       i(GL_ALPHA_MAX_SGIX)
++#if defined(GL_SGIX_impact_pixel_texture)
+       i(GL_PIXEL_TEX_GEN_Q_CEILING_SGIX)
+       i(GL_PIXEL_TEX_GEN_Q_ROUND_SGIX)
+       i(GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX)
+@@ -2075,6 +2078,7 @@
+       i(GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX)
+       i(GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX)
+       i(GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX)
++#endif
+       i(GL_BGR_EXT)
+       i(GL_BGRA_EXT)
+       i(GL_ASYNC_MARKER_SGIX)
+@@ -2161,8 +2165,10 @@
+       i(GL_OPERAND2_ALPHA_EXT)
+       i(GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE)
+       i(GL_TRANSFORM_HINT_APPLE)
++#if defined(GL_SGIX_fog_scale)
+       i(GL_FOG_SCALE_SGIX)
+       i(GL_FOG_SCALE_VALUE_SGIX)
++#endif
+       i(GL_UNPACK_CONSTANT_DATA_SUNX)
+       i(GL_TEXTURE_CONSTANT_DATA_SUNX)
+       i(GL_GLOBAL_ALPHA_SUN)
+@@ -2333,9 +2339,11 @@
+       i(GL_PIXEL_SUBSAMPLE_4242_SGIX)
+       i(GL_YCRCB_SGIX)
+       i(GL_YCRCBA_SGIX)
++#if defined(GL_SGI_depth_pass_instrument)
+       i(GL_DEPTH_PASS_INSTRUMENT_SGIX)
+       i(GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX)
+       i(GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX)
++#endif
+       i(GL_COMPRESSED_RGB_FXT1_3DFX)
+       i(GL_COMPRESSED_RGBA_FXT1_3DFX)
+       i(GL_MULTISAMPLE_3DFX)
diff -Nru libopengl-perl-0.6702+dfsg/debian/patches/series 
libopengl-perl-0.6702+dfsg/debian/patches/series
--- libopengl-perl-0.6702+dfsg/debian/patches/series    2013-09-08 
19:28:47.000000000 +0100
+++ libopengl-perl-0.6702+dfsg/debian/patches/series    2013-10-23 
10:00:21.000000000 +0100
@@ -4,3 +4,4 @@
 glext_procs-replacement
 use-systems-gl
 dont_link_against_unused_libs
+removed_gl_extensions

Thanks,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]

--- End Message ---
--- Begin Message ---
Source: libopengl-perl
Source-Version: 0.6702+dfsg-2

We believe that the bug you reported is fixed in the latest version of
libopengl-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 727...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Salvatore Bonaccorso <car...@debian.org> (supplier of updated libopengl-perl 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 23 Oct 2013 14:17:24 +0200
Source: libopengl-perl
Binary: libopengl-perl
Architecture: source amd64
Version: 0.6702+dfsg-2
Distribution: unstable
Urgency: low
Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
Changed-By: Salvatore Bonaccorso <car...@debian.org>
Description: 
 libopengl-perl - Perl interface providing graphics display using OpenGL
Closes: 727198
Changes: 
 libopengl-perl (0.6702+dfsg-2) unstable; urgency=low
 .
   * Team upload.
   * Add removed_gl_extensions patch.
     Tolerate absence of several extensions removed in Mesa 9.2.0
     Thanks to Colin Watson <cjwat...@ubuntu.com> for the patch (Closes: 
#727198)
Checksums-Sha1: 
 3072ddc1005b050c5afa9a0a50fcdfea92478ef2 2351 libopengl-perl_0.6702+dfsg-2.dsc
 d1dc78404392998ad6b00a79247bc7efcad993e2 12408 
libopengl-perl_0.6702+dfsg-2.debian.tar.gz
 a6cf97f237739894e84b07c9feabb645214890f5 316380 
libopengl-perl_0.6702+dfsg-2_amd64.deb
Checksums-Sha256: 
 e43709a512ea6a0c82fef2390072d8608da37a7b7c8798916e284c00721bc871 2351 
libopengl-perl_0.6702+dfsg-2.dsc
 4b688632dc0c1248907f45e4e3804cc424d7f02041b1c058489eac9ca0acd641 12408 
libopengl-perl_0.6702+dfsg-2.debian.tar.gz
 1f56769737a20e7f6bf57b9696fc34a03c997d5d29da2a122fdffe7d27dd9c11 316380 
libopengl-perl_0.6702+dfsg-2_amd64.deb
Files: 
 e4e37f5c9dbc75f6300eea7dcae1274b 2351 perl optional 
libopengl-perl_0.6702+dfsg-2.dsc
 80167808b86c0972802d61bbea7b44fc 12408 perl optional 
libopengl-perl_0.6702+dfsg-2.debian.tar.gz
 5efb97c076a3db0222602d2818f2fe43 316380 perl optional 
libopengl-perl_0.6702+dfsg-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iQIcBAEBCgAGBQJSZ8i3AAoJEAVMuPMTQ89ES5IP/2/cqbd0n47D5u0Mpf3VRhvB
mf4ONU/0sUQb7TFTVlxeDcB4YaJ0hsnbjzxwP+bZKwLcAY45ygdbD1OxgbBF0VtY
IoDfm8wxd6dkfGIl6p4FC85YM3/0xVABRFJT32yRFBPwwzMtNk6d2OouQyYL3650
G4hbCsK7sNxBgsPg0pRHvubJubyqHWceuuov+WpGAX7W0dnMgcFQQWYRdySEoWkR
J6npspzMa1Gk7P7JVmUs9Yu7YK/1gO4sWcmow/ceOF8DGPaA5aek6QDh1YX68Bk5
hJt1YS/7qHexIukb094d79Of6eWPfQ/0DeB7qL6SY92eikw9KtR6OpF9ECSBxcTr
unXVJKaf6qvCrcG8Dkh7xx4lqJcFWP+9YiuieyTe3AbTza1cgVEvoT4mZMgAeTUa
/N8femeUtbEXYg1oWBEK8cX5eA2s8ZORX8cuG/gwwxPo/3xMd42V+3nEv4BSVuJT
JmjaYJchatqqChv8jTHg9TbquVUWmiRet5h1SXyVDr4L1TDhzHtU2NqKT6zkev2O
FhHHcPmcclj3fhJVJJhDUJu0vZXKQmL2WzNLLh/sTotIP9lxoVvWqkt4QtVzlUy6
XD04ohEi5waK/AoRj1S7egCijBZevuzSjw5ic+6vhfXx5II/AFL/44joO+YfO0IU
YvEf68mDroTlDLvP83Nl
=g/Xa
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to