Bug 239517 - print/texlive-docs: install failure: Error: '/usr/bin/perl' is an invalid shebang you need USES=shebangfix
Summary: print/texlive-docs: install failure: Error: '/usr/bin/perl' is an invalid she...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Tex Mailing List (Nobody)
URL:
Keywords:
Depends on: 218924
Blocks:
  Show dependency treegraph
 
Reported: 2019-07-29 19:26 UTC by O. Hartmann
Modified: 2022-03-04 19:16 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (hrs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2019-07-29 19:26:21 UTC
Updating and/or installing port print/texlive-docs fails on recent CURRENT (FreeBSD 13.0-CURRENT #206 r350393: Sun Jul 28 22:20:34 CEST 2019 amd64) and ports tree revision 507582 with the error:

[...]
====> Compressing man pages (compress-man)
====> Running Q/A tests (stage-qa)
Error: '/usr/bin/perl' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/latex/ucs/makeunidef.pl'
Error: '/usr/bin/perl' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/latex/ucs/discovermacro.pl'
Error: '/usr/bin/perl' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/latex/ucs/latexout.pl'
Error: '/usr/bin/perl' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/latex/ucs/unsupported/u2ps'
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/latex/isodoc/listkeys'
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/latex/latex-veryshortguide/build'
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/latex/bardiag/example/compile.all'
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/latex/presentations-en/runAll'
Error: '/usr/bin/perl' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/latex/latex-web-companion/ch7/sgmlspl.pl'
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/latex/ctable/inst'
Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/latex/ejpecp/mgetmref.py'
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/latex/hepnames/mkmacrotables'
Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/latex/aramaic-serto/serto.py'
Error: '/usr/bin/bash' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/latex/rubik/example-rot1.sh'
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/latex/seminar/run.sh'
Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/latex/thuthesis/zhfonts.py'
Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/latex/scanpages/replicate.py'
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/support/latexdiff/contrib/latexdiff-wrap'
Error: '/usr/bin/perl' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/support/gustprog/porzadki.pl'
Error: '/usr/bin/perl' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/generic/pst-mirror/createEPS/scripts/filtre.pl'
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/generic/pst-spirograph/animation/runall.sh'
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/cstex/cspsfonts-gen/mkfc'
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/cstex/cspsfonts-gen/mkf'
Error: '/usr/bin/fontforge' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/fonts/berenisadf/ff-ybd.pe'
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/fonts/drm/allfonts.sh'
Error: '/usr/bin/fontforge' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/fonts/gnu-freefont/tools/report/kernclasses.py'
Error: '/usr/bin/python' is an invalid shebang you need USES=shebangfix for 'share/texmf-dist/doc/fonts/gnu-freefont/tools/test/ranges/Arabic/arabic_test.py'

... and so on
[...]

This happens on several CURRENT systems with ports installed via make (no poudriere overkill).
Comment 1 John Hein 2019-08-27 16:36:05 UTC
(In reply to O. Hartmann from comment #0)
I think this just a duplicate of bug 218924 (rather than a blocking dependency).

Did you try attachment 200665 [details] (the patch attached to that bug)?
Comment 2 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-19 22:53:17 UTC
TeX system has been updated to 2021. Please check if the issue still persists after update.