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

Bug#1025049: asymptote: Error in shipout3



Package: asymptote
Version: 2.83+ds-1+b1
Severity: normal
X-Debbugs-Cc: picca@debian.org

Dear Maintainer,

while working on the hkl package I found that asy doe snot compile anymore my files.

/usr/bin/asy -config "" -d -render=4 -f png -o 3S+1D.png 3S+1D.asy
    shipout3(prefix,f,preview ? nativeformat() : format,
            ^
/usr/share/asymptote/three.asy: 2896.13: runtime: /usr/bin/asy -config "" -d -render=4 -f png -o B_b3_y.png B_b3_y.asy
    shipout3(prefix,f,preview ? nativeformat() : format,
            ^
/usr/share/asymptote/three.asy: 2896.13: runtime: /usr/bin/asy -config "" -d -render=4 -f png -o B_a.png B_a.asy
    shipout3(prefix,f,preview ? nativeformat() : format,
            ^
/usr/share/asymptote/three.asy: 2896.13: runtime: /usr/bin/asy -config "" -d -render=4 -f png -o B_b.png B_b.asy
    shipout3(prefix,f,preview ? nativeformat() : format,
            ^
...

on bullseye, I do not have this issue.

So I attached a file in order to reproduce this error.

Cheers

Frédéric

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-4-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages asymptote depends on:
ii  ghostscript                      10.0.0~dfsg-7
ii  imagemagick                      8:6.9.11.60+dfsg-1.3+b4
ii  imagemagick-6.q16 [imagemagick]  8:6.9.11.60+dfsg-1.3+b4
ii  libboost-filesystem1.74.0        1.74.0-17+b2
ii  libc6                            2.36-6
ii  libcurl3-gnutls                  7.86.0-2
ii  libfftw3-double3                 3.3.8-2
ii  libgc1                           1:8.2.2-3
ii  libgcc-s1                        12.2.0-9
ii  libgl1                           1.5.0-1
ii  libglew2.2                       2.2.0-4+b1
ii  libglut3.12                      3.4.0-1
ii  libglx0                          1.5.0-1
ii  libgsl27                         2.7.1+dfsg-3+b1
ii  libreadline8                     8.2-1.2
ii  libsigsegv2                      2.14-1
ii  libstdc++6                       12.2.0-9
ii  libtinfo6                        6.3+20220423-2
ii  libtirpc3                        1.3.3+ds-1
ii  python3                          3.10.6-3
ii  tex-common                       6.18
ii  texlive-binaries                 2022.20220321.62855-4+b1
ii  texlive-latex-base               2022.20221123-1
ii  texlive-plain-generic            2022.20221123-1
ii  texlive-pstricks                 2022.20221123-1
ii  xdg-utils                        1.1.3-4.1
ii  zlib1g                           1:1.2.13.dfsg-1

Versions of packages asymptote recommends:
ii  asymptote-doc  2.83+ds-1

Versions of packages asymptote suggests:
pn  asymptote-x11  <none>

-- no debconf information
import three;

currentprojection=orthographic(1,0,0);
currentlight=White;

size(6cm);

triple b1 = (1, 0, 0);
triple b2 = (.31, .95, 0);
triple b3 = (.4, .5, 0.76);

triple a1 = cross(b2, b3);
triple a2 = cross(b3, b1);
triple a3 = cross(b1, b2);

// orthonormal coordinates
draw(Label("$\vec{x}$", 1, S), O--(2*X), gray, Arrow3());
draw(Label("$\vec{y}$", 1), O--(2*Y), gray, Arrow3());
draw(Label("$\vec{z}$", 1), O--(2*Z), gray, Arrow3());

// real space
draw(Label("$\vec{b_1}$", 1, E), O--b1, blue, Arrow3());
draw(Label("$\vec{b_2}$", 1), O--b2, red, Arrow3());
draw(Label("$\vec{b_3}$", 1), O--b3, green, Arrow3());

// reciprocal space
draw(Label("$\vec{a_1}$", 1), O--a1, cyan, Arrow3());
draw(Label("$\vec{b_2}$", 1), O--a2, magenta, Arrow3());
draw(Label("$\vec{c_3}$", 1), O--a3, yellow, Arrow3());

Reply to: