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
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.
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).
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.