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

next in thread | previous in thread | raw e-mail | index | archive | help

--oLBj+sq0vYjzfsbl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 06, 2015 at 02:19:31PM +0200, Marin Bernard wrote:
> Hi,
>=20
> 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!
>=20
> # cat /etc/make.conf
> WITH_PKGNG=3D"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@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>=20
> # ls /usr/obj
> ls: /usr/obj: No such file or directory
>=20
> # make buildworld
>=20
> <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
--=20
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)

--oLBj+sq0vYjzfsbl
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iQIcBAABCAAGBQJVw2v8AAoJEED21dyjijPgQPAP/R3pIrWwvLy7YxC658Vwwxe0
WYni8j2sWlptUn51yc0oFTAAHGKoFBoOzEU2unep4DKLPk/DRBqpa6P2wcIpzX7N
nO0QyDxdifnQqC0xrE/rMy1IgkIXBjX71uPCeeaCa69+ffLsjfhQz/h5pY8TJhSN
rKUzjI79OFpkPjJ1tE4DTYJz8S3Y8/AAPqwC/MiOnKP8B+GakxxskG+mHNUGRLAg
wKMPg392TEQ6w4vClyCZmJ2kLdT2NRKEhjdQl8HkF7ccRAI8BC2/FB0ImXiRdHe1
8eGY/D3aH+FK8LdCRO8nCFeZayOpoeAS1qDtzUIvs6JpeafjFCB414idVYc55Tde
+HIee8gG8I8rPYGjqZo7N7kaJ2NYCazMy5DKmULBaYOnyUg712QqMwNsbzSPaj2S
vw5gI2mi19yJhmBJ/4uYQOQmVzd7waPdcO794aJi6Y80m8OIzr75F5harOd8idFl
NWirlV3KT6Et3AEvXFF/Wa8Jhx9wuBvn3qWwavP/b0l9vwXOLpaUDy/jjNOhRuXO
qw84ehcxeL6Bac+gU5I656AKEudd96cC6iJpyPyqRkpXmXkoT2CHpQhcSLmdATme
DhSQiXaCJD4rVB8jRdKw2xj08/Dz8G/RhXNq23CPx3w/Yikt8dwE3q41UcfDBs2s
gBKiWMMapkNYPTJ8TKzh
=VTwZ
-----END PGP SIGNATURE-----

--oLBj+sq0vYjzfsbl--



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