From xi@borderworlds.dk  Mon Jan  2 16:06:54 2006
Return-Path: <xi@borderworlds.dk>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3F28216A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 Jan 2006 16:06:54 +0000 (GMT)
	(envelope-from xi@borderworlds.dk)
Received: from ferengi.borderworlds.dk (ferengi.borderworlds.dk [80.166.152.7])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 57F4343D67
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 Jan 2006 16:06:43 +0000 (GMT)
	(envelope-from xi@borderworlds.dk)
Received: from borg.borderworlds.dk (localhost [127.0.0.1])
	by ferengi.borderworlds.dk (Postfix) with ESMTP id 69B8EB818
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 Jan 2006 17:06:41 +0100 (CET)
Received: by borg.borderworlds.dk (Postfix, from userid 1001)
	id 3DA251147D; Mon,  2 Jan 2006 17:06:41 +0100 (CET)
Message-Id: <20060102160641.3DA251147D@borg.borderworlds.dk>
Date: Mon,  2 Jan 2006 17:06:41 +0100 (CET)
From: Christian Laursen <xi@borderworlds.dk>
Reply-To: Christian Laursen <xi@borderworlds.dk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: make buildworld fails with read-only /usr/src 
X-Send-Pr-Version: 3.113
X-GNATS-Notify: glebius

>Number:         91226
>Category:       bin
>Synopsis:       make buildworld fails with read-only /usr/src
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    phk
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 02 16:10:05 GMT 2006
>Closed-Date:    Mon Apr 16 21:05:32 GMT 2007
>Last-Modified:  Mon Apr 16 21:10:03 GMT 2007
>Originator:     Christian Laursen
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
The Border Worlds 
>Environment:
System: FreeBSD borg.borderworlds.dk 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Thu Nov 3 16:20:22 CET 2005 root@borg.borderworlds.dk:/usr/obj/usr/src/sys/BORG i386


	
>Description:
When trying to do a make buildworld with a read-only /usr/src and NO_TOOLCHAIN defined,
the build process stops in usr.bin/lex/lib when trying to write to the current directory.

I'm not sure the problem is that lex shouldn't be built at all or that its objdir doesn't
get created.

I have placed a full typescript of the buildworld run here:
http://borderworlds.dk/~xi/buildworld.txt

	
>How-To-Repeat:
Run the following commands as an unprivileged user:

mkdir /tmp/obj
export MAKEOBJDIRPREFIX=/tmp/obj
cd /usr/src
make buildworld NO_TOOLCHAIN=1

	
>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->ru 
Responsible-Changed-By: glebius 
Responsible-Changed-When: Tue Jan 10 13:16:10 UTC 2006 
Responsible-Changed-Why:  
Assign to build infrastructure maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=91226 
Responsible-Changed-From-To: ru->phk 
Responsible-Changed-By: ru 
Responsible-Changed-When: Tue Jan 10 14:05:52 UTC 2006 
Responsible-Changed-Why:  
I think this option hasn't been tested with buildworld, but only 
with installworld (phk@ to ask/bug).  In its current shape, the 
NO_TOOLCHAIN option has no chance to work with buildworld. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=91226 
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Mon Apr 16 21:05:15 UTC 2007 
State-Changed-Why:  
A bandaid has just been committed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=91226 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/91226: commit references a PR
Date: Mon, 16 Apr 2007 21:05:08 +0000 (UTC)

 ru          2007-04-16 21:04:54 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     .                    Makefile.inc1 
   Log:
   MFC: 1.554: Always make obj when building the libraries.
   
   PR:     bin/91226
   
   Revision    Changes    Path
   1.499.2.20  +4 -2      src/Makefile.inc1
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
