From owner-freebsd-hackers@freebsd.org Fri Apr 6 18:24:00 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3395FF9C2A8 for ; Fri, 6 Apr 2018 18:24:00 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A76D56D33E; Fri, 6 Apr 2018 18:23:59 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id 4W1lfRctHU5pn4W1mfTEhW; Fri, 06 Apr 2018 12:23:58 -0600 X-Authority-Analysis: v=2.3 cv=Tai4SyYh c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=Kd1tUaAdevIA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=XAfuqQ4JLLCGJg_28wQA:9 a=9Fa2kvWeBO14R3vi:21 a=CjuIK1q_8ugA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 0B2F01699; Fri, 6 Apr 2018 11:23:57 -0700 (PDT) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id w36INuvB044736; Fri, 6 Apr 2018 11:23:56 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id w36INua7044731; Fri, 6 Apr 2018 11:23:56 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201804061823.w36INua7044731@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Dimitry Andric cc: Cy Schubert , freebsd-hackers@freebsd.org Subject: Re: mips.mips64elhf and mips.mips64el buildworld In-Reply-To: Message from Dimitry Andric of "Fri, 06 Apr 2018 13:05:40 +0200." <54034076-5964-4A06-94FA-1D56E284EE96@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 06 Apr 2018 11:23:56 -0700 X-CMAE-Envelope: MS4wfMB8Xt/5BlCGWW0zWAnvyR3KsEeVsKD+4CCtJXY0L7Tta/j7czM0SASQ18WYMeP9d+Lm2a/kU62JYUJ1s7UX3sRYBB/+H0uYeFUEvb/VA9DxjVqqDdWP mTevTndX3XfLDAxUORGjDXD79JrgDqT6ITydnEgXhkW4xqmGRPfci8d7UYJqVTPVZ+B1NOxg2pLAuXuCgOV5ssbhKnURf8bah4qLiWUQqbP6b51Un6INhEHJ X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2018 18:24:00 -0000 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 wrote: > >=20 > > In message , 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 FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.