=>> Building graphics/tippecanoe build started at Wed May 7 01:35:59 BST 2025 port directory: /usr/ports/graphics/tippecanoe package name: tippecanoe-2.26.1_1 building for: FreeBSD pkg-builder.dan.net.uk 14.2-RELEASE FreeBSD 14.2-RELEASE amd64 maintained by: darcy@dbitech.ca Makefile datestamp: -rw-r--r-- 1 root wheel 1158 Dec 29 14:16 /usr/ports/graphics/tippecanoe/Makefile Ports top last git commit: 5529c5919b Ports top unclean checkout: yes Port dir last git commit: 1a35b19e6d Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1402000 Jail OSVERSION: 1402000 Job Id: 04 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1402000 UNAME_v=FreeBSD 14.2-RELEASE UNAME_r=14.2-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/14-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/14-amd64-default-dan/04/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=14-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/14-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- darcy@dbitech.ca --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/tippecanoe/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/tippecanoe/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/tippecanoe/work/.cache HOME=/wrkdirs/usr/ports/graphics/tippecanoe/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/tippecanoe/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/tippecanoe/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/tippecanoe/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/tippecanoe/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/tippecanoe/work/.cache HOME=/wrkdirs/usr/ports/graphics/tippecanoe/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/tippecanoe/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/tippecanoe/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=14.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/tippecanoe" EXAMPLESDIR="share/examples/tippecanoe" DATADIR="share/tippecanoe" WWWDIR="www/tippecanoe" ETCDIR="etc/tippecanoe" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/tippecanoe DOCSDIR=/usr/local/share/doc/tippecanoe EXAMPLESDIR=/usr/local/share/examples/tippecanoe WWWDIR=/usr/local/www/tippecanoe ETCDIR=/usr/local/etc/tippecanoe --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl apache=2.4 imagemagick=7 java=21 linux=c7 mysql=8.0 php=8.3 samba=4.19 varnish=7 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE ALLOW_UNSUPPORTED_SYSTEM=yes WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> tippecanoe-2.26.1_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.1.2.pkg [pkg-builder.dan.net.uk] Installing pkg-2.1.2... [pkg-builder.dan.net.uk] Extracting pkg-2.1.2: .......... done ===> tippecanoe-2.26.1_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of tippecanoe-2.26.1_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by tippecanoe-2.26.1_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by tippecanoe-2.26.1_1 for building => SHA256 Checksum OK for felt-tippecanoe-2.26.1_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by tippecanoe-2.26.1_1 for building ===> Extracting for tippecanoe-2.26.1_1 => SHA256 Checksum OK for felt-tippecanoe-2.26.1_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for tippecanoe-2.26.1_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> tippecanoe-2.26.1_1 depends on executable: bash - not found ===> Installing existing package /packages/All/bash-5.2.37.pkg [pkg-builder.dan.net.uk] Installing bash-5.2.37... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.23.1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1_1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1_1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.23.1: .......... done [pkg-builder.dan.net.uk] Extracting bash-5.2.37: .......... done ===> tippecanoe-2.26.1_1 depends on executable: bash - found ===> Returning to build of tippecanoe-2.26.1_1 ===> tippecanoe-2.26.1_1 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> tippecanoe-2.26.1_1 depends on package: gmake>=4.4.1 - found ===> Returning to build of tippecanoe-2.26.1_1 ===> tippecanoe-2.26.1_1 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg-builder.dan.net.uk] Installing ccache-3.7.12_8... [pkg-builder.dan.net.uk] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> tippecanoe-2.26.1_1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of tippecanoe-2.26.1_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> tippecanoe-2.26.1_1 depends on shared library: libsqlite3.so - not found ===> Installing existing package /packages/All/sqlite3-3.46.1_1,1.pkg [pkg-builder.dan.net.uk] Installing sqlite3-3.46.1_1,1... [pkg-builder.dan.net.uk] `-- Installing libedit-3.1.20250104,1... [pkg-builder.dan.net.uk] `-- Extracting libedit-3.1.20250104,1: .......... done [pkg-builder.dan.net.uk] Extracting sqlite3-3.46.1_1,1: ......... done ===> tippecanoe-2.26.1_1 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so) ===> Returning to build of tippecanoe-2.26.1_1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for tippecanoe-2.26.1_1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for tippecanoe-2.26.1_1 c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o geojson.o geojson.cpp cc -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o jsonpull/jsonpull.o jsonpull/jsonpull.c c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o tile.o tile.cpp tile.cpp:1016:9: warning: variable 'count' set but not used [-Wunused-but-set-variable] 1016 | size_t count = 0; | ^ tile.cpp:1949:14: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1949 | int within[child_shards]; | ^~~~~~~~~~~~ tile.cpp:1949:14: note: function parameter 'child_shards' with unknown value cannot be used in a constant expression tile.cpp:1885:376: note: declared here 1885 | long long write_tile(decompressor *geoms, std::atomic *geompos_in, char *stringpool, int z, const unsigned tx, const unsigned ty, const int detail, int min_detail, sqlite3 *outdb, const char *outdir, int buffer, const char *fname, compressor **geomfile, int minzoom, int maxzoom, double todo, std::atomic *along, long long alongminus, double gamma, int child_shards, long long *pool_off, unsigned *initial_x, unsigned *initial_y, std::atomic *running, double simplification, std::vector> *layermaps, std::vector> *layer_unmaps, size_t tiling_seg, size_t pass, unsigned long long mingap, long long minextent, double fraction, const char *prefilter, const char *postfilter, struct json_object *filter, write_tile_args *arg, atomic_strategy *strategy, bool compressed_input) { | ^ tile.cpp:1950:34: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1950 | std::atomic geompos[child_shards]; | ^~~~~~~~~~~~ tile.cpp:1950:34: note: function parameter 'child_shards' with unknown value cannot be used in a constant expression tile.cpp:1885:376: note: declared here 1885 | long long write_tile(decompressor *geoms, std::atomic *geompos_in, char *stringpool, int z, const unsigned tx, const unsigned ty, const int detail, int min_detail, sqlite3 *outdb, const char *outdir, int buffer, const char *fname, compressor **geomfile, int minzoom, int maxzoom, double todo, std::atomic *along, long long alongminus, double gamma, int child_shards, long long *pool_off, unsigned *initial_x, unsigned *initial_y, std::atomic *running, double simplification, std::vector> *layermaps, std::vector> *layer_unmaps, size_t tiling_seg, size_t pass, unsigned long long mingap, long long minextent, double fraction, const char *prefilter, const char *postfilter, struct json_object *filter, write_tile_args *arg, atomic_strategy *strategy, bool compressed_input) { | ^ tile.cpp:2391:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 2391 | pthread_t pthreads[tasks]; | ^~~~~ tile.cpp:2391:22: note: read of non-const variable 'tasks' is not allowed in a constant expression tile.cpp:2386:7: note: declared here 2386 | int tasks = ceil((double) CPUS / *running); | ^ tile.cpp:2777:34: warning: implicit conversion from 'unsigned long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion] 2777 | if (nmg <= mingap || nmg > ULONG_MAX) { | ~ ^~~~~~~~~ /usr/include/sys/limits.h:61:19: note: expanded from macro 'ULONG_MAX' 61 | #define ULONG_MAX __ULONG_MAX /* max for an unsigned long */ | ^~~~~~~~~~~ /usr/include/x86/_limits.h:62:21: note: expanded from macro '__ULONG_MAX' 62 | #define __ULONG_MAX 0xffffffffffffffff /* max for an unsigned long */ | ^~~~~~~~~~~~~~~~~~ tile.cpp:3019:26: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 3019 | compressor compressors[TEMP_FILES]; | ^~~~~~~~~~ tile.cpp:3019:26: note: read of non-const variable 'TEMP_FILES' is not allowed in a constant expression ./main.hpp:50:15: note: declared here 50 | extern size_t TEMP_FILES; | ^ tile.cpp:3020:19: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 3020 | compressor *sub[TEMP_FILES]; | ^~~~~~~~~~ tile.cpp:3020:19: note: read of non-const variable 'TEMP_FILES' is not allowed in a constant expression ./main.hpp:50:15: note: declared here 50 | extern size_t TEMP_FILES; | ^ tile.cpp:3021:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 3021 | int subfd[TEMP_FILES]; | ^~~~~~~~~~ tile.cpp:3021:13: note: read of non-const variable 'TEMP_FILES' is not allowed in a constant expression ./main.hpp:50:15: note: declared here 50 | extern size_t TEMP_FILES; | ^ tile.cpp:3023:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 3023 | char geomname[strlen(tmpdir) + strlen("/geom.XXXXXXXX" XSTRINGIFY(INT_MAX)) + 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tile.cpp:3023:25: note: function parameter 'tmpdir' with unknown value cannot be used in a constant expression 3023 | char geomname[strlen(tmpdir) + strlen("/geom.XXXXXXXX" XSTRINGIFY(INT_MAX)) + 1]; | ^ tile.cpp:2991:233: note: declared here 2991 | int traverse_zooms(int *geomfd, off_t *geom_size, char *stringpool, std::atomic *midx, std::atomic *midy, int &maxzoom, int minzoom, sqlite3 *outdb, const char *outdir, int buffer, const char *fname, const char *tmpdir, double gamma, int full_detail, int low_detail, int min_detail, long long *pool_off, unsigned *initial_x, unsigned *initial_y, double simplification, double maxzoom_simplification, std::vector> &layermaps, const char *prefilter, const char *postfilter, std::map const *attribute_accum, struct json_object *filter, std::vector &strategies, int iz) { | ^ tile.cpp:3133:23: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 3133 | pthread_t pthreads[threads]; | ^~~~~~~ tile.cpp:3133:23: note: read of non-const variable 'threads' is not allowed in a constant expression tile.cpp:3050:10: note: declared here 3050 | size_t threads = CPUS; | ^ 10 warnings generated. c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o pool.o pool.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o mbtiles.o mbtiles.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o geometry.o geometry.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o projection.o projection.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o memfile.o memfile.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o mvt.o mvt.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o serial.o serial.cpp serial.cpp:550:16: warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion] 550 | if (extent <= LLONG_MAX) { | ~~ ^~~~~~~~~ /usr/include/sys/limits.h:67:19: note: expanded from macro 'LLONG_MAX' 67 | #define LLONG_MAX __LLONG_MAX /* max for a long long */ | ^~~~~~~~~~~ /usr/include/x86/_limits.h:73:21: note: expanded from macro '__LLONG_MAX' 73 | #define __LLONG_MAX 0x7fffffffffffffffLL /* max value for a long long */ | ^~~~~~~~~~~~~~~~~~~~ 1 warning generated. c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o main.o main.cpp main.cpp:210:16: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 210 | long long fds[MAX_FILES]; | ^~~~~~~~~ main.cpp:210:16: note: read of non-const variable 'MAX_FILES' is not allowed in a constant expression main.cpp:108:11: note: declared here 108 | long long MAX_FILES; | ^ main.cpp:417:17: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 417 | long long segs[CPUS + 1]; | ^~~~~~~~ main.cpp:417:17: note: read of non-const variable 'CPUS' is not allowed in a constant expression main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:429:19: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 429 | double dist_sums[CPUS]; | ^~~~ main.cpp:429:19: note: read of non-const variable 'CPUS' is not allowed in a constant expression main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:430:21: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 430 | size_t dist_counts[CPUS]; | ^~~~ main.cpp:430:21: note: read of non-const variable 'CPUS' is not allowed in a constant expression main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:431:19: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 431 | double area_sums[CPUS]; | ^~~~ main.cpp:431:19: note: read of non-const variable 'CPUS' is not allowed in a constant expression main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:433:35: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 433 | std::atomic layer_seq[CPUS]; | ^~~~ main.cpp:433:35: note: read of non-const variable 'CPUS' is not allowed in a constant expression main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:447:21: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 447 | pthread_t pthreads[CPUS]; | ^~~~ main.cpp:447:21: note: read of non-const variable 'CPUS' is not allowed in a constant expression main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:715:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 715 | FILE *geomfiles[splits]; | ^~~~~~ main.cpp:715:18: note: function parameter 'splits' with unknown value cannot be used in a constant expression main.cpp:710:76: note: declared here 710 | void radix1(int *geomfds_in, int *indexfds_in, int inputs, int prefix, int splits, long long mem, const char *tmpdir, long long *availfiles, FILE *geomfile, FILE *indexfile, std::atomic *geompos_out, long long *progress, long long *progress_max, long long *progress_reported, int maxzoom, int basezoom, double droprate, double gamma, struct drop_state *ds) { | ^ main.cpp:716:19: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 716 | FILE *indexfiles[splits]; | ^~~~~~ main.cpp:716:19: note: function parameter 'splits' with unknown value cannot be used in a constant expression main.cpp:710:76: note: declared here 710 | void radix1(int *geomfds_in, int *indexfds_in, int inputs, int prefix, int splits, long long mem, const char *tmpdir, long long *availfiles, FILE *geomfile, FILE *indexfile, std::atomic *geompos_out, long long *progress, long long *progress_max, long long *progress_reported, int maxzoom, int basezoom, double droprate, double gamma, struct drop_state *ds) { | ^ main.cpp:717:14: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 717 | int geomfds[splits]; | ^~~~~~ main.cpp:717:14: note: function parameter 'splits' with unknown value cannot be used in a constant expression main.cpp:710:76: note: declared here 710 | void radix1(int *geomfds_in, int *indexfds_in, int inputs, int prefix, int splits, long long mem, const char *tmpdir, long long *availfiles, FILE *geomfile, FILE *indexfile, std::atomic *geompos_out, long long *progress, long long *progress_max, long long *progress_reported, int maxzoom, int basezoom, double droprate, double gamma, struct drop_state *ds) { | ^ main.cpp:718:15: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 718 | int indexfds[splits]; | ^~~~~~ main.cpp:718:15: note: function parameter 'splits' with unknown value cannot be used in a constant expression main.cpp:710:76: note: declared here 710 | void radix1(int *geomfds_in, int *indexfds_in, int inputs, int prefix, int splits, long long mem, const char *tmpdir, long long *availfiles, FILE *geomfile, FILE *indexfile, std::atomic *geompos_out, long long *progress, long long *progress_max, long long *progress_reported, int maxzoom, int basezoom, double droprate, double gamma, struct drop_state *ds) { | ^ main.cpp:719:37: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 719 | std::atomic sub_geompos[splits]; | ^~~~~~ main.cpp:719:37: note: function parameter 'splits' with unknown value cannot be used in a constant expression main.cpp:710:76: note: declared here 710 | void radix1(int *geomfds_in, int *indexfds_in, int inputs, int prefix, int splits, long long mem, const char *tmpdir, long long *availfiles, FILE *geomfile, FILE *indexfile, std::atomic *geompos_out, long long *progress, long long *progress_max, long long *progress_reported, int maxzoom, int basezoom, double droprate, double gamma, struct drop_state *ds) { | ^ main.cpp:725:17: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 725 | char geomname[strlen(tmpdir) + strlen("/geom.XXXXXXXX") + 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:725:24: note: function parameter 'tmpdir' with unknown value cannot be used in a constant expression 725 | char geomname[strlen(tmpdir) + strlen("/geom.XXXXXXXX") + 1]; | ^ main.cpp:710:111: note: declared here 710 | void radix1(int *geomfds_in, int *indexfds_in, int inputs, int prefix, int splits, long long mem, const char *tmpdir, long long *availfiles, FILE *geomfile, FILE *indexfile, std::atomic *geompos_out, long long *progress, long long *progress_max, long long *progress_reported, int maxzoom, int basezoom, double droprate, double gamma, struct drop_state *ds) { | ^ main.cpp:727:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 727 | char indexname[strlen(tmpdir) + strlen("/index.XXXXXXXX") + 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:727:25: note: function parameter 'tmpdir' with unknown value cannot be used in a constant expression 727 | char indexname[strlen(tmpdir) + strlen("/index.XXXXXXXX") + 1]; | ^ main.cpp:710:111: note: declared here 710 | void radix1(int *geomfds_in, int *indexfds_in, int inputs, int prefix, int splits, long long mem, const char *tmpdir, long long *availfiles, FILE *geomfile, FILE *indexfile, std::atomic *geompos_out, long long *progress, long long *progress_max, long long *progress_reported, int maxzoom, int basezoom, double droprate, double gamma, struct drop_state *ds) { | ^ main.cpp:877:29: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 877 | struct mergelist merges[nmerges]; | ^~~~~~~ main.cpp:877:29: note: read of non-const variable 'nmerges' is not allowed in a constant expression main.cpp:876:12: note: declared here 876 | size_t nmerges = (indexpos + unit - 1) / unit; | ^ main.cpp:883:24: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 883 | pthread_t pthreads[CPUS]; | ^~~~ main.cpp:883:24: note: read of non-const variable 'CPUS' is not allowed in a constant expression main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:1089:14: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1089 | int geomfds[nreaders]; | ^~~~~~~~ main.cpp:1089:14: note: function parameter 'nreaders' with unknown value cannot be used in a constant expression main.cpp:1058:53: note: declared here 1058 | void radix(std::vector &readers, int nreaders, FILE *geomfile, FILE *indexfile, const char *tmpdir, std::atomic *geompos, int maxzoom, int basezoom, double droprate, double gamma) { | ^ main.cpp:1090:15: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1090 | int indexfds[nreaders]; | ^~~~~~~~ main.cpp:1090:15: note: function parameter 'nreaders' with unknown value cannot be used in a constant expression main.cpp:1058:53: note: declared here 1058 | void radix(std::vector &readers, int nreaders, FILE *geomfile, FILE *indexfile, const char *tmpdir, std::atomic *geompos, int maxzoom, int basezoom, double droprate, double gamma) { | ^ main.cpp:1103:23: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1103 | struct drop_state ds[maxzoom + 1]; | ^~~~~~~~~~~ main.cpp:1103:23: note: function parameter 'maxzoom' with unknown value cannot be used in a constant expression main.cpp:1058:153: note: declared here 1058 | void radix(std::vector &readers, int nreaders, FILE *geomfile, FILE *indexfile, const char *tmpdir, std::atomic *geompos, int maxzoom, int basezoom, double droprate, double gamma) { | ^ main.cpp:1185:17: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1185 | char poolname[strlen(tmpdir) + strlen("/pool.XXXXXXXX") + 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:1185:24: note: function parameter 'tmpdir' with unknown value cannot be used in a constant expression 1185 | char poolname[strlen(tmpdir) + strlen("/pool.XXXXXXXX") + 1]; | ^ main.cpp:1177:329: note: declared here 1177 | std::pair read_input(std::vector &sources, char *fname, int maxzoom, int minzoom, int basezoom, double basezoom_marker_width, sqlite3 *outdb, const char *outdir, std::set *exclude, std::set *include, int exclude_all, json_object *filter, double droprate, int buffer, const char *tmpdir, double gamma, int read_parallel, int forcetable, const char *attribution, bool uses_gamma, long long *file_bbox, long long *file_bbox1, long long *file_bbox2, const char *prefilter, const char *postfilter, const char *description, bool guess_maxzoom, bool guess_cluster_maxzoom, std::map const *attribute_types, const char *pgm, std::map const *attribute_accum, std::map const &attribute_descriptions, std::string const &commandline, int minimum_maxzoom) { | ^ main.cpp:1186:17: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1186 | char treename[strlen(tmpdir) + strlen("/tree.XXXXXXXX") + 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:1186:24: note: function parameter 'tmpdir' with unknown value cannot be used in a constant expression 1186 | char treename[strlen(tmpdir) + strlen("/tree.XXXXXXXX") + 1]; | ^ main.cpp:1177:329: note: declared here 1177 | std::pair read_input(std::vector &sources, char *fname, int maxzoom, int minzoom, int basezoom, double basezoom_marker_width, sqlite3 *outdb, const char *outdir, std::set *exclude, std::set *include, int exclude_all, json_object *filter, double droprate, int buffer, const char *tmpdir, double gamma, int read_parallel, int forcetable, const char *attribution, bool uses_gamma, long long *file_bbox, long long *file_bbox1, long long *file_bbox2, const char *prefilter, const char *postfilter, const char *description, bool guess_maxzoom, bool guess_cluster_maxzoom, std::map const *attribute_types, const char *pgm, std::map const *attribute_accum, std::map const &attribute_descriptions, std::string const &commandline, int minimum_maxzoom) { | ^ main.cpp:1187:17: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1187 | char geomname[strlen(tmpdir) + strlen("/geom.XXXXXXXX") + 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:1187:24: note: function parameter 'tmpdir' with unknown value cannot be used in a constant expression 1187 | char geomname[strlen(tmpdir) + strlen("/geom.XXXXXXXX") + 1]; | ^ main.cpp:1177:329: note: declared here 1177 | std::pair read_input(std::vector &sources, char *fname, int maxzoom, int minzoom, int basezoom, double basezoom_marker_width, sqlite3 *outdb, const char *outdir, std::set *exclude, std::set *include, int exclude_all, json_object *filter, double droprate, int buffer, const char *tmpdir, double gamma, int read_parallel, int forcetable, const char *attribution, bool uses_gamma, long long *file_bbox, long long *file_bbox1, long long *file_bbox2, const char *prefilter, const char *postfilter, const char *description, bool guess_maxzoom, bool guess_cluster_maxzoom, std::map const *attribute_types, const char *pgm, std::map const *attribute_accum, std::map const &attribute_descriptions, std::string const &commandline, int minimum_maxzoom) { | ^ main.cpp:1188:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1188 | char indexname[strlen(tmpdir) + strlen("/index.XXXXXXXX") + 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:1188:25: note: function parameter 'tmpdir' with unknown value cannot be used in a constant expression 1188 | char indexname[strlen(tmpdir) + strlen("/index.XXXXXXXX") + 1]; | ^ main.cpp:1177:329: note: declared here 1177 | std::pair read_input(std::vector &sources, char *fname, int maxzoom, int minzoom, int basezoom, double basezoom_marker_width, sqlite3 *outdb, const char *outdir, std::set *exclude, std::set *include, int exclude_all, json_object *filter, double droprate, int buffer, const char *tmpdir, double gamma, int read_parallel, int forcetable, const char *attribution, bool uses_gamma, long long *file_bbox, long long *file_bbox1, long long *file_bbox2, const char *prefilter, const char *postfilter, const char *description, bool guess_maxzoom, bool guess_cluster_maxzoom, std::map const *attribute_types, const char *pgm, std::map const *attribute_accum, std::map const &attribute_descriptions, std::string const &commandline, int minimum_maxzoom) { | ^ main.cpp:1266:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1266 | int initialized[2 * CPUS]; | ^~~~~~~~ main.cpp:1266:22: note: read of non-const variable 'CPUS' is not allowed in a constant expression 1266 | int initialized[2 * CPUS]; | ^ main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:1267:21: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1267 | unsigned initial_x[2 * CPUS], initial_y[2 * CPUS]; | ^~~~~~~~ main.cpp:1267:25: note: read of non-const variable 'CPUS' is not allowed in a constant expression 1267 | unsigned initial_x[2 * CPUS], initial_y[2 * CPUS]; | ^ main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:1267:42: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1267 | unsigned initial_x[2 * CPUS], initial_y[2 * CPUS]; | ^~~~~~~~ main.cpp:1267:46: note: read of non-const variable 'CPUS' is not allowed in a constant expression 1267 | unsigned initial_x[2 * CPUS], initial_y[2 * CPUS]; | ^ main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:1398:37: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1398 | std::atomic layer_seq[CPUS]; | ^~~~ main.cpp:1398:37: note: read of non-const variable 'CPUS' is not allowed in a constant expression main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:1399:21: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1399 | double dist_sums[CPUS]; | ^~~~ main.cpp:1399:21: note: read of non-const variable 'CPUS' is not allowed in a constant expression main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:1400:23: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1400 | size_t dist_counts[CPUS]; | ^~~~ main.cpp:1400:23: note: read of non-const variable 'CPUS' is not allowed in a constant expression main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:1401:21: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1401 | double area_sums[CPUS]; | ^~~~ main.cpp:1401:21: note: read of non-const variable 'CPUS' is not allowed in a constant expression main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:1471:37: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1471 | std::atomic layer_seq[CPUS]; | ^~~~ main.cpp:1471:37: note: read of non-const variable 'CPUS' is not allowed in a constant expression main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:1472:21: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1472 | double dist_sums[CPUS]; | ^~~~ main.cpp:1472:21: note: read of non-const variable 'CPUS' is not allowed in a constant expression main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:1473:23: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1473 | size_t dist_counts[CPUS]; | ^~~~ main.cpp:1473:23: note: read of non-const variable 'CPUS' is not allowed in a constant expression main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:1474:21: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1474 | double area_sums[CPUS]; | ^~~~ main.cpp:1474:21: note: read of non-const variable 'CPUS' is not allowed in a constant expression main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:1531:37: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1531 | std::atomic layer_seq[CPUS]; | ^~~~ main.cpp:1531:37: note: read of non-const variable 'CPUS' is not allowed in a constant expression main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:1532:21: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1532 | double dist_sums[CPUS]; | ^~~~ main.cpp:1532:21: note: read of non-const variable 'CPUS' is not allowed in a constant expression main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:1533:23: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1533 | size_t dist_counts[CPUS]; | ^~~~ main.cpp:1533:23: note: read of non-const variable 'CPUS' is not allowed in a constant expression main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:1534:21: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1534 | double area_sums[CPUS]; | ^~~~ main.cpp:1534:21: note: read of non-const variable 'CPUS' is not allowed in a constant expression main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:1651:19: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1651 | char readname[strlen(tmpdir) + strlen("/read.XXXXXXXX") + 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:1651:26: note: function parameter 'tmpdir' with unknown value cannot be used in a constant expression 1651 | char readname[strlen(tmpdir) + strlen("/read.XXXXXXXX") + 1]; | ^ main.cpp:1177:329: note: declared here 1177 | std::pair read_input(std::vector &sources, char *fname, int maxzoom, int minzoom, int basezoom, double basezoom_marker_width, sqlite3 *outdb, const char *outdir, std::set *exclude, std::set *include, int exclude_all, json_object *filter, double droprate, int buffer, const char *tmpdir, double gamma, int read_parallel, int forcetable, const char *attribution, bool uses_gamma, long long *file_bbox, long long *file_bbox1, long long *file_bbox2, const char *prefilter, const char *postfilter, const char *description, bool guess_maxzoom, bool guess_cluster_maxzoom, std::map const *attribute_types, const char *pgm, std::map const *attribute_accum, std::map const &attribute_descriptions, std::string const &commandline, int minimum_maxzoom) { | ^ main.cpp:1834:21: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1834 | long long pool_off[2 * CPUS]; | ^~~~~~~~ main.cpp:1834:25: note: read of non-const variable 'CPUS' is not allowed in a constant expression 1834 | long long pool_off[2 * CPUS]; | ^ main.cpp:106:8: note: declared here 106 | size_t CPUS; | ^ main.cpp:1839:16: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1839 | char poolname[strlen(tmpdir) + strlen("/pool.XXXXXXXX") + 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:1839:23: note: function parameter 'tmpdir' with unknown value cannot be used in a constant expression 1839 | char poolname[strlen(tmpdir) + strlen("/pool.XXXXXXXX") + 1]; | ^ main.cpp:1177:329: note: declared here 1177 | std::pair read_input(std::vector &sources, char *fname, int maxzoom, int minzoom, int basezoom, double basezoom_marker_width, sqlite3 *outdb, const char *outdir, std::set *exclude, std::set *include, int exclude_all, json_object *filter, double droprate, int buffer, const char *tmpdir, double gamma, int read_parallel, int forcetable, const char *attribution, bool uses_gamma, long long *file_bbox, long long *file_bbox1, long long *file_bbox2, const char *prefilter, const char *postfilter, const char *description, bool guess_maxzoom, bool guess_cluster_maxzoom, std::map const *attribute_types, const char *pgm, std::map const *attribute_accum, std::map const &attribute_descriptions, std::string const &commandline, int minimum_maxzoom) { | ^ main.cpp:1919:17: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1919 | char indexname[strlen(tmpdir) + strlen("/index.XXXXXXXX") + 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:1919:24: note: function parameter 'tmpdir' with unknown value cannot be used in a constant expression 1919 | char indexname[strlen(tmpdir) + strlen("/index.XXXXXXXX") + 1]; | ^ main.cpp:1177:329: note: declared here 1177 | std::pair read_input(std::vector &sources, char *fname, int maxzoom, int minzoom, int basezoom, double basezoom_marker_width, sqlite3 *outdb, const char *outdir, std::set *exclude, std::set *include, int exclude_all, json_object *filter, double droprate, int buffer, const char *tmpdir, double gamma, int read_parallel, int forcetable, const char *attribution, bool uses_gamma, long long *file_bbox, long long *file_bbox1, long long *file_bbox2, const char *prefilter, const char *postfilter, const char *description, bool guess_maxzoom, bool guess_cluster_maxzoom, std::map const *attribute_types, const char *pgm, std::map const *attribute_accum, std::map const &attribute_descriptions, std::string const &commandline, int minimum_maxzoom) { | ^ main.cpp:1935:16: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 1935 | char geomname[strlen(tmpdir) + strlen("/geom.XXXXXXXX") + 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:1935:23: note: function parameter 'tmpdir' with unknown value cannot be used in a constant expression 1935 | char geomname[strlen(tmpdir) + strlen("/geom.XXXXXXXX") + 1]; | ^ main.cpp:1177:329: note: declared here 1177 | std::pair read_input(std::vector &sources, char *fname, int maxzoom, int minzoom, int basezoom, double basezoom_marker_width, sqlite3 *outdb, const char *outdir, std::set *exclude, std::set *include, int exclude_all, json_object *filter, double droprate, int buffer, const char *tmpdir, double gamma, int read_parallel, int forcetable, const char *attribution, bool uses_gamma, long long *file_bbox, long long *file_bbox1, long long *file_bbox2, const char *prefilter, const char *postfilter, const char *description, bool guess_maxzoom, bool guess_cluster_maxzoom, std::map const *attribute_types, const char *pgm, std::map const *attribute_accum, std::map const &attribute_descriptions, std::string const &commandline, int minimum_maxzoom) { | ^ main.cpp:2421:24: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 2421 | struct drop_state ds[maxzoom + 1]; | ^~~~~~~~~~~ main.cpp:2421:24: note: function parameter 'maxzoom' with unknown value cannot be used in a constant expression main.cpp:1177:84: note: declared here 1177 | std::pair read_input(std::vector &sources, char *fname, int maxzoom, int minzoom, int basezoom, double basezoom_marker_width, sqlite3 *outdb, const char *outdir, std::set *exclude, std::set *include, int exclude_all, json_object *filter, double droprate, int buffer, const char *tmpdir, double gamma, int read_parallel, int forcetable, const char *attribution, bool uses_gamma, long long *file_bbox, long long *file_bbox1, long long *file_bbox2, const char *prefilter, const char *postfilter, const char *description, bool guess_maxzoom, bool guess_cluster_maxzoom, std::map const *attribute_types, const char *pgm, std::map const *attribute_accum, std::map const &attribute_descriptions, std::string const &commandline, int minimum_maxzoom) { | ^ main.cpp:2488:9: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 2488 | int fd[TEMP_FILES]; | ^~~~~~~~~~ main.cpp:2488:9: note: read of non-const variable 'TEMP_FILES' is not allowed in a constant expression main.cpp:107:8: note: declared here 107 | size_t TEMP_FILES; | ^ main.cpp:2489:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 2489 | off_t size[TEMP_FILES]; | ^~~~~~~~~~ main.cpp:2489:13: note: read of non-const variable 'TEMP_FILES' is not allowed in a constant expression main.cpp:107:8: note: declared here 107 | size_t TEMP_FILES; | ^ 46 warnings generated. c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o text.o text.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o dirtiles.o dirtiles.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o pmtiles_file.o pmtiles_file.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o plugin.o plugin.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o read_json.o read_json.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o write_json.o write_json.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o geobuf.o geobuf.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o flatgeobuf.o flatgeobuf.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o evaluator.o evaluator.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o geocsv.o geocsv.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o csv.o csv.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o geojson-loop.o geojson-loop.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o json_logger.o json_logger.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o visvalingam.o visvalingam.cpp c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o compression.o compression.cpp c++ -L/usr/local/lib -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -o tippecanoe geojson.o jsonpull/jsonpull.o tile.o pool.o mbtiles.o geometry.o projection.o memfile.o mvt.o serial.o main.o text.o dirtiles.o pmtiles_file.o plugin.o read_json.o write_json.o geobuf.o flatgeobuf.o evaluator.o geocsv.o csv.o geojson-loop.o json_logger.o visvalingam.o compression.o -fstack-protector-strong -lm -lz -lsqlite3 -lpthread c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o enumerate.o enumerate.cpp c++ -L/usr/local/lib -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -o tippecanoe-enumerate enumerate.o -fstack-protector-strong -lsqlite3 c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o decode.o decode.cpp c++ -L/usr/local/lib -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -o tippecanoe-decode decode.o projection.o mvt.o write_json.o text.o jsonpull/jsonpull.o dirtiles.o pmtiles_file.o -fstack-protector-strong -lm -lz -lsqlite3 c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o tile-join.o tile-join.cpp tile-join.cpp:565:21: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 565 | pthread_t pthreads[CPUS]; | ^~~~ tile-join.cpp:565:21: note: read of non-const variable 'CPUS' is not allowed in a constant expression tile-join.cpp:48:8: note: declared here 48 | size_t CPUS; | ^ 1 warning generated. c++ -L/usr/local/lib -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -o tile-join tile-join.o projection.o mbtiles.o mvt.o memfile.o dirtiles.o jsonpull/jsonpull.o text.o evaluator.o csv.o write_json.o pmtiles_file.o -fstack-protector-strong -lm -lz -lsqlite3 -lpthread c++ -MMD -I/usr/local/include -I. -g -Wall -Wshadow -Wsign-compare -Wextra -Wunreachable-code -Wuninitialized -Wshadow -O3 -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++17 -c -o unit.o unit.cpp In file included from unit.cpp:2: In file included from ./catch/catch.hpp:74: In file included from /usr/include/c++/v1/sstream:278: In file included from /usr/include/c++/v1/istream:170: In file included from /usr/include/c++/v1/ostream:181: In file included from /usr/include/c++/v1/__system_error/error_code.h:18: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:625: In file included from /usr/include/c++/v1/string_view:939: In file included from /usr/include/c++/v1/algorithm:1942: In file included from /usr/include/c++/v1/__algorithm/ranges_sample.h:13: In file included from /usr/include/c++/v1/__algorithm/sample.h:18: /usr/include/c++/v1/__random/uniform_int_distribution.h:212:17: error: static assertion failed due to requirement '__libcpp_random_is_valid_urng::value': 212 | static_assert(__libcpp_random_is_valid_urng<_URNG>::value, ""); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/v1/__algorithm/shuffle.h:147:29: note: in instantiation of function template specialization 'std::uniform_int_distribution::operator()' requested here 147 | difference_type __i = __uid(__g, _Pp(0, __d)); | ^ /usr/include/c++/v1/__algorithm/shuffle.h:159:14: note: in instantiation of function template specialization 'std::__shuffle, std::__wrap_iter, Catch::RandomNumberGenerator &>' requested here 159 | (void)std::__shuffle<_ClassicAlgPolicy>( | ^ ./catch/catch.hpp:6477:18: note: in instantiation of function template specialization 'std::shuffle, Catch::RandomNumberGenerator &>' requested here 6477 | std::shuffle( vector.begin(), vector.end(), rng ); | ^ ./catch/catch.hpp:6495:44: note: in instantiation of function template specialization 'Catch::RandomNumberGenerator::shuffle>' requested here 6495 | RandomNumberGenerator::shuffle( sorted ); | ^ 1 error generated. gmake: *** [Makefile:84: unit.o] Error 1 *** Error code 1 Stop. make: stopped in /usr/ports/graphics/tippecanoe =>> Cleaning up wrkdir ===> Cleaning for tippecanoe-2.26.1_1 build of graphics/tippecanoe | tippecanoe-2.26.1_1 ended at Wed May 7 01:39:03 BST 2025 build time: 00:03:04 !!! build failure encountered !!!