mumble version 1.2.3-1ubuntu5 failed to build on armel

Bug #745864 reported by Steve Langasek
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mumble (Ubuntu)
Fix Released
Medium
Jani Monoses

Bug Description

mumble version 1.2.3-1ubuntu5 failed to build on armel
Link to failed build: https://launchpad.net/ubuntu/+source/mumble/1.2.3-1ubuntu5/+buildjob/2339389

Direct link to the build log: https://launchpad.net/ubuntu/+source/mumble/1.2.3-1ubuntu5/+buildjob/2339389/+files/buildlog_ubuntu-natty-armel.mumble_1.2.3-1ubuntu5_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 4569 lines into the build log:

make[2]: Leaving directory `/build/buildd/mumble-1.2.3/src/murmur'
make[1]: Leaving directory `/build/buildd/mumble-1.2.3'
touch build-arch-stamp
slice2html -I/usr/share/Ice-3.4.1/slice -I/usr/share/Ice-3.3.1/slice -I/usr/share/Ice/slice src/murmur/Murmur.ice --output-dir Ice
touch build-indep-stamp
 /usr/bin/fakeroot debian/rules binary-arch
dh_testdir
dh_testroot
dh_clean -k -s
dh_clean: dh_clean -k is deprecated; use dh_prep instead
dh_installdirs -s
dh_install -s
dh_install: mumble missing files (release/libmumble.so*), aborting
make: *** [install-arch] Error 255
dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary-arch gave error exit status 2
******************************************************************************
Build finished at 20110325-2013
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/mumble-1.2.3

Revision history for this message
Thorvald Natvig (slicer) wrote :

This seems related to the changes added for 1.2.3-1ubuntu5; it disables building the overlay, but doesn't remove it from the file lists.

And while we're on the topic; why disable the overlay on armel?

Revision history for this message
Steve Langasek (vorlon) wrote :

Because:
 - qt4 is built against GLES2 instead of GL on armel in Ubuntu; there are accelerated drivers for the former on armel but not the latter. And building against libqt4-opengl-dev + libgl-dev causes symbol collisions.
 - it's a voice chat application. opengl is serious overkill.

Changed in mumble (Ubuntu):
assignee: nobody → Jani Monoses (jani)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Steve Langasek (vorlon) wrote :

assigning to Jani, who uploaded the latest mumble package

Revision history for this message
Thorvald Natvig (slicer) wrote :

Yes, and in current git of the main application the OpenGL drawing of echo diagrams has been changed to Qt drawing. It's a bit slower, but works around this issue.

But this change isn't about the main application, it's about the overlay. The overlay is used to draw the OpenGL overlay in other applications, such as games. The overlay doesn't use Qt, and does it's OpenGL resolving at runtime, so it introduces no additional dependencies. I've never tried it on armel, but if it has a up-to-date GL and GLX implementation it should work fine.

So why remove it?

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 745864] Re: mumble version 1.2.3-1ubuntu5 failed to build on armel

On Wed, Mar 30, 2011 at 07:10:30PM -0000, Thorvald Natvig wrote:
> Yes, and in current git of the main application the OpenGL drawing of
> echo diagrams has been changed to Qt drawing. It's a bit slower, but
> works around this issue.

> But this change isn't about the main application, it's about the
> overlay. The overlay is used to draw the OpenGL overlay in other
> applications, such as games. The overlay doesn't use Qt, and does it's
> OpenGL resolving at runtime, so it introduces no additional
> dependencies. I've never tried it on armel, but if it has a up-to-date
> GL and GLX implementation it should work fine.

> So why remove it?

Oh; in that case, it's because no one noticed this was true. Of course it's
better to have a slow GL-based overlay available instead of none at all.

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
<email address hidden> <email address hidden>

Revision history for this message
Jani Monoses (jani) wrote :

I disabled overlay as my previous upload FTBFS as well as on armel GL is not brought in as a dependency via Qt (GLES is instead).
In hindsight the proper fix would have been indeed to explicitly build depend on GL for when it is not implied by Qt

https://launchpadlibrarian.net/67066840/buildlog_ubuntu-natty-armel.mumble_1.2.3-1ubuntu4_FAILEDTOBUILD.txt.gz

Revision history for this message
Steve Langasek (vorlon) wrote :

I've marked bug #727771 as a duplicate of this one in light of the above discussion about the correct way to fix this, but that bug also has comments that are worth noting.

Revision history for this message
Jani Monoses (jani) wrote :

mumble (1.2.3-1ubuntu6) natty; urgency=low

  * debian/rules: Reenable building of GL-Overlay component on armel.
  * debian/control: Explicit b-d on GL development libs, which on armel
    are not pulled in via Qt.
 -- Jani Monoses <email address hidden> Thu, 31 Mar 2011 14:05:38 +0300

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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