Failing buildword due to execution permission (with fix)

Bryan Drewery bdrewery at FreeBSD.org
Tue Nov 10 00:13:26 UTC 2015


On 11/9/2015 2:42 PM, Garrett Cooper wrote:
> 
>> On Nov 9, 2015, at 13:35, José Pérez <fbl at aoek.com> wrote:
>>
>> Hello,
>> I have this buildwordl failure:
>>
>> ===> libexec/rbootd (depend)
>> --- depend_subdir_lib ---
>> --- aton_ether_subr.c ---
>> /usr/src/contrib/netbsd-tests/lib/libc/net/gen_ether_subr /usr/src/sys/net/if_ethersubr.c ato
>> n_ether_subr.c
>> sh: /usr/src/contrib/netbsd-tests/lib/libc/net/gen_ether_subr: Permission denied
>> *** [aton_ether_subr.c] Error code 126
>>
>>
>> I fixed with:
>> chmod +x /usr/src/contrib/netbsd-tests/lib/libc/net/gen_ether_subr
>>
>>
>> This was from a fresh checkout of current on a new machine.
>>
>> Is it me or shall I report a bug?
> 
> Please file a bug and assign it to me (ngie). Is the file system mounted with noexec?
> Thanks,
> -NGie

If this is a shell file then it is best to invoke it with 'sh' rather
than a chmod/#!. The src checkout should be noexec-safe.


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20151109/91028db3/attachment.bin>


More information about the freebsd-current mailing list