From owner-freebsd-current@freebsd.org Tue Aug 25 22:32:37 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B15A9C3F10 for ; Tue, 25 Aug 2015 22:32:37 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-qk0-x233.google.com (mail-qk0-x233.google.com [IPv6:2607:f8b0:400d:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DA94A897; Tue, 25 Aug 2015 22:32:36 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by qkfh127 with SMTP id h127so109752509qkf.1; Tue, 25 Aug 2015 15:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=H4EcgYeL7rKsg492QYf7NSU6FRjtwrJhXvI733e24Zk=; b=v4zfCXRAe8qc6S6PmYjuAWTYTH9XM/7HghpF3U9CnpW7pb1yOBkEro4sw0GQpeUcyH /hY590PV+qGjzbNo+enyR8hbCb1T8CI7hBR+JmihgzRtn/ghm07WNyiAx9PyZzyTzpRp N7yHnzzzvGKHgTj17w81pz1PUehNNx7qW2L5GNuvHRFJbBZYUc0hwOrngLx8ubv/HgEv f6diEBs9AbrqZyZQ08z+QUo5nFxgbyHRKRJtDO2FjVb9Ql1pugJXTEQl8S9HJqf4Dlr4 J8EGa5gSmTk0CFdkVSqPSmYUcaJQUksUjQHgDtpqSr2zzAPxssknG37F6C1KFNtEu+lb fq3w== MIME-Version: 1.0 X-Received: by 10.55.52.12 with SMTP id b12mr72013780qka.21.1440541955949; Tue, 25 Aug 2015 15:32:35 -0700 (PDT) Received: by 10.140.94.33 with HTTP; Tue, 25 Aug 2015 15:32:35 -0700 (PDT) In-Reply-To: <55DCEA64.8040304@delphij.net> References: <20150823215552.GB1314@garage.freebsd.pl> <55DA492D.4030804@delphij.net> <20150825210437.GB1172@garage.freebsd.pl> <20150825215347.GD1172@garage.freebsd.pl> <20150825215524.GE1172@garage.freebsd.pl> <55DCEA64.8040304@delphij.net> Date: Tue, 25 Aug 2015 15:32:35 -0700 Message-ID: Subject: Re: Read-only /usr/obj/ no longer kosher? From: NGie Cooper To: Xin LI Cc: Pawel Jakub Dawidek , FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 25 Aug 2015 22:32:37 -0000 On Tue, Aug 25, 2015 at 3:21 PM, Xin Li wrote: > On 08/25/15 14:55, Pawel Jakub Dawidek wrote: >>> Now that I think of it, it might have been that I did >>> buildworld/buildkernel before -p1. Then freebsd-update updated >>> newvers.sh and then I was trying to do installworld. >> >> Yes, I can now reproduce it with source updated to -p2. > > Yes, that's because freebsd-version.sh is generated from the files (but > it's not clear to me whether if it's a bug or a feature that 'make > install' checks if it's up-to-date and decides to regenerate it...). It's a quirk for sure. If you change the behavior, people will definitely complain as they will now need to go back and rebuild everything. By and large though, recompiling things is really bad. That's I've seen others do `CC=false CXX=false` when calling installworld.