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

Bug#1085120: ghostscript: gs generates invalid PDF files on armel



On 25.11.24 Steven Robbins (steve@sumost.ca) wrote:
> On Mon, 14 Oct 2024 23:31:52 +0200 Hilmar Preusse <hille42@web.de> wrote:

Hello,

> > We noticed that package asymptote fails to build on armel [1]. It fails
> > at a point, when the compiled asy binary is called to generate the
> > documentation. The asy binary calls gs to generate a pdf file out of
> > an eps file like this: [...]
> 
> I reported this bug upstream [1] and received the following reply:
> 
>     Most probably fixed by commit c174527d944f8c2a495ad009bf2383a0d48d33e1    \
>     though there are at least two other commits relevant to ARM 32-bit builds 
>     as well.
> 
>     Please try current HEAD of Git and let us know if that does not resolve 
>     the problem.
> 
> Are you in a position to try a build from git [2] and report back?
> 

I tried to do so: logged in into amdahl (porter box), created a chroot,
installed the BD's for ghostscript, did a git clone, unpackaged the
subdir "debian" from the ghostscript source package in Debian and
called "debuild -b". The build worked fine til the sphinx call, which
terminated:

make[1]: Entering directory '/home/hille42/ghostpdl'
sphinx-build -bhtml doc/src doc/build/html
Running Sphinx v7.4.7
/home/hille42/ghostpdl/doc/src/conf.py: setting version from /home/hille42/ghostpdl/base/version.mak: 10.05.0
loading translations [en]... done

Extension error:
Could not import extension sphinxcontrib.googleanalytics (exception: No module named 'sphinxcontrib.googleanalytics')
make[1]: *** [debian/rules:63: execute_after_dh_auto_build-indep] Error 2
make[1]: Leaving directory '/home/hille42/ghostpdl'
make: *** [debian/rules:43: binary] Error 2

...and indeed, it was added to doc/src/requirements.txt since
10.04 . So unfortunately I don't have a correct Debian package based
on the git snapshot.

The sphinx extension does not seem to exist in Debian yet, so there
is some work for you to be done. For now I'll try if I can run gsc &
gsx:

(sid_armel-dchroot)hille42@amdahl:~/ghostpdl/sobin$ ./gsc
GPL Ghostscript GIT PRERELEASE 10.05.0: Can't find initialization file gs_init.ps.
(sid_armel-dchroot)hille42@amdahl:~/ghostpdl/sobin$ ./gsx
GPL Ghostscript GIT PRERELEASE 10.05.0: Can't find initialization file gs_init.ps.

CU you later, time for bed now.

Hilmar

Attachment: signature.asc
Description: PGP signature


Reply to: