[package - main-i386-default][databases/keydb] Failed for keydb-6.3.4 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Mar 2024 13:36:37 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/beefy17/data/main-i386-default/pbbcfcbe1c93c_s7b133b34f8/logs/keydb-6.3.4.log
Build URL: https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=pbbcfcbe1c93c_s7b133b34f8
Log:
=>> Building databases/keydb
build started at Wed Mar 13 13:36:05 UTC 2024
port directory: /usr/ports/databases/keydb
package name: keydb-6.3.4
building for: FreeBSD main-i386-default-job-06 15.0-CURRENT FreeBSD 15.0-CURRENT 1500014 i386
maintained by: zi@FreeBSD.org
Makefile datestamp: -rw-r--r-- 1 root wheel 2097 Nov 5 01:01 /usr/ports/databases/keydb/Makefile
Ports top last git commit: bbcfcbe1c93
Ports top unclean checkout: no
Port dir last git commit: 0dda4789af2
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-1-g1e9f97d6
Host OSVERSION: 1500006
Jail OSVERSION: 1500014
Job Id: 06
!!! Jail is newer than host. (Jail: 1500014, Host: 1500006) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500014
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=15.0-CURRENT
LOCALBASE=/usr/local
UNAME_v=FreeBSD 15.0-CURRENT 1500014
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-1-g1e9f97d6
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-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-i386-default/06/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-1-g1e9f97d6
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---
===> The following configuration options are available for keydb-6.3.4:
TLS=on: Use TLS (openssl req.)
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
zi@FreeBSD.org
--End MAINTAINER--
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/databases/keydb/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/keydb/work XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/keydb/work/.cache HOME=/wrkdirs/usr/ports/databases/keydb/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/keydb/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/keydb/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--
--MAKE_ENV--
OPTIMIZATION= V=yo BUILD_TLS=yes OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/databases/keydb/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/keydb/work XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/keydb/work/.cache HOME=/wrkdirs/usr/ports/databases/keydb/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/keydb/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/keydb/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/loca
l/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local LOCALBASE=/usr/local CC="gcc13" CFLAGS="-O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp13" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -lpthread -lm -lexecinfo -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -L/usr/local/lib " LIBS="" CXX="g++13" CXXFLAGS="-O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include " 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--
KEYDB_DBDIR=/var/db/keydb KEYDB_GROUP=keydb KEYDB_LOGDIR=/var/log/keydb KEYDB_RUNDIR=/var/run/keydb KEYDB_USER=keydb OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/keydb" EXAMPLESDIR="share/examples/keydb" DATADIR="share/keydb" WWWDIR="www/keydb" ETCDIR="etc/keydb"
--End PLIST_SUB--
--SUB_LIST--
PORTNAME=keydb KEYDB_DBDIR=/var/db/keydb KEYDB_LOGDIR=/var/log/keydb KEYDB_RUNDIR=/var/run/keydb KEYDB_USER=keydb PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/keydb DOCSDIR=/usr/local/share/doc/keydb EXAMPLESDIR=/usr/local/share/examples/keydb WWWDIR=/usr/local/www/keydb ETCDIR=/usr/local/etc/keydb
--End SUB_LIST--
---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### ####
# 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--
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 BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> keydb-6.3.4 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.20.9_1.pkg
[main-i386-default-job-06] Installing pkg-1.20.9_1...
[main-i386-default-job-06] Extracting pkg-1.20.9_1: .......... done
===> keydb-6.3.4 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of keydb-6.3.4
===========================================================================
=======================<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 BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by keydb-6.3.4 for building
===========================================================================
=======================<phase: checksum >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by keydb-6.3.4 for building
=> SHA256 Checksum OK for Snapchat-KeyDB-v6.3.4_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 BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by keydb-6.3.4 for building
===> Extracting for keydb-6.3.4
=> SHA256 Checksum OK for Snapchat-KeyDB-v6.3.4_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 keydb-6.3.4
===> Applying FreeBSD patches for keydb-6.3.4 from /usr/ports/databases/keydb/files
/usr/bin/sed -i.bak 's|/usr/local|/usr/local|g' /wrkdirs/usr/ports/databases/keydb/work/KeyDB-6.3.4/src/Makefile
===========================================================================
=======================<phase: build-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> keydb-6.3.4 depends on package: gmake>=4.4.1 - not found
===> Installing existing package /packages/All/gmake-4.4.1.pkg
[main-i386-default-job-06] Installing gmake-4.4.1...
[main-i386-default-job-06] `-- Installing gettext-runtime-0.22.3_1...
[main-i386-default-job-06] | `-- Installing indexinfo-0.3.1...
[main-i386-default-job-06] | `-- Extracting indexinfo-0.3.1: .... done
[main-i386-default-job-06] `-- Extracting gettext-runtime-0.22.3_1: .......... done
<snip>
102 | BIT_OP(bit_band, &=)
| ^~~~~~
lua_bit.c: In function 'bit_bor':
lua_bit.c:101:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
101 | for (i = lua_gettop(L); i > 1; i--) b opr barg(L, i); BRET(b) }
| ^~~
lua_bit.c:103:1: note: in expansion of macro 'BIT_OP'
103 | BIT_OP(bit_bor, |=)
| ^~~~~~
lua_bit.c:94:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
94 | #define BRET(b) lua_pushnumber(L, (lua_Number)(SBits)(b)); return 1;
| ^~~~~~~~~~~~~~
lua_bit.c:101:59: note: in expansion of macro 'BRET'
101 | for (i = lua_gettop(L); i > 1; i--) b opr barg(L, i); BRET(b) }
| ^~~~
lua_bit.c:103:1: note: in expansion of macro 'BIT_OP'
103 | BIT_OP(bit_bor, |=)
| ^~~~~~
lua_bit.c: In function 'bit_bxor':
lua_bit.c:101:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
101 | for (i = lua_gettop(L); i > 1; i--) b opr barg(L, i); BRET(b) }
| ^~~
lua_bit.c:104:1: note: in expansion of macro 'BIT_OP'
104 | BIT_OP(bit_bxor, ^=)
| ^~~~~~
lua_bit.c:94:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
94 | #define BRET(b) lua_pushnumber(L, (lua_Number)(SBits)(b)); return 1;
| ^~~~~~~~~~~~~~
lua_bit.c:101:59: note: in expansion of macro 'BRET'
101 | for (i = lua_gettop(L); i > 1; i--) b opr barg(L, i); BRET(b) }
| ^~~~
lua_bit.c:104:1: note: in expansion of macro 'BIT_OP'
104 | BIT_OP(bit_bxor, ^=)
| ^~~~~~
gcc13 -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -c -o lua.o lua.c
gcc13 -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -c -o luac.o luac.c
gcc13 -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -c -o print.o print.c
ar rc liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o strbuf.o fpconv.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o lua_cjson.o lua_struct.o lua_cmsgpack.o lua_bit.o # DLL needs all object files
ranlib liblua.a
gcc13 -o lua -lpthread -lm -lexecinfo -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -L/usr/local/lib lua.o liblua.a -lm
gcc13 -o luac -lpthread -lm -lexecinfo -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -L/usr/local/lib luac.o print.o liblua.a -lm
gmake[3]: Leaving directory '/wrkdirs/usr/ports/databases/keydb/work/KeyDB-6.3.4/deps/lua/src'
gmake[2]: Leaving directory '/wrkdirs/usr/ports/databases/keydb/work/KeyDB-6.3.4/deps'
gcc13 -pedantic -DREDIS_STATIC='' -Wno-c11-extensions -std=c99 -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DUSE_OPENSSL -MMD -o adlist.o -c adlist.c
gcc13 -pedantic -DREDIS_STATIC='' -Wno-c11-extensions -std=c99 -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DUSE_OPENSSL -MMD -o quicklist.o -c quicklist.c
g++13 -std=c++17 -pedantic -fno-rtti -D__STDC_FORMAT_MACROS -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -I../deps/rocksdb/include/ -I../deps/concurrentqueue -DUSE_OPENSSL -MMD -o ae.o -c ae.cpp
gcc13 -pedantic -DREDIS_STATIC='' -Wno-c11-extensions -std=c99 -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DUSE_OPENSSL -MMD -o anet.o -c anet.c
g++13 -std=c++17 -pedantic -fno-rtti -D__STDC_FORMAT_MACROS -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -I../deps/rocksdb/include/ -I../deps/concurrentqueue -DUSE_OPENSSL -MMD -o dict.o -c dict.cpp
g++13 -std=c++17 -pedantic -fno-rtti -D__STDC_FORMAT_MACROS -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -I../deps/rocksdb/include/ -I../deps/concurrentqueue -DUSE_OPENSSL -MMD -o server.o -c server.cpp
gcc13 -pedantic -DREDIS_STATIC='' -Wno-c11-extensions -std=c99 -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DUSE_OPENSSL -MMD -o sds.o -c sds.c
g++13 -std=c++17 -pedantic -fno-rtti -D__STDC_FORMAT_MACROS -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -I../deps/rocksdb/include/ -I../deps/concurrentqueue -DUSE_OPENSSL -MMD -o zmalloc.o -c zmalloc.cpp
In file included from zmalloc.cpp:48:
zmalloc.cpp: In function 'void* ztrymalloc_usable(size_t, size_t*)':
zmalloc.h:92:43: warning: 'ptr' may be used uninitialized [-Wmaybe-uninitialized]
92 | #define zmalloc_size(p) malloc_usable_size(p)
| ~~~~~~~~~~~~~~~~~~^~~
zmalloc.cpp:117:12: note: in expansion of macro 'zmalloc_size'
117 | size = zmalloc_size(ptr);
| ^~~~~~~~~~~~
In file included from zmalloc.h:86:
/usr/include/malloc_np.h:73:9: note: by argument 1 of type 'const void*' to 'size_t malloc_usable_size(const void*)' declared here
73 | size_t malloc_usable_size(const void *ptr);
| ^~~~~~~~~~~~~~~~~~
In function 'void* ztrymalloc_usable(size_t, size_t*)',
inlined from 'void* zmalloc(size_t, MALLOC_CLASS)' at zmalloc.cpp:131:34:
zmalloc.h:92:43: warning: 'ptr' may be used uninitialized [-Wmaybe-uninitialized]
92 | #define zmalloc_size(p) malloc_usable_size(p)
| ~~~~~~~~~~~~~~~~~~^~~
zmalloc.cpp:117:12: note: in expansion of macro 'zmalloc_size'
117 | size = zmalloc_size(ptr);
| ^~~~~~~~~~~~
/usr/include/malloc_np.h: In function 'void* zmalloc(size_t, MALLOC_CLASS)':
/usr/include/malloc_np.h:73:9: note: by argument 1 of type 'const void*' to 'size_t malloc_usable_size(const void*)' declared here
73 | size_t malloc_usable_size(const void *ptr);
| ^~~~~~~~~~~~~~~~~~
In function 'void* ztrymalloc_usable(size_t, size_t*)',
inlined from 'void* ztrymalloc(size_t)' at zmalloc.cpp:138:34:
zmalloc.h:92:43: warning: 'ptr' may be used uninitialized [-Wmaybe-uninitialized]
92 | #define zmalloc_size(p) malloc_usable_size(p)
| ~~~~~~~~~~~~~~~~~~^~~
zmalloc.cpp:117:12: note: in expansion of macro 'zmalloc_size'
117 | size = zmalloc_size(ptr);
| ^~~~~~~~~~~~
/usr/include/malloc_np.h: In function 'void* ztrymalloc(size_t)':
/usr/include/malloc_np.h:73:9: note: by argument 1 of type 'const void*' to 'size_t malloc_usable_size(const void*)' declared here
73 | size_t malloc_usable_size(const void *ptr);
| ^~~~~~~~~~~~~~~~~~
In function 'void* ztrymalloc_usable(size_t, size_t*)',
inlined from 'void* zmalloc_usable(size_t, size_t*)' at zmalloc.cpp:145:34:
zmalloc.h:92:43: warning: 'ptr' may be used uninitialized [-Wmaybe-uninitialized]
92 | #define zmalloc_size(p) malloc_usable_size(p)
| ~~~~~~~~~~~~~~~~~~^~~
zmalloc.cpp:117:12: note: in expansion of macro 'zmalloc_size'
117 | size = zmalloc_size(ptr);
| ^~~~~~~~~~~~
/usr/include/malloc_np.h: In function 'void* zmalloc_usable(size_t, size_t*)':
/usr/include/malloc_np.h:73:9: note: by argument 1 of type 'const void*' to 'size_t malloc_usable_size(const void*)' declared here
73 | size_t malloc_usable_size(const void *ptr);
| ^~~~~~~~~~~~~~~~~~
In function 'void* ztrymalloc_usable(size_t, size_t*)',
inlined from 'void* ztryrealloc_usable(void*, size_t, size_t*)' at zmalloc.cpp:228:33:
zmalloc.h:92:43: warning: 'ptr' may be used uninitialized [-Wmaybe-uninitialized]
92 | #define zmalloc_size(p) malloc_usable_size(p)
| ~~~~~~~~~~~~~~~~~~^~~
zmalloc.cpp:117:12: note: in expansion of macro 'zmalloc_size'
117 | size = zmalloc_size(ptr);
| ^~~~~~~~~~~~
/usr/include/malloc_np.h: In function 'void* ztryrealloc_usable(void*, size_t, size_t*)':
/usr/include/malloc_np.h:73:9: note: by argument 1 of type 'const void*' to 'size_t malloc_usable_size(const void*)' declared here
73 | size_t malloc_usable_size(const void *ptr);
| ^~~~~~~~~~~~~~~~~~
In function 'void* ztrymalloc_usable(size_t, size_t*)',
inlined from 'void* zmalloc(size_t, MALLOC_CLASS)' at zmalloc.cpp:131:34,
inlined from 'char* zstrdup(const char*)' at zmalloc.cpp:334:29:
zmalloc.h:92:43: warning: 'ptr' may be used uninitialized [-Wmaybe-uninitialized]
92 | #define zmalloc_size(p) malloc_usable_size(p)
| ~~~~~~~~~~~~~~~~~~^~~
zmalloc.cpp:117:12: note: in expansion of macro 'zmalloc_size'
117 | size = zmalloc_size(ptr);
| ^~~~~~~~~~~~
/usr/include/malloc_np.h: In function 'char* zstrdup(const char*)':
/usr/include/malloc_np.h:73:9: note: by argument 1 of type 'const void*' to 'size_t malloc_usable_size(const void*)' declared here
73 | size_t malloc_usable_size(const void *ptr);
| ^~~~~~~~~~~~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-atomic-alignment' may have been intended to silence earlier diagnostics
gcc13 -pedantic -DREDIS_STATIC='' -Wno-c11-extensions -std=c99 -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DUSE_OPENSSL -MMD -o lzf_c.o -c lzf_c.c
server.cpp: In function 'char* genRedisInfoString(const char*)':
server.cpp:5754:51: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
5754 | snprintf(available_system_mem, 64, "%lu", g_pserver->cron_malloc_stats.sys_available);
| ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| long unsigned int size_t {aka unsigned int}
| %u
gcc13 -pedantic -DREDIS_STATIC='' -Wno-c11-extensions -std=c99 -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DUSE_OPENSSL -MMD -o lzf_d.o -c lzf_d.c
gcc13 -pedantic -DREDIS_STATIC='' -Wno-c11-extensions -std=c99 -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DUSE_OPENSSL -MMD -o pqsort.o -c pqsort.c
gcc13 -pedantic -DREDIS_STATIC='' -Wno-c11-extensions -std=c99 -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DUSE_OPENSSL -MMD -o zipmap.o -c zipmap.c
gcc13 -pedantic -DREDIS_STATIC='' -Wno-c11-extensions -std=c99 -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DUSE_OPENSSL -MMD -o sha1.o -c sha1.c
gcc13 -pedantic -DREDIS_STATIC='' -Wno-c11-extensions -std=c99 -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DUSE_OPENSSL -MMD -o ziplist.o -c ziplist.c
gcc13 -pedantic -DREDIS_STATIC='' -Wno-c11-extensions -std=c99 -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DUSE_OPENSSL -MMD -o release.o -c release.c
g++13 -std=c++17 -pedantic -fno-rtti -D__STDC_FORMAT_MACROS -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -I../deps/rocksdb/include/ -I../deps/concurrentqueue -DUSE_OPENSSL -MMD -o networking.o -c networking.cpp
gcc13 -pedantic -DREDIS_STATIC='' -Wno-c11-extensions -std=c99 -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DUSE_OPENSSL -MMD -o util.o -c util.c
g++13 -std=c++17 -pedantic -fno-rtti -D__STDC_FORMAT_MACROS -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -I../deps/rocksdb/include/ -I../deps/concurrentqueue -DUSE_OPENSSL -MMD -o object.o -c object.cpp
g++13 -std=c++17 -pedantic -fno-rtti -D__STDC_FORMAT_MACROS -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -I../deps/rocksdb/include/ -I../deps/concurrentqueue -DUSE_OPENSSL -MMD -o db.o -c db.cpp
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-atomic-alignment' may have been intended to silence earlier diagnostics
g++13 -std=c++17 -pedantic -fno-rtti -D__STDC_FORMAT_MACROS -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -I../deps/rocksdb/include/ -I../deps/concurrentqueue -DUSE_OPENSSL -MMD -o replication.o -c replication.cpp
replication.cpp: In function 'bool readSnapshotBulkPayload(connection*, redisMaster*, rdbSaveInfo&)':
replication.cpp:2611:40: error: static assertion failed
2611 | static_assert(sizeof(long) == sizeof(long long),"");
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
replication.cpp:2611:40: note: the comparison reduces to '(4 == 8)'
g++13 -std=c++17 -pedantic -fno-rtti -D__STDC_FORMAT_MACROS -Wall -W -Wno-missing-field-initializers -Wno-address-of-packed-member -Wno-atomic-alignment -O2 -pipe -march=i586 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -Wl,-rpath=/usr/local/lib/gcc13 -isystem /usr/local/include -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -I../deps/rocksdb/include/ -I../deps/concurrentqueue -DUSE_OPENSSL -MMD -o rdb.o -c rdb.cpp
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-atomic-alignment' may have been intended to silence earlier diagnostics
gmake[1]: *** [Makefile:486: replication.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
db.cpp: In function 'void swapdbCommand(client*)':
db.cpp:1793:29: warning: 'oriIdx' may be used uninitialized [-Wmaybe-uninitialized]
1793 | c->db=g_pserver->db[oriIdx];
| ^~~~~~
db.cpp:1758:19: note: 'oriIdx' was declared here
1758 | int id1, id2, oriIdx;
| ^~~~~~
In file included from /usr/local/lib/gcc13/include/c++/atomic:41,
from connection.h:34,
from rio.h:38,
from server.h:39,
from db.cpp:30:
In member function 'std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::load(std::memory_order) const [with _ITp = unsigned int]',
inlined from 'bool redisObject::FExpires() const' at server.h:985:56,
inlined from 'void redisDbPersistentData::setExpire(const char*, expireEntry&&)' at db.cpp:2785:23:
/usr/local/lib/gcc13/include/c++/bits/atomic_base.h:505:31: warning: 'unsigned int __atomic_load_4(const volatile void*, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
505 | return __atomic_load_n(&_M_i, int(__m));
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In member function 'void redisDbPersistentData::setExpire(const char*, expireEntry&&)':
cc1plus: note: destination object is likely at address zero
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-atomic-alignment' may have been intended to silence earlier diagnostics
In file included from rdb.cpp:30:
In member function 'rdbSaveInfo& rdbSaveInfo::operator=(const rdbSaveInfo&)',
inlined from 'rdbSaveInfo* rdbPopulateSaveInfo(rdbSaveInfo*)' at rdb.cpp:4021:12:
server.h:1977:36: warning: 'rsi_init.rdbSaveInfo::master_repl_offset' is used uninitialized [-Wuninitialized]
1977 | master_repl_offset = other.master_repl_offset;
| ~~~~~~^~~~~~~~~~~~~~~~~~
rdb.cpp: In function 'rdbSaveInfo* rdbPopulateSaveInfo(rdbSaveInfo*)':
rdb.cpp:4020:17: note: 'rsi_init' declared here
4020 | rdbSaveInfo rsi_init;
| ^~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-atomic-alignment' may have been intended to silence earlier diagnostics
gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/keydb/work/KeyDB-6.3.4/src'
gmake: *** [Makefile:6: all] 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 in /usr/ports/databases/keydb