Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#38735 - octave-3.8.0-1 incomplete/broken

Attached to Project: Arch Linux
Opened by markus (markuman) - Thursday, 30 January 2014, 22:42 GMT
Last edited by Ronald van Haren (pressh) - Friday, 31 January 2014, 18:01 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
1. since octave 3.8.0 it has as dependency 'qscintilla' too (for the new gui).
2. the current octave image package (image 2.2.0) is unuseable


octave:9> A=imread('Lenna.png');
error: default_formats: /usr/lib/octave/3.8.0/oct/x86_64-unknown-linux-gnu/__magick_read__.oct: failed to load: /usr/lib/octave/3.8.0/oct/x86_64-unknown-linux-gnu/__magick_read__.oct: undefined symbol: _ZN6Magick5ColorC1Ejjjj
error: called from:
error: /usr/share/octave/3.8.0/m/image/imformats.m at line 255, column 11
error: /usr/share/octave/3.8.0/m/image/imformats.m at line 78, column 3
error: /usr/share/octave/3.8.0/m/image/private/imageIO.m at line 60, column 7
error: /usr/share/octave/3.8.0/m/image/imread.m at line 107, column 30

# pacman -Qi octave
Name : octave
Version : 3.8.0-1


With those compiler flags it works for me (but I don't know the reason):


autoconf
./configure --prefix=/usr \
--libexecdir=/usr/lib --enable-shared --enable-jit --enable-gui\
--with-umfpack="-lumfpack -lsuitesparseconfig -lrt" \
--enable-qhull --enable-java MOC=moc-qt4 UIC=uic-qt4 \
--with-java-homedir=/usr/lib/jvm/java-7-openjdk \
--with-java-includedir=/usr/lib/jvm/java-7-openjdk/include \
--with-java-libdir=//usr/lib/jvm/java-7-openjdk/lib
CXXFLAGS+="-fexceptions `llvm-config --cxxflags`" make


https://github.com/markuman/aur/blob/master/octave/PKGBUILD

Furthermore, take care for --enable-jit and the llvm patch. See octave bug http://savannah.gnu.org/bugs/?41061
This task depends upon

Closed by  Ronald van Haren (pressh)
Friday, 31 January 2014, 18:01 GMT
Reason for closing:  None
Additional comments about closing:  see my comment
Comment by markus (markuman) - Friday, 31 January 2014, 13:42 GMT
3. octave has no docs included

octave:1> doc plot
error: doc: unable to find the Octave info manual, Octave installation is incomplete
Comment by Ronald van Haren (pressh) - Friday, 31 January 2014, 18:01 GMT
Please don't put all kind of bugs and feature request in one single report. It's really hard to track and things probably get overlooked.

1. duplicate and already fixed in 3.8.0-2
2. works for me in 3.8.0-2
3. Upstream bug #41066. It's in their next bugfix release, or I may pull the patch if I find time

I don't know what's the problem that you need the configure flags changed and a patch applied, please file a proper feature request for that.

I'm closing this, as the bugs are either fixed or upstream. I'll add a patch to fix 3 to our svn soon so it gets included if I do a rebuild.

Loading...