Date: Tue, 10 May 2016 20:47:31 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Johan Hendriks <joh.hendriks@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: Buildworld Fails Message-ID: <4CDE499C-4AD2-4D77-BE15-8122B932A104@FreeBSD.org> In-Reply-To: <a285696e-9552-9307-be17-472c93116b35@gmail.com> References: <a0bd6312-6230-1671-d111-40da483df607@gmail.com> <949278F4-0451-483B-A684-2563210F69B5@FreeBSD.org> <a285696e-9552-9307-be17-472c93116b35@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_3DB2DEB9-3553-475E-85A8-6D30267E4463 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 10 May 2016, at 20:29, Johan Hendriks <joh.hendriks@gmail.com> wrote: > > Op 10/05/16 om 19:47 schreef Dimitry Andric: >> On 10 May 2016, at 13:53, Johan Hendriks <joh.hendriks@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 --Apple-Mail=_3DB2DEB9-3553-475E-85A8-6D30267E4463 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.30 iEYEARECAAYFAlcyLMoACgkQsF6jCi4glqMtaQCgqWuMeiokciBHORiUufxs+Mf4 KToAnAoDxipSZHWDGCVb6s788HclNSJS =qjnt -----END PGP SIGNATURE----- --Apple-Mail=_3DB2DEB9-3553-475E-85A8-6D30267E4463--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CDE499C-4AD2-4D77-BE15-8122B932A104>