Bug 239517

Summary: print/texlive-docs: install failure: Error: '/usr/bin/perl' is an invalid shebang you need USES=shebangfix
Product: Ports & Packages Reporter: O. Hartmann <ohartmann>
Component: Individual Port(s)Assignee: Hiroki Sato <hrs>
Status: New ---    
Severity: Affects Many People CC: jcfyecrayz, ohartmann
Priority: --- Flags: bugzilla: maintainer-feedback? (hrs)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 218924    
Bug Blocks:    

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)?