Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Aug 2015 17:06:12 +0200
From:      Marin Bernard <lists@olivarim.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: buildworld failure on FreeBSD 10-STABLE
Message-ID:  <20150806150612.GB933@nic-ppc-marin.cloud.olivarim.com>
In-Reply-To: <20150806141524.GB40869@slackbox.erewhon.home>
References:  <20150806121931.GA933@nic-ppc-marin.cloud.olivarim.com> <20150806141524.GB40869@slackbox.erewhon.home>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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.



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