[MacPorts] #70193: gdal @3.9.0 fails to build: error: missing template arguments before '(' token
MacPorts
noreply at macports.org
Sun Jun 9 11:31:23 UTC 2024
#70193: gdal @3.9.0 fails to build: error: missing template arguments before '('
token
--------------------------+----------------------
Reporter: barracuda156 | Owner: nilason
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Keywords: | Port: gdal
--------------------------+----------------------
Hmm, how was this tested?
{{{
:info:build [ 12%] Building CXX object
ogr/CMakeFiles/ogr.dir/ogrpolyhedralsurface.cpp.o
:info:build cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/build/ogr
&& /opt/local/bin/g++-mp-13 -DDONT_DEPRECATE_SPRINTF -DGDAL_COMPILATION
-DHAVE_EXPAT -DHAVE_GEOS=1 -DHAVE_MITAB -DHAVE_ZLIB -DHAVE_ZLIB_H
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/apps
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/alg
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/gcore
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/build/gcore
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/port
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/build/port
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/ogr
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/ogr/ogrsf_frmts
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/frmts
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/ogr/ogrsf_frmts/geojson
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/ogr/ogrsf_frmts/mem
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/ogr/ogrsf_frmts/geojson/libjson
-I/opt/local/lib/proj9/include -I/opt/local/include/geos
-I/opt/local/include -pipe -DGDAL_COMPILATION -DNDEBUG
-I/opt/local/include -I/opt/local/include/LegacySupport
-D_GLIBCXX_USE_CXX11_ABI=0 -fvisibility=hidden -std=gnu++14 -arch ppc
-mmacosx-version-min=10.6 -fPIC -Wall -Wextra -Winit-self -Wunused-
parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-
dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla
-Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-
conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override
-fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast
-Weffc++ -MD -MT ogr/CMakeFiles/ogr.dir/ogrpolyhedralsurface.cpp.o -MF
CMakeFiles/ogr.dir/ogrpolyhedralsurface.cpp.o.d -o
CMakeFiles/ogr.dir/ogrpolyhedralsurface.cpp.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/ogr/ogrpolyhedralsurface.cpp
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/frmts/gtiff/cogdriver.cpp:
In member function 'GDALDataset* GDALCOGCreator::Create(const char*,
GDALDataset*, char**, GDALProgressFunc, void*)':
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/frmts/gtiff/cogdriver.cpp:1056:50:
error: missing template arguments before '(' token
:info:build 1056 |
asOverviewDims.emplace_back(std::pair(nTmpXSize, nTmpYSize));
:info:build | ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/frmts/gtiff/cogdriver.cpp:1073:30:
error: missing template arguments before '(' token
:info:build 1073 | std::pair(poOvrBand->GetXSize(),
poOvrBand->GetYSize()));
:info:build | ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/frmts/gtiff/cogdriver.cpp:1098:54:
error: missing template arguments before '(' token
:info:build 1098 |
asOverviewDims.emplace_back(std::pair(nTmpXSize, nTmpYSize));
:info:build | ^
:info:build [ 12%] Building CXX object
frmts/raw/CMakeFiles/gdal_raw.dir/btdataset.cpp.o
:info:build cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/build/frmts/raw
&& /opt/local/bin/g++-mp-13 -DDONT_DEPRECATE_SPRINTF -DGDAL_COMPILATION
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/apps
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/alg
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/gcore
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/build/gcore
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/port
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/build/port
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/ogr
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/ogr/ogrsf_frmts
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/frmts
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/frmts/raw
-pipe -DGDAL_COMPILATION -DNDEBUG -I/opt/local/include
-I/opt/local/include/LegacySupport -D_GLIBCXX_USE_CXX11_ABI=0
-fvisibility=hidden -std=gnu++14 -arch ppc -mmacosx-version-min=10.6 -fPIC
-Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations
-Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-
security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time
-Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor
-Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-
null-pointer-constant -Weffc++ -MD -MT
frmts/raw/CMakeFiles/gdal_raw.dir/btdataset.cpp.o -MF
CMakeFiles/gdal_raw.dir/btdataset.cpp.o.d -o
CMakeFiles/gdal_raw.dir/btdataset.cpp.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/frmts/raw/btdataset.cpp
:info:build [ 12%] Building CXX object
port/CMakeFiles/cpl.dir/cpl_vsil_stdout.cpp.o
:info:build cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/build/port
&& /opt/local/bin/g++-mp-13 -DBUILD_WITHOUT_64BIT_OFFSET
-DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DGDAL_COMPILATION
-DHAVE_BLOSC -DHAVE_CURL -DHAVE_ICONV -DHAVE_LIBDEFLATE -DHAVE_LIBXML2
-DHAVE_LIBZ -DHAVE_LZ4 -DHAVE_OPENSSL_CRYPTO -DHAVE_PREAD_BSD -DHAVE_ZLIB
-DHAVE_ZLIB_H -DHAVE_ZSTD -DINST_DATA=\"/opt/local/share/gdal\"
-DSIZEOF_OFF_T=8 -DSYSCONFDIR=\"/etc/opt/local\" -DZIP_SUPPORT
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/port
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/build/port
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/ogr/ogrsf_frmts/geojson/libjson
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/frmts/zlib/contrib/infback9
-I/opt/local/include -I/opt/local/include/libxml2
-I/opt/local/libexec/openssl3/include -pipe -DGDAL_COMPILATION -DNDEBUG
-I/opt/local/include -I/opt/local/include/LegacySupport
-D_GLIBCXX_USE_CXX11_ABI=0 -fvisibility=hidden -std=gnu++14 -arch ppc
-mmacosx-version-min=10.6 -fPIC -Wall -Wextra -Winit-self -Wunused-
parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-
dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla
-Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-
conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override
-fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast
-Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_vsil_stdout.cpp.o -MF
CMakeFiles/cpl.dir/cpl_vsil_stdout.cpp.o.d -o
CMakeFiles/cpl.dir/cpl_vsil_stdout.cpp.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/gdal-3.9.0/port/cpl_vsil_stdout.cpp
:info:build make[2]: ***
[frmts/gtiff/CMakeFiles/gdal_GTIFF.dir/cogdriver.cpp.o] Error 1
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/work/build'
:info:build make[1]: *** [frmts/gtiff/CMakeFiles/gdal_GTIFF.dir/all] Error
2
:info:build make[1]: *** Waiting for unfinished jobs....
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70193>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list