From owner-freebsd-ports@freebsd.org Mon May 3 10:42:12 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 79DFE62E771; Mon, 3 May 2021 10:42:12 +0000 (UTC) (envelope-from mazhe@alkumuna.eu) Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [IPv6:2a01:e0c:1:1599::13]) (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 4FYfg82L4yz4hF5; Mon, 3 May 2021 10:42:11 +0000 (UTC) (envelope-from mazhe@alkumuna.eu) Received: from yggdrasil.alkumuna.eu (unknown [IPv6:2a01:e34:ec17:2560::2]) by smtp4-g21.free.fr (Postfix) with ESMTPS id A148819F5A9; Mon, 3 May 2021 12:42:01 +0200 (CEST) Received: from gramr.alkumuna.eu ([IPv6:2a01:e34:ec17:2561:62a4:4cff:fe54:b212]) (authenticated bits=0) by yggdrasil.alkumuna.eu (8.16.1/8.15.2) with ESMTPSA id 143Ag1XR067470 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 3 May 2021 12:42:01 +0200 (CEST) (envelope-from mazhe@alkumuna.eu) Date: Mon, 3 May 2021 12:42:00 +0200 From: Matthieu Volat To: LuMiWa via freebsd-ports Cc: LuMiWa , FreeBSD Ports Subject: Re: gdal Message-ID: <20210503124200.6016c5e9@gramr.alkumuna.eu> In-Reply-To: <20210502135545.3a487b8b@dismail.de> References: <20210502135545.3a487b8b@dismail.de> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/0T=DdYli_ZWLlQYhQAsULmQ"; protocol="application/pgp-signature"; micalg=pgp-sha256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alkumuna.eu; s=default; t=1620038521; bh=f89qGdOko1YMIqPy/GjPoEyT7c4bJAC8MC8/17NDNBw=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:MIME-Version:Content-Type; b=A5+DJDEPSE5DZuqlutZH/TFr2/FyBlI3K85Ig1RGr1W2h46KL6Hv+mnJRzOu/oqQL1N1xJczpaPUS8xqEtfwPzpZGb4SFTewVGnIG+arkj+4NpgS8t7cTm6KSpW4/tL5VgvnfLfV6RHEmLZb2lViPLSyYmB+FBHWSQopX5xO80A= X-Rspamd-Queue-Id: 4FYfg82L4yz4hF5 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none 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 10:42:12 -0000 --Sig_/0T=DdYli_ZWLlQYhQAsULmQ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 2 May 2021 13:55:45 -0400 LuMiWa via freebsd-ports wrote: > 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 Hi, this happens indeed when you build gdal *without* the EXR option when o= penexr is present at build time. I guess the off option is not passed corre= ctly to the configure script? Cheers, -- Matthieu Volat --Sig_/0T=DdYli_ZWLlQYhQAsULmQ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE1xv/SVkem9252haa3yo2fFz8JX4FAmCP03gACgkQ3yo2fFz8 JX7+hw//fvgU4Tmk5ac9yPnl+FBGOzArqECyjkS6zqrmN3BV0fEJJc+lrGDl0Sqt d99+muE0m6Df4LnfzzfTWKuAhgVjTP5jE/ZCfDZWI2JfMWiMyYH2bTV5kAxIskXB KLITfaoRuKaHZSASJoJVbrgDCQLwF7CMv3gj9bpJaipcjR1fclg+5RK94DveJZgG a2jl4cK3/3DInzpIjawsuACsFc7eAwBmNah7WD8XTmWyumdq+sKd4IjUSNqtVtnT y6H1l9pUEAeMwcqrnW/IUaaManjHvIkoeRyxHjMVs9FeY9u3tiuU9vETFRm4CPN4 18Zus9ZszJg1GBqFwb/DvrqvJy0cfSkEARUTW5Wwl8cqA/XY94V92Y2zUpPRhM/D 3GmfwYlA09T2agD0V4gcm+XUfUX3TJGh72wpoWTGyqTEuAEbCc2ahliGHJLJjTwL jgxJxxnrkMn9FTzuaiIIyZM5naA4LbN+1hzcwrCed25c63EjOCFAqROHMNcyuD7P NvP4j7if1W9McjxZCTxdEvtpEd7eIsUxrwVzFrmW0DB2H0heYyioiBZ8AdrCymsr SdYKjGqtsqiaSToq+M3hVCKkVEzOOCokLPnXgK9g4SM6OhmBMlc7fXHvOyyaSVtw C2VL3bJyEAN5/fpnz9uKwiIX6fWCfDZi44vfdoeEFmYEmMhb1cQ= =YZRN -----END PGP SIGNATURE----- --Sig_/0T=DdYli_ZWLlQYhQAsULmQ--