shebangfix problems with devel/llvm40 on 12.0-CURRENT

Rainer Hurling rhurlin at gwdg.de
Mon Apr 17 07:13:41 UTC 2017


On 12.0-CURRENT r316757 with recent ports system a got the following
built error:


[..snip..]
====> Compressing man pages (compress-man)
===>   Installing ldconfig configuration file
====> Running Q/A tests (stage-qa)
Error: '/usr/bin/env python' is an invalid shebang you need
USES=shebangfix for 'bin/lit40'
Error: '/usr/bin/env python' is an invalid shebang you need
USES=shebangfix for 'bin/llvm-lit40'
Error: '/usr/bin/env python' is an invalid shebang you need
USES=shebangfix for 'llvm40/bin/git-clang-format'
Error: '/usr/bin/env python' is an invalid shebang you need
USES=shebangfix for 'llvm40/bin/scan-view'
Error: '/usr/bin/env python' is an invalid shebang you need
USES=shebangfix for 'llvm40/bin/lit'
Error: '/usr/bin/env python' is an invalid shebang you need
USES=shebangfix for 'llvm40/bin/llvm-lit'
Error: '/usr/bin/env python' is an invalid shebang you need
USES=shebangfix for 'llvm40/share/clang/clang-format-diff.py'
Error: '/usr/bin/env python' is an invalid shebang you need
USES=shebangfix for 'llvm40/share/clang/clang-tidy-diff.py'
Error: '/usr/bin/env python' is an invalid shebang you need
USES=shebangfix for 'llvm40/share/clang/run-clang-tidy.py'
Error: '/usr/bin/env python' is an invalid shebang you need
USES=shebangfix for 'llvm40/share/clang/run-find-all-symbols.py'
Error: /usr/local/bin/FileCheck40 is linked to
/usr/local/lib/libtinfo.so.6 from devel/ncurses but it is not declared
as a dependency
Warning: you need USES+=ncurses
Error: /usr/local/llvm40/bin/lldb-server-4.0.0 is linked to
/usr/local/lib/libform.so.6 from devel/ncurses but it is not declared as
a dependency
Warning: you need USES+=ncurses
Error: /usr/local/llvm40/bin/lldb-server-4.0.0 is linked to
/usr/local/lib/libpanel.so.6 from devel/ncurses but it is not declared
as a dependency
Warning: you need USES+=ncurses
Error: /usr/local/llvm40/bin/lldb-server-4.0.0 is linked to
/usr/local/lib/libexecinfo.so.1 from devel/libexecinfo but it is not
declared as a dependency
Warning: you need USES+=execinfo
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/llvm40
[..snip..]


I think, this is because of the new requirements of shebang pathes?

Thanks for any help.


More information about the freebsd-ports mailing list