[package - main-armv7-default][databases/proxysql] Failed for proxysql-2.6.6 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 13 Nov 2024 07:30:41 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     zi@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/p380be9c7980a_s5036d9652a/logs/proxysql-2.6.6.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p380be9c7980a_s5036d9652a
Log:

=>> Building databases/proxysql
build started at Wed Nov 13 07:14:22 UTC 2024
port directory: /usr/ports/databases/proxysql
package name: proxysql-2.6.6
building for: FreeBSD main-armv7-default-job-12 15.0-CURRENT FreeBSD 15.0-CURRENT 1500026 arm
maintained by: zi@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 2192 Sep 28 01:02 /usr/ports/databases/proxysql/Makefile
Ports top last git commit: 380be9c7980
Ports top unclean checkout: no
Port dir last git commit: 44c309b0d9b
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500026
Job Id: 12




!!! Jail is newer than host. (Jail: 1500026, Host: 1500023) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500026
UNAME_v=FreeBSD 15.0-CURRENT 1500026
UNAME_r=15.0-CURRENT
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/main-armv7-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-armv7-default/12/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-default/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--
zi@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/databases/proxysql/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/proxysql/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/proxysql/work/.cache  HOME=/wrkdirs/usr/ports/databases/proxysql/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/proxysql/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/proxysql/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--
GIT_VERSION=2.6.6 PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/databases/proxysql/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/proxysql/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/proxysql/work/.cache  HOME=/wrkdirs/usr/ports/databases/proxysql/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/proxysql/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/proxysql/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 ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/l
ocal/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc13" CFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing "  CPP="cpp13" CPPFLAGS=""  LDFLAGS=" -L/usr/local/lib -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 " LIBS=""  CXX="g++13" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -Wl,-rpath=/usr/local/lib/gcc13 " 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--
PYTHON_INCLUDEDIR=include/python3.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.36.3  PERL_VER=5.36  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.36 DOCSDIR="share/doc/proxysql"  EXAMPLESDIR="share/examples/proxysql"  DATADIR="share/proxysql"  WWWDIR="www/proxysql"  ETCDIR="etc/proxysql"
--End PLIST_SUB--

--SUB_LIST--
PYTHON_INCLUDEDIR=/usr/local/include/python3.11  PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/proxysql DOCSDIR=/usr/local/share/doc/proxysql EXAMPLESDIR=/usr/local/share/examples/proxysql  WWWDIR=/usr/local/www/proxysql ETCDIR=/usr/local/etc/proxysql
--End SUB_LIST--

---Begin make.conf---
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
ulimit: can't get limit: Invalid argument
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
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
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   proxysql-2.6.6 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-armv7-default-job-12] Installing pkg-1.21.3...
[main-armv7-default-job-12] Extracting pkg-1.21.3: .......... done
===>   proxysql-2.6.6 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of proxysql-2.6.6
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by proxysql-2.6.6 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by proxysql-2.6.6 for building
=> SHA256 Checksum OK for sysown-proxysql-2.6.6_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by proxysql-2.6.6 for building
===>  Extracting for proxysql-2.6.6
=> SHA256 Checksum OK for sysown-proxysql-2.6.6_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for proxysql-2.6.6
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   proxysql-2.6.6 depends on executable: aclocal - not found
===>   Installing existing package /packages/All/automake-1.17.pkg
[main-armv7-default-job-12] Installing automake-1.17...
[main-armv7-default-job-12] `-- Installing autoconf-2.72...
[main-armv7-default-job-12] |   `-- Installing autoconf-switch-20220527...
[main-armv7-default-job-12] |   `-- Extracting autoconf-switch-20220527: .......... done
[main-armv7-default-job-12] |   `-- Installing indexinfo-0.3.1...
[main-armv7-default-job-12] |   `-- Extracting indexinfo-0.3.1: .... done
[main-armv7-default-job-12] |   `-- Installing m4-1.4.19_1,1...
<snip>
  CC       tool_operate.o
  CC       tool_operhlp.o
  CC       tool_paramhlp.o
  CC       tool_parsecfg.o
  CC       tool_progress.o
  CC       tool_setopt.o
  CC       tool_sleep.o
  CC       tool_stderr.o
  CC       tool_strdup.o
  CC       tool_urlglob.o
  CC       tool_util.o
  CC       tool_vms.o
  CC       tool_writeout.o
  CC       tool_writeout_json.o
  CC       tool_xattr.o
  CC       var.o
  CC       ../lib/base64.o
  CC       ../lib/curl_multibyte.o
  CC       ../lib/dynbuf.o
  CC       ../lib/nonblock.o
  CC       ../lib/strtoofft.o
  CC       ../lib/timediff.o
  CC       ../lib/version_win32.o
  CC       ../lib/warnless.o
  CCLD     curl
