Package: texlive-pictures
Version: 2026.20260527-3
Severity: normal
Tags: upstream patch

Hi,

spath3.sty in Debian sid has a simple, known bug[1] that causes
compilation errors; this bug can be fixed using the attached patch.
One can trigger it by compiling this:

  \documentclass{article}
  \usepackage{spath3}
  \begin{document}
  Hello.
  \end{document}

which fails with:

! LaTeX Error: Variant form same as base form '\spath_maybe_split_curve:NNn'.

For immediate help type H <return>.
 ...                                              
                                                  
l.3104 ...\spath_maybe_split_curve:NNn {NNn, NNV }
                                                  
?

Thanks for your work!

Regards

[1] https://github.com/loopspace/spath3/issues/37

-- Package-specific info:
IMPORTANT INFORMATION: We will only consider bug reports concerning
the packaging of TeX Live as relevant. If you have problems with
combination of packages in a LaTeX document, please consult your
local TeX User Group, the comp.text.tex user group, the author of
the original .sty file, or any other help resource. 

In particular, bugs that are related to up-upstream, i.e., neither
Debian nor TeX Live (upstream), but the original package authors,
will be closed immediately.

   *** The Debian TeX Team is *not* a LaTeX Help Desk ***

If you report an error when running one of the TeX-related binaries 
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report.

Please run your example with
        (pdf)latex -recorder ...
(or any other program that supports -recorder) and send us the generated
file with the extension .fls, it lists all the files loaded during
the run and can easily explain problems induced by outdated files in
your home directory.

Don't forget to also include minimal examples of other files that are 
needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!

If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at

http://www.minimalbeispiel.de/mini-en.html (english)

or 

http://www.minimalbeispiel.de/mini.html (german)

##################################
minimal input file


##################################
other files

######################################
 List of ls-R files

-rw-r--r-- 1 flo users 3308 Aug  3  2023 /home/flo/texmf/ls-R
-rw-rw-r-- 1 root staff 22368 Jul  9  2021 /usr/local/share/texmf/ls-R
-rw-r--r-- 1 root root 4390 May 30 09:27 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Dec  6 00:37 /usr/share/texmf/ls-R -> 
/var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 May 29 23:21 /usr/share/texlive/texmf-dist/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 May 29 23:21 /usr/share/texlive/texmf-dist/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVEDIST
######################################
 Config files
-rw-r--r-- 1 root root 904 Dec  6 10:11 /etc/texmf/web2c/texmf.cnf
lrwxrwxrwx 1 root root 33 May 29 23:21 /usr/share/texmf/web2c/fmtutil.cnf -> 
/var/lib/texmf/fmtutil.cnf-DEBIAN
-rw-rw-r-- 1 root staff 486 May 22  2018 /usr/local/share/texmf/web2c/updmap.cfg
-rw-r--r-- 1 root root 5126 May 30 09:25 
/var/lib/texmf/tex/generic/config/language.dat
######################################
 Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root 283 Jan 28  2020 mktex.cnf
-rw-r--r-- 1 root root 904 Dec  6 10:11 texmf.cnf
######################################
 md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c  /etc/texmf/texmf.d/00debian.cnf
923558ff3dd5426f457905cae594a426  
/etc/texmf/texmf.d/00local-increase-memory-size.cnf

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

Kernel: Linux 7.0.10+deb14-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 texlive-pictures depends on:
ii  python3                    3.13.9-3+b1
ii  tex-common                 6.20
ii  texlive-base               2026.20260527-3
ii  texlive-binaries           2026.20260303.78225+ds-4
ii  texlive-latex-recommended  2026.20260527-3

Versions of packages texlive-pictures recommends:
ii  ruby  1:3.3+b1
ii  tk    8.6.18

Versions of packages texlive-pictures suggests:
pn  dot2tex               <none>
pn  prerex                <none>
ii  texlive-latex-extra   2026.20260527-1
ii  texlive-pictures-doc  2026.20260527-3
pn  vprerex               <none>

Versions of packages tex-common depends on:
ii  bzip2  1.0.8-6+b2
ii  ucf    3.0053

Versions of packages tex-common suggests:
ii  debhelper  13.31

Versions of packages texlive-pictures is related to:
ii  tex-common        6.20
ii  texlive-binaries  2026.20260303.78225+ds-4

-- debconf information:
  tex-common/check_texmf_missing:
  tex-common/check_texmf_wrong:
--- usr/share/texlive/texmf-dist/tex/latex/spath3/spath3.sty    2024-05-31 
23:39:19.000000000 +0200
+++ usr/share/texlive/texmf-dist/tex/latex/spath3/spath3.sty.fixed      
2026-06-03 15:51:47.641975932 +0200
@@ -3101,7 +3101,7 @@
   \tl_set:Nx #2 {\tl_item:Nn \g__spath_output_tl {2}}
   \tl_gclear:N \g__spath_output_tl
 }
-\cs_generate_variant:Nn \spath_maybe_split_curve:NNn {NNn, NNV }
+\cs_generate_variant:Nn \spath_maybe_split_curve:NNn { NNV }
 \cs_new_protected_nopar:Npn \spath_maybe_gsplit_curve:NNn #1#2#3
 {
   \__spath_maybe_split_curve:n {#3}
@@ -3109,7 +3109,7 @@
   \tl_gset:Nx #2 {\tl_item:Nn \g__spath_output_tl {2}}
   \tl_gclear:N \g__spath_output_tl
 }
-\cs_generate_variant:Nn \spath_maybe_gsplit_curve:NNn {NNn, NNV}
+\cs_generate_variant:Nn \spath_maybe_gsplit_curve:NNn { NNV }
 \cs_new_protected_nopar:Npn \__spath_split_curves:n #1
 {
   \group_begin:

Reply via email to