fltk backend does not load

Bug #546671 reported by Shouri Chatterjee
56
This bug affects 10 people
Affects Status Importance Assigned to Milestone
octave3.2 (Ubuntu)
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Medium
Colin Watson
Maverick
Fix Released
Medium
Colin Watson

Bug Description

Stable release update justification:

Impact: Missing symbols mean that Octave's fltk plotting backend is broken.
Development branch: Fixed by removing unnecessary build-dependencies on libgl1-mesa-swx11-dev and libglu1-mesa-dev, which between them (probably mainly the first one) cause configure to fail to detect a working OpenGL installation.
Patch: http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/natty/octave3.2/natty/revision/12 backports easily (changes to debian/in/control and debian/control).
TEST CASE: Run octave3.2, then type (without the outer single quotes) 'backend("fltk")' followed by 'sombrero'. You should see a coloured plot resembling a sombrero hat.
Regression potential: I imagine it's worth trying some of Octave's other example programs.

Original report follows:

Binary package hint: octave3.2

Steps to reproduce:
run octave3.2

backend("fltk")

Expected outcome:
prompt should return and the fltk backend should be usable for plotting.

Outcome:
error: /usr/lib/octave/3.2.3/oct/x86_64-pc-linux-gnu/fltk_backend.oct: undefined symbol: _ZTV15opengl_renderer
error: called from:
error: /usr/share/octave/3.2.3/m/plot/backend.m at line 56, column 5

Solution:
While compiling octave3.2, ftgl-dev is one of the dependencies. If ftgl-dev is installed while compiling, this error will not happen.

Thanks.

Revision history for this message
Qianqian Fang (fangq) wrote :

can anyone recompile and update octave 3.2.3 for Lucid? this is a regression, backend('fltk') worked fine on octave 3.2.2 fine on Karmic.

Revision history for this message
Bryan (poli0048) wrote :

I am having this problem as well. I would greatly appreciate it if the maintainer would re-compile and update the Lucid Package.

Revision history for this message
indium (indium) wrote :

same for me.

Revision history for this message
inductiveload (inductiveload) wrote :

I had the same problem, but I fixed it by building octave3.2 from source. However, I think you need libfltk1.1-dev not ftgl-dev (I didn't even have ftgl-dev and it worked).

Revision history for this message
mzenzes (mzenzes) wrote :

This bug seems to be still open... but is it fixed in maverick?

Revision history for this message
Steve Wilcox (steve-j-wilcox) wrote :

No it is not fixed, at least on my amd64 install it still fails with the same error as Shouri Chatterjee

Revision history for this message
Rob Frohne (frohro) wrote :

Same problem in Maverick!

Rob

Revision history for this message
Pascal Dupuis (cdemills) wrote :

Close to six month for the first report, and still nothing new. Yeah.

Revision history for this message
Colin Watson (cjwatson) wrote :

I can't reproduce this on Natty i386 (octave3.2 3.2.4-8). It's not clear to me whether this has been fixed between Maverick and Natty, or whether it's architecture-specific.

It's certainly not as simple as "recompile with libftgl-dev installed" (or libfltk1.1-dev), since both of those packages *were* installed when the build daemons built this package. Something more subtle is going on.

Revision history for this message
Colin Watson (cjwatson) wrote :

We've narrowed the fix down to this change in Debian 3.2.4-7:

  * Drop libgl1-mesa-swx11-dev and libglu1-mesa-dev from build-dependencies.
    They are already pulled in by other packages, so we don't need to force
    specific versions of Mesa (closes: #591333).

Before this change, configure thought that OpenGL was broken; now it detects it correctly.

I'll upload fixes for lucid and maverick, both of which I've confirmed to be broken on both amd64 and i386. karmic is fine, as is natty.

Changed in octave3.2 (Ubuntu):
status: New → Fix Released
Colin Watson (cjwatson)
Changed in octave3.2 (Ubuntu Lucid):
status: New → Triaged
Changed in octave3.2 (Ubuntu Maverick):
importance: Undecided → Medium
status: New → Triaged
Changed in octave3.2 (Ubuntu Lucid):
importance: Undecided → Medium
Colin Watson (cjwatson)
description: updated
Colin Watson (cjwatson)
Changed in octave3.2 (Ubuntu Lucid):
assignee: nobody → Colin Watson (cjwatson)
status: Triaged → In Progress
Changed in octave3.2 (Ubuntu Maverick):
assignee: nobody → Colin Watson (cjwatson)
status: Triaged → In Progress
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted octave3.2 into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in octave3.2 (Ubuntu Lucid):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted octave3.2 into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in octave3.2 (Ubuntu Maverick):
status: In Progress → Fix Committed
Revision history for this message
Fabri Velas (fabrivelas) wrote :

Maverick-proposed packages don't give above errors anymore. They work for me, thanks.

tags: added: verification-done
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package octave3.2 - 3.2.4-6ubuntu1

---------------
octave3.2 (3.2.4-6ubuntu1) maverick-proposed; urgency=low

  * Backport from unstable (Thomas Weber):
    - Drop libgl1-mesa-swx11-dev and libglu1-mesa-dev from
      build-dependencies. They are already pulled in by other packages, so
      we don't need to force specific versions of Mesa (LP: #546671).
 -- Colin Watson <email address hidden> Wed, 09 Feb 2011 03:06:59 +0000

Changed in octave3.2 (Ubuntu Maverick):
status: Fix Committed → Fix Released
Martin Pitt (pitti)
tags: added: verification-done-maverick
removed: verification-done
Revision history for this message
Pedro Villavicencio (pedro) wrote :

I've verified the proposed package for Lucid and it also works fine, marking this as verification-done, thanks all.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package octave3.2 - 3.2.3-1ubuntu1

---------------
octave3.2 (3.2.3-1ubuntu1) lucid-proposed; urgency=low

  * Backport from unstable (Thomas Weber):
    - Drop libgl1-mesa-swx11-dev and libglu1-mesa-dev from
      build-dependencies. They are already pulled in by other packages, so
      we don't need to force specific versions of Mesa (LP: #546671).
 -- Colin Watson <email address hidden> Wed, 09 Feb 2011 03:00:42 +0000

Changed in octave3.2 (Ubuntu Lucid):
status: Fix Committed → 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.