Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402705 - >=sci-mathematics/octave-3.4.3-r1 should depend on sci-visualization/gnuplot
Summary: >=sci-mathematics/octave-3.4.3-r1 should depend on sci-visualization/gnuplot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-08 14:21 UTC by Tolga Dalman
Modified: 2012-02-27 18:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tolga Dalman 2012-02-08 14:21:05 UTC
Some octave commands depend on gnuplot, resulting in the following error:

octave:1> patch(1,2)
error: popen2: popen2 (child): unable to start process -- No such file or directory
error: called from:
error:   /usr/share/octave/3.6.0/m/plot/private/__gnuplot_open_stream__.m at line 30, column 44
error:   /usr/share/octave/3.6.0/m/plot/__gnuplot_drawnow__.m at line 72, column 19
sh: gnuplot: command not found
error: `unset' undefined near line 2 column 1
warning: broken pipe -- some output may be lost


Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-08 14:30:27 UTC
Please post your `emerge --info sci-mathematics/octave' output in a comment.

I'm asking because version 3.2.4-r1 does have the proper RDEPEND.
Comment 2 Tolga Dalman 2012-02-08 14:39:47 UTC
This bug affects octave version 3.4 and higher (see ebuild ChangeLog). The dependency has been removed explicitly, which in turn leads to the problems I have.

While I'd like to see get rid of useless dependencies, leaving out gnuplot from RDEPEND just breaks octave (i.e., many octave programs are not usable anymore).
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2012-02-27 18:31:26 UTC
it does not break octave per se, if you remove gnuplot, octave is still functional.
gnuplot is an optional dependency. i've re-added a gnuplot use flag for 3.6.1.