Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Sep 2014 16:27:06 -0700
From:      Mark Millard <markmi@dsl-only.net>
To:        freebsd-ports@freebsd.org
Cc:        Justin Hibbits <chmeeedalf@gmail.com>
Subject:   Re: Staging for ... Generating temporary packing list mtree: /usr/local/etc/mtree/BSD.gnome.dist: No such file or directory
Message-ID:  <5B37AA52-C81A-4F12-AA3B-76984EC0753C@dsl-only.net>
In-Reply-To: <06A95344-3B53-4A15-9099-C92D9F02C20D@dsl-only.net>
References:  <06A95344-3B53-4A15-9099-C92D9F02C20D@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
It looks like installing misc/gnomehier will put in place the missing =
/usr/local/etc/mtree/BSD.gnome.dist and so work around the problem.

But I, for one, would hope that either this happened automatically so =
that the portmaster man page instructions for re-installing all one's =
ports just works relative to /usr/local/etc/mtree/BSD.gnome.dist --or =
that the instructions explicitly covered what needs to be done for that =
file so that it will necessarily be in place in time during the =
portmaster `cat ~/<file-name>`.

(The indirection by dependencies may end up requiring  =
/usr/local/etc/mtree/BSD.gnome.dist in non-obvious contexts.)

=3D=3D=3D
Mark Millard
markmi@dsl-only.net

On Sep 7, 2014, at 3:24 PM, Mark Millard <markmi@dsl-only.net> 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-int=
rospection-1.36.0'
=3D=3D=3D>  Staging for gobject-introspection-1.36.0_3
=3D=3D=3D>   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

=3D=3D=3D>>> make stage failed for devel/gobject-introspection
=3D=3D=3D>>> Aborting update

=3D=3D=3D>>> Update for devel/gobject-introspection failed
=3D=3D=3D>>> 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?


[Justin: This gives an idea where I'm at relative to testing the =
Xorg/xfce4 failure on powerpc/GENERIC. buildworld, kernel, installworld =
seems to have worked fine. But I do not have Xorg or xfce4 in place yet =
to repeat the previously failing steps.]



=3D=3D=3D
Mark Millard
markmi at dsl-only.net





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5B37AA52-C81A-4F12-AA3B-76984EC0753C>