Public bug reported: 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 ** Affects: opencsg (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1490091 Title: opencsg 1.4.0-1 FTBFS on armhf To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/opencsg/+bug/1490091/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs