On Wed, Apr 06, 2016 at 06:15:11PM -0700, Sean Fagan wrote: > On Apr 6, 2016, at 6:10 PM, Glen Barber <[email protected]> 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
signature.asc
Description: PGP signature
