Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78685 - [texlive-bin] latexindent is broken after texlive-bin-2023.66984-2

Attached to Project: Arch Linux
Opened by Nick Ponomarev (WoWaster) - Friday, 02 June 2023, 07:21 GMT
Last edited by Antonio Rojas (arojas) - Friday, 02 June 2023, 08:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After the update to texlive-bin-2023.66984-2 latexindent fails to run with the following error:
```
Can't locate LatexIndent/Document.pm in @INC (you may need to install the LatexIndent::Document 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/bin/latexindent line 27.
BEGIN failed--compilation aborted at /usr/bin/latexindent line 27.
```

Steps to reproduce:
1. run `latexindent`

It seems to me that error appeared after move from texlive-core to texlive-bin. In texlive-core-2023.66587-2 full list of latexindent files was
```
usr/bin/latexindent
usr/share/texmf-dist/scripts/latexindent/
usr/share/texmf-dist/scripts/latexindent/LatexIndent/
usr/share/texmf-dist/scripts/latexindent/LatexIndent/AlignmentAtAmpersand.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Arguments.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/BackUpFileProcedure.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/BlankLines.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Braces.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Check.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Command.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/DoubleBackSlash.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Else.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Environment.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/FileContents.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/FileExtension.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/GetYamlSettings.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Heading.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/HiddenChildren.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/HorizontalWhiteSpace.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/IfElseFi.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Indent.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Item.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/KeyEqualsValuesBraces.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Lines.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Logger.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/MandatoryArgument.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/ModifyLineBreaks.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/NamedGroupingBracesBrackets.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/OptionalArgument.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Preamble.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Replacement.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/RoundBrackets.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Sentence.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Special.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Switches.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Tokens.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/TrailingComments.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/UnNamedGroupingBracesBrackets.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Verbatim.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Version.pm
usr/share/texmf-dist/scripts/latexindent/LatexIndent/Wrap.pm
usr/share/texmf-dist/scripts/latexindent/defaultSettings.yaml
usr/share/texmf-dist/scripts/latexindent/latexindent.pl
```
but in texlive-bin-2023.66984-3 it is only
```
usr/bin/latexindent
usr/share/texmf-dist/scripts/latexindent/
usr/share/texmf-dist/scripts/latexindent/latexindent.pl
```
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 02 June 2023, 08:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  texlive-core 2023.66594-5

Loading...