opencsg 1.4.0-1 FTBFS on armhf

Bug #1490091 reported by Tiago Stürmer Daitx on 2015-08-29
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
opencsg (Ubuntu)
Undecided
Unassigned

Bug Description

In Ubuntu the qt4-x11 package is configured using opengles2 in armhf in order to take advantage of accelerated drivers, thus qt4-qmake will enable opengles2 by default whenever opengl is required. Opencgs depends on glew, which is gl only and can't be build with gles2, thus we need to enforce that qt4-qmake uses only opengl and forcefuly disable opengles2.

On Debian qt4-x11 is build using opengl, so there are no such issues.

See failed build: https://launchpad.net/ubuntu/+source/opencsg/1.4.0-1/+build/7392693

g++ -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libopencsg.so.1 -o libopencsg.so.1.4.0 area.o batch.o context.o channelManager.o frameBufferObject.o frameBufferObjectExt.o occlusionQuery.o opencsgRender.o openglHelper.o pBufferTexture.o primitive.o primitiveHelper.o renderGoldfeather.o renderSCS.o scissorMemo.o settings.o stencilManager.o RenderTexture.o -L/usr/X11R6/lib -lGLEW -lGLESv2
/usr/bin/ld: cannot find -lGLESv2
collect2: error: ld returned 1 exit status
make[2]: *** [../lib/libopencsg.so.1.4.0] Error 1
Makefile:140: recipe for target '../lib/libopencsg.so.1.4.0' failed
make[2]: Leaving directory '/«PKGBUILDDIR»/src'
make[1]: *** [sub-src-make_default] Error 2
Makefile:40: recipe for target 'sub-src-make_default' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:11: recipe for target 'build-arch' failed

Tiago Stürmer Daitx (tdaitx) wrote :
tags: added: ftbfs
tags: added: patch
Iain Lane (laney) wrote :

Uploaded, thank you!

Changed in opencsg (Ubuntu):
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package opencsg - 1.4.0-1ubuntu2

---------------
opencsg (1.4.0-1ubuntu2) wily; urgency=medium

  * force-libgl-armhf.patch: force use of lGL instead of lGLESV2
    (LP: #1490091)

 -- Tiago Stürmer Daitx <email address hidden> Wed, 02 Sep 2015 13:16:53 +0100

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

Other bug subscribers