From owner-freebsd-ports@freebsd.org Sun May 2 18:14:19 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 7835F62C6C7 for ; Sun, 2 May 2021 18:14:19 +0000 (UTC) (envelope-from lbartoletti@tuxfamily.org) Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) (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 4FYDlF6fBrz4tsw for ; Sun, 2 May 2021 18:14:17 +0000 (UTC) (envelope-from lbartoletti@tuxfamily.org) Received: from iMac-de-Loic.local (unknown [IPv6:2a01:e34:ef45:d440:4d16:600:8dea:ce72]) by smtp6-g21.free.fr (Postfix) with ESMTP id ECF3C780340 for ; Sun, 2 May 2021 20:14:12 +0200 (CEST) Subject: Re: gdal To: freebsd-ports@freebsd.org References: <20210502135545.3a487b8b@dismail.de> From: =?UTF-8?Q?Lo=c3=afc_Bartoletti?= Message-ID: Date: Sun, 2 May 2021 20:14:12 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <20210502135545.3a487b8b@dismail.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: fr X-Rspamd-Queue-Id: 4FYDlF6fBrz4tsw X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=neutral (mx1.freebsd.org: 212.27.42.6 is neither permitted nor denied by domain of lbartoletti@tuxfamily.org) smtp.mailfrom=lbartoletti@tuxfamily.org X-Spamd-Result: default: False [-1.85 / 15.00]; R_SPF_NEUTRAL(0.00)[?all]; RWL_MAILSPIKE_GOOD(0.00)[212.27.42.6:from]; TO_DN_NONE(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; R_MIXED_CHARSET(1.25)[subject]; ASN(0.00)[asn:12322, ipnet:212.27.32.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[lbartoletti]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.27.42.6:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; DMARC_NA(0.00)[tuxfamily.org: no valid DMARC record]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[212.27.42.6:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[212.27.42.6:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-ports] 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: Sun, 02 May 2021 18:14:19 -0000 Hi, What's your options? How do you build it? Thanks. Loïc Le 02/05/2021 à 19:55, LuMiWa via freebsd-ports a écrit : > Hi! > > 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) = 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 > > Stop. > make[1]: stopped in /usr/ports/graphics/gdal > *** Error code 1 > > Thank you. > >