Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#60712 closed defect (fixed)

Missing Unicode::GCString module for texlive 2019 latexindent

Reported by: jsalort (Julien Salort) Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: mojca (Mojca Miklavec), ddbrierton (Darren Brierton), michaellass (Michael Lass)
Port: texlive

Description (last modified by mf2k (Frank Schima))

The latexindent perl script included in TeXLive does not work on MacPorts because perl5.26 is missing the Unicode::GCString module.

$ /opt/local/bin/latexindent
Can't locate Unicode/GCString.pm in @INC (you may need to install the Unicode::GCString module) (@INC contains: /opt/local/share/texmf-texlive/scripts/latexindent /opt/local/lib/perl5/site_perl/5.26/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.26 /opt/local/lib/perl5/vendor_perl/5.26/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.26 /opt/local/lib/perl5/5.26/darwin-thread-multi-2level /opt/local/lib/perl5/5.26) at /opt/local/share/texmf-texlive/scripts/latexindent/LatexIndent/AlignmentAtAmpersand.pm line 20.
BEGIN failed--compilation aborted at /opt/local/share/texmf-texlive/scripts/latexindent/LatexIndent/AlignmentAtAmpersand.pm line 20.
Compilation failed in require at /opt/local/share/texmf-texlive/scripts/latexindent/LatexIndent/Document.pm line 37.
BEGIN failed--compilation aborted at /opt/local/share/texmf-texlive/scripts/latexindent/LatexIndent/Document.pm line 37.
Compilation failed in require at /opt/local/bin/latexindent line 27.
BEGIN failed--compilation aborted at /opt/local/bin/latexindent line 27.

However, I did not find a p5.26-unicode-gcstring port, althought it is mentionned in this old ticket: ticket:41227

If there is a unicode-gcstring port under another name, then it should be added to texlive dependencies.

Change History (8)

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Cc: drkp removed
Owner: set to drkp
Status: newassigned

comment:2 Changed 4 years ago by ddbrierton (Darren Brierton)

Cc: ddbrierton added

comment:3 Changed 4 years ago by drkp (Dan Ports)

Status: assignedaccepted

Have fixed this on my texlive2020 branch; will merge when that update is complete.

comment:4 Changed 4 years ago by drkp (Dan Ports)

Resolution: fixed
Status: acceptedclosed

Now merged.

comment:5 Changed 4 years ago by michaellass (Michael Lass)

There's still the same issue with texlive 2020. Seems like texlive-bin-extra should depend on p5.28-unicode-linebreak as well.

comment:6 Changed 4 years ago by michaellass (Michael Lass)

Cc: michaellass added

comment:7 Changed 4 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:8 Changed 4 years ago by Michael Lass <michael.lass@…>

In 8314eeace413406e4263c14ee92363e8447dc520/macports-ports (master):

texlive-bin-extra: add p5.28-unicode-linebreak dependency

latexindent requires Unicode/GCString.pm which is part of
p5.28-unicode-linebreak.

See: #60712

Note: See TracTickets for help on using tickets.