From owner-freebsd-questions@freebsd.org Thu Aug 6 15:17:06 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 303F79B430A for ; Thu, 6 Aug 2015 15:17:06 +0000 (UTC) (envelope-from lists@olivarim.com) Received: from 1.mo5.mail-out.ovh.net (1.mo5.mail-out.ovh.net [188.165.57.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E91CE1BEB for ; Thu, 6 Aug 2015 15:17:05 +0000 (UTC) (envelope-from lists@olivarim.com) Received: from mail422.ha.ovh.net (gw6.ovh.net [213.251.189.206]) by mo5.mail-out.ovh.net (Postfix) with SMTP id 50195FF8DE2 for ; Thu, 6 Aug 2015 17:07:24 +0200 (CEST) Received: from localhost (HELO queueout) (127.0.0.1) by localhost with SMTP; 6 Aug 2015 17:07:22 +0200 Received: from 112-172-190-109.dsl.ovh.fr (HELO nic-ppc-marin.cloud.olivarim.com) (lists@olivarim.com@109.190.172.112) by ns0.ovh.net with SMTP; 6 Aug 2015 17:07:20 +0200 Date: Thu, 6 Aug 2015 17:06:12 +0200 From: Marin Bernard To: freebsd-questions@freebsd.org Subject: Re: buildworld failure on FreeBSD 10-STABLE Message-ID: <20150806150612.GB933@nic-ppc-marin.cloud.olivarim.com> References: <20150806121931.GA933@nic-ppc-marin.cloud.olivarim.com> <20150806141524.GB40869@slackbox.erewhon.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150806141524.GB40869@slackbox.erewhon.home> User-Agent: Mutt/1.5.23 (2014-03-12) X-Ovh-Tracer-Id: 8658170284766486277 X-Ovh-Remote: 109.190.172.112 (112-172-190-109.dsl.ovh.fr) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: 0 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeekfedrvddvucetufdoteggucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenuc X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeekfedrvddvucetufdoteggucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenuc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2015 15:17:06 -0000 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 > > > > > > cc -O2 -pipe > > > /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.