From owner-freebsd-ports@freebsd.org Tue Jun 21 20:31:05 2016 Return-Path: Delivered-To: freebsd-ports@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 1C1A5AC5F60 for ; Tue, 21 Jun 2016 20:31:05 +0000 (UTC) (envelope-from freebsd@skysmurf.nl) Received: from mail.skysmurf.nl (spectrum.skysmurf.nl [83.162.175.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.skysmurf.nl", Issuer "mail.skysmurf.nl" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C9D721C6 for ; Tue, 21 Jun 2016 20:31:03 +0000 (UTC) (envelope-from freebsd@skysmurf.nl) Received: from spectrum.skysmurf.nl (mail.skysmurf.nl [192.168.42.4]) by mail.skysmurf.nl (8.15.2/8.15.2) with SMTP id u5LKEkTf032125; Tue, 21 Jun 2016 22:14:46 +0200 (CEST) (envelope-from freebsd@skysmurf.nl) Received: by spectrum.skysmurf.nl (sSMTP sendmail emulation); Tue, 21 Jun 2016 22:14:46 +0200 Date: Tue, 21 Jun 2016 22:14:46 +0200 From: Alphons van Werven To: Doug Sampson Cc: FreeBSD ports mailing list Subject: Re: iozone3-434 fails to rebuild Message-ID: <20160621201446.GA32054@spectrum.skysmurf.nl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.skysmurf.nl/~fonz/fonz_pubkey.asc User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2016 20:31:05 -0000 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Doug Sampson wrote: > it crashes as follows: >=20 > ### > <...snip...> > iozone.c:1297:1: error: unknown type name 'off64_t'; did you mean 'off_t'? > off64_t offset =3D 0; /*offset for random I/O */ > ^~~~~~~ > off_t > /usr/include/sys/types.h:173:18: note: 'off_t' declared here > typedef __off_t off_t; /* file offset */ > ^ [snip] > Doesn't matter which config options I select/deselect, As far as I can tell it doesn't *crash*, it merely fails to build ;-) I don't think the options are relevant in this case. If I'm not mistaken off64_t is some kind of GNU extension, but installing lang/gcc and trying to compile a piece of sample code with GCC still didn't work for me. Which means I can reproduce the problem on 10.2-RELEASE-p19/amd64. There seems to be a #define or typedef missing somewhere. Perhaps somebody can ask around upstream what the authors are expecting from the off64_t type, so we can find a suitable replacement on FreeBSD systems: probably offset_t, (u)int64_t, or something along those lines. HTH, Fonz --=20 A.J. "Fonz" van Werven mailsig: Ob technicas difficultates, lux in fine cuniculum non operatur. --AhhlLboLdkugWU4S Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXaaA2AAoJEAfP7gJTaCe8lJQQAMRIy4a6UCtWjQSJJabcHNoL F6xuEKKpMu4GqY2Z2uPIC3ppBsZRCe1c/qC3TAoo1gIKh01EJ9CYaZXARwBahD1n nUnLSXoIhM+k9qrbCo0LVp++JGf9WeLh46C8OZX6nBzA65mALiBekghHd3Dr/khq AIB1aU+U4vyPEWsWSB3rc5IKhXAIxpg0Q8aykpWAd7sptUgtRJIvp6qn44IFnAT4 9I9vTsPHQnz3qFXW6uCxCLRo1SE5m+ULo+K+dIbNP4wijFP0FBtvihlSrb64Akvj p5iGvqgdjE4g06wm62FzkSRZy+wyRNRo0lQePoKyqrRksVPetLVs1T4noErIdVtI UGaJYfoA5WstAb3i6rUjbf9JlKBNRPQSki5R0yAmdupei4vcDiCC2sghyFshtTSl a1oHOr4VTFRqIKFLYC7ccvr2iS9kWQk8OyJF928zUIWA4qMCb5Y7IwhmcxKSRDQM HHcKZq7wBJW8rtz8plYzib1e5mXU51h6aKv+h60+t//sPpWmQwMkwvxMzneGL6wH Xetre/twbad0wpijMwvCj/BrXa2PXxqdLDkvI0pBGma4utXx828MYlCyD9IdSXLk K4M0JMWeeFTPICTajZvNUzZAyWhSxwjscOTQO/axP33HJkm4g1HFwh4hF4GtoDjF CFmReEc8wqA99PM3PbBx =b5VN -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S--