Bug#797098: asymptote: old-gs-use-epswrite patch fails with gs in testing/unstable
Package: asymptote
Version: 2.35-1
Severity: normal
When running asymptote on a figure with 3d objects ("three.asy") and
using TeX labels, the call to 'gs' fails, e.g.
$ asy -noprc -render=0 -k -v -v -tex pdflatex -f pdf -V -wait "merry-go-round"
...
gs -q -dBATCH -P -dSAFER -sDEVICE=epswrite -sOutputFile=/dev/null merry-go-round_.ps
sfopen: gs_parse_file_name failed.
sfopen: gs_parse_file_name failed.
./base/gsicc_manage.c:1084: gsicc_open_search(): Could not find default_gray.icc
| ./base/gsicc_manage.c:1690: gsicc_set_device_profile(): cannot find device profile
/usr/share/asymptote/plain_Label.asy: 670.23: reading array of length 3 with out-of-bounds index 3
Running 'gs' as above on the intermediate .ps file produces the same
message plus the stderr (which isn't shown above), whose first line is
"Unknown device: epswrite."
In testing/unstable, ghostscript is 9.16, in which epswrite is
deprecated. Asymptote 2.35 (the version in testing/unstable) in Debian
should therefore drop the 'old-gs-use-epswrite' patch.
-Sanjoy
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 4.0.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages asymptote depends on:
ii freeglut3 2.8.1-2
ii ghostscript 9.16~dfsg-2
ii imagemagick 8:6.8.9.9-5
ii install-info 6.0.0.dfsg.1-3
ii libc6 2.19-19
ii libfftw3-double3 3.3.4-2
ii libgc1c2 1:7.2d-6.4
ii libgcc1 1:5.1.1-14
ii libgl1-mesa-glx [libgl1] 10.6.3-1
ii libglu1-mesa [libglu1] 9.0.0-2
ii libgsl0ldbl 1.16+dfsg-4
ii libncurses5 6.0+20150810-1
ii libosmesa6 10.6.3-1
ii libreadline6 6.3-8+b3
ii libsigsegv2 2.10-4+b1
ii libstdc++6 5.1.1-14
ii libtinfo5 6.0+20150810-1
ii python 2.7.9-1
ii python-pil 2.9.0-1
ii python-pil.imagetk 2.9.0-1
ii tex-common 6.02
ii texlive-binaries 2015.20150524.37493-5
ii texlive-latex-base 2015.20150810-1
ii texlive-pstricks 2015.20150810-1
ii xdg-utils 1.1.0~rc1+git20111210-7.4
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages asymptote recommends:
ii asymptote-doc 2.35-1
Versions of packages asymptote suggests:
ii epdfview [pdf-viewer] 0.1.8-3
ii evince [pdf-viewer] 3.16.1-1
ii gv [pdf-viewer] 1:3.7.4-1
ii mupdf [pdf-viewer] 1.7-1
ii okular [pdf-viewer] 4:4.14.2-3
ii xpdf [pdf-viewer] 3.03-17+b1
ii zathura [pdf-viewer] 0.3.3-2
-- no debconf information
Reply to: