More shebangfix problems with ports

Jochen Neumeister joneum at bsdproject.de
Tue Apr 18 09:36:14 UTC 2017


Hi Rainer,


Am 18.04.2017 um 11:27 schrieb Rainer Hurling:
> After the shebang rules where intensified, many ports have been fixed 
> already. Many thanks for that!
>
>
> For me, on 12.0-CURRENT, at least lang/go and www/libxul have non 
> fixed shebangs until now:
>
>
> lang/go:
> Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 
> 'go/lib/time/update.bash'
> Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 
> 'go/misc/benchcmp'
> Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 
> 'go/misc/nacl/go_nacl_386_exec'
> Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 
> 'go/misc/nacl/go_nacl_amd64p32_exec'
> Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 
> 'go/misc/nacl/go_nacl_arm_exec'
> Error: '/bin/rc' is an invalid shebang you need USES=shebangfix for 
> 'go/src/all.rc'
> Error: '/bin/rc' is an invalid shebang you need USES=shebangfix for 
> 'go/src/clean.rc'
> Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 
> 'go/src/cmd/dist/mkdeps.bash'
> Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 
> 'go/src/cmd/go/mkalldocs.sh'
> Error: '/bin/rc' is an invalid shebang you need USES=shebangfix for 
> 'go/src/make.rc'
> Error: '/usr/bin/perl' is an invalid shebang you need USES=shebangfix 
> for 'go/src/net/http/cgi/testdata/test.cgi'
> Error: '/usr/bin/perl' is an invalid shebang you need USES=shebangfix 
> for 'go/src/regexp/syntax/make_perl_groups.pl'
> Error: '/bin/rc' is an invalid shebang you need USES=shebangfix for 
> 'go/src/run.rc'
For lang/go look at this patch: 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218702

I've tested it, and it works fine.
>
>
> www/libxul:
> Error: '/usr/bin/env python' is an invalid shebang you need 
> USES=shebangfix for 'lib/libxul/sdk/bin/xpidl.py'
> Error: '/usr/bin/env python' is an invalid shebang you need 
> USES=shebangfix for 'lib/libxul/sdk/bin/xpt.py'
> Warning: Bad symlink '/usr/local/bin/xulrunner' pointing to an 
> absolute pathname '/usr/local/lib/libxul/xulrunner'
> Warning: Bad symlink '/usr/local/lib/libxul/lib' pointing to an 
> absolute pathname '/usr/local/lib/libxul/sdk/lib'
> Warning: Bad symlink '/usr/local/lib/libxul/bin' pointing to an 
> absolute pathname '/usr/local/lib/libxul'
> Warning: Bad symlink '/usr/local/lib/libxul/include' pointing to an 
> absolute pathname '/usr/local/include/libxul'
> Warning: Bad symlink '/usr/local/lib/libxul/idl' pointing to an 
> absolute pathname '/usr/local/share/idl/libxul'
>
Cheers
Jochen



More information about the freebsd-ports mailing list