From owner-freebsd-current@FreeBSD.ORG Sun Sep 29 08:13:35 2013 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DB89AC2B; Sun, 29 Sep 2013 08:13:35 +0000 (UTC) (envelope-from joel@freebsd.org) Received: from mail.vnode.se (mail.vnode.se [212.247.52.13]) by mx1.freebsd.org (Postfix) with ESMTP id 98E3A2B4A; Sun, 29 Sep 2013 08:13:35 +0000 (UTC) Received: from mail.vnode.se (localhost [127.0.0.1]) by mail.vnode.se (Postfix) with ESMTP id 7D755E3F07A; Sun, 29 Sep 2013 10:13:33 +0200 (CEST) X-Virus-Scanned: amavisd-new at vnode.se Received: from mail.vnode.se ([127.0.0.1]) by mail.vnode.se (mail.vnode.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rq5tP7gogI5w; Sun, 29 Sep 2013 10:13:31 +0200 (CEST) Received: from devbox.vnode.local (unknown [83.223.1.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.vnode.se (Postfix) with ESMTPSA id 5DC04E3F079; Sun, 29 Sep 2013 10:13:31 +0200 (CEST) Date: Sun, 29 Sep 2013 10:13:29 +0200 From: Joel Dahl To: Ian Lepore Subject: Re: installworld broken - osreldate.h: permission denied Message-ID: <20130929081329.GA19015@devbox.vnode.local> References: <20130928130920.GA1318@devbox.vnode.local> <1380388791.1197.335.camel@revolution.hippie.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1380388791.1197.335.camel@revolution.hippie.lan> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 08:13:35 -0000 On Sat, Sep 28, 2013 at 11:19:51AM -0600, Ian Lepore wrote: > On Sat, 2013-09-28 at 15:09 +0200, Joel Dahl wrote: > > Hi, > > > > Fresh HEAD. installworld from read-only /usr/obj and /usr/src: > > > > /usr/src/include/iconv.h osreldate.h /usr/include > > install: osreldate.h: Permission denied > > *** Error code 71 > > > > Stop. > > make[4]: stopped in /usr/src/include > > *** Error code 1 > > > > Everything was working fine 2 weeks ago, so it's a recent breakage. > > > > Okay, I just accidentally created conditions for this error on my > system... I checked in a change to newvers.sh while a buildworld was > running, which led to a situation where newvers.sh was newer than > osreldate.h at the end of the buildworld. Then an installworld tried to > regenerate osreldate.h due to its dependency on newvers.sh, which would > fail if the obj was readonly at that point. > > I think we could see if something similar applies for you if you use > this command: > > make -dm installworld SUBDIR_OVERRIDE=include I tried this with a fresh HEAD but the error message is still the same. /usr/src and /usr/obj are NFS mounted, FYI. -- Joel