Bug 883026

Summary: fltk not working, undefined symbol
Product: [Fedora] Fedora Reporter: Susi Lehtola <susi.lehtola>
Component: fltkAssignee: Adam Tkac <atkac>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: alex, atkac, fkluknav, mmahut, orion, ovasik, pertusus, rakesh.pandit, rdieter, susi.lehtola
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-07 04:33:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Susi Lehtola 2012-12-03 16:30:43 UTC
Trying to use the FLTK frontend results in

> graphics_toolkit("fltk")
error: feval: /usr/lib64/octave/3.6.3/oct/x86_64-redhat-linux-gnu/__init_fltk__.oct: failed to load: /usr/lib64/octave/3.6.3/oct/x86_64-redhat-linux-gnu/__init_fltk__.oct: undefined symbol: _ZN9Fl_Window6cursorE9Fl_Cursorjj
error: called from:
error:   /usr/share/octave/3.6.3/m/plot/graphics_toolkit.m at line 59, column 5

$ rpm -q octave
octave-3.6.3-2.fc18.x86_64

Comment 1 Orion Poplawski 2012-12-03 17:49:12 UTC
Looks like fltk ABI compatibility broke between 1.3.0-5 and 1.3.0-7.  In particular the following two symbols were removed:

Fl_Window.h, libfltk.so.1.3
Fl_Window::cursor ( Fl_Cursor p1, Fl_Color p2, Fl_Color p3 )
Fl_Window::default_cursor ( Fl_Cursor p1, Fl_Color p2, Fl_Color p3 )

I'm reassigning to fltk assuming that this is an upstream problem that needs to be fixed.  They are still referenced in the docs: http://www.fltk.org/doc-1.3/classFl__Window.html#a3a762c544af59bd69458e2d635a2e160

Looks like this patch is the culprit:

# http://www.fltk.org/str.php?L2660
Patch13:        fltk-1_v4.3.x-cursor.patch

Comment 2 Adam Tkac 2012-12-04 11:58:42 UTC
This is really fltk issue, I'm building fixed packages right now.

Comment 3 Fedora Update System 2012-12-04 13:06:31 UTC
fltk-1.3.0-8.fc18,tigervnc-1.2.80-0.6.20121126svn5015.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/fltk-1.3.0-8.fc18,tigervnc-1.2.80-0.6.20121126svn5015.fc18

Comment 4 Fedora Update System 2012-12-04 21:11:42 UTC
Package fltk-1.3.0-8.fc18, tigervnc-1.2.80-0.6.20121126svn5015.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing fltk-1.3.0-8.fc18 tigervnc-1.2.80-0.6.20121126svn5015.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-19653/fltk-1.3.0-8.fc18,tigervnc-1.2.80-0.6.20121126svn5015.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-12-07 04:33:54 UTC
fltk-1.3.0-8.fc18, tigervnc-1.2.80-0.6.20121126svn5015.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.