From owner-freebsd-ports@freebsd.org Mon May 3 21:26:48 2021 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9A46363DFD7 for ; Mon, 3 May 2021 21:26:48 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FYwyw2Vbpz3l2c for ; Mon, 3 May 2021 21:26:48 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: by mailman.nyi.freebsd.org (Postfix) id 53F4063E1C9; Mon, 3 May 2021 21:26:48 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 529A963E05D; Mon, 3 May 2021 21:26:48 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: from mx1.dismail.de (mx1.dismail.de [78.46.223.134]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mx1.dismail.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FYwyv6vTgz3lS1; Mon, 3 May 2021 21:26:47 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 522c2fa2; Mon, 3 May 2021 23:26:45 +0200 (CEST) Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 5e660b0e; Mon, 3 May 2021 23:26:45 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id bfa8a9d3; Mon, 3 May 2021 23:26:44 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 4434b106 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 3 May 2021 23:26:43 +0200 (CEST) Date: Mon, 3 May 2021 17:26:38 -0400 From: LuMiWa To: Matthieu Volat Cc: LuMiWa via freebsd-ports , FreeBSD Ports Subject: Re: gdal Message-ID: <20210503172638.44b4ab75@dismail.de> In-Reply-To: <20210503124200.6016c5e9@gramr.alkumuna.eu> References: <20210502135545.3a487b8b@dismail.de> <20210503124200.6016c5e9@gramr.alkumuna.eu> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4FYwyv6vTgz3lS1 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2021 21:26:48 -0000 On Mon, 3 May 2021 12:42:00 +0200 Matthieu Volat wrote: > On Sun, 2 May 2021 13:55:45 -0400 > LuMiWa via freebsd-ports wrote: >=20 > > Hi! > >=20 > > I have a problem to build graphics/gdal on FreeBSD-13.0-RELEASE: > > m::seekp' declared here: type mismatch at 1st parameter ('uint64_t' > > (aka 'unsigned long') vs 'GInt64' (aka 'long long')) virtual void > > seekp (uint64_t pos) =3D 0; ^ > > exrdataset.cpp:495:1: error: unknown type name 'Int64'; did you mean > > 'GInt64'? Int64 GDALEXRIOStream::tellg () > > ^~~~~ > > GInt64 > > /usr/ports/graphics/gdal/work/gdal-3.2.2/port/cpl_port.h:267:26: > > note: 'GInt64' declared here typedef GIntBig GInt64; > > ^ > > exrdataset.cpp:497:24: error: unknown type name 'Int64'; did you > > mean 'GInt64'? return static_cast(VSIFTellL(m_fp)); > > ^~~~~ > > GInt64 > > /usr/ports/graphics/gdal/work/gdal-3.2.2/port/cpl_port.h:267:26: > > note: 'GInt64' declared here typedef GIntBig GInt64; > > ^ > > exrdataset.cpp:500:30: error: unknown type name 'Int64'; did you > > mean 'GInt64'? void GDALEXRIOStream::seekg (Int64 pos) > > ^~~~~ > > GInt64 > > /usr/ports/graphics/gdal/work/gdal-3.2.2/port/cpl_port.h:267:26: > > note: 'GInt64' declared here typedef GIntBig GInt64; > > ^ > > exrdataset.cpp:566:36: error: allocating an object of abstract class > > type 'GDALEXRIOStream' poDS->m_pIStream.reset(new > > GDALEXRIOStream(fp, osFilename)); ^ > > exrdataset.cpp:992:25: error: variable type 'GDALEXRIOStream' is an > > abstract class GDALEXRIOStream ostream(fp, pszFilename); > > ^ > > exrdataset.cpp:1984:32: error: allocating an object of abstract > > class type 'GDALEXRIOStream' poDS->m_pOStream.reset(new > > GDALEXRIOStream(fp, pszFilename)); ^ > > 3 warnings and 14 errors generated. > > gmake[4]: *** [../../GDALmake.opt:646: ../o/exrdataset.o] Error 1 > > gmake[4]: Leaving directory > > '/usr/ports/graphics/gdal/work/gdal-3.2.2/frmts/exr' gmake[3]: *** > > [GNUmakefile:15: exr-install-obj] Error 2 gmake[3]: Leaving > > directory '/usr/ports/graphics/gdal/work/gdal-3.2.2/frmts' > > gmake[2]: *** [GNUmakefile:114: frmts-target] Error 2 gmake[2]: > > Leaving directory '/usr/ports/graphics/gdal/work/gdal-3.2.2' *** > > Error code 1 > >=20 > > Stop. > > make[1]: stopped in /usr/ports/graphics/gdal > > *** Error code 1 > >=20 > > Thank you. > >=20 >=20 > Hi, this happens indeed when you build gdal *without* the EXR option > when openexr is present at build time. I guess the off option is not > passed correctly to the configure script? >=20 > Cheers, >=20 > -- Matthieu Volat Thank you very much. --=20 =E2=80=9CTwo things are infinite: the universe and human stupidity; and I'm= not sure about the universe.=E2=80=9D =E2=80=95 Albert Einstein=20