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

Bug#944916: asymptote: asymptote.sty uses `\RequirePackage[space]{grffile}' which crashes



Package: asymptote
Version: 2.60-1
Severity: important
Tags: patch

asymptote.sty has a line:

\RequirePackage[space]{grffile}

This requires the texlive-latex-extra package, which is not listed as
a dependency of asymptote, so without this being installed,
asymptote.sty will not run.

But actually.... the latest version of grffile.sty (for at least 2+
years), is just a stub file which loads graphicx.  And that is
compounded with the fact that the current version of grffile.sty is
broken: it cannot handle options (as found in texlive-latex-extra
2019.20191112-1) which causes asymptote to break too; that bug has
already been fixed upstream.

So since grffile no longer does anything, it would make sense to just
remove it from asymptote.sty, rather than introduce a dependency on
texlive-latex-extra.

Patch: delete line 199 of doc/asy-latex.dtx, which currently reads:

\RequirePackage[space]{grffile}

Best wishes,

   Julian

-- System Information:
Debian Release: bullseye/sid
  APT prefers stretch
    APT policy: (500, 'stretch'), (500, 'testing'), (500, 'stable')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

Kernel: Linux 5.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8), LANGUAGE=en_GB.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages asymptote depends on:
ii  freeglut3                        2.8.1-3+b1
ii  ghostscript                      9.27~dfsg-3.1
ii  imagemagick                      8:6.9.10.23+dfsg-2.1+b2
ii  imagemagick-6.q16 [imagemagick]  8:6.9.10.23+dfsg-2.1+b2
ii  install-info                     6.7.0.dfsg.2-5
ii  libc6                            2.29-3
ii  libfftw3-double3                 3.3.8-2
ii  libgc1c2                         1:7.6.4-0.4
ii  libgcc1                          1:9.2.1-19
ii  libgl1                           1.1.0-1+b1
ii  libglew2.1                       2.1.0-4+b1
ii  libglx0                          1.1.0-1+b1
ii  libgsl23                         2.5+dfsg-6+b1
ii  libreadline8                     8.0-3
ii  libsigsegv2                      2.12-2
ii  libstdc++6                       9.2.1-19
ii  libtinfo6                        6.1+20191019-1
ii  python3                          3.7.5-1
ii  tex-common                       6.12
ii  texlive-binaries                 2019.20190605.51237-3
ii  texlive-latex-base               2019.20191112-1
ii  texlive-plain-generic            2019.20191112-1
ii  texlive-pstricks                 2019.20191112-1
ii  xdg-utils                        1.1.3-1
ii  zlib1g                           1:1.2.11.dfsg-1+b1

Versions of packages asymptote recommends:
ii  asymptote-doc  2.60-1

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

-- no debconf information


Reply to: