From owner-freebsd-stable Wed Oct 16 8:55:37 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEA0037B4E6 for ; Wed, 16 Oct 2002 08:55:35 -0700 (PDT) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B2C343E97 for ; Wed, 16 Oct 2002 08:55:34 -0700 (PDT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.5/8.12.5) with ESMTP id g9GFtSTJ016339; Wed, 16 Oct 2002 19:55:28 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Wed, 16 Oct 2002 19:55:28 +0400 (MSD) From: Dmitry Morozovsky To: "Michael R. Wayne" Cc: freebsd-stable@FreeBSD.ORG Subject: Re: 4.7: buildworld succeeds, installworld fails In-Reply-To: <20021015130356.C92920@staff.msen.com> Message-ID: <20021016195205.R12757-100000@woozle.rinet.ru> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 15 Oct 2002, Michael R. Wayne wrote: MRW> On Tue, Oct 15, 2002 at 08:48:08AM -0400, Chris Faulhaber wrote: MRW> > On Tue, Oct 15, 2002 at 08:39:06AM -0400, ender wrote: MRW> > > [INSERT SOUND OF FOREHEAD HITTING TABLE HERE] MRW> > > MRW> > > Yes. /tmp is mounted noexec. *grumble* MRW> > > MRW> MRW> How hard would it be to have the Makefile(s) check for this condition and MRW> spew a meaningful reminder before aborting? Possibly, something like this: Index: Makefile.inc1 =================================================================== RCS file: /home/ncvs/src/Makefile.inc1,v retrieving revision 1.141.2.56 diff -u -r1.141.2.56 Makefile.inc1 --- Makefile.inc1 30 Aug 2002 18:26:49 -0000 1.141.2.56 +++ Makefile.inc1 16 Oct 2002 15:51:45 -0000 @@ -366,6 +366,9 @@ test true uname wc zic; do \ cp `which $$prog` ${INSTALLTMP}; \ done + ${INSTALLTMP}/true || \ + ( echo "Can't exec ${INSTALLTMP}/true, possibly ${TMPDIR} mounted noexec?" && \ + false ) cd ${.CURDIR}; ${IMAKE} re${.TARGET:S/world$//} rm -rf ${INSTALLTMP} Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message