Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2016 15:43:18 +0100
From:      Marko Turk <markoml@markoturk.info>
To:        Glen Barber <gjb@FreeBSD.org>
Cc:        Sean Fagan <sef@ixsystems.com>, Kris Moore <kris@pcbsd.org>, freebsd-pkgbase@freebsd.org
Subject:   Re: Missing METALOG
Message-ID:  <20160323144318.GA1894@vps.markoturk.info>
In-Reply-To: <20160322210541.GM58208@FreeBSD.org>
References:  <56F169EC.6010400@pcbsd.org> <20160322164814.GJ58208@FreeBSD.org> <56F1979C.7010306@pcbsd.org> <20160322202242.GL58208@FreeBSD.org> <08F56E57-F9F4-4C3E-8154-108E5E50E3D0@ixsystems.com> <20160322210541.GM58208@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 22, 2016 at 09:05:41PM +0000, Glen Barber wrote:
> On Tue, Mar 22, 2016 at 01:31:34PM -0700, Sean Fagan wrote:
> > On Mar 22, 2016, at 1:22 PM, Glen Barber <gjb@FreeBSD.org> wrote:
> > >>>>=20
> > > I think DESTDIR is what is causing the problem for you, but I would n=
eed
> > > more of the build log in order to confirm this.  I have kicked a build
> > > locally, to confirm.  I *think* we need to make WSTAGEDIR, KSTAGEDIR,
> > > and REPODIR overridable (i.e., 'KSTAGEDIR?=3D[...]').
> > >=20
> > > This might be the same reason for the other two reports yesterday.
> >=20
> > Looks like it.  I just did the packages part as root, no DESTDIR, and i=
t died differently:
> >=20
> > [ -L "/home/sef/obj/home/sef/freebsd-pkg/repo/$(pkg -o ABI_FILE=3D/home=
/sef/obj/home/sef/freebsd-pkg/amd64.amd64/worldstage/bin/sh config ABI)/lat=
est" ] &&  unlink /home/sef/obj/home/sef/freebsd-pkg/repo/$(pkg -o ABI_FILE=
=3D/home/sef/obj/home/sef/freebsd-pkg/amd64.amd64/worldstage/bin/sh config =
ABI)/latest ;  pkg -o ABI_FILE=3D/home/sef/obj/home/sef/freebsd-pkg/amd64.a=
md64/worldstage/bin/sh repo  -o /home/sef/obj/home/sef/freebsd-pkg/repo/$(p=
kg -o ABI_FILE=3D/home/sef/obj/home/sef/freebsd-pkg/amd64.amd64/worldstage/=
bin/sh config ABI)/11.0.s20160322202440  /home/sef/obj/home/sef/freebsd-pkg=
/repo/$(pkg -o ABI_FILE=3D/home/sef/obj/home/sef/freebsd-pkg/amd64.amd64/wo=
rldstage/bin/sh config ABI)/11.0.s20160322202440   ;  ln -s /home/sef/obj/h=
ome/sef/freebsd-pkg/repo/$(pkg -o ABI_FILE=3D/home/sef/obj/home/sef/freebsd=
-pkg/amd64.amd64/worldstage/bin/sh config ABI)/11.0.s20160322202440  /home/=
sef/obj/home/sef/freebsd-pkg/repo/$(pkg -o ABI_FILE=3D/home/sef/obj/home/se=
f/freebsd-pkg/amd64.amd64/worldstage/bin/sh config ABI)/latest
> > pkg: Warning: Major OS version upgrade detected.  Running "pkg-static i=
nstall -f pkg" recommended
> > pkg: Warning: Major OS version upgrade detected.  Running "pkg-static i=
nstall -f pkg" recommended
> > pkg: Warning: Major OS version upgrade detected.  Running "pkg-static i=
nstall -f pkg" recommended
> > pkg: Warning: Major OS version upgrade detected.  Running "pkg-static i=
nstall -f pkg" recommended
> > pkg: /home/sef/obj/home/sef/freebsd-pkg/repo/FreeBSD:11:amd64/11.0.s201=
60322202440 is not a directory
> > Cannot create repository catalogue
> >=20
> > Now, I do have /home/sef/obj/home/sef/freebsd-pkg/repo/FreeBSD:11:amd64=
/11.0.s20160317195753, so perhaps I=E2=80=99ll clean everything and start o=
ver, see how that goes.
> >=20
>=20
> Can the three of you please try with r297197 applied (attached for
> convenience).  In quick evaluation, I believe this should fix this.
>=20

