Missing METALOG

Glen Barber gjb at FreeBSD.org
Wed Apr 6 20:24:06 UTC 2016


On Wed, Apr 06, 2016 at 11:31:49AM -0700, Sean Fagan wrote:
> On Apr 5, 2016, at 4:29 PM, Glen Barber <gjb at FreeBSD.org> wrote:
> >>>>>>>> 
> > The problem should be resolved as of r297598.  The issue was setting
> > DESTDIR as 'DESTDIR=${DESTDIR:U${WSTAGEDIR}}', which will never allow
> > locating WSTAGEDIR since it is only being set to the correct location
> > when DESTDIR is not set.  By setting DESTDIR=${WSTAGEDIR} directly, the
> > MAKEOBJDIRPREFIX and DESTDIR are expanded correctly, so although not
> > obvious at first what was going wrong, I was able to get a full package
> > set with non-default .{OBJDIR}.
> 
> Nope.
> 
> % env MAKEOBJDIRPREFIX=${HOME}/obj make DESTDIR=${HOME}/packages -j1 -DNO_CLEAN -DNO_ROOT packages

Why are you specifying DESTDIR for the 'packages' target?  It seem you
want the actual 'packages/' directory to be outside of the OBJDIR.

Instead of specifying DESTDIR, try using 'REPODIR=$HOME/packages', which
I believe should work.

> [gobs of output]
> pkg: /home/sef/obj/home/sef/freebsd-pkg/repo/FreeBSD:11:amd64/11.0.s20160406182537 is not a directory
> Cannot create repository catalogue
> 
> Note that, as I said in my earlier message, nothing seems to actually crate the repo directory.
> 

No, it is because the repository location is by default expected to be
within .OBJDIR.  I believe using REPODIR as above should work.

Glen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/attachments/20160406/396de7b8/attachment.sig>


More information about the freebsd-pkgbase mailing list