From nobody Wed Nov 01 05:30:41 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SKwZp0CJlz4ylxY; Wed, 1 Nov 2023 05:30:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SKwZn4xkBz4cHH; Wed, 1 Nov 2023 05:30:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698816641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CpKGcxZL5x+zfKu/2BEy60NIIej0wd59hlzczJTw3Qs=; b=hTwRpuxxRDyi24J2uCSJWZ0iRc66MopsvgaAGilbDPow5tLEPP5LQLlyh6evz/lJlxgZy5 MmAMQ0J+PNXVFQm0M+ZFVDJDdhOCE2HC+p1luGbX9ZsDoi20G/uM2PniyKMYoNmSt+a4zz xquC2VyduumDV3YO7pc3jeNnRYQLz6MshRJiR6R8IlW2Zix/CE8K60WjZlsUKR+xD7hFdb Wec/98DDclryznylejLpZyKzmJoOkCOBnr6Kz2SmYYHAWRg51i1c7TuOrIiVdreV0biIkz 1d87abHtXmDMA8YECWWcmu07HdPtXKYjAs8CxOW9++gFxRjfl+ftiT4cQ+NmEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698816641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CpKGcxZL5x+zfKu/2BEy60NIIej0wd59hlzczJTw3Qs=; b=VENBt9fVk8eqrQTnCZdZutmbIB7ej0xqfsh2W0KGcnGF3gi/YdVUNBwv3dHYzrlRDwnhtB CpE32TTHaTbNXoFgbu3tJiyqNqwaXNr2m/owFyXDFl9tOb2bkmxpQAepHQWiyRWiDT9MU9 TZskNPP5ohgnPu2CpWkahfZNIz3nedOPAGx6iRPc0eLjAU1StAcTsyU7GryAjn3ejGyV0w H7HI/vo6t2ODcRC1stUukG5P4GY3EfXyo7CAcbuDDHiBhp0IOmn+irkNvjlA7gxbdTMjSN mStAlEkDixbBOxSbD9wLHcZjKu9laO/v4vkSh2+d86VEL+3SS4iSyhqvRuTmHw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698816641; a=rsa-sha256; cv=none; b=W8Y4dF6OWAq/UlOsKezv8dfdiIzvTeCUUKb8QViQopGYscXWCxqBvy8pmryVP6g9M8eeXW OEaU8+CaRdMbg4a1ONKPV3lmiypHohr2zIWsRvLxgHgE4dx92D5xm2uM1LfeJaecW6H6iM mJwW2fLAbj/9ORo6mRcjQ0nFpofL62CLJ3Rdhe4KxFQyBUriVIkgTRWdGcoXPEU7ULSHqU qPCdwNximgN0vt4KR1yfWHxPcTrk5qAvgzbh0SPa5+ApsL5JT0wq9Ak0p+GYNUX5389zTf A5BFBcnt2ALPsq1zWzk+MudrNzm27fuohiYKr0/SOaR3rh2pR2+yT5vMRF2cqw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SKwZn43LvzZKl; Wed, 1 Nov 2023 05:30:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A15UfsC004391; Wed, 1 Nov 2023 05:30:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A15Ufaq004388; Wed, 1 Nov 2023 05:30:41 GMT (envelope-from git) Date: Wed, 1 Nov 2023 05:30:41 GMT Message-Id: <202311010530.3A15Ufaq004388@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: a6509f48443a - main - databases/postgis32: Fix build on FreeBSD 12 by using c++14 explicitly List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a6509f48443ae46b2fbc39a88603b40be5e5fa54 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=a6509f48443ae46b2fbc39a88603b40be5e5fa54 commit a6509f48443ae46b2fbc39a88603b40be5e5fa54 Author: Po-Chuan Hsieh AuthorDate: 2023-11-01 05:30:13 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-11-01 05:30:13 +0000 databases/postgis32: Fix build on FreeBSD 12 by using c++14 explicitly The error message is as follows: cc -std=c++11 -x c++ -I../../liblwgeom -Iinclude -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr/local/include/json-c -I/usr/local/include -DNDEBUG -I/usr/local/include -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -DPIC -c -o flatgeobuf_c.o flatgeobuf_c.cpp In file included from flatgeobuf_c.cpp:26: In file included from ./feature_generated.h:7: In file included from include/flatbuffers/flatbuffers.h:20: In file included from include/flatbuffers/base.h:241: In file included from /usr/local/include/absl/strings/string_view.h:39: In file included from /usr/local/include/absl/base/attributes.h:37: In file included from /usr/local/include/absl/base/config.h:86: /usr/local/include/absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported." #error "C++ versions less than C++14 are not supported." ^ 1 error generated. gmake[4]: *** [Makefile:50: flatgeobuf_c.o] Error 1 gmake[4]: Leaving directory '/wrkdirs/usr/ports/databases/postgis32/work/postgis-3.2.5/deps/flatgeobuf' gmake[3]: *** [Makefile:213: ../deps/flatgeobuf/libflatgeobuf.la] Error 2 gmake[3]: Leaving directory '/wrkdirs/usr/ports/databases/postgis32/work/postgis-3.2.5/postgis' gmake[2]: *** [GNUmakefile:22: all] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/databases/postgis32/work/postgis-3.2.5' gmake[1]: *** [Makefile:6: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/postgis32/work/postgis-3.2.5' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Approved by: portmgr (blanket) --- databases/postgis32/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/databases/postgis32/Makefile b/databases/postgis32/Makefile index a32b2f920dad..7cb6b83f51c3 100644 --- a/databases/postgis32/Makefile +++ b/databases/postgis32/Makefile @@ -17,13 +17,14 @@ LIB_DEPENDS= libproj.so:graphics/proj \ libjson-c.so:devel/json-c \ libgdal.so:graphics/gdal -USES= alias compiler:c++11-lang cpe gmake gnome iconv:wchar_t libtool:keepla \ +USES= alias compiler:c++14-lang cpe gmake gnome iconv:wchar_t libtool:keepla \ localbase perl5 pkgconfig pgsql:11+ shebangfix USE_GNOME= libxml2 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} NUMERICFLAGS=${PORTVERSION} +USE_CXXSTD= c++14 SHEBANG_FILES= extensions/address_standardizer/*.pl raster/test/regress/*.pl \ raster/test/regress/loader/*.pl regress/run_test.pl \ utils/postgis_restore.pl.in utils/*.pl