Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Apr 2016 01:19:27 +0000
From:      Glen Barber <gjb@FreeBSD.org>
To:        Sean Fagan <sef@ixsystems.com>
Cc:        freebsd-pkgbase@freebsd.org, Marko Turk <markoml@markoturk.info>
Subject:   Re: Missing METALOG
Message-ID:  <20160407011927.GG1498@FreeBSD.org>
In-Reply-To: <EE60E3DB-CD15-4800-A029-FF935738B484@ixsystems.com>
References:  <20160322202242.GL58208@FreeBSD.org> <08F56E57-F9F4-4C3E-8154-108E5E50E3D0@ixsystems.com> <20160322210541.GM58208@FreeBSD.org> <26D01772-FF20-4875-B2D0-4588A6AD22C6@ixsystems.com> <20160405232942.GH1596@FreeBSD.org> <66D097F5-E409-4F44-A541-94D87EC63308@ixsystems.com> <20160406202403.GA1498@FreeBSD.org> <20160406203625.GC1498@FreeBSD.org> <20160407011035.GF1498@FreeBSD.org> <EE60E3DB-CD15-4800-A029-FF935738B484@ixsystems.com>

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

[-- Attachment #1 --]
On Wed, Apr 06, 2016 at 06:15:11PM -0700, Sean Fagan wrote:
> On Apr 6, 2016, at 6:10 PM, Glen Barber <gjb@FreeBSD.org> wrote:
> >>>>>>>>>>>> 
> > I have an uncommitted patch that, I think, does not affect the behavior
> > overall, but this just worked for me:
> > 
> > root@pkgbase:/usr/src # env MAKEOBJDIRPREFIX=/usr/objtmp make -s -j8 \
> >   buildworld buildkernel
> > root@pkgbase:/usr/src # env MAKEOBJDIRPREFIX=/usr/objtmp make \
> >   REPODIR=/usr/repodir packages
> > 
> > I have the patch attached, but I need to know a few more things:
> > 
> > 1) Why are you using DESTDIR with the 'packages' target?  I.e., what are
> >   you expecting?
> 
> Completely unknown.  There doesn’t appear to be any documentation, so I just
> tried different things.
> 

To be clear, you don't know what you are expecting?  Or something else?

> > 2) I need full output of the failures.  Redacting it with 'globs of
> >   output' is not helpful.  I need to see the full build log and the
> >   commands run to reproduce it.  (Use script(1), please.)
> 
> I did not capture the output.  I am building on a 10.2ish system, and did
> 
> 	env MAKEOBJDIRPREFIX=${HOME}/obj make -j10 buildworld buildkernel
> 	env MAKEOBJDIRPREFIX=/usr/objtmp make make -j1 REPODIR=${HOME}/packages packages
> 

I know, but moving forward, I need the full output.  I cannot assume
anything, as I need to merge this to head as soon as feasibly possible
in order for this to make it into 11.0-RELEASE.

Specifically, "I ran [... commands ...]" and redacting the output is
only blinding my ability to ensure a proper fix.

> This is fully reproducible for me, so I can spend a couple of hours producing a whole bunch of output.
> (Some of the output is pkg complaining about ABI differences.  Unless it’s not supposed to be possible
> to build 11 on 10, however, that shouldn’t be an issue.)
> 

The pkg(8) binary will complain when cross building different versions
of FreeBSD, but regardless, I need you to try the patch I attached, and
provide the full output of everything.

There are too many factors here, and DESTDIR on the command line is
definitely causing a problem.  But I need to know what specifically is
triggering the failure.

Glen


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXBbWfAAoJEAMUWKVHj+KTf5EP/jBGkg1f5BKVnNwlZvaEGsPY
7+4aTP/PS7F4jujsNLWBaOC3bz66M5GWf2GddPebNZVpikGfBHmLxARdgTm5wV3y
Zq7pBI6IZDQAuIclqMmMheFSfafb+1bmNWMb4t70DGLF+F+XRepp2v/ODnNgk2ng
lo3fLJQgAoVfG+MiwaN/k6Zpv8WAHS+ggri08WNKyzft7+GrJXL/DylDMzWXfqwu
eDo0ny9qAwNpDw5rba2kewPIP8M3k2cQxowqS60tsRcXFh8XCSRumsZHM7sb7xm2
sTgkIcH1DNYxRxv+HO9xBM/7tnVZmqeePoZ5aw54TDBkzDgJm7RvhSCIJybOm7dY
5MsrNS4HuTiJzoyfJVZgZY9ZpPphgClNR9teu6RdjqQc4AJhITtd5ExpCl2BHP2I
1uyphUZd4nmQMgl/Oapinjii8ka2GS0o7voMnBziK1UZ/tWYC8Ta8mA2bDAhsiad
ztG9DA00vHznPclIUJL4D8VJAGAOe0r9T7Ee0VUSIyeOkfJ32d1sc+oClzDmbQOx
gtzEbXxjMA2VaAcunBV9isCyy8oZTDcNEpVmvrQwFnSNpz+eZeQID4zbb9Y+BsvN
5ZE3fjA57SqPLYDqZ275qVYMI+Yh8kC2WSblz7zwR0gDqPmcb/Ss+ucX5D+MVjcQ
kCK5MtSrQz+8AEmFu4sC
=xmpv
-----END PGP SIGNATURE-----

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