From owner-freebsd-ports@freebsd.org Tue Jun 21 19:50:21 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 B247CAC5443 for ; Tue, 21 Jun 2016 19:50:21 +0000 (UTC) (envelope-from freebsd-ports-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 69FFC215A; Tue, 21 Jun 2016 19:50:21 +0000 (UTC) (envelope-from freebsd-ports-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id DEB5233C25; Tue, 21 Jun 2016 15:50:13 -0400 (EDT) From: Lowell Gilbert To: Kimmo Paasiala Cc: Doug Sampson , "freebsd-ports\@freebsd.org" Cc: bapt@freebsd.org Subject: Re: iozone3-434 fails to rebuild References: Date: Tue, 21 Jun 2016 15:50:13 -0400 In-Reply-To: (Kimmo Paasiala's message of "Tue, 21 Jun 2016 22:07:07 +0300") Message-ID: <448txyz5hm.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain 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 19:50:21 -0000 Kimmo Paasiala writes: > Same here on 10.3-RELEASE. I wonder how the port got updated with > sponsorship from "Gandi.net", yet the committed changes were > apparently not tested? It may well work in their environment. I suspect you could fix the build with an appropriate CFLAGS setting: something like "-Doff64_t=off_t". I don't have my build machine up right now, but looking at the source code, the upstream source does try to deal with defining off64_t for some platforms. It knows about FreeBSD, but doesn't define it for FreeBSD. I think that everything system-specific like that should be the same for FreeBSD as for DragonflyBSD.