Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517058 - sci-visualization/gnuplot-5.0_rc1 USE=doc - LaTeX Error: File `picins.sty' not found.
Summary: sci-visualization/gnuplot-5.0_rc1 USE=doc - LaTeX Error: File `picins.sty' no...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Ulrich Müller
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-13 22:45 UTC by Eugene Shalygin
Modified: 2014-07-14 19:35 UTC (History)
3 users (show)

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


Attachments
build log (build.log,207.25 KB, text/plain)
2014-07-13 22:45 UTC, Eugene Shalygin
Details
ebuild diff (gnuplot-5.0_rc1.ebuild.diff,799 bytes, patch)
2014-07-14 10:57 UTC, Eugene Shalygin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Shalygin 2014-07-13 22:45:07 UTC
compilation of the documentation fails because of absent picins.sty

Reproducible: Always

Steps to Reproduce:
1. USE="doc" emerge -1av gnuplot
Comment 1 Eugene Shalygin 2014-07-13 22:45:57 UTC
Created attachment 380688 [details]
build log
Comment 2 Andreas Proteus 2014-07-14 10:39:49 UTC
Same problem here.
It appears that gnuplot requires the "picins" package which is not part of texlive.

My workaround is as follows:

1. Download package from CTAN 
   http://www.ctan.org/tex-archive/macros/latex209/contrib/picins

2. unzip contents in texmf-local/tex/latex/local/

3. texhash

4  Verify that picins.sty is visible: kpsewhich picins.sty 

Remerge gnuplot.
Comment 3 Eugene Shalygin 2014-07-14 10:57:20 UTC
Created attachment 380698 [details, diff]
ebuild diff

And here is my workaround too
Comment 4 Ulrich Müller gentoo-dev 2014-07-14 12:30:49 UTC
(In reply to Eugene Shalygin from comment #3)
> Created attachment 380698 [details, diff] [details, diff]
> ebuild diff
> 
> And here is my workaround too

This is not feasible, because picins.sty is non-free; it is even doubtful if we're allowed to distribute it. See this discussion: http://www.tug.org/pipermail/tex-live/2005-October/009311.html
I've tried to resolve this issue in 2010 again, but attempts to contact Joachim Bleser failed. And Edmund Lang passed away ca. 1995. So chances that the license of picins.sty could be changed are very small.

Does any of the patches in bug 296732 comment #3 or bug 296732 comment #5 solve the issue?
Comment 5 Christoph Junghans (RETIRED) gentoo-dev 2014-07-14 15:21:57 UTC
Option 1:

<http://gnuplot.info/ReleaseNotes_5_0_rc1.html> says:
The TeX tutorial produced by --with-tutorial is horribly out of date.

and the pdf manual can be download from here:
<https://sourceforge.net/projects/gnuplot/files/gnuplot/5.0.rc1/>

So let drop all the documentation build inside the ebuild.

Option 2:

add picins to gx86 with RESTRICT=bindist, there was an ebuild in
the science overlay at some point:
<http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commitdiff;h=744d454d6101c9ba1ff8df35ded0d46b9d79e126>
Comment 6 Ulrich Müller gentoo-dev 2014-07-14 19:20:00 UTC
What has changed is that the "pdf" target in docs/Makefile.am now depends on pdffigures.tex gnuplot.pdf, whereas in 4.6 it depended only on gnuplot.pdf. The comments on top of the Makefile claims that "make nofigures pdf" should work (but it doesn't).

The following change in src_compile() seems to restore the 4.6 behaviour:

-               emake -C docs pdf
+               emake -C docs gnuplot.pdf
Comment 7 Christoph Junghans (RETIRED) gentoo-dev 2014-07-14 19:35:44 UTC
+  14 Jul 2014; Christoph Junghans <ottxor@gentoo.org> gnuplot-5.0_rc1.ebuild:
+  make manual build without picins.sty (bug #517058)
+