[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#569802: Please, add ghostscript as build dependency to fix "ERROR: thumbnail images could not be generated properly" error.

On Sun, Feb 14, 2010 at 01:17:56PM +0100, Leo Iannacone wrote:
> Version: 0.6.10
> Package: blends
> Source: blends
> Severity: wishlist
> Tags: patch
> Building blends I receive:
> ....
> 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.

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.
> 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



Reply to: