Re: Buildworld Fails

From: Adrian Chadd <adrian.chadd_at_gmail.com>
Date: Tue, 10 May 2016 12:13:43 -0700
yup, landon already offered to do it.



-adrian


On 10 May 2016 at 11:47, Dimitry Andric <dim_at_freebsd.org> wrote:
> On 10 May 2016, at 20:29, Johan Hendriks <joh.hendriks_at_gmail.com> wrote:
>>
>> Op 10/05/16 om 19:47 schreef Dimitry Andric:
>>> On 10 May 2016, at 13:53, Johan Hendriks <joh.hendriks_at_gmail.com> wrote:
>>>> My buildworld of current fails today with the following error message.
>>>> This is FreeBSD desk.server.netaffairs.nl 11.0-CURRENT FreeBSD
>>>> 11.0-CURRENT #8 r299158:
>>> ...
>>>> ===> bhnd (all)
>>>> machine -> /usr/src/sys/amd64/include
>>>> x86 -> /usr/src/sys/x86/include
>>>> /usr/src/sys/dev/bhnd/tools/nvram_map_gen.sh
>>>> /usr/src/sys/dev/bhnd/nvram/nvram_map -h
>>>> make[4]: exec(/usr/src/sys/dev/bhnd/tools/nvram_map_gen.sh) failed
>>>> (Permission denied)
>>> Have you got /usr/src mounted noexec?
>>>
>>> -Dimitry
>>>
>> Thank you all.
>> I had exec=off on my /usr/src zfs dataset.
>>
>> Never needed exec on /usr/src so for that reason it was turned to off.
>> Till now, now it is turned to on.
>>
>> Now the kernel builds fine.
>>
>> Thanks Adrian and Dimitry for your time.
>
> I think it *should* be possible to build world with /usr/src mounted
> noexec.  Typically, buildworld shell scripts are run using 'sh', for
> example in sys/conf/kern.post.mk there is:
>
> vers.c: $S/conf/newvers.sh $S/sys/param.h ${SYSTEM_DEP}
>         MAKE=${MAKE} sh $S/conf/newvers.sh ${KERN_IDENT}
>
> The same should probably be done for the nvram_map_gen.sh script.
>
> -Dimitry
>
Received on Tue May 10 2016 - 17:13:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:04 UTC