Package: ghostscript Version: 10.04.0~dfsg-1 Severity: important Tags: ftbfs
Dear Maintainer,
ignore the version information below, they are just from the machine
running reportbug.
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:
gs -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 shadedtiling_0.eps
The resulting pdf file can't be processed by pdtotext:
hille@rasppi2:~/devel/misc/asymptote-2.92+ds_armel $ pdftotext -layout -nopgbrk
shadedtiling_0.pdf
Syntax Error: ExtGState 'R7' is unknown
Syntax Error: ExtGState 'R16' is unknown
Syntax Warning: Bad color space 'R9'
Syntax Error (510): Bad color space (fill)
pdflatex fails to include the pdf file into a document.
[1 <./shadedtiling_0.pdf
!pdfTeX error: pdflatex (file ./shadedtiling_0.pdf): PDF inclusion: reference
to invalid object (is the included pdf broken?)
==> Fatal error occurred, no output PDF file produced!
_shipout(prefix,f,currentpatterns,format,wait,view,t);
^
For now I see the phenomenon only on armel.
The build on sh4 fails at the same point with the same error message, but
I did not debug it yet, so I can't prove that it is the fault of gs.
Similar for mips64el [1]: it failed in the past at this point, but succeeded
later so I did not really care about the root cause.
Attached is the input eps file and two pdf file: is is generated on x86, the
other one on armel.
For questions call back.
Hilmar
[1] https://buildd.debian.org/status/package.php?p=asymptote
[2] https://buildd.debian.org/status/logs.php?pkg=asymptote&arch=mips64el
-- System Information:
Debian Release: 12.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: arm64 (aarch64)
Foreign Architectures: armhf
Kernel: Linux 6.6.51+rpt-rpi-v8 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages ghostscript depends on:
ii libc6 2.36-9+rpt2+deb12u8
ii libgs10 10.0.0~dfsg-11+deb12u5
ghostscript recommends no packages.
ghostscript suggests no packages.
-- no debconf information
shadedtiling_0_armel.pdf
Description: Adobe PDF document
shadedtiling_0.eps
Description: PostScript document
shadedtiling_0_x86.pdf
Description: Adobe PDF document
signature.asc
Description: PGP signature
