Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. 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#67507 - [texlive-bin]: latexindent not work due to missing dependencies

Attached to Project: Arch Linux
Opened by Jitao Lu (dianlujitao) - Thursday, 06 August 2020, 09:33 GMT
Last edited by freswa (frederik) - Sunday, 13 September 2020, 15:43 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Various packages are required for latexindent to work, but not listed in dependencies, the following ones are what I found, along with the corresponding errors when running the command.

# perl-log-log4perl

Can't locate Log/Log4perl.pm in @INC (you may need to install the Log::Log4perl module) (@INC contains: /usr/share/texmf-dist/scripts/latexindent /usr/lib/perl5/5.32/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.32/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.32/core_perl /usr/share/perl5/core_perl) at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm line 22.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm line 22.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 25.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 25.
Compilation failed in require at /usr/bin/latexindent line 27.
BEGIN failed--compilation aborted at /usr/bin/latexindent line 27.

# perl-log-dispatch

Can't locate Log/Dispatch/File.pm in @INC (you may need to install the Log::Dispatch::File module) (@INC contains: /usr/share/texmf-dist/scripts/latexindent /usr/lib/perl5/5.32/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.32/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.32/core_perl /usr/share/perl5/core_perl) at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm line 24.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm line 24.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 25.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 25.
Compilation failed in require at /usr/bin/latexindent line 27.
BEGIN failed--compilation aborted at /usr/bin/latexindent line 27.

# perl-namespace-autoclean

Can't locate namespace/autoclean.pm in @INC (you may need to install the namespace::autoclean module) (@INC contains: /usr/share/texmf-dist/scripts/latexindent /usr/lib/perl5/5.32/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.32/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.32/core_perl /usr/share/perl5/core_perl) at /usr/share/perl5/vendor_perl/Log/Dispatch/Types.pm line 5.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Log/Dispatch/Types.pm line 5.
Compilation failed in require at /usr/share/perl5/vendor_perl/Log/Dispatch/File.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Log/Dispatch/File.pm line 9.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm line 24.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm line 24.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 25.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 25.
Compilation failed in require at /usr/bin/latexindent line 27.
BEGIN failed--compilation aborted at /usr/bin/latexindent line 27.

# perl-specio

Can't locate Specio/Exporter.pm in @INC (you may need to install the Specio::Exporter module) (@INC contains: /usr/share/texmf-dist/scripts/latexindent /usr/lib/perl5/5.32/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.32/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.32/core_perl /usr/share/perl5/core_perl) at /usr/share/perl5/core_perl/parent.pm line 16.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Log/Dispatch/Types.pm line 9.
Compilation failed in require at /usr/share/perl5/vendor_perl/Log/Dispatch/File.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Log/Dispatch/File.pm line 9.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm line 24.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm line 24.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 25.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 25.
Compilation failed in require at /usr/bin/latexindent line 27.
BEGIN failed--compilation aborted at /usr/bin/latexindent line 27.

# perl-eval-closure

Can't locate Eval/Closure.pm in @INC (you may need to install the Eval::Closure module) (@INC contains: /usr/share/texmf-dist/scripts/latexindent /usr/lib/perl5/5.32/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.32/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.32/core_perl /usr/share/perl5/core_perl) at /usr/share/perl5/vendor_perl/Specio/Role/Inlinable.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Specio/Role/Inlinable.pm line 8.
Compilation failed in require at /usr/share/perl5/vendor_perl/Specio/Coercion.pm line 12.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Specio/Coercion.pm line 12.
Compilation failed in require at /usr/share/perl5/vendor_perl/Specio/Declare.pm line 11.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Specio/Declare.pm line 11.
Compilation failed in require at /usr/share/perl5/vendor_perl/Log/Dispatch/Types.pm line 13.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Log/Dispatch/Types.pm line 13.
Compilation failed in require at /usr/share/perl5/vendor_perl/Log/Dispatch/File.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Log/Dispatch/File.pm line 9.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm line 24.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm line 24.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 25.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 25.
Compilation failed in require at /usr/bin/latexindent line 27.
BEGIN failed--compilation aborted at /usr/bin/latexindent line 27.

# perl-params-validationcompiler

Can't locate Params/ValidationCompiler.pm in @INC (you may need to install the Params::ValidationCompiler module) (@INC contains: /usr/share/texmf-dist/scripts/latexindent /usr/lib/perl5/5.32/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.32/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.32/core_perl /usr/share/perl5/core_perl) at /usr/share/perl5/vendor_perl/Log/Dispatch/File.pm line 10.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Log/Dispatch/File.pm line 10.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm line 24.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm line 24.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 25.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 25.
Compilation failed in require at /usr/bin/latexindent line 27.
BEGIN failed--compilation aborted at /usr/bin/latexindent line 27.

# perl-yaml-tiny

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.32/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.32/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.32/core_perl /usr/share/perl5/core_perl) at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/GetYamlSettings.pm line 20.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/GetYamlSettings.pm line 20.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm line 25.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm line 25.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 25.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 25.
Compilation failed in require at /usr/bin/latexindent line 27.
BEGIN failed--compilation aborted at /usr/bin/latexindent line 27.

# perl-file-homedir

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.32/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.32/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.32/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/LogFile.pm line 25.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm line 25.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 25.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 25.
Compilation failed in require at /usr/bin/latexindent line 27.
BEGIN failed--compilation aborted at /usr/bin/latexindent line 27.

# perl-unicode-linebreak

Can't locate Unicode/GCString.pm in @INC (you may need to install the Unicode::GCString module) (@INC contains: /usr/share/texmf-dist/scripts/latexindent /usr/lib/perl5/5.32/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.32/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.32/core_perl /usr/share/perl5/core_perl) at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/AlignmentAtAmpersand.pm line 20.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/AlignmentAtAmpersand.pm line 20.
Compilation failed in require at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 38.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 38.
Compilation failed in require at /usr/bin/latexindent line 27.
BEGIN failed--compilation aborted at /usr/bin/latexindent line 27.
This task depends upon

Closed by  freswa (frederik)
Sunday, 13 September 2020, 15:43 GMT
Reason for closing:  Duplicate
Additional comments about closing:  FS#60210
Comment by T. Baumann (dtbaumann) - Sunday, 09 August 2020, 11:15 GMT
Not quite sure, but it seems that latexindent is not in texlive-bin but in texlive-core and has tons of dependencies. There is a meta-package which installs those.

https://aur.archlinux.org/packages/texlive-latexindent-meta/
Comment by Jitao Lu (dianlujitao) - Sunday, 09 August 2020, 12:00 GMT
Yes it's in texlive-core, sorry for the copypasta mistake. I was not aware of the metapackage before since it's not documented elsewhere. I'm fine with using it, but would these dependencies be added to texlive-core? They're already in the official repository except perl-log-dispatch.
Comment by Jendrik (corvus_192) - Wednesday, 09 September 2020, 12:59 GMT

Loading...