Hi,

it still doesn't work for me. I get the same error as before.

METALOG file contains some paths with MAKEOBJDIRPREFIX and some without
this.
For example:
=2E/bin type=3Ddir uname=3Droot gname=3Dwheel mode=3D0755
=2E/boot type=3Ddir uname=3Droot gname=3Dwheel mode=3D0755
=2E/boot/defaults type=3Ddir uname=3Droot gname=3Dwheel mode=3D0755
=2E/boot/dtb type=3Ddir uname=3Droot gname=3Dwheel mode=3D0755
=2E/boot/firmware type=3Ddir uname=3Droot gname=3Dwheel mode=3D0755
=2E/boot/kernel type=3Ddir uname=3Droot gname=3Dwheel mode=3D0755
[..cut..]
=2E/media/exports/freebsd-dev/obj//media/exports/freebsd-dev/src/i386.i386/=
worldstage/sys type=3Dlink mode=3D0755 link=3Dusr/src/sys
=2E/media/exports/freebsd-dev/obj//media/exports/freebsd-dev/src/i386.i386/=
worldstage/usr/share/man/en.ISO8859-1//man1 type=3Dlink mode=3D0755 link=3D=
=2E./man1
=2E/media/exports/freebsd-dev/obj//media/exports/freebsd-dev/src/i386.i386/=
worldstage/usr/share/man/en.UTF-8//man1 type=3Dlink mode=3D0755 link=3D../m=
an1
[..cut..]

Is this maybe related to my problem?

BR,
Marko

--Nq2Wo0NMKNjxTN9z
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJW8quFAAoJEHg6bF2mqM2IXP0P/1KN5AXinvg+YS5JH9kelgaC
MJyNPdtQKwklvMtUzeo0OtgyvJZuZOTeBOkI0ZiyepMA6XoyfgZe7IR+9fsgTBHw
xrt5+puJc5epYn6tqqnBXxwvClJ+WNUzSs5pDQZ5vkZwmOHz2r8qLuZLMREjmVAQ
92O0zDCfpi6u1ByVV79VoEbbrz69xaQaUr/TWzjjt5hr6ksM6Xo0u8DbUsFflQUu
rJ2jRT7xohODzVurYrWRnAKyMrIqC8oqpu9g4cA7j11gLuiBKbeyD6NwxrYZVV3y
zNwHsizozM8fb4+rPGM4u3zO7yZ65YI0P4DkAopAcdoM8kX880Wvzyz5KSbtrd83
MZvORu0NBjAD5Cji0MbzUeLXp6opUCjFkzG/gU0KKQjwADa8azEt8XgCyMlCRs0d
5D8vMN/uZa+Xdewmug/BDt4h36GVs0RX/GgdlUuhO1WwP8ih9/zw7zB5XVy0FAho
PLPTmI5FaCzjYmeWhVLF0jFiWiI3ts/bVjjhwLNovBtAl5T7D4CCggWz0q8bqYTc
VpVLL3yHpfXIrPDhEDdJqfTyDLi6MEMMywa24tSQc0IHastHwW7juhoXHqK4BEqI
862+OZK1TCKFW5kDHQP0yN48p3p7pdFg3efcCDs8t06DydwREGajhmUPu9pmvpEt
H7VbNqphs7w4w9uy1jl9
=rddI
-----END PGP SIGNATURE-----

--Nq2Wo0NMKNjxTN9z--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160323144318.GA1894>