Bug 250320 - print/texlive-base: latexindent is missing RUN_DEPENDS: Can't locate YAML/Tiny.pm in @INC (you may need to install the YAML::Tiny module)
Summary: print/texlive-base: latexindent is missing RUN_DEPENDS: Can't locate YAML/Tin...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mateusz Piotrowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-13 13:40 UTC by Mateusz Piotrowski
Modified: 2020-11-09 10:18 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Piotrowski freebsd_committer freebsd_triage 2020-10-13 13:40:31 UTC
It looks like the latexindent script from print/texlive-base is missing some runtime Perl modules:

Can't locate YAML/Tiny.pm in @INC (you may need to install the YAML::Tiny module) (@INC contains: /usr/local/lib/perl5/site_perl/mach/5.32 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.32/mach /usr/local/lib/perl5/5.32) at /usr/local/bin/latexindent line 39.
BEGIN failed--compilation aborted at /usr/local/bin/latexindent line 39.
Comment 1 Mateusz Piotrowski freebsd_committer freebsd_triage 2020-10-13 13:45:21 UTC
It looks like it is missing at least those two dependencies:

p5-YAML-Tiny
p5-File-HomeDir


After they are installed, the script is able to do some work. I am not sure if those are all the needed dependencies.
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-11-09 10:17:42 UTC
A commit references this bug:

Author: 0mp
Date: Mon Nov  9 10:16:52 UTC 2020
New revision: 554704
URL: https://svnweb.freebsd.org/changeset/ports/554704

Log:
  Add two runtime dependencies for the latexindent script

  Perhaps it would be better if we created a new port option
  (e.g., LINKED_SCRIPTS) and used LINKED_SCRIPTS_RUN_DEPENDS
  instead.

  PR:		250320
  Approved by:	maintainer timeout

Changes:
  head/print/texlive-base/Makefile