From owner-freebsd-current@FreeBSD.ORG Mon Sep 30 02:53:51 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 4D161208; Mon, 30 Sep 2013 02:53:51 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CD1E52538; Mon, 30 Sep 2013 02:53:50 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id r8U2rigd039470 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 29 Sep 2013 19:53:44 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id r8U2riKs039469; Sun, 29 Sep 2013 19:53:44 -0700 (PDT) (envelope-from jmg) Date: Sun, 29 Sep 2013 19:53:44 -0700 From: John-Mark Gurney To: Joel Dahl Subject: Re: installworld broken - osreldate.h: permission denied Message-ID: <20130930025344.GK56872@funkthat.com> Mail-Followup-To: Joel Dahl , Ian Lepore , current@freebsd.org References: <20130928130920.GA1318@devbox.vnode.local> <1380388791.1197.335.camel@revolution.hippie.lan> <20130929081329.GA19015@devbox.vnode.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130929081329.GA19015@devbox.vnode.local> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Sun, 29 Sep 2013 19:53:44 -0700 (PDT) Cc: current@freebsd.org, Ian Lepore 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: Mon, 30 Sep 2013 02:53:51 -0000 Joel Dahl wrote this message on Sun, Sep 29, 2013 at 10:13 +0200: > 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. Are you building on one machine and running install on another? Are the dates the same between the two machines? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."