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
Created attachment 254591 [details] Build log
I cannot reproduce the problem with gnuplot-4.4.2 and texlive-2010. Could you please post your complete USE flags?
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.
(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?
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