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

[-- Attachment #1 --]
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:
> > >>>> 
> > > I think DESTDIR is what is causing the problem for you, but I would need
> > > 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?=[...]').
> > > 
> > > This might be the same reason for the other two reports yesterday.
> > 
> > Looks like it.  I just did the packages part as root, no DESTDIR, and it died differently:
> > 
> > [ -L "/home/sef/obj/home/sef/freebsd-pkg/repo/$(pkg -o ABI_FILE=/home/sef/obj/home/sef/freebsd-pkg/amd64.amd64/worldstage/bin/sh config ABI)/latest" ] &&  unlink /home/sef/obj/home/sef/freebsd-pkg/repo/$(pkg -o ABI_FILE=/home/sef/obj/home/sef/freebsd-pkg/amd64.amd64/worldstage/bin/sh config ABI)/latest ;  pkg -o ABI_FILE=/home/sef/obj/home/sef/freebsd-pkg/amd64.amd64/worldstage/bin/sh repo  -o /home/sef/obj/home/sef/freebsd-pkg/repo/$(pkg -o ABI_FILE=/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=/home/sef/obj/home/sef/freebsd-pkg/amd64.amd64/worldstage/bin/sh config ABI)/11.0.s20160322202440   ;  ln -s /home/sef/obj/home/sef/freebsd-pkg/repo/$(pkg -o ABI_FILE=/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=/home/sef/obj/home/sef/freebsd-pkg/amd64.amd64/worldstage/bin/sh config ABI)/latest
> > pkg: Warning: Major OS version upgrade detected.  Running "pkg-static install -f pkg" recommended
> > pkg: Warning: Major OS version upgrade detected.  Running "pkg-static install -f pkg" recommended
> > pkg: Warning: Major OS version upgrade detected.  Running "pkg-static install -f pkg" recommended
> > pkg: Warning: Major OS version upgrade detected.  Running "pkg-static install -f pkg" recommended
> > pkg: /home/sef/obj/home/sef/freebsd-pkg/repo/FreeBSD:11:amd64/11.0.s20160322202440 is not a directory
> > Cannot create repository catalogue
> > 
> > Now, I do have /home/sef/obj/home/sef/freebsd-pkg/repo/FreeBSD:11:amd64/11.0.s20160317195753, so perhaps I’ll clean everything and start over, see how that goes.
> > 
> 
> Can the three of you please try with r297197 applied (attached for
> convenience).  In quick evaluation, I believe this should fix this.
> 

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:
./bin type=dir uname=root gname=wheel mode=0755
./boot type=dir uname=root gname=wheel mode=0755
./boot/defaults type=dir uname=root gname=wheel mode=0755
./boot/dtb type=dir uname=root gname=wheel mode=0755
./boot/firmware type=dir uname=root gname=wheel mode=0755
./boot/kernel type=dir uname=root gname=wheel mode=0755
[..cut..]
./media/exports/freebsd-dev/obj//media/exports/freebsd-dev/src/i386.i386/worldstage/sys type=link mode=0755 link=usr/src/sys
./media/exports/freebsd-dev/obj//media/exports/freebsd-dev/src/i386.i386/worldstage/usr/share/man/en.ISO8859-1//man1 type=link mode=0755 link=../man1
./media/exports/freebsd-dev/obj//media/exports/freebsd-dev/src/i386.i386/worldstage/usr/share/man/en.UTF-8//man1 type=link mode=0755 link=../man1
[..cut..]

Is this maybe related to my problem?

BR,
Marko

[-- Attachment #2 --]
-----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-----

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