[FFe] openwalnut fails to build on Utopic armhf

Bug #1363962 reported by Saikrishna Arcot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openwalnut (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This is a bugfix-only update.

The openwalnut package currently fails to build on Utopic armhf. This is partly because of a typedef conflict error between OpenSceneGraph and Qt4 and partly because of the use of a constant that is only present in OpenGL and OpenGL ES 1.x (not in OpenGL ES 2.0). For the first bug, an #include is added before all other includes to have the typedef and a #define assigned for it. For the second bug, that section of the code (which is the code that controls line smoothing) is excluded for armhf. While this means that openwalnut compiles, line-smoothing will not work. (I believe the proper way to do this in OpenGL ES 2.0 is to use multisampling.)

In addition, I added a patch that ensures that OpenGL ES is used if requested, and sets the libraries to link to to include OpenGL ES 2.0.

Considering that this package did not previously compile on armhf, the risk of causing this package to break builds for dependent packages (if any) are low. However, there is a functionality loss for armhf, since line-smoothing will not work.

Related branches

Revision history for this message
Saikrishna Arcot (saiarcot895) wrote :

Attached is a build log before some changes were made. Another build for armhf needs to be done.

summary: - openwalnut fails to build on Utopic armhf
+ [FFe] openwalnut fails to build on Utopic armhf
Revision history for this message
Scott Kitterman (kitterman) wrote :

If it's bug fix only, no release team review is needed. I've subscribed the sponsors team to review for upload.

Revision history for this message
Saikrishna Arcot (saiarcot895) wrote :

Updated build log.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openwalnut - 1.4.0~rc1+hg3a3147463ee2-1ubuntu1

---------------
openwalnut (1.4.0~rc1+hg3a3147463ee2-1ubuntu1) utopic; urgency=low

  * Add option to use OpenGL ES, and make sure that this is built with
    OpenGL ES for armhf (debian/patches/add-opengl-es-option.patch).
     - Previously, OpenGL was automatically pulled in, and this library may
       have been used for building.
  * Fix a typedef conflict error that occurs on armhf by adding a #include
    before any other #include (debian/patches/fix-includes.patch).
    (LP: #1363962)
  * Disable the code that controls line smoothing for OpenGL ES 2.0. The
    symbols used there are available only in OpenGL and OpenGL ES 1.x (not
    2.0) (debian/patches/disable-line-smoothing.patch).
 -- Saikrishna Arcot <email address hidden> Fri, 03 Oct 2014 15:10:41 +0100

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.