Bug#795741: libopengl-perl: FTBFS: undefined symbol: glResizeBuffersMESA
Niko Tyni
ntyni at debian.org
Sun Aug 16 14:57:00 UTC 2015
Package: libopengl-perl
Version: 0.6704+dfsg-1
Severity: serious
X-Debbugs-Cc: libgl1-mesa-glx at packages.debian.org
As noticed by the reproducible builds CI setup, this package fails to
build on current sid.
# Failed test 'require OpenGL;'
# at t/00_require.t line 3.
# Tried to require 'OpenGL'.
# Error: Can't load '/«BUILDDIR»/libopengl-perl-0.6704+dfsg/blib/arch/auto/OpenGL/OpenGL.so' for module OpenGL: /«BUILDDIR»/libopengl-perl-0.6704+dfsg/blib/arch/auto/OpenGL/OpenGL.so: undefined symbol: glResizeBuffersMESA at /usr/lib/x86_64-linux-gnu/perl/5.20/DynaLoader.pm line 187.
It looks like mesa 10.6 dropped a bunch of symbols without changing the
SONAME. Copying the maintainer. Was this an intentional ABI break?
On current sid, without rebuilding anything:
# PERL_DL_NONLAZY=1 perl -e 'use OpenGL'
Can't load '/usr/lib/x86_64-linux-gnu/perl5/5.20/auto/OpenGL/OpenGL.so' for module OpenGL: /usr/lib/x86_64-linux-gnu/perl5/5.20/auto/OpenGL/OpenGL.so: undefined symbol: glResizeBuffersMESA at /usr/lib/x86_64-linux-gnu/perl/5.20/DynaLoader.pm line 187.
This is also
http://sourceforge.net/p/pogl/bugs/21/
https://bugzilla.redhat.com/show_bug.cgi?id=1224294
which have the attached patch that deletes references to the
removed symbols. Even with that applied, I suppose at least
some Breaks entries would be in order?
--
Niko Tyni ntyni at debian.org
-------------- next part --------------
>From e83b9048c43cbcbdaeb287dd571ab7e277e19979 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Mon, 8 Jun 2015 17:06:52 +0200
Subject: [PATCH] Delete functions removed from Mesa
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
mesa-libGL between 10.6.0-0.devel.5.51e3453 and
10.6.0-0.devel.6.5a55f68 removed these functions:
glWindowPos4dMESA
glWindowPos4iMESA
glWindowPos3iMESA
glWindowPos2dMESA
glWindowPos2iMESA
glWindowPos3dMESA
glResizeBuffersMESA
<https://bugzilla.redhat.com/show_bug.cgi?id=1224738>
<https://bugzilla.redhat.com/show_bug.cgi?id=1224294>
Signed-off-by: Petr Písa? <ppisar at redhat.com>
---
pogl_gl_Vert_Multi.xs | 54 ---------------------------------------------------
1 file changed, 54 deletions(-)
diff --git a/pogl_gl_Vert_Multi.xs b/pogl_gl_Vert_Multi.xs
index e360e5c..4e8a010 100644
--- a/pogl_gl_Vert_Multi.xs
+++ b/pogl_gl_Vert_Multi.xs
@@ -359,60 +359,6 @@ glEdgeFlagPointerEXT_oga(oga)
#endif
-#ifdef GL_MESA_window_pos
-
-#// glWindowPos2iMESA($x, $y);
-void
-glWindowPos2iMESA(x, y)
- GLint x
- GLint y
-
-#// glWindowPos2dMESA($x, $y);
-void
-glWindowPos2dMESA(x, y)
- GLdouble x
- GLdouble y
-
-#// glWindowPos3iMESA($x, $y, $z);
-void
-glWindowPos3iMESA(x, y, z)
- GLint x
- GLint y
- GLint z
-
-#// glWindowPos3dMESA($x, $y, $z);
-void
-glWindowPos3dMESA(x, y, z)
- GLdouble x
- GLdouble y
- GLdouble z
-
-#// glWindowPos4iMESA($x, $y, $z, $w);
-void
-glWindowPos4iMESA(x, y, z, w)
- GLint x
- GLint y
- GLint z
- GLint w
-
-#// glWindowPos4dMESA($x, $y, $z, $w);
-void
-glWindowPos4dMESA(x, y, z, w)
- GLdouble x
- GLdouble y
- GLdouble z
- GLdouble w
-
-#endif
-
-#ifdef GL_MESA_resize_buffers
-
-#// glResizeBuffersMESA();
-void
-glResizeBuffersMESA()
-
-#endif
-
#ifdef GL_ARB_draw_buffers
#//# glDrawBuffersARB_c($n,(CPTR)buffers);
--
2.1.0
More information about the pkg-perl-maintainers
mailing list