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

Hi Steven,

> > 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?
> 
> [1] https://bugs.ghostscript.com/show_bug.cgi?id=708158
> [2] https://git.ghostscript.com/?p=ghostpdl.git;a=summary
> 

OK, I managed to build the gs from upstream and can report that the
pre-release seems to be able to build a valid pdf file on armel:

root@hz:~# ./ghostpdl_1/sobin/gsc -version
GPL Ghostscript GIT PRERELEASE 10.05.0 (2024-09-18)
Copyright (C) 2024 Artifex Software, Inc.  All rights reserved.
root@hz:~# ./ghostpdl_1/sobin/gsx -q -dNOPAUSE -dBATCH -P -dSAFER 
-dALLOWPSTRANSPARENCY -sDEVICE=pdfwrite -dEPSCrop -dSubsetFonts=true 
-dEmbedAllFonts=true -dMaxSubsetPct=100 -dEncodeColorImages=false 
-dEncodeGrayImages=false -dCompatibilityLevel=1.5 -dTransferFunctionInfo=/Apply 
-dAutoRotatePages=/None -g612x792 -dDEVICEWIDTHPOINTS=100 
-dDEVICEHEIGHTPOINTS=100 -sOutputFile=shadedtiling_0.pdf -c .setsafe -f 
1085120.eps
root@hz:~# file shadedtiling_0.pdf
shadedtiling_0.pdf: PDF document, version 1.5, 1 page(s)
root@hz:~# pdftotext -layout -nopgbrk shadedtiling_0.pdf
root@hz:~# ls -l shadedtiling_0*
total 110320
-rw-r--r--  1 root root     3764 Nov 26 21:46 shadedtiling_0.pdf
-rw-r--r--  1 root root        0 Nov 26 21:46 shadedtiling_0.txt
-rw-r--r--  1 root root     3773 Nov 26 20:04 shadedtiling_gs10.04.pdf

I don't have a native armel here, instead qemu is used.

Hilmar

Attachment: signature.asc
Description: PGP signature

Reply via email to