texlive-acronyms is missing dependencies

  • Done
  • quality assurance status badge
Details
5 participants
  • Daniel Meißner
  • Daniel Meißner
  • Josselin Poiret
  • Nicolas Goaziou
  • Bruno Victal
Owner
unassigned
Submitted by
Daniel Meißner
Severity
normal
D
D
Daniel Meißner wrote on 12 Sep 2023 11:15
(address . bug-guix@gnu.org)
871qf3ah28.fsf@ruhr-uni-bochum.de
Hi Guix!

The following MWE does not compile with pdflatex using the modular
texlive packages:

Toggle snippet (7 lines)
\documentclass{article}
\usepackage{acronym}

\begin{document}
\end{document}

It yields the following:

Toggle snippet (18 lines)
$ guix shell texlive-scheme-basic texlive-acronym -- pdflatex acronym-mwe.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/GNU Guix) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./acronym-mwe.tex
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2023-02-22> (/gnu/store/v4m2fj7xhpfs7k5l97p238j1bc2ccppf-profile/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2022/07/02 v1.4n Standard LaTeX document class
(/gnu/store/v4m2fj7xhpfs7k5l97p238j1bc2ccppf-profile/share/texmf-dist/tex/latex/base/size10.clo)) (/gnu/store/v4m2fj7xhpfs7k5l97p238j1bc2ccppf-profile/share/texmf-dist/tex/latex/acronym/acronym.sty

! LaTeX Error: File `suffix.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:

I think this is due to missing dependencies suffix and xstring which are
required to be installed for acronym to work. On page 10 of the package
docs [1] it reads

\RequiredPackage{suffix, xstring}


I can provide a patch if desired to add texlive-xstring and
texlive-bigfoot to texlive-acronym’s (propagated-)inputs. The suffix
package appears to be bundled with texlive-bigfoot. Do we want to
unbundle it or simply add texlive-bigfoot to the (propagated-)inputs?

Best

--
Daniel
N
N
Nicolas Goaziou wrote on 13 Sep 2023 14:01
(name . Daniel Meißner via Bug reports for GNU Guix)(address . bug-guix@gnu.org)
87zg1qth8f.fsf@nicolasgoaziou.fr
Hello,

Daniel Meißner via Bug reports for GNU Guix <bug-guix@gnu.org> writes:

Toggle quote (46 lines)
> The following MWE does not compile with pdflatex using the modular
> texlive packages:
>
> --8<---------------cut here---------------start------------->8---
> \documentclass{article}
> \usepackage{acronym}
>
> \begin{document}
> \end{document}
> --8<---------------cut here---------------end--------------->8---
>
>
> It yields the following:
>
> --8<---------------cut here---------------start------------->8---
> $ guix shell texlive-scheme-basic texlive-acronym -- pdflatex acronym-mwe.tex
> This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/GNU Guix) (preloaded format=pdflatex)
> restricted \write18 enabled.
> entering extended mode
> (./acronym-mwe.tex
> LaTeX2e <2022-11-01> patch level 1
> L3 programming layer <2023-02-22> (/gnu/store/v4m2fj7xhpfs7k5l97p238j1bc2ccppf-profile/share/texmf-dist/tex/latex/base/article.cls
> Document Class: article 2022/07/02 v1.4n Standard LaTeX document class
> (/gnu/store/v4m2fj7xhpfs7k5l97p238j1bc2ccppf-profile/share/texmf-dist/tex/latex/base/size10.clo)) (/gnu/store/v4m2fj7xhpfs7k5l97p238j1bc2ccppf-profile/share/texmf-dist/tex/latex/acronym/acronym.sty
>
> ! LaTeX Error: File `suffix.sty' not found.
>
> Type X to quit or <RETURN> to proceed,
> or enter new name. (Default extension: sty)
>
> Enter file name:
> --8<---------------cut here---------------end--------------->8---
>
> I think this is due to missing dependencies suffix and xstring which are
> required to be installed for acronym to work. On page 10 of the package
> docs [1] it reads
>
> \RequiredPackage{suffix, xstring}
>
> 1: https://ftp.gwdg.de/pub/ctan/macros/latex/contrib/acronym/acronym.pdf
>
> I can provide a patch if desired to add texlive-xstring and
> texlive-bigfoot to texlive-acronym’s (propagated-)inputs. The suffix
> package appears to be bundled with texlive-bigfoot. Do we want to
> unbundle it or simply add texlive-bigfoot to the (propagated-)inputs?

We use dependencies specified in TeX Live itself (as in "texlive.tlpdb"
file), for sanity reasons. There are 4000+ packages; I think it is not
reasonable to grep through their output to find the unspecified
dependencies. It will also be terrible when using some updater, now this
tool can remove propagated inputs.

Most dependencies issues are resolved installing collections of
packages, such as `texlive-collection-latexrecommended'. As a data
point, I only resolve dependencies "manually" when they would otherwise
require me to install `texlive-collection-latexextra', which is just too
big.

AFAIC, I suggest to not fix this, as this is not worth the trouble.

Regards,
--
Nicolas Goaziou
D
D
Daniel Meißner wrote on 13 Sep 2023 23:21
(name . Nicolas Goaziou)(address . mail@nicolasgoaziou.fr)(address . 65889@debbugs.gnu.org)
87sf7h93bx.fsf@ruhr-uni-bochum.de
Hi Nicolas,

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

Toggle quote (5 lines)
> Hello,
>
> Daniel Meißner via Bug reports for GNU Guix <bug-guix@gnu.org> writes:
>

[...]

Toggle quote (19 lines)
>> I can provide a patch if desired to add texlive-xstring and
>> texlive-bigfoot to texlive-acronym’s (propagated-)inputs. The suffix
>> package appears to be bundled with texlive-bigfoot. Do we want to
>> unbundle it or simply add texlive-bigfoot to the (propagated-)inputs?
>
> We use dependencies specified in TeX Live itself (as in "texlive.tlpdb"
> file), for sanity reasons. There are 4000+ packages; I think it is not
> reasonable to grep through their output to find the unspecified
> dependencies. It will also be terrible when using some updater, now this
> tool can remove propagated inputs.
>
> Most dependencies issues are resolved installing collections of
> packages, such as `texlive-collection-latexrecommended'. As a data
> point, I only resolve dependencies "manually" when they would otherwise
> require me to install `texlive-collection-latexextra', which is just too
> big.
>
> AFAIC, I suggest to not fix this, as this is not worth the trouble.

I see, makes sense. I am closing this issues then. Thanks for your
fast reply and your hint to use collections instead. I sometimes make a
game out of the most minimal Texlive manifest.scm for my TeX writings :D

Best

--
Daniel
D
D
Daniel Meißner wrote on 13 Sep 2023 23:24
control message for bug #65889
(address . control@debbugs.gnu.org)
87r0n1936g.fsf@ruhr-uni-bochum.de
close 65889
quit
J
J
Josselin Poiret wrote on 14 Sep 2023 15:12
Re: bug#65889: texlive-acronyms is missing dependencies
(address . daniel.meissner-i4k@rub.de)
87y1h83nmm.fsf@jpoiret.xyz
Hi Nicolas,

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

Toggle quote (6 lines)
> We use dependencies specified in TeX Live itself (as in "texlive.tlpdb"
> file), for sanity reasons. There are 4000+ packages; I think it is not
> reasonable to grep through their output to find the unspecified
> dependencies. It will also be terrible when using some updater, now this
> tool can remove propagated inputs.

Couldn't we report those missing dependencies upstream then?

Best,
--
Josselin Poiret
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmUDBqEQHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5Fhcaihf6C/0adXPfPJWcbZnK8R25tVwlxhzIiNwbeup8
sn26FUsCFYMPlY6q/U3igAxEUjp2sW73aoVgMaR6lSVMt7Gs+xdj5jzXQ4BgolVD
yyzezUljkMWAdYk6jnvf8PV8KLibEC4mUrW6hrJZOwU6yusptsP7h8OJMvS0EFzB
2P1eKEbNRIV2BeVd9kdgifSnk1qShS8fJqSZDwlhFCnAKjOj0ysZ/Q1zgyKAX34K
vckLOErYqu0jNz/pUi1vZR8FgOPAVlKA8eDQPxYPE8HnufL21iJtMcZCg9cXih5n
nfLbmPAHnzH9s4YvDLYMP72+jGeTMkJYpIv+/fWjPIrmmJ2YlEXqDCdTbnKUk6B8
VhVgapLCmz5Qzo1zzUgpMgVk5++ezyY9wGFTKU4Qibiq79XUii02f1l4A0HCgNtR
e9Zp70LCsHLW7H0cWGq6XmgjZWl6ZYfYB0nyDnm4epQ94JpLxxUFZpXxkskELsru
Np7man/hS/j0Uw1vDF0kVmDn4fu8Wug=
=xztE
-----END PGP SIGNATURE-----

J
J
Josselin Poiret wrote on 14 Sep 2023 15:13
(address . daniel.meissner-i4k@rub.de)
87wmws3nk1.fsf@jpoiret.xyz
Hi Nicolas,

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

Toggle quote (6 lines)
> We use dependencies specified in TeX Live itself (as in "texlive.tlpdb"
> file), for sanity reasons. There are 4000+ packages; I think it is not
> reasonable to grep through their output to find the unspecified
> dependencies. It will also be terrible when using some updater, now this
> tool can remove propagated inputs.

Couldn't we report those missing dependencies upstream then?

Best,
--
Josselin Poiret
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmUDBv4QHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5FhcaigHlC/0QlteRolnKQJgNA/NJvVZ+dEcwPk5ec7y1
9MYWHVYKNjEdxH/JgAW4Yr2r58oYo5K/8s7mH9Goc7HZIIlq3T9RqgtPZTXNN31U
Q2NEuimW3fFIYO+uyCJVJJHT49RDwToOMTbSTCkP0/BULxZR1ew9nite1eq0RpHv
zurkrZ0Fe62GHz7wKhYMeD0ghXJUtlcJytAhucrmF2n99yThV0Q/OD478CDkpvmF
YSdem+rjEfouxaiO2gONXa5qKEQa0wIxalK/gJgpXnjA5PdDg68T7DAfwNN+j9vP
ycPAhuATYNeR9D7hRTLZO4OuiX7JFNJH2Of2ILblP1V/WpxGd1m7NQFCkfhe3NVT
QiBYbDrIs8Kkv3mSY7r8aB/CQc22B6rNZUFOCJYassVsOZLLqt+jH5WvzKLM7b4+
LLuWeharPn69nFtyd0ycHgnkFldDzhHQZm03uPvYKsygWKHkQB5UnHcCPsB+uF2i
KfVPp8rNmTLPrJGmtelCSLkQ6n5MK0A=
=cQ0E
-----END PGP SIGNATURE-----

N
N
Nicolas Goaziou wrote on 14 Sep 2023 18:53
(name . Josselin Poiret via Bug reports for GNU Guix)(address . bug-guix@gnu.org)
87r0n0u260.fsf@nicolasgoaziou.fr
Hello,

Josselin Poiret via Bug reports for GNU Guix <bug-guix@gnu.org> writes:

Toggle quote (10 lines)
> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>
>> We use dependencies specified in TeX Live itself (as in "texlive.tlpdb"
>> file), for sanity reasons. There are 4000+ packages; I think it is not
>> reasonable to grep through their output to find the unspecified
>> dependencies. It will also be terrible when using some updater, now this
>> tool can remove propagated inputs.
>
> Couldn't we report those missing dependencies upstream then?

That's a good idea, indeed. I'm not volunteering to do it, though :)

Regards,
--
Nicolas Goaziou
B
B
Bruno Victal wrote on 1 Oct 2023 18:01
(name . Josselin Poiret)(address . dev@jpoiret.xyz)
71690a2f-e560-4b2d-a57c-7ffb61cca148@makinata.eu
Hi Josselin,

On 2023-09-14 14:13, Josselin Poiret via Bug reports for GNU Guix wrote:
Toggle quote (2 lines)
> Couldn't we report those missing dependencies upstream then?

This can be done, in theory it's nothing too complicated and all it takes
is simply add a DEPENDS.txt file to the repository.
If you're interested in doing this, see [1] and [2] for information.

As Nicolas has pointed out, it's untenable to do an exhaustive listing of
the dependencies so I'd recommend installing some typical collections first
such as `texlive-collection-latexrecommended' and only then report the
missing non-obvious dependencies for inclusion in a DEPENDS.txt to upstream.



--
Furthermore, I consider that nonfree software must be eradicated.

Cheers,
Bruno.
?