From owner-freebsd-ports@freebsd.org Tue May 4 12:31: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 68D60630B54 for ; Tue, 4 May 2021 12:31:12 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FZK2S0K4Bz3F4b for ; Tue, 4 May 2021 12:31:12 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: by mailman.nyi.freebsd.org (Postfix) id 0ADF2630B53; Tue, 4 May 2021 12:31:12 +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 0AA71630BBB for ; Tue, 4 May 2021 12:31:12 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from zmailer.gwdg.de (zmailer.gwdg.de [134.76.11.27]) (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 4FZK2L4bgcz3Djf for ; Tue, 4 May 2021 12:31:06 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from excmbx-03.um.gwdg.de ([134.76.9.218] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (GWDG Mailer) (envelope-from ) id 1lduCZ-0000le-FY; Tue, 04 May 2021 14:30:59 +0200 Received: from krabat.raven.hur (10.250.9.199) by EXCMBX-03.um.gwdg.de (134.76.9.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2242.4; Tue, 4 May 2021 14:30:59 +0200 Subject: Re: gdal To: LuMiWa References: <20210502135545.3a487b8b@dismail.de> CC: FreeBSD Ports Reply-To: From: Rainer Hurling Message-ID: <3d423a8b-0bcf-de13-996a-13f36ee39eae@gwdg.de> Date: Tue, 4 May 2021 14:30:58 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; 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" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.250.9.199] X-ClientProxiedBy: excmbx-21.um.gwdg.de (134.76.9.231) To EXCMBX-03.um.gwdg.de (134.76.9.218) X-Virus-Scanned: (clean) by clamav X-Rspamd-Queue-Id: 4FZK2L4bgcz3Djf X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of rhurlin@gwdg.de designates 134.76.11.27 as permitted sender) smtp.mailfrom=rhurlin@gwdg.de X-Spamd-Result: default: False [-1.31 / 15.00]; HAS_REPLYTO(0.00)[rhurlin@FreeBSD.org]; HAS_XOIP(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:134.76.10.0/23]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[134.76.11.27:from]; ASN(0.00)[asn:680, ipnet:134.76.0.0/16, country:DE]; R_DKIM_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[rhurlin]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.99)[0.990]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; DMARC_NA(0.00)[gwdg.de]; SPAMHAUS_ZRD(0.00)[134.76.11.27:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; BLOCKLISTDE_FAIL(0.00)[134.76.11.27:query timed out,134.76.9.218:query timed out]; MAILMAN_DEST(0.00)[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: Tue, 04 May 2021 12:31:12 -0000 Am 02.05.21 um 19:55 schrieb LuMiWa via freebsd-ports: > 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. > > I just opened a PR with a patch, which should solve the issue ;) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255592 HTH, Rainer