Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2016 15:19:10 -0800
From:      NGie Cooper <yaneurabeya@gmail.com>
To:        Oliver Pinter <oliver.pinter@hardenedbsd.org>
Cc:        Mark Martinec <Mark.Martinec+freebsd@ijs.si>, freebsd-stable@freebsd.org, ngie@freebsd.org
Subject:   Re: A recent 10.2-STABLE no longer builds on a no-exec /usr/src file system
Message-ID:  <8607AF7E-9E0C-4CA0-A824-3F5260319A01@gmail.com>
In-Reply-To: <CAPQ4ffvUV=wHLHX9Odh1x5NJKg-Ztum1TEbeMY98LGXQ66PZmw@mail.gmail.com>
References:  <636a770981c5655f3cc45f2c6aee6474@mailbox.ijs.si> <56575324.9070400@quip.cz> <484e5e28706f1d717bcd02542e7ba306@mailbox.ijs.si> <db623061cdf97d82bb8df4bee9fbd4ab@mailbox.ijs.si> <56981DA4.30402@FreeBSD.org> <8c27af875f9af7b0ae85c433c821e2fd@mailbox.ijs.si> <CAPQ4ffvUV=wHLHX9Odh1x5NJKg-Ztum1TEbeMY98LGXQ66PZmw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Jan 14, 2016, at 19:01, Oliver Pinter =
<oliver.pinter@hardenedbsd.org> wrote:
>=20
> CC: ngie
>=20
> On 1/15/16, Mark Martinec <Mark.Martinec+freebsd@ijs.si> wrote:
>> On 2016-01-14 23:13, Bryan Drewery wrote:
>>> Where / What is the error?
>>>=20
>>> The only example here was fixed in November.
>>=20
>> Here is how a fresh svn checkout on a 10-stable
>> fails in make buildworld when /usr/src is noexec :
>>=20
>>=20
>> CC=3D'cc ' mkdep -f .depend.getprotoent_test -a
>> -I/usr/src/lib/libc/tests/net -I/usr/src/lib/libnetbsd
>> -I/usr/src/contrib/netbsd-tests -std=3Dgnu99
>> /usr/src/contrib/netbsd-tests/lib/libc/net/t_getprotoent.c
>> echo getprotoent_test: /usr/obj/usr/src/tmp/usr/lib/libc.a
>> /usr/obj/usr/src/tmp/usr/lib/private/libatf-c.a >>
>> .depend.getprotoent_test
>> (cd /usr/src/lib/libc/tests/net &&  NO_SUBDIR=3D1 make -f
>> /usr/src/lib/libc/tests/net/Makefile _RECURSING_PROGS=3D
>> PROG=3Dether_aton_test  DEPENDFILE=3D.depend.ether_aton_test
>> .MAKE.DEPENDFILE=3D.depend.ether_aton_test   depend)
>> /usr/src/contrib/netbsd-tests/lib/libc/net/gen_ether_subr
>> /usr/src/sys/net/if_ethersubr.c aton_ether_subr.c
>> make[7]: =
exec(/usr/src/contrib/netbsd-tests/lib/libc/net/gen_ether_subr)
>> failed (Permission denied)
>> *** Error code 1

Fixed in r294359 =E2=80=94 thank you for the report!
-NGie=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8607AF7E-9E0C-4CA0-A824-3F5260319A01>