mips.mips64elhf and mips.mips64el buildworld

Dimitry Andric dim at FreeBSD.org
Fri Apr 6 11:05:49 UTC 2018


On 6 Apr 2018, at 07:59, Cy Schubert <Cy.Schubert at cschubert.com> wrote:
> 
> In message <A3D57ABC-B3CC-4B90-B009-3527B3F9F10A at FreeBSD.org>, Dimitry
> Andric writes:
...
>> 
>> 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.
> 
> 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/private/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 ---
===> 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
===================================================================
--- 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. :)

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20180406/31d4ceac/attachment.sig>


More information about the freebsd-hackers mailing list