buildworld failure on FreeBSD 10-STABLE

Roland Smith rsmith at xs4all.nl
Thu Aug 6 14:16:37 UTC 2015


On Thu, Aug 06, 2015 at 02:19:31PM +0200, Marin Bernard wrote:
> Hi,
> 
> I've been trying for several days to build world for FreeBSD 10-STABLE
> (r286362 and several older revisions) from FreeBSD 10.1-RELEASE. Each
> time, thee build process fails at libntp (see logs below).
>
> Below are some clues about my system. Am I missing something? Thanks!
> 
> # cat /etc/make.conf
> WITH_PKGNG="YES"

Anything in your /etc/src.conf?

> # uname -a
> FreeBSD nic-ppc-marin.cloud.olivarim.com 10.1-RELEASE-p16 FreeBSD
> 10.1-RELEASE-p16 #0: Tue Jul 28 12:04:19 UTC 2015
> root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> # ls /usr/obj
> ls: /usr/obj: No such file or directory
> 
> # make buildworld
> 
> <SNIP>
> cc   -O2 -pipe
<snip>
> /usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/lib_strbuf.c:20:1:
> error: unknown type name 'libbufstr'
> libbufstr       lib_stringbuf[LIB_NUMBUF];
> ^

This type is typedef-ed in /usr/src/contrib/ntp/include/lib_strbuf.h:

    typedef char libbufstr[LIB_BUFLENGTH];

> /usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/lib_strbuf.c:20:25:
> error: use of undeclared identifier 'LIB_NUMBUF'
> libbufstr       lib_stringbuf[LIB_NUMBUF];
>                               ^

This is defined in /usr/src/contrib/ntp/include/lib_strbuf.h as well:

    #define LIB_NUMBUF      16

Make sure that /usr/src/contrib/ntp/include/lib_strbuf.h exists and it not
empty.


Roland
-- 
R.F.Smith                                   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 5753 3324 1661 B0FE 8D93  FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20150806/d19baeb0/attachment.bin>


More information about the freebsd-questions mailing list