From owner-freebsd-ports@FreeBSD.ORG Mon Sep 8 08:28:41 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7504499A; Mon, 8 Sep 2014 08:28:41 +0000 (UTC) Received: from mailrelay008.isp.belgacom.be (mailrelay008.isp.belgacom.be [195.238.6.174]) by mx1.freebsd.org (Postfix) with ESMTP id B508B1913; Mon, 8 Sep 2014 08:28:40 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvULAF5oDVRR8Z/O/2dsb2JhbABYgw1TV6t/nW+HVAGBEBd4hAQBBTocHgUQCxgJGgsPKh4GARKIRgG7GAEXj00HhEwBBJVwhwGVLYIbgUg7L4EGJIElAQEB Received: from 206.159-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.159.206]) by relay.skynet.be with ESMTP; 08 Sep 2014 10:28:17 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.9/8.14.9) with ESMTP id s888SFsO008652; Mon, 8 Sep 2014 10:28:16 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Mon, 8 Sep 2014 10:28:15 +0200 From: Tijl Coosemans To: Mark Millard , bdrewery@FreeBSD.org, gnome@FreeBSD.org Subject: Re: Staging for ... Generating temporary packing list mtree: /usr/local/etc/mtree/BSD.gnome.dist: No such file or directory Message-ID: <20140908102815.5119f9b4@kalimero.tijl.coosemans.org> In-Reply-To: <06A95344-3B53-4A15-9099-C92D9F02C20D@dsl-only.net> References: <06A95344-3B53-4A15-9099-C92D9F02C20D@dsl-only.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Justin Hibbits , freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2014 08:28:41 -0000 On Sun, 7 Sep 2014 15:24:47 -0700 Mark Millard wrote: > It appears to me that if the portmaster man page's instructions for > "Using portmaster to do a complete reinstallation of all your ports" > are still supposed to work that the new staging for ports is currently > broken. > > Context: As part of an attempt to get ready to test some of Justin > Hibbits recent powerpc/powerpc64 related changes I attempted to follow > the portmaster man page's instructions for "Using portmaster to do a > complete reinstallation of all your ports". (I decide to start from an > SSD that had contents from back in mid July and decide to just reinstall > all the ports.) > > The result of the portmaster `cat ~/ports_origins` (my chosen file name > for steps 1 and 10) failed with: > > ... > gmake[1]: Leaving directory `/usr/obj/portswork/usr/ports/devel/gobject-introspection/work/gobject-introspection-1.36.0' > ===> Staging for gobject-introspection-1.36.0_3 > ===> Generating temporary packing list > mtree: /usr/local/etc/mtree/BSD.gnome.dist: No such file or directory > *** Error code 1 > > Stop. > make: stopped in /usr/ports/devel/gobject-introspection > > ===>>> make stage failed for devel/gobject-introspection > ===>>> Aborting update > > ===>>> Update for devel/gobject-introspection failed > ===>>> Aborting update > ... > > Looking around after this showed that /usr/local/etc/mtree does not > exist (but /usr/local/etc did exist). > > This may be in part because when I interpreted step 9 of the man > page's instructions > > 9. Manually check /usr/local and /var/db/pkg > to make sure that they are really empty > > I did: > > rm -fr /usr/local/* > rm -fr /var/db/pkg/* > > because there was lots of stuff around and I interpreted "empty" > rather literally. Another possibility is that there is some place > recording historical mtree information that needed > /usr/local/etc/mtree/BSD.gnome.dist cleared out in some way but the > instructions did not lead to my doing so. > > > Anybody know how I would get /usr/local/etc/mtree/BSD.gnome.dist back > in place or otherwise be able to rebuild and reinstall my ports? Portmaster first installs build dependencies and then runs "make" to build a port. Then it installs run dependencies and runs "make install". The meaning of "make" has been changed a while ago from "make build" to "make stage" which installs the port in the staging area and the gnome mtree file is already needed here. So either portmaster has to install run dependencies earlier or misc/gnomehier has to become a build dependency in Mk/bsd.gnome.mk.