buildworld failure on FreeBSD 10-STABLE

Marin Bernard lists at olivarim.com
Thu Aug 6 15:17:06 UTC 2015


Hi,

Thanks for answering me.

On Thu, Aug 06, 2015 at 04:15:24PM +0200, Roland Smith wrote:
> 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?
> 

This file does not exist:

# cat /etc/src.conf
cat: /etc/src.conf: No such file or directory

> > # 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.

The file does exist. It contains both the #define macro and the typedef:

% cat /usr/src/contrib/ntp/include/lib_strbuf.h | grep -n LIB_BUFLENGTH
14:#define	LIB_BUFLENGTH	128
16:typedef char libbufstr[LIB_BUFLENGTH];

% cat /usr/src/contrib/ntp/include/lib_strbuf.h | grep -n "#define LIB_NUMBUF"
13:#define LIB_NUMBUF	16

I use snvup to pull the source. It never reported any sync error.


More information about the freebsd-questions mailing list