FS#78896 - [texlive-binextra] latexindent requires perl-yaml-tiny and perl-file-homedir, possibly others

Attached to Project: Arch Linux
Opened by Vedran Miletić (vedranmiletic) - Monday, 26 June 2023, 15:53 GMT
Last edited by Antonio Rojas (arojas) - Monday, 26 June 2023, 18:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Output:

$ latexindent myfile.tex
Can't locate YAML/Tiny.pm in @INC (you may need to install the YAML::Tiny module) (@INC contains: /usr/share/texmf-dist/scripts/latexindent /usr/lib/perl5/5.36/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.36/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.36/core_perl /usr/share/perl5/core_perl) at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/GetYamlSettings.pm line 22.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/GetYamlSettings.pm line 22.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Verbatim.pm line 23.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Verbatim.pm line 23.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Lines.pm line 23.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Lines.pm line 23.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 30.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 30.
Compilation failed in require at /usr/bin/latexindent line 27.
BEGIN failed--compilation aborted at /usr/bin/latexindent line 27.

$ latexindent myfile.tex
Can't locate File/HomeDir.pm in @INC (you may need to install the File::HomeDir module) (@INC contains: /usr/share/texmf-dist/scripts/latexindent /usr/lib/perl5/5.36/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.36/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.36/core_perl /usr/share/perl5/core_perl) at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/GetYamlSettings.pm line 24.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/GetYamlSettings.pm line 24.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Verbatim.pm line 23.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Verbatim.pm line 23.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Lines.pm line 23.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Lines.pm line 23.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 30.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 30.
Compilation failed in require at /usr/bin/latexindent line 27.
BEGIN failed--compilation aborted at /usr/bin/latexindent line 27.

It would be great if texlive-binextra depended on these Perl modules so they don't need to be installed manually.
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 26 June 2023, 18:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  texlive-binextra 2023.66594-15
Comment by Vedran Miletić (vedranmiletic) - Monday, 26 June 2023, 15:56 GMT
The full list of dependencies is here: https://aur.archlinux.org/packages/texlive-latexindent-meta

Maybe they can be added as optional?
Comment by Antonio Rojas (arojas) - Monday, 26 June 2023, 16:13 GMT
These and many other optdepends were left behind in texlive-bin when the scritps were moved out

Loading...