More shebangfix problems with ports

Kevin Oberman rkoberman at gmail.com
Tue Apr 18 17:02:05 UTC 2017


On Tue, Apr 18, 2017 at 4:31 AM, Rainer Hurling <rhurlin at gwdg.de> wrote:

> Hi Jochen,
>
> Am 18.04.2017 um 11:35 schrieb Jochen Neumeister:
>
>> 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/bugzi
>> lla/show_bug.cgi?id=218702
>>
>> I've tested it, and it works fine.
>>
>
> Thanks for the hint to the patch and for your testing.
>
> Now I am irritated, why my system complains about shebang problems. I will
> investigate a bit more ...
>
>
>
>
>>>
>>> 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
>>
>
These errors only show up if "DEVELOPER=yes" is defined,usually in
/etc/make.conf. If you are building or updating a port, you really should
have this as it runs a number of additional QA tests.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman at gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


More information about the freebsd-ports mailing list