From owner-freebsd-current@FreeBSD.ORG Mon Sep 30 08:03:54 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 9593CA9D; Mon, 30 Sep 2013 08:03:54 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward6l.mail.yandex.net (forward6l.mail.yandex.net [IPv6:2a02:6b8:0:1819::6]) by mx1.freebsd.org (Postfix) with ESMTP id 54A22218F; Mon, 30 Sep 2013 08:03:54 +0000 (UTC) Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [84.201.187.144]) by forward6l.mail.yandex.net (Yandex) with ESMTP id B85D114E0D7E; Mon, 30 Sep 2013 12:03:48 +0400 (MSK) Received: from smtp1h.mail.yandex.net (localhost [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id 4565C13402EB; Mon, 30 Sep 2013 12:03:48 +0400 (MSK) Received: from 46.38.32.182.tel.ru (46.38.32.182.tel.ru [46.38.32.182]) by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id BTzo2d8yuh-3lBOABDR; Mon, 30 Sep 2013 12:03:47 +0400 Message-ID: <52493063.7090101@passap.ru> Date: Mon, 30 Sep 2013 12:03:47 +0400 From: Boris Samorodov User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130815 Thunderbird/17.0.8 MIME-Version: 1.0 To: Joel Dahl Subject: Re: installworld broken - osreldate.h: permission denied References: <20130928130920.GA1318@devbox.vnode.local> <1380388791.1197.335.camel@revolution.hippie.lan> <20130929081329.GA19015@devbox.vnode.local> <20130930025344.GK56872@funkthat.com> <20130930051209.GB19015@devbox.vnode.local> In-Reply-To: <20130930051209.GB19015@devbox.vnode.local> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 08:03:54 -0000 30.09.2013 09:12, Joel Dahl пишет: > On Sun, Sep 29, 2013 at 07:53:44PM -0700, John-Mark Gurney wrote: >> 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? > > Yes, both machines are running ntp. I've double-checked the dates and they are > in sync. Do those machines have accurate timezones set? -- WBR, bsam