Bug#569802: Please, add ghostscript as build dependency to fix "ERROR: thumbnail images could not be generated properly" error.
Hi,
On Sun, Feb 14, 2010 at 07:57:03PM +0100, Andreas Tille wrote:
> On Sun, Feb 14, 2010 at 01:17:56PM +0100, Leo Iannacone wrote:
> > Version: 0.6.10
> > Package: blends
> > sh: gs: not found
> > !!! Error: Closing Ghostscript (exit status: 127)!
> > debiandoc2latexpdf: ERROR: thumbnail images could not be generated properly
> > debiandoc2latexpdf: rerun with the -v option to find out why
> > debiandoc2latexpdf: or check the log file debian-blends.en.log
> > ....
> > Please add ghostscript as build dependency in debian/control to solve problem:
>
> While I agree that ghostscript seems to be needed (even if I wonder why
> this does not happen on my system) I think the Build-Depends should be
> solved not by explicitely mentioning this package but rather adding a
> Depends to debiandoc-sgml. The rationale behind this is that you
> otherwise might add the Build-Depends to all packages which are using
> debiandoc-sgml which makes no sense.
If you wish to have html or plain text build with debiandoc-sgml,
-> you need debiandoc-sgml.
-> you do not need texlive.
If you wish to have PS build with debiandoc-sgml,
-> you need debiandoc-sgml to create latex-source,
-> you need latex tool chain (texlive-latex-*)
-> you do not need gohstscript.
If you wish to have PDF build with debiandoc-sgml,
-> you need debiandoc-sgml to create latex-source,
-> you need latex tool chain (texlive-latex-*)
-> you need gohstscript to get PDF generation functionality of latex to
function.
Your documentation falls into the last category. You must specify
gohstscript yourself.
> So before I blindly apply your patch (thanks for it anyway) I would like
> to hear your opinion about solving the problem at the reason instead of
> just curing the symptom.
This path is needed if you wish PDF.
Since PDF support for UTF-8 under debiandoc-sgml is flakey, unless you
have strong reason please limit build only to
html
plain text
html in one page (-1)
This saves build time too.
If you insist on PDF, converting doc to docBook XML is good idea.
> > diff -Nru blends-0.6.10/debian/control blends-0.6.10/debian/control
> > --- blends-0.6.10/debian/control 2010-01-18 23:04:41.000000000 +0100
> > +++ blends-0.6.10/debian/control 2010-02-14 12:33:11.000000000 +0100
> > @@ -8,7 +8,7 @@
> > José L. Redrejo Rodríguez <jredrejo@debian.org>,
> > Jonas Smedegaard <dr@jones.dk>
> > Build-Depends: debhelper (>= 7)
> > -Build-Depends-Indep: debiandoc-sgml, texlive-latex-base, texlive-latex-extra,
> > +Build-Depends-Indep: debiandoc-sgml, ghostscript, texlive-latex-base, texlive-latex-extra,
> > texlive-latex-recommended, texlive-fonts-recommended
> > Standards-Version: 3.8.3
> > Vcs-Browser: http://svn.debian.org/wsvn/blends/blends/trunk/blends/?rev=0&sc=0
>
> Kind regards
Regards,
Osamu
Reply to: