From owner-freebsd-current@freebsd.org Mon Aug 22 15:02:56 2016 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 4C92ABC2C05 for ; Mon, 22 Aug 2016 15:02:56 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (gtw.digiware.nl [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0FF9D1626 for ; Mon, 22 Aug 2016 15:02:56 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from router.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id C446425528; Mon, 22 Aug 2016 17:02:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.com Received: from smtp.digiware.nl ([127.0.0.1]) by router.digiware.nl (router.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wFXDL9fSvYu5; Mon, 22 Aug 2016 17:02:51 +0200 (CEST) Received: from [192.168.10.67] (opteron [192.168.10.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id E0EC225527; Mon, 22 Aug 2016 17:02:51 +0200 (CEST) Subject: Re: Somethign missing in my environment? To: Ben Woods References: <20160816203324.GJ65184@server.rulingia.com> <20160817193950.GB22564@server.rulingia.com> <0a2a88a5-2064-135f-a4fa-3b4162f9698d@digiware.nl> <090825B1-6195-4DEE-BEDD-D8DE595C5B85@dons.net.au> <4ee8647d-9c34-091a-60ed-f8d41993af67@digiware.nl> Cc: "O'Connor, Daniel" , Peter Jeremy , freebsd current From: Willem Jan Withagen Message-ID: <39c6b2aa-c09e-7333-2991-bff8ffb8dac1@digiware.nl> Date: Mon, 22 Aug 2016 17:02:45 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 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, 22 Aug 2016 15:02:56 -0000 On 22-8-2016 00:43, Ben Woods wrote: > On Monday, 22 August 2016, Willem Jan Withagen > wrote: > > Tried an old trick: > Build on another system (10.3) and then mount > /usr/src > /usr/obj > on the system to install on. > But that generates things like: > ERROR-tried-to-rebuild-during-make-install > So I guess that doesn't work any longer. > > --WjW > > > That trick still works for me, but you have to make sure the build > environment and the install environment are the same. Namely that > /etc/make.conf and /etc/src.conf are the same on both machines, and that > they have the same architecture... Otherwise it will try and rebuild the > differences during the install process. Yup, that's how I knew it should work. ATM I seem to be able to run into just about all possible problems to upgrade this box. But now it is claiming it is: ERROR-tried-to-rebuild-during-make-install whatever that may be. I have found the definition, and it is to prevent building during install on ReadOnly obj-dirs. But it does not really test for that, it just blocks any builds. But tinkering in the build system is asking for trouble, so I'm getting closer and closer to reinstalling. Which is bad IMHO, since this it the first time ever that I cannot escape for this type of catch-22. Giving it a last retry building over NFS mounts. Which sort of worked after I exclude some boot code that nagged me about things growing to big. Which I attributed to "-g -O0". But then I was able to complete buildword and buildkernel. So sort of happy. Now I need to find out why the reboot did not work. But that requires me next to the box. --WjW