Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461644 - =sci-visualization/gnuplot-4.6.1 USE=doc - make: *** [eg7.pdf] Broken pipe
Summary: =sci-visualization/gnuplot-4.6.1 USE=doc - make: *** [eg7.pdf] Broken pipe
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ulrich Müller
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-13 15:27 UTC by onip
Modified: 2013-08-14 23:58 UTC (History)
3 users (show)

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


Attachments
failing build.log (build.log,170.32 KB, text/plain)
2013-03-13 15:27 UTC, onip
Details

Note You need to log in before you can comment on or make changes to this bug.
Description onip 2013-03-13 15:27:24 UTC
This has worked in the past as I had same version installed with +doc.
The same problem seems to happen with 4.6.1-r1

I currently have texlive-2012 (~) installed and for the little I understand there may be some missing dep

will post build.log

Reproducible: Always
Comment 1 onip 2013-03-13 15:27:59 UTC
Created attachment 341906 [details]
failing build.log
Comment 2 Ulrich Müller gentoo-dev 2013-03-13 17:40:12 UTC
Either eg7.eps is broken, or epstopdf, or ghostscript.

Can you run "epstopdf --debug eg7.eps" manually (in the tutorial subdirectory) and post the output of the command here?
Comment 3 onip 2013-03-13 20:33:05 UTC
# epstopdf --debug eg7.eps
* kpsewhich command: kpsewhich
* Input filename: eg7.eps
* Output filename: eg7.pdf
* BoundingBox comment: %%BoundingBox:
* Ghostscript command: gs
* Compression: on
* Embedding: on
* Rotation: None
* Resolution: [use gs default]
* Ghostscript pipe: gs -q -dNOPAUSE -dSAFER -sDEVICE=pdfwrite -sOutputFile=eg7.pdf -dPDFSETTINGS=/prepress -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -dAutoRotatePages=/None - -c quit
* Scanning header for BoundingBox
* Old BoundingBox: 50 50 410 302
* New BoundingBox: 0 0 360 252
* Offset: -50 -50
Error: /invalidfont in /findfont
Operand stack:
   Symbol-Oblique   Symbol
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1894   1   3   %oparray_pop   1893   1   3   %oparray_pop   --nostringval--   1877   1   3   %oparray_pop   1771   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   1852   2   4   %oparray_pop
Dictionary stack:
   --dict:1167/1684(ro)(G)--   --dict:0/20(G)--   --dict:82/200(L)--   --dict:175/256(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 9.05: Unrecoverable error, exit code 1
Comment 4 onip 2013-03-13 20:35:33 UTC
my versions are

ghostscript-gpl-9.05-r1
texlive-fontutils-2012
Comment 5 Ulrich Müller gentoo-dev 2013-03-13 22:44:53 UTC
(In reply to comment #4)
> my versions are
> 
> ghostscript-gpl-9.05-r1
> texlive-fontutils-2012

Do you have media-libs/freetype installed? What version of it and what USE flags?
Comment 6 onip 2013-03-14 08:29:48 UTC
(In reply to comment #5)
> Do you have media-libs/freetype installed? What version of it and what USE
> flags?

=media-libs/freetype-2.4.11 with +X +bzip2 +infinality -auto-hinter -bindist -debug -doc -fontforge -static-libs -utils)
Comment 7 Ulrich Müller gentoo-dev 2013-03-14 08:50:52 UTC
(In reply to comment #6)
> =media-libs/freetype-2.4.11 with +X +bzip2 +infinality -auto-hinter -bindist
> -debug -doc -fontforge -static-libs -utils)

Please reinstall with USE="-infinality" and try again to build gnuplot.
Comment 8 Ulrich Müller gentoo-dev 2013-03-14 08:54:27 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > =media-libs/freetype-2.4.11 with +X +bzip2 +infinality -auto-hinter -bindist
> > -debug -doc -fontforge -static-libs -utils)
> 
> Please reinstall with USE="-infinality" and try again to build gnuplot.

And unmerge media-libs/fontconfig-infinality, to be on the safe side.
Comment 9 onip 2013-03-14 10:12:17 UTC
did both (in same shell without rebooting), same problem.
Comment 10 Ulrich Müller gentoo-dev 2013-03-14 11:54:47 UTC
My suspicion was that it's the same problem as in bug 436500 (see bug 436500 comment #2 especially). But apparently that is not the case.

Unlikely that the issue is a problem of gnuplot, though.

CCing printing team. Any ideas what could cause the failure?
Comment 11 Christoph Junghans (RETIRED) gentoo-dev 2013-03-17 23:06:43 UTC
Seeing this issue, makes me think we should use manual.pdf from <https://sourceforge.net/projects/gnuplot/files/gnuplot/4.6.2/> instead of building it ourselves.
Comment 12 Ulrich Müller gentoo-dev 2013-03-17 23:19:42 UTC
(In reply to comment #11)
> Seeing this issue, makes me think we should use manual.pdf from
> <https://sourceforge.net/projects/gnuplot/files/gnuplot/4.6.2/> instead of
> building it ourselves.

That wouldn't help here, the error occurs when building the tutorial.
Comment 13 Christoph Junghans (RETIRED) gentoo-dev 2013-03-17 23:24:59 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > Seeing this issue, makes me think we should use manual.pdf from
> > <https://sourceforge.net/projects/gnuplot/files/gnuplot/4.6.2/> instead of
> > building it ourselves.
> 
> That wouldn't help here, the error occurs when building the tutorial.
How about <http://www.gnuplot.info/files/tutorial.pdf> ?
Comment 14 Christoph Junghans (RETIRED) gentoo-dev 2013-03-17 23:26:15 UTC
(In reply to comment #13)
> (In reply to comment #12)
> > (In reply to comment #11)
> > > Seeing this issue, makes me think we should use manual.pdf from
> > > <https://sourceforge.net/projects/gnuplot/files/gnuplot/4.6.2/> instead of
> > > building it ourselves.
> > 
> > That wouldn't help here, the error occurs when building the tutorial.
> How about <http://www.gnuplot.info/files/tutorial.pdf> ?
Sorry, <http://www.gnuplot.info/docs_4.6/tutorial.pdf>
Comment 15 Ulrich Müller gentoo-dev 2013-03-18 06:20:31 UTC
(In reply to comment #14)
> Sorry, <http://www.gnuplot.info/docs_4.6/tutorial.pdf>

And more files for gpcard.pdf and gpelcard.pdf? I'm not convinced. We'd also need to maintain separate version information (it's 4.6, not 4.6.2) in the ebuild. And what would you do for the live ebuild?

Generally, I think that it's more the Gentoo way if we build the documentation from its source. The build failure at hand is an indication that something else is wrong on the reporter's system that needs fixing. For that, it's not helpful if we evade the problem by downloading various pdfs.
Comment 16 Ulrich Müller gentoo-dev 2013-04-23 08:37:19 UTC
I still cannot reproduce the failure.
Comment 17 Bernd Waibel 2013-08-14 18:18:10 UTC
I stepped into this same problem, some time ago, when 4.6.1 became stable. It occured again now, when I tried to upgrade to (unstable) 4.6.3 and I searched and found this bug report.

I did some tries today in emerging it, trying 4.6.1, 4.6.2-r1 and 4.6.3 all with the reported results. I then tried the solution mentioned herein and re-emerged media-libs/freetype with USE=-infinality and doing a depclean afterwards which removed media-libs/fontconfig-infinality, app-admin/eselect-infinality and app-admin/eselect-lcdfilter. After this, gnuplot-4.6.3 upgraded without errors!

Later I reinstalled media-libs/freetype again with USE=infinality and tried re-emerging gnuplot-4.6.3 again but got the same error as before.

So it looks like this has something to do with the infinality USE flag on freetype or one of the fontconfig-infinality, eselect-infinality or eselect-lcdfilter packages pulled in by freetype.

Maybe this helps in solving this issue. If you need more informations, emerge --info output or build logs feel free to ask!
Comment 18 Ulrich Müller gentoo-dev 2013-08-14 18:56:56 UTC
(In reply to Bernd Waibel from comment #17)
Not a problem of gnuplot, but of infinality fonts or fontconfig-infinality.
See bug 472520 comment #2.