Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200531 - can't emerge sci-visualization/gnuplot-4.2.2-r1 with latex useflag
Summary: can't emerge sci-visualization/gnuplot-4.2.2-r1 with latex useflag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 202217
Blocks:
  Show dependency tree
 
Reported: 2007-11-27 16:03 UTC by Rafał Mużyło
Modified: 2008-01-04 08:45 UTC (History)
1 user (show)

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


Attachments
eps it chokes on (eg7.eps,126.54 KB, text/plain)
2007-11-28 20:28 UTC, Rafał Mużyło
Details
output of emerge --info (emerge-info,4.01 KB, text/plain)
2007-11-29 11:34 UTC, Rafał Mużyło
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mużyło 2007-11-27 16:03:49 UTC
Error is:
epstopdf eg7.eps
Unrecoverable error: undefined in is
Unrecoverable error: undefined in .uninstallpagedevice
during emake pdf
It's a problem with ghostscript - I've got app-text/ghostscript-gpl-8.60-r1
I've seen this error on google about cups, but, as you can see it does not seem device related.
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2007-11-28 17:55:33 UTC
Not enough information, and I can't reproduce here...please elaborate
Comment 2 Rafał Mużyło 2007-11-28 20:22:59 UTC
Well, there's not much to add, besides the fact that I've got texlive-recomended installed, but not complete teexlive, but this should not matter, cause as I said, it fails as it executes `epstopdf eg7.eps`.
If I run this command as `epstopdf -d eg7.eps`, I get
* Input filename: eg7.eps
* BoundingBox comment: %%BoundingBox:
* Output filename: eg7.pdf
* Ghostscript command: gs
* Compression: on
* Ghostscript pipe: gs -q -sDEVICE=pdfwrite  -dAutoRotatePages=/None -sOutputFile='eg7.pdf' - -c quit
* Scanning header for BoundingBox
* Old BoundingBox: 50 50 410 302
* New BoundingBox: 0 0 360 252
* Offset: -50 -50
Unrecoverable error: undefined in is
Unrecoverable error: undefined in .uninstallpagedevice
Comment 3 Rafał Mużyło 2007-11-28 20:28:26 UTC
Created attachment 137273 [details]
eps it chokes on

This is the eps files, generated during build  from plt, that fails to be converted.
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2007-11-29 08:15:50 UTC
No problems here....with more information I meant your USE flags for gnuplot and your emerge  --info.  Plus your exact Ghostscript, and please list everything you have installed from TeXLive: app-portage/eix can help you here with $(eix -I dev-texlive/*).
Comment 5 Rafał Mużyło 2007-11-29 11:34:14 UTC
Created attachment 137304 [details]
output of emerge --info

Well, OK, but it will be misleading - it states x86 whereas my packages.keywords negates that in several places (ditto for my overlay).

equery l dev-texlive/
dev-texlive/texlive-basic-2007
dev-texlive/texlive-documentation-base-2007
dev-texlive/texlive-documentation-chinese-2007
dev-texlive/texlive-documentation-japanese-2007
dev-texlive/texlive-fontsrecommended-2007
dev-texlive/texlive-genericrecommended-2007
dev-texlive/texlive-langcjk-2007-r1
dev-texlive/texlive-langpolish-2007
dev-texlive/texlive-latex-2007
dev-texlive/texlive-latex3-2007
dev-texlive/texlive-latexrecommended-2007
dev-texlive/texlive-mathextra-2007
dev-texlive/texlive-psutils-2007
dev-texlive/texlive-science-2007
dev-texlive/texlive-xetex-2007

emerge -1pv sci-visualization/gnuplot
USE="X doc gd ggi latex%* pdf plotutils readline wxwindows -emacs -svga -xemacs (-tetex%*)"
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2007-11-30 07:30:52 UTC
Packages only you have:
dev-texlive/texlive-documentation-chinese-2007
dev-texlive/texlive-documentation-japanese-2007
dev-texlive/texlive-langcjk-2007-r1
dev-texlive/texlive-langpolish-2007
dev-texlive/texlive-xetex-2007

Packages only I have:
texlive-bibtexextra
texlive-documentation-german
texlive-fontsextra
texlive-formatsextra
texlive-genericextra
texlive-htmlxml
texlive-humanities
texlive-langgerman
texlive-latexextra
texlive-metapost
texlive-pictures
texlive-plainextra
texlive-pstricks
texlive-texinfo


I cannot reproduce with your set of USE flags, at the moment there are other more important things to do, so please try to reemerge Ghostscript, try a different variant of Ghostscript and maybe you find a TeXLive package needed for it (though I don't believe the problem lies there).  Adding tex team to CC.
Comment 7 Rafał Mużyło 2007-11-30 08:28:46 UTC
Could you post your eg7.ps or is it the same for you but it works for you ?
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2007-11-30 12:46:30 UTC
(In reply to comment #7)
> Could you post your eg7.ps or is it the same for you but it works for you ?

 It is the same file apart from /CreationDate, /Author and %%CreationDate.
Comment 9 Rafał Mużyło 2007-11-30 13:36:55 UTC
In this case I think the printing herd should be CC'd, not tex team.
Comment 10 Christian Faulhammer (RETIRED) gentoo-dev 2007-11-30 17:25:23 UTC
(In reply to comment #9)
> In this case I think the printing herd should be CC'd, not tex team.

 tex team maintains epstopdf, so I think they should be look here first.  Could you test with other EPS files, if you have a general problem or if it is a special cornercase for GS, too.
Comment 11 Rafał Mużyło 2007-11-30 17:57:23 UTC
I don't know if I find any eps files on my drive.
As far as I tested epstopdf is a perl script calling ghostscript with some arguments and the command line from comment #2 :
gs -q -sDEVICE=pdfwrite  -dAutoRotatePages=/None
-sOutputFile='eg7.pdf' eg7.eps
fails with exactly the same errror, so I'm nearly 100% sure it's a ghostscript issue. 
Comment 12 Rafał Mużyło 2007-12-01 10:37:27 UTC
OK, consider this bug fixed and not fixed at the same time.
I was right, it was a problem with ghostscript.
When I emerged as of today in portage ghostscript-gpl-8.61,
gnuplot could be successfully emerged.
Comment 13 Christian Faulhammer (RETIRED) gentoo-dev 2007-12-01 10:45:06 UTC
(In reply to comment #12)
> OK, consider this bug fixed and not fixed at the same time.
> I was right, it was a problem with ghostscript.
> When I emerged as of today in portage ghostscript-gpl-8.61,
> gnuplot could be successfully emerged.

 Would be nice if you would have tried with a remerge of ghostscript-gpl-8.60.  Problem is not too serious, as 8.61 will be stable soon because of security reasons.
Comment 14 Rafał Mużyło 2007-12-01 18:21:01 UTC
Nah, reemerge of 8.60-r1 did not work, I've tried it yesterday.
This should probably be advertised on the forums, cause I've seen some cups-related bugs with the same error, so they may be fixed now (in 861, of course).
Comment 15 Christian Faulhammer (RETIRED) gentoo-dev 2007-12-02 13:19:33 UTC
(In reply to comment #14)
> Nah, reemerge of 8.60-r1 did not work, I've tried it yesterday.
> This should probably be advertised on the forums, cause I've seen some
> cups-related bugs with the same error, so they may be fixed now (in 861, of
> course).

 Ok, we will wait a bit longer for 8.61 (the security bug is fixed in 8.60-r1) and then stabilise...it is on my todo list...so have patience.  Thanks for the report.
Comment 16 Christian Faulhammer (RETIRED) gentoo-dev 2008-01-04 08:45:12 UTC
I close this one as arches started to stabilise ghostscript-gpl-8.61 (ppc, ppc64 and x86 already done).