Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Apr 2018 11:23:56 -0700
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        Cy Schubert <Cy.Schubert@cschubert.com>, freebsd-hackers@freebsd.org
Subject:   Re: mips.mips64elhf and mips.mips64el buildworld
Message-ID:  <201804061823.w36INua7044731@slippy.cwsent.com>
In-Reply-To: Message from Dimitry Andric <dim@FreeBSD.org> of "Fri, 06 Apr 2018 13:05:40 %2B0200." <54034076-5964-4A06-94FA-1D56E284EE96@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <54034076-5964-4A06-94FA-1D56E284EE96@FreeBSD.org>, Dimitry 
Andric w
rites:
> 
>
> --Apple-Mail=_6F848AAA-AFAC-4D7C-A7F0-E25476750616
> Content-Transfer-Encoding: quoted-printable
> Content-Type: text/plain;
> 	charset=us-ascii
>
> On 6 Apr 2018, at 07:59, Cy Schubert <Cy.Schubert@cschubert.com> wrote:
> >=20
> > In message <A3D57ABC-B3CC-4B90-B009-3527B3F9F10A@FreeBSD.org>, Dimitry
> > Andric writes:
> ...
> >>=20
> >> FWIW, a clean head checkout as of r332035 can build world just fine =
> for
> >> mips.mips64elhf, that is with __MAKE_CONF and SRCCONF both set to
> >> /dev/null.  So it's likely due to your changes, I'll try those =
> tomorrow.
> >=20
> > Agreed. I might be onto it. Building to verify my hypothesis.
>
> Adding your changes leads to the following buildworld error, at first:
>
> --- includes_subdir_kerberos5/lib ---
> install: target directory =
> `/home/dim/obj/head/home/dim/src/head/mips.mips64elhf/tmp/usr/include/priv=
> ate/asn1/' does not exist
> usage: install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]
>                [-M log] [-D dest] [-h hash] [-T tags]
>                [-B suffix] [-l linkflags] [-N dbdir]
>                file1 file2
>        install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]
>                [-M log] [-D dest] [-h hash] [-T tags]
>                [-B suffix] [-l linkflags] [-N dbdir]
>                file1 ... fileN directory
>        install -dU [-vU] [-g group] [-m mode] [-N dbdir] [-o owner]
>                [-M log] [-D dest] [-h hash] [-T tags]
>                directory ...
> --- includes_subdir_kerberos5/usr.bin ---
> --- includes_subdir_kerberos5/usr.bin/kinit ---
> =3D=3D=3D> kerberos5/usr.bin/kinit (includes)
> --- includes_subdir_kerberos5/lib ---
> *** [_INCSINS] Error code 64
>
> so I added that directory to mtree, using:
>
> Index: etc/mtree/BSD.usr.dist
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- etc/mtree/BSD.usr.dist      (revision 332040)
> +++ etc/mtree/BSD.usr.dist      (working copy)
> @@ -9,6 +9,8 @@
>      ..
>      include
>          private
> +            asn1
> +            ..
>              bsdstat
>              ..
>              event
>
>
> but then it leads to many errors like the following:
>
> --- common.pico ---
> In file included from =
> /home/dim/src/head/crypto/heimdal/lib/ipc/common.c:36:
> /home/dim/src/head/crypto/heimdal/lib/ipc/hi_locl.h:57:25: error: =
> asn1-common.h: No such file or directory
>
> and:
>
> --- client.o ---
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c: In function =
> 'unix_socket_ipc':
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:384: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:384: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:384: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:384: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:384: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:384: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:391: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:392: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:396: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:396: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:396: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:405: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:406: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:407: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:407: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:408: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:410: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:410: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:410: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:413: error: =
> dereferencing pointer to incomplete type
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c: In function =
> 'heim_ipc_async':
> /home/dim/src/head/crypto/heimdal/lib/ipc/client.c:562: error: storage =
> size of 'rcv' isn't known
>
> E.g. for some reason the required headers aren't found anymore.
>
> I never get to the stage where linking fails, in any case. :)

I committed the fix in r332124. I forgot to fully remove an early 
workaround I was using early during the conversion effort. Building 
tinderbox on universe12b completed successfully.

I'll put together a patch from the krb5 branch for my exp-run PR and 
post a copy here. That should make it simpler for people to test. I'll 
try to have the patch posted tomorrow when I have more than a few 
minutes alone (we're babysitting a grandchild today, my day off from 
$JOB).


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.





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