/usr/local/bin/ld: warning: _dvmd_lnx.o: missing .note.GNU-stack section implies executable stack
/usr/local/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
gmake[4]: Leaving directory '/wrkdirs/usr/ports/databases/proxysql/work/proxysql-2.6.6/deps/curl/curl-8.4.0/src'
gmake[3]: Leaving directory '/wrkdirs/usr/ports/databases/proxysql/work/proxysql-2.6.6/deps/curl/curl-8.4.0/src'
gmake[3]: Entering directory '/wrkdirs/usr/ports/databases/proxysql/work/proxysql-2.6.6/deps/curl/curl-8.4.0'
gmake[3]: Nothing to be done for 'all-am'.
gmake[3]: Leaving directory '/wrkdirs/usr/ports/databases/proxysql/work/proxysql-2.6.6/deps/curl/curl-8.4.0'
gmake[2]: Leaving directory '/wrkdirs/usr/ports/databases/proxysql/work/proxysql-2.6.6/deps/curl/curl-8.4.0'
gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/proxysql/work/proxysql-2.6.6/deps'
cd lib && OPTZ="-O2 -ggdb" CC=gcc13 CXX=g++13 gmake
gmake[1]: Entering directory '/wrkdirs/usr/ports/databases/proxysql/work/proxysql-2.6.6/lib'
mkdir obj
g++13 -fPIC -c -o obj/ProxySQL_GloVars.oo ProxySQL_GloVars.cpp -std=c++17 -DCXX17 -I../include -I../deps/jemalloc/jemalloc/include/jemalloc -I../deps/mariadb-client-library/mariadb_client/include -I../deps/libconfig/libconfig/lib -I../deps/re2/re2 -I../deps/sqlite3/sqlite3 -I../deps/pcre/pcre -I/usr/local/include -I../deps/clickhouse-cpp/clickhouse-cpp -I../deps/clickhouse-cpp/clickhouse-cpp/contrib/ -I../deps/libmicrohttpd/libmicrohttpd -I../deps/libmicrohttpd/libmicrohttpd/src/include -I../deps/libhttpserver/libhttpserver/src -I../deps/libinjection/libinjection/src -I../deps/curl/curl/include -I../deps/libev/libev/ -I../deps/libssl/openssl//include -I../deps/prometheus-cpp/prometheus-cpp/pull/include -I../deps/prometheus-cpp/prometheus-cpp/core/include -O2 -ggdb  -Wall -DGITVERSION=\"2.6.6\"     -DENABLE_EPOLL -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -Wl,-rpath=/usr/local/lib/gcc13 
g++13 -fPIC -c -o obj/network.oo network.cpp -std=c++17 -DCXX17 -I../include -I../deps/jemalloc/jemalloc/include/jemalloc -I../deps/mariadb-client-library/mariadb_client/include -I../deps/libconfig/libconfig/lib -I../deps/re2/re2 -I../deps/sqlite3/sqlite3 -I../deps/pcre/pcre -I/usr/local/include -I../deps/clickhouse-cpp/clickhouse-cpp -I../deps/clickhouse-cpp/clickhouse-cpp/contrib/ -I../deps/libmicrohttpd/libmicrohttpd -I../deps/libmicrohttpd/libmicrohttpd/src/include -I../deps/libhttpserver/libhttpserver/src -I../deps/libinjection/libinjection/src -I../deps/curl/curl/include -I../deps/libev/libev/ -I../deps/libssl/openssl//include -I../deps/prometheus-cpp/prometheus-cpp/pull/include -I../deps/prometheus-cpp/prometheus-cpp/core/include -O2 -ggdb  -Wall -DGITVERSION=\"2.6.6\"     -DENABLE_EPOLL -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -Wl,-rpath=/usr/local/lib/gcc13 
g++13 -fPIC -c -o obj/debug.oo debug.cpp -std=c++17 -DCXX17 -I../include -I../deps/jemalloc/jemalloc/include/jemalloc -I../deps/mariadb-client-library/mariadb_client/include -I../deps/libconfig/libconfig/lib -I../deps/re2/re2 -I../deps/sqlite3/sqlite3 -I../deps/pcre/pcre -I/usr/local/include -I../deps/clickhouse-cpp/clickhouse-cpp -I../deps/clickhouse-cpp/clickhouse-cpp/contrib/ -I../deps/libmicrohttpd/libmicrohttpd -I../deps/libmicrohttpd/libmicrohttpd/src/include -I../deps/libhttpserver/libhttpserver/src -I../deps/libinjection/libinjection/src -I../deps/curl/curl/include -I../deps/libev/libev/ -I../deps/libssl/openssl//include -I../deps/prometheus-cpp/prometheus-cpp/pull/include -I../deps/prometheus-cpp/prometheus-cpp/core/include -O2 -ggdb  -Wall -DGITVERSION=\"2.6.6\"     -DENABLE_EPOLL -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -Wl,-rpath=/usr/local/lib/gcc13 
debug.cpp: In member function 'char** ProxySQL_messages_stats::get_row() const':
debug.cpp:315:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=]
  315 |                 sprintf(buf,"%lu",count_star);
      |                              ~~^  ~~~~~~~~~~
      |                                |  |
      |                                |  long long unsigned int
      |                                long unsigned int
      |                              %llu
debug.cpp:317:32: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat=]
  317 |                 sprintf(buf,"%ld", first_seen);
      |                              ~~^   ~~~~~~~~~~
      |                                |   |
      |                                |   long long int
      |                                long int
      |                              %lld
debug.cpp:319:32: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat=]
  319 |                 sprintf(buf,"%ld", last_seen);
      |                              ~~^   ~~~~~~~~~
      |                                |   |
      |                                |   long long int
      |                                long int
      |                              %lld
g++13 -fPIC -c -o obj/configfile.oo configfile.cpp -std=c++17 -DCXX17 -I../include -I../deps/jemalloc/jemalloc/include/jemalloc -I../deps/mariadb-client-library/mariadb_client/include -I../deps/libconfig/libconfig/lib -I../deps/re2/re2 -I../deps/sqlite3/sqlite3 -I../deps/pcre/pcre -I/usr/local/include -I../deps/clickhouse-cpp/clickhouse-cpp -I../deps/clickhouse-cpp/clickhouse-cpp/contrib/ -I../deps/libmicrohttpd/libmicrohttpd -I../deps/libmicrohttpd/libmicrohttpd/src/include -I../deps/libhttpserver/libhttpserver/src -I../deps/libinjection/libinjection/src -I../deps/curl/curl/include -I../deps/libev/libev/ -I../deps/libssl/openssl//include -I../deps/prometheus-cpp/prometheus-cpp/pull/include -I../deps/prometheus-cpp/prometheus-cpp/core/include -O2 -ggdb  -Wall -DGITVERSION=\"2.6.6\"     -DENABLE_EPOLL -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -Wl,-rpath=/usr/local/lib/gcc13 
g++13 -fPIC -c -o obj/Query_Cache.oo Query_Cache.cpp -std=c++17 -DCXX17 -I../include -I../deps/jemalloc/jemalloc/include/jemalloc -I../deps/mariadb-client-library/mariadb_client/include -I../deps/libconfig/libconfig/lib -I../deps/re2/re2 -I../deps/sqlite3/sqlite3 -I../deps/pcre/pcre -I/usr/local/include -I../deps/clickhouse-cpp/clickhouse-cpp -I../deps/clickhouse-cpp/clickhouse-cpp/contrib/ -I../deps/libmicrohttpd/libmicrohttpd -I../deps/libmicrohttpd/libmicrohttpd/src/include -I../deps/libhttpserver/libhttpserver/src -I../deps/libinjection/libinjection/src -I../deps/curl/curl/include -I../deps/libev/libev/ -I../deps/libssl/openssl//include -I../deps/prometheus-cpp/prometheus-cpp/pull/include -I../deps/prometheus-cpp/prometheus-cpp/core/include -O2 -ggdb  -Wall -DGITVERSION=\"2.6.6\"     -DENABLE_EPOLL -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -Wl,-rpath=/usr/local/lib/gcc13 
g++13 -fPIC -c -o obj/SpookyV2.oo SpookyV2.cpp -std=c++17 -DCXX17 -I../include -I../deps/jemalloc/jemalloc/include/jemalloc -I../deps/mariadb-client-library/mariadb_client/include -I../deps/libconfig/libconfig/lib -I../deps/re2/re2 -I../deps/sqlite3/sqlite3 -I../deps/pcre/pcre -I/usr/local/include -I../deps/clickhouse-cpp/clickhouse-cpp -I../deps/clickhouse-cpp/clickhouse-cpp/contrib/ -I../deps/libmicrohttpd/libmicrohttpd -I../deps/libmicrohttpd/libmicrohttpd/src/include -I../deps/libhttpserver/libhttpserver/src -I../deps/libinjection/libinjection/src -I../deps/curl/curl/include -I../deps/libev/libev/ -I../deps/libssl/openssl//include -I../deps/prometheus-cpp/prometheus-cpp/pull/include -I../deps/prometheus-cpp/prometheus-cpp/core/include -O2 -ggdb  -Wall -DGITVERSION=\"2.6.6\"     -DENABLE_EPOLL -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -Wl,-rpath=/usr/local/lib/gcc13 
ProxySQL_GloVars.cpp: In function 'void update_ulong_var_if_set(uint64_t&, ez::ezOptionParser*, const char*)':
ProxySQL_GloVars.cpp:337:45: error: cannot bind non-const lvalue reference of type 'long unsigned int&' to a value of type 'uint64_t' {aka 'long long unsigned int'}
  337 |                 opt->get(cmd_opt)->getULong(cur_val);
      |                                             ^~~~~~~
In file included from ProxySQL_GloVars.cpp:1:
../include/ezOptionParser.hpp:1048:44: note:   initializing argument 1 of 'void ez::OptionGroup::getULong(long unsigned int&)'
 1048 | void OptionGroup::getULong(unsigned long & out) {
      |                            ~~~~~~~~~~~~~~~~^~~
g++13 -fPIC -c -o obj/MySQL_Authentication.oo MySQL_Authentication.cpp -std=c++17 -DCXX17 -I../include -I../deps/jemalloc/jemalloc/include/jemalloc -I../deps/mariadb-client-library/mariadb_client/include -I../deps/libconfig/libconfig/lib -I../deps/re2/re2 -I../deps/sqlite3/sqlite3 -I../deps/pcre/pcre -I/usr/local/include -I../deps/clickhouse-cpp/clickhouse-cpp -I../deps/clickhouse-cpp/clickhouse-cpp/contrib/ -I../deps/libmicrohttpd/libmicrohttpd -I../deps/libmicrohttpd/libmicrohttpd/src/include -I../deps/libhttpserver/libhttpserver/src -I../deps/libinjection/libinjection/src -I../deps/curl/curl/include -I../deps/libev/libev/ -I../deps/libssl/openssl//include -I../deps/prometheus-cpp/prometheus-cpp/pull/include -I../deps/prometheus-cpp/prometheus-cpp/core/include -O2 -ggdb  -Wall -DGITVERSION=\"2.6.6\"     -DENABLE_EPOLL -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13  -Wl,-rpath=/usr/local/lib/gcc13 
gmake[1]: *** [Makefile:141: obj/ProxySQL_GloVars.oo] Error 1
gmake[1]: *** Waiting for unfinished jobs....
Query_Cache.cpp: In member function 'SQLite3_result* Query_Cache::SQL3_getStats()':
Query_Cache.cpp:830:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
  830 |                 sprintf(buf,"%lu", get_data_size_total());
      |                              ~~^   ~~~~~~~~~~~~~~~~~~~~~
      |                                |                      |
      |                                long unsigned int      uint64_t {aka long long unsigned int}
      |                              %llu
Query_Cache.cpp:836:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
  836 |                 sprintf(buf,"%lu", Glo_cntGet);
      |                              ~~^   ~~~~~~~~~~
      |                                |   |
      |                                |   uint64_t {aka long long unsigned int}
      |                                long unsigned int
      |                              %llu
Query_Cache.cpp:842:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
  842 |                 sprintf(buf,"%lu", Glo_cntGetOK);
      |                              ~~^   ~~~~~~~~~~~~
      |                                |   |
      |                                |   uint64_t {aka long long unsigned int}
      |                                long unsigned int
      |                              %llu
Query_Cache.cpp:848:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
  848 |                 sprintf(buf,"%lu", Glo_cntSet);
      |                              ~~^   ~~~~~~~~~~
      |                                |   |
      |                                |   uint64_t {aka long long unsigned int}
      |                                long unsigned int
      |                              %llu
Query_Cache.cpp:854:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
  854 |                 sprintf(buf,"%lu", Glo_dataIN);
      |                              ~~^   ~~~~~~~~~~
      |                                |   |
      |                                |   uint64_t {aka long long unsigned int}
      |                                long unsigned int
      |                              %llu
Query_Cache.cpp:860:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
  860 |                 sprintf(buf,"%lu", Glo_dataOUT);
      |                              ~~^   ~~~~~~~~~~~
      |                                |   |
      |                                |   uint64_t {aka long long unsigned int}
      |                                long unsigned int
      |                              %llu
Query_Cache.cpp:866:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
  866 |                 sprintf(buf,"%lu", Glo_cntPurge);
      |                              ~~^   ~~~~~~~~~~~~
      |                                |   |
      |                                |   uint64_t {aka long long unsigned int}
      |                                long unsigned int
      |                              %llu
Query_Cache.cpp:872:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
  872 |                 sprintf(buf,"%lu", Glo_num_entries);
      |                              ~~^   ~~~~~~~~~~~~~~~
      |                                |   |
      |                                |   uint64_t {aka long long unsigned int}
      |                                long unsigned int
      |                              %llu
In file included from ../include/btree_map.h:31,
                 from Query_Cache.cpp:2:
../include/btree.h: In instantiation of 'btree::btree_node<Params>::reference btree::btree_node<Params>::value(int) [with Params = btree::btree_map_params<long long unsigned int, __QC_entry_t*, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, __QC_entry_t*> >, 256>; reference = std::pair<const long long unsigned int, __QC_entry_t*>&]':
../include/btree.h:809:24:   required from 'btree::btree_iterator<Node, Reference, Pointer>::pointer btree::btree_iterator<Node, Reference, Pointer>::operator->() const [with Node = btree::btree_node<btree::btree_map_params<long long unsigned int, __QC_entry_t*, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, __QC_entry_t*> >, 256> >; Reference = std::pair<const long long unsigned int, __QC_entry_t*>&; Pointer = std::pair<const long long unsigned int, __QC_entry_t*>*; pointer = std::pair<const long long unsigned int, __QC_entry_t*>*]'
Query_Cache.cpp:242:9:   required from here
../include/btree.h:557:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  557 |     return reinterpret_cast<reference>(fields_.values[i]);
      |                                        ~~~~~~~~~~~~~~^
In member function 'void btree::btree_node<Params>::set_child(int, btree::btree_node<Params>*) [with Params = btree::btree_map_params<long long unsigned int, __QC_entry_t*, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, __QC_entry_t*> >, 256>]',
    inlined from 'void btree::btree<Params>::rebalance_or_split(iterator*) [with Params = btree::btree_map_params<long long unsigned int, __QC_entry_t*, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, __QC_entry_t*> >, 256>]' at ../include/btree.h:2068:24:
../include/btree.h:575:23: warning: array subscript 'btree::btree_node<btree::btree_map_params<long long unsigned int, __QC_entry_t*, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, __QC_entry_t*> >, 256> >[0]' is partly outside array bounds of 'unsigned char [416]' [-Warray-bounds=]
  575 |     *mutable_child(i) = c;
      |     ~~~~~~~~~~~~~~~~~~^~~
In file included from /usr/local/lib/gcc13/include/c++/armv7-portbld-freebsd15.0/bits/c++allocator.h:33,
                 from /usr/local/lib/gcc13/include/c++/bits/allocator.h:46,
                 from /usr/local/lib/gcc13/include/c++/string:43,
                 from ../deps/prometheus-cpp/prometheus-cpp/core/include/prometheus/client_metric.h:4,
                 from ../deps/prometheus-cpp/prometheus-cpp/core/include/prometheus/counter.h:3,
                 from Query_Cache.cpp:1:
In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = char]',
    inlined from 'btree::btree<Params>::node_type* btree::btree<Params>::new_internal_node(node_type*) [with Params = btree::btree_map_params<long long unsigned int, __QC_entry_t*, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, __QC_entry_t*> >, 256>]' at ../include/btree.h:1244:47,
    inlined from 'void btree::btree<Params>::rebalance_or_split(iterator*) [with Params = btree::btree_map_params<long long unsigned int, __QC_entry_t*, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, __QC_entry_t*> >, 256>]' at ../include/btree.h:2067:33:
/usr/local/lib/gcc13/include/c++/bits/new_allocator.h:151:55: note: object of size 416 allocated by 'operator new'
  151 |         return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp)));
      |                                                       ^
In member function 'void btree::btree_node<Params>::set_child(int, btree::btree_node<Params>*) [with Params = btree::btree_map_params<long long unsigned int, __QC_entry_t*, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, __QC_entry_t*> >, 256>]',
    inlined from 'void btree::btree<Params>::rebalance_or_split(iterator*) [with Params = btree::btree_map_params<long long unsigned int, __QC_entry_t*, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, __QC_entry_t*> >, 256>]' at ../include/btree.h:2068:24:
../include/btree.h:576:23: warning: array subscript 'btree::btree_node<btree::btree_map_params<long long unsigned int, __QC_entry_t*, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, __QC_entry_t*> >, 256> >[0]' is partly outside array bounds of 'unsigned char [416]' [-Warray-bounds=]
  576 |     c->fields_.parent = this;
      |     ~~~~~~~~~~~~~~~~~~^~~~~~
In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = char]',
    inlined from 'btree::btree<Params>::node_type* btree::btree<Params>::new_internal_node(node_type*) [with Params = btree::btree_map_params<long long unsigned int, __QC_entry_t*, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, __QC_entry_t*> >, 256>]' at ../include/btree.h:1244:47,
    inlined from 'void btree::btree<Params>::rebalance_or_split(iterator*) [with Params = btree::btree_map_params<long long unsigned int, __QC_entry_t*, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, __QC_entry_t*> >, 256>]' at ../include/btree.h:2067:33:
/usr/local/lib/gcc13/include/c++/bits/new_allocator.h:151:55: note: object of size 416 allocated by 'operator new'
  151 |         return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp)));
      |                                                       ^
In file included from /usr/local/lib/gcc13/include/c++/set:62,
                 from ../include/proxysql.h:6,
                 from MySQL_Authentication.cpp:2:
/usr/local/lib/gcc13/include/c++/bits/stl_tree.h: In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {std::pair<long long unsigned int, _account_details_t*>}; _Key = long long unsigned int; _Val = std::pair<const long long unsigned int, _account_details_t*>; _KeyOfValue = std::_Select1st<std::pair<const long long unsigned int, _account_details_t*> >; _Compare = std::less<long long unsigned int>; _Alloc = std::allocator<std::pair<const long long unsigned int, _account_details_t*> >]':
/usr/local/lib/gcc13/include/c++/bits/stl_tree.h:2458:7: note: parameter passing for argument of type 'std::_Rb_tree<long long unsigned int, std::pair<const long long unsigned int, _account_details_t*>, std::_Select1st<std::pair<const long long unsigned int, _account_details_t*> >, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, _account_details_t*> > >::const_iterator' changed in GCC 7.1
 2458 |       _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/lib/gcc13/include/c++/map:63,
                 from ../deps/prometheus-cpp/prometheus-cpp/core/include/prometheus/labels.h:3,
                 from ../deps/prometheus-cpp/prometheus-cpp/core/include/prometheus/detail/utils.h:6,
                 from ../deps/prometheus-cpp/prometheus-cpp/core/include/prometheus/family.h:12,
                 from ../deps/prometheus-cpp/prometheus-cpp/core/include/prometheus/registry.h:10,
                 from ../include/proxysql_glovars.hpp:9,
                 from ../include/proxysql_structs.h:757,
                 from ../include/proxysql.h:58:
In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::emplace_hint(const_iterator, _Args&& ...) [with _Args = {std::pair<long long unsigned int, _account_details_t*>}; _Key = long long unsigned int; _Tp = _account_details_t*; _Compare = std::less<long long unsigned int>; _Alloc = std::allocator<std::pair<const long long unsigned int, _account_details_t*> >]',
    inlined from 'std::__enable_if_t<std::is_constructible<std::pair<const _Key, _Val>, _Pair>::value, std::pair<typename std::_Rb_tree<_Key, std::pair<const _Key, _Val>, std::_Select1st<std::pair<const _Key, _Val> >, _Compare, typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<std::pair<const _Key, _Val> >::other>::iterator, bool> > std::map<_Key, _Tp, _Compare, _Alloc>::insert(_Pair&&) [with _Pair = std::pair<long long unsigned int, _account_details_t*>; _Key = long long unsigned int; _Tp = _account_details_t*; _Compare = std::less<long long unsigned int>; _Alloc = std::allocator<std::pair<const long long unsigned int, _account_details_t*> >]' at /usr/local/lib/gcc13/include/c++/bits/stl_map.h:860:27,
    inlined from 'bool MySQL_Authentication::add(char*, char*, cred_username_type, bool, int, char*, bool, bool, bool, int, char*, char*)' at MySQL_Authentication.cpp:216:19:
/usr/local/lib/gcc13/include/c++/bits/stl_map.h:640:45: note: parameter passing for argument of type 'std::map<long long unsigned int, _account_details_t*>::const_iterator' {aka 'std::_Rb_tree<long long unsigned int, std::pair<const long long unsigned int, _account_details_t*>, std::_Select1st<std::pair<const long long unsigned int, _account_details_t*> >, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, _account_details_t*> > >::const_iterator'} changed in GCC 7.1
  640 |           return _M_t._M_emplace_hint_unique(__pos,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
  641 |                                              std::forward<_Args>(__args)...);
      |                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/proxysql/work/proxysql-2.6.6/lib'
gmake: *** [Makefile:152: build_lib_legacy] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped making "build" in /usr/ports/databases/proxysql