Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345835 - USE=doc fails for sci-visualization/gnuplot with texlive-2010
Summary: USE=doc fails for sci-visualization/gnuplot with texlive-2010
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-17 01:59 UTC by Ivan
Modified: 2010-12-05 10:26 UTC (History)
2 users (show)

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


Attachments
Build log (1289958947-install-sci-visualization_gnuplot-4.4.2:0::gentoo.out,104.70 KB, text/plain)
2010-11-17 02:00 UTC, Ivan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan 2010-11-17 01:59:44 UTC
I have tested this with both gnuplot-4.4.0 and 4.4.2, trying various USE flags (I at first thought it was to do with USE=latex or USE=pdf but disabling them didn't change anything).  I have previously built 4.4.0 with texlive-2009.  Setting USE=-doc lets it build.

The relevant part of the build message is:

Package hyperref Message: Driver (autodetected): hpdftex.

(/usr/share/texmf-dist/tex/latex/hyperref/hpdftex.def
(/usr/share/texmf-dist/tex/latex/oberdiek/atveryend.sty)
(/usr/share/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
(/usr/share/texmf-dist/tex/generic/oberdiek/uniquecounter.sty)))
(/usr/share/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
(/usr/share/texmf-dist/tex/latex/base/makeidx.sty)
Writing index file gnuplot.idx
\@input{pdffigures.aux}
(./pdffigures.tex) (./gnuplot.aux)
(/usr/share/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/share/texmf-dist/tex/latex/oberdiek/refcount.sty)
(/usr/share/texmf-dist/tex/generic/oberdiek/gettitlestring.sty)) (./gnuplot.out
) (./gnuplot.out) (/usr/share/texmf-dist/tex/latex/base/omscmr.fd) [1{//var/lib
/texmf/fonts/map/pdftex/updmap/pdftex.map
Error:
  * In program cave perform install --hooks --managed-output --output-exclusivity with-others =sci-visualization/gnuplot-4.4.2:0::gentoo --destination installed --replacing =sci-visualization/gnuplot-4.4.2:0::installed --x-of-y 2 of 2:
  * When installing 'sci-visualization/gnuplot-4.4.2:0::gentoo' replacing { 'sci-visualization/gnuplot-4.4.2:0::installed' }:
  * When running an ebuild command on 'sci-visualization/gnuplot-4.4.2:0::gentoo':
  * Install failed for 'sci-visualization/gnuplot-4.4.2:0::gentoo' (paludis::ActionFailedError)

pdflatex: Invalid argument
make: *** [gnuplot.pdf] Error 1
/usr/libexec/paludis/utils/emake: emake returned error 2
Comment 1 Ivan 2010-11-17 02:00:36 UTC
Created attachment 254591 [details]
Build log
Comment 2 Ulrich Müller gentoo-dev 2010-11-19 10:51:49 UTC
I cannot reproduce the problem with gnuplot-4.4.2 and texlive-2010. Could you please post your complete USE flags?
Comment 3 Ivan 2010-11-22 13:17:22 UTC
Still happening here; I have:

USE="X cairo emacs gd latex pdf plotutils readline wxwidgets"

With USE="doc", I get that error; with USE="-doc" I don't.
Comment 4 Ulrich Müller gentoo-dev 2010-11-22 21:42:45 UTC
(In reply to comment #3)
> USE="X cairo emacs gd latex pdf plotutils readline wxwidgets"

I still cannot reproduce the failure, with exactly these USE flags (plus "doc").

My guess would be that something is wrong with your pdftex.map:
{//var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}pdflatex: Invalid argument

TeX team: Any ideas what could be the reason here?
Comment 5 Ivan 2010-12-05 10:26:47 UTC
OK, it did ended up being a problem with my system: I had forgotten that I had installed app-admin/pdftex at one stage to try it out, and it was set as the main pdftex executable.  Uninstalling it and re-installing texlive-core has fixed this issue (which also arose when I tried to use pdftex on some of my own tex documents).

Closing this bug as "INVALID" since it was my own fault it occurred :p