Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/libdb.spec'], chrootPath='/var/lib/mock/dist-ocs23-riscv-rva23-build-354593-40547/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/libdb.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/libdb-5.3.28-7.ocs23.rva23.src.rpm RPM build warnings: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/libdb.spec'], chrootPath='/var/lib/mock/dist-ocs23-riscv-rva23-build-354593-40547/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/libdb.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ovH5nd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf db-5.3.28 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/db-5.3.28.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd db-5.3.28 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/db.1.85.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/lgpl-2.1.txt . + tar -xf /builddir/build/SOURCES/libdb-5.3.28-manpages.tar.gz + pushd db.1.85/PORT/linux ~/build/BUILD/db-5.3.28/db.1.85/PORT/linux ~/build/BUILD/db-5.3.28 Patch #1 (patch.1.1): + echo 'Patch #1 (patch.1.1):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file Makefile + popd ~/build/BUILD/db-5.3.28 ~/build/BUILD/db-5.3.28/db.1.85 ~/build/BUILD/db-5.3.28 Patch #2 (patch.1.2): + pushd db.1.85 + echo 'Patch #2 (patch.1.2):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file btree/bt_split.c Patch #3 (patch.1.3): + echo 'Patch #3 (patch.1.3):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file btree/bt_split.c Patch #4 (patch.1.4): + echo 'Patch #4 (patch.1.4):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file btree/bt_page.c Patch #3000 (db-1.85-errno.patch): + echo 'Patch #3000 (db-1.85-errno.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file hash/hash.h patching file hash/hash.c patching file hash/ndbm.c + popd ~/build/BUILD/db-5.3.28 + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/db-4.6.21-1.85-compat.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/db-4.5.20-jni-include-dir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/007-mt19937db.c_license.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/db-5.3.21-memp_stat-upstream-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/db-5.3.21-mutex_leak.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/db-5.3.28-lemon_hash.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/db-5.3.28-condition_variable.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/db-5.3.28-condition-variable-ppc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/db-5.3.28-rpm-lock-check.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/db-5.3.28-cwd-db_config.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libdb-5.3.21-region-size-check.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/checkpoint-opd-deadlock.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/db-5.3.28-atomic_compare_exchange.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libdb-cbd-race.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libdb-limit-cpu.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libdb-5.3.21-trickle_cpu.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/db-5.3.28_cve-2019-2708.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/db-5.3.28-mmap-high-cpu-usage.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cd dist + ./s_config autoconf: building aclocal.m4... autoconf: running autoheader to build config.hin... autoconf: running autoconf to build configure configure.ac:119: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:119: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... aclocal.m4:9905: AM_OPTIONS_SET is expanded from... configure.ac:119: the top level configure.ac:119: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:119: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... aclocal.m4:9905: AM_OPTIONS_SET is expanded from... configure.ac:119: the top level configure.ac:119: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:119: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... aclocal.m4:9905: AM_OPTIONS_SET is expanded from... configure.ac:119: the top level configure.ac:280: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:280: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:280: the top level configure.ac:329: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete. configure.ac:329: You should run autoupdate. ./lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from... aclocal.m4:81: AC_CXX_STDHEADERS is expanded from... configure.ac:329: the top level configure.ac:329: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:329: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... aclocal.m4:81: AC_CXX_STDHEADERS is expanded from... configure.ac:329: the top level configure.ac:356: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:356: You should run autoupdate. aclocal.m4:508: AC_PROG_LIBTOOL is expanded from... configure.ac:356: the top level configure.ac:442: warning: The macro 'AC_FD_CC' is obsolete. configure.ac:442: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:11957: AC_PROG_JAVAC_WORKS is expanded from... aclocal.m4:11931: AC_PROG_JAVAC is expanded from... configure.ac:442: the top level configure.ac:444: warning: The macro 'AC_FD_CC' is obsolete. configure.ac:444: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:11817: AC_PROG_JAVA_WORKS is expanded from... aclocal.m4:11791: AC_PROG_JAVA is expanded from... configure.ac:444: the top level configure.ac:444: warning: The macro 'AC_FD_CC' is obsolete. configure.ac:444: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:11957: AC_PROG_JAVAC_WORKS is expanded from... aclocal.m4:11931: AC_PROG_JAVAC is expanded from... aclocal.m4:11817: AC_PROG_JAVA_WORKS is expanded from... aclocal.m4:11791: AC_PROG_JAVA is expanded from... configure.ac:444: the top level configure.ac:503: warning: The macro 'AC_HAVE_LIBRARY' is obsolete. configure.ac:503: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:503: the top level configure.ac:603: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete. configure.ac:603: You should run autoupdate. ./lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from... aclocal.m4:105: AC_CXX_SUPPORTS_TEMPLATES is expanded from... configure.ac:603: the top level configure.ac:603: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:603: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... aclocal.m4:105: AC_CXX_SUPPORTS_TEMPLATES is expanded from... configure.ac:603: the top level configure.ac:605: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete. configure.ac:605: You should run autoupdate. ./lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from... aclocal.m4:11058: AX_TLS is expanded from... configure.ac:605: the top level configure.ac:605: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:605: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... aclocal.m4:11058: AX_TLS is expanded from... configure.ac:605: the top level configure.ac:624: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.ac:624: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.ac:624: the top level configure.ac:628: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:628: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/types.m4:149: _AC_CHECK_TYPE_NEW is expanded from... ./lib/autoconf/types.m4:233: AC_CHECK_TYPE is expanded from... aclocal.m4:10659: AM_SOCKLEN_T is expanded from... aclocal.m4:11160: AM_TYPES is expanded from... configure.ac:628: the top level configure.ac:630: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:630: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:630: the top level configure.ac:639: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:639: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:639: the top level configure.ac:650: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:650: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:8958: AM_PTHREADS_SHARED is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:9090: AM_DEFINE_MUTEXES is expanded from... configure.ac:650: the top level configure.ac:650: warning: The macro 'AC_TRY_RUN' is obsolete. configure.ac:650: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... aclocal.m4:8958: AM_PTHREADS_SHARED is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:9090: AM_DEFINE_MUTEXES is expanded from... configure.ac:650: the top level configure.ac:650: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:650: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:9042: AM_PTHREADS_CONDVAR_DUPINITCHK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:9090: AM_DEFINE_MUTEXES is expanded from... configure.ac:650: the top level configure.ac:650: warning: The macro 'AC_TRY_RUN' is obsolete. configure.ac:650: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... aclocal.m4:9042: AM_PTHREADS_CONDVAR_DUPINITCHK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:9090: AM_DEFINE_MUTEXES is expanded from... configure.ac:650: the top level configure.ac:650: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:650: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:9063: AM_PTHREADS_RWLOCKVAR_DUPINITCHK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:9090: AM_DEFINE_MUTEXES is expanded from... configure.ac:650: the top level configure.ac:650: warning: The macro 'AC_TRY_RUN' is obsolete. configure.ac:650: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... aclocal.m4:9063: AM_PTHREADS_RWLOCKVAR_DUPINITCHK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:9090: AM_DEFINE_MUTEXES is expanded from... configure.ac:650: the top level configure.ac:650: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:650: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:9002: AM_PTHREADS_PRIVATE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:9090: AM_DEFINE_MUTEXES is expanded from... configure.ac:650: the top level configure.ac:650: warning: The macro 'AC_TRY_RUN' is obsolete. configure.ac:650: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... aclocal.m4:9002: AM_PTHREADS_PRIVATE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:9090: AM_DEFINE_MUTEXES is expanded from... configure.ac:650: the top level configure.ac:650: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:650: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:9090: AM_DEFINE_MUTEXES is expanded from... configure.ac:650: the top level configure.ac:650: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:650: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:9090: AM_DEFINE_MUTEXES is expanded from... configure.ac:650: the top level configure.ac:650: warning: The macro 'AC_HAVE_LIBRARY' is obsolete. configure.ac:650: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... aclocal.m4:9090: AM_DEFINE_MUTEXES is expanded from... configure.ac:650: the top level configure.ac:650: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:650: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... aclocal.m4:9090: AM_DEFINE_MUTEXES is expanded from... configure.ac:650: the top level configure.ac:654: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:654: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:9840: AM_DEFINE_ATOMIC is expanded from... configure.ac:654: the top level configure.ac:654: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:654: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:9840: AM_DEFINE_ATOMIC is expanded from... configure.ac:654: the top level configure.ac:683: warning: The macro 'AC_HAVE_LIBRARY' is obsolete. configure.ac:683: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:683: the top level configure.ac:684: warning: The macro 'AC_HAVE_LIBRARY' is obsolete. configure.ac:684: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:684: the top level configure.ac:685: warning: The macro 'AC_HAVE_LIBRARY' is obsolete. configure.ac:685: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:685: the top level configure.ac:706: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:706: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:4: AC_TIMERS is expanded from... configure.ac:706: the top level configure.ac:706: warning: The macro 'AC_TRY_RUN' is obsolete. configure.ac:706: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:4: AC_TIMERS is expanded from... configure.ac:706: the top level configure.ac:733: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:733: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:733: the top level configure.ac:747: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:747: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:747: the top level configure.ac:768: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:768: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:768: the top level configure.ac:823: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:823: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:823: the top level configure.ac:849: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:849: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... aclocal.m4:10548: AM_SEQUENCE_CONFIGURE is expanded from... configure.ac:849: the top level configure.ac:849: warning: The macro 'AC_TRY_RUN' is obsolete. configure.ac:849: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... aclocal.m4:10548: AM_SEQUENCE_CONFIGURE is expanded from... configure.ac:849: the top level configure.ac:853: warning: The macro 'AC_TRY_RUN' is obsolete. configure.ac:853: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... aclocal.m4:8850: AM_MMAP_EXTEND is expanded from... configure.ac:853: the top level configure.ac:952: warning: The macro 'AC_HAVE_LIBRARY' is obsolete. configure.ac:952: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:952: the top level configure.ac:953: warning: The macro 'AC_HAVE_LIBRARY' is obsolete. configure.ac:953: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:953: the top level configure.ac:1047: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:1047: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:1047: the top level configure.ac:1147: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: Current bugs in libtool may prevent building the SQL API in \"$PWD\"; please use another working directory aclocal.m4:10768: AC_SQL_CONFIG is expanded from... configure.ac:1147: the top level configure.ac:1147: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: Current bugs in libtool may prevent building the SQL API in \"$PWD\"; please use another working directory aclocal.m4:10768: AC_SQL_CONFIG is expanded from... configure.ac:1147: the top level + cd .. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.InyTgU + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd db-5.3.28 + export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='\''"/var/lib"'\'' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='\''"/var/lib"'\'' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/' + make -C db.1.85/PORT/linux 'OORG=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='\''"/var/lib"'\'' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/' make: Entering directory '/builddir/build/BUILD/db-5.3.28/db.1.85/PORT/linux' gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../hash ../../hash/hash.c ../../hash/hash.c: In function 'hash_realloc': ../../hash/hash.c:871:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 871 | if (p = malloc(newsize)) { | ^ gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../hash ../../hash/hash_bigkey.c ../../hash/hash_bigkey.c: In function '__big_insert': ../../hash/hash_bigkey.c:124:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 124 | if (!key_size) | ^ ../../hash/hash_bigkey.c: In function '__big_split': ../../hash/hash_bigkey.c:593:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 593 | if (ret->next_addr = __find_last_page(hashp, &big_keyp)) { | ^~~ gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../hash ../../hash/hash_buf.c ../../hash/hash_buf.c: In function '__get_buf': ../../hash/hash_buf.c:144:29: warning: 'segment_ndx' may be used uninitialized [-Wmaybe-uninitialized] 144 | segp[segment_ndx] = | ^ ../../hash/hash_buf.c:113:31: note: 'segment_ndx' was declared here 113 | register int is_disk, segment_ndx; | ^~~~~~~~~~~ ../../hash/hash_buf.c:144:29: warning: 'segp' may be used uninitialized [-Wmaybe-uninitialized] 144 | segp[segment_ndx] = | ^ ../../hash/hash_buf.c:114:17: note: 'segp' was declared here 114 | SEGMENT segp; | ^~~~ gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../hash ../../hash/hash_func.c ../../hash/hash_func.c:118:1: warning: 'hash3' defined but not used [-Wunused-function] 118 | hash3(keyarg, len) | ^~~~~ ../../hash/hash_func.c:89:1: warning: 'hash2' defined but not used [-Wunused-function] 89 | hash2(keyarg, len) | ^~~~~ ../../hash/hash_func.c:69:1: warning: 'hash1' defined but not used [-Wunused-function] 69 | hash1(keyarg, len) | ^~~~~ gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../hash ../../hash/hash_log2.c gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../hash ../../hash/hash_page.c ../../hash/hash_page.c: In function 'overflow_page': ../../hash/hash_page.c:715:31: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 715 | (void)write(STDERR_FILENO, OVMSG, sizeof(OVMSG) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../hash/hash_page.c:728:31: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 728 | (void)write(STDERR_FILENO, OVMSG, sizeof(OVMSG) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../hash/hash_page.c:752:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 752 | (void)write(STDERR_FILENO, OVMSG, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 753 | sizeof(OVMSG) - 1); | ~~~~~~~~~~~~~~~~~~ In file included from ../../hash/hash_page.c:71: In function 'overflow_page', inlined from '__add_ovflpage' at ../../hash/hash_page.c:483:13: ../../hash/hash.h:154:29: warning: 'freep' may be used uninitialized [-Wmaybe-uninitialized] 154 | #define SETBIT(A, N) ((A)[(N)/BITS_PER_MAP] |= (1<<((N)%BITS_PER_MAP))) | ~~~^~~~~~~~~~~~~~~~~~ ../../hash/hash_page.c: In function '__add_ovflpage': ../../hash/hash_page.c:668:29: note: 'freep' was declared here 668 | register u_int32_t *freep; | ^~~~~ gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../hash ../../hash/hsearch.c ../../hash/hsearch.c: In function 'hcreate': ../../hash/hsearch.c:65:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 65 | return ((int)dbp); | ^ gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../hash ../../hash/ndbm.c gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../btree ../../btree/bt_close.c gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../btree ../../btree/bt_conv.c gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../btree ../../btree/bt_debug.c gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../btree ../../btree/bt_delete.c In file included from ../../btree/bt_delete.c:48: In function '__bt_stkacq', inlined from '__bt_delete' at ../../btree/bt_delete.c:108:9: ../../btree/btree.h:131:49: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 131 | ((BINTERNAL *)((char *)(pg) + (pg)->linp[indx])) | ~~~~~~~~~~^~~~~~ ../../btree/bt_delete.c: In function '__bt_delete': ../../btree/bt_delete.c:153:16: note: 'index' was declared here 153 | indx_t index; | ^~~~~ gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../btree ../../btree/bt_get.c gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../btree ../../btree/bt_open.c ../../btree/bt_open.c: In function '__bt_open': ../../btree/bt_open.c:128:29: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 128 | b.psize & sizeof(indx_t) - 1)) | ^ ../../btree/bt_open.c:248:29: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 248 | m.psize & sizeof(indx_t) - 1) | ^ ../../btree/bt_open.c:281:50: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 281 | if (b.cachesize && b.cachesize & b.psize - 1) | ~~~~~~~~^~~ ../../btree/bt_open.c:282:56: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 282 | b.cachesize += (~b.cachesize & b.psize - 1) + 1; | ~~~~~~~~^~~ gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../btree ../../btree/bt_overflow.c gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../btree ../../btree/bt_page.c gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../btree ../../btree/bt_put.c ../../btree/bt_put.c: In function '__bt_put': ../../btree/bt_put.c:226:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 226 | if (t->bt_order == NOT) | ^ gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../btree ../../btree/bt_search.c gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../btree ../../btree/bt_seq.c ../../btree/bt_seq.c: In function '__bt_first': ../../btree/bt_seq.c:361:24: warning: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] 361 | return (NULL); | ^ In function '__bt_seqadv', inlined from '__bt_seq' at ../../btree/bt_seq.c:103:13: ../../btree/bt_seq.c:323:19: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 323 | ep->index = index; | ~~~~~~~~~~^~~~~~~ ../../btree/bt_seq.c: In function '__bt_seq': ../../btree/bt_seq.c:247:16: note: 'index' was declared here 247 | indx_t index; | ^~~~~ gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../btree ../../btree/bt_split.c ../../btree/bt_split.c: In function 'bt_psplit': ../../btree/bt_split.c:676:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 676 | if (skip <= off && | ~~~~~~~~~~~~^~ 677 | used + nbytes + sizeof(indx_t) >= full || nxt == top - 1) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:548, from ../../btree/bt_split.c:46: In function 'memmove', inlined from '__bt_split' at ../../btree/bt_split.c:239:4: /usr/include/bits/string_fortified.h:36:10: warning: 'bi' may be used uninitialized [-Wmaybe-uninitialized] 36 | return __builtin___memmove_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../btree/bt_split.c: In function '__bt_split': ../../btree/bt_split.c:90:20: note: 'bi' was declared here 90 | BINTERNAL *bi; | ^~ ../../btree/bt_split.c:247:41: warning: 'bl' may be used uninitialized [-Wmaybe-uninitialized] 247 | memmove(dest, bl->bytes, nksize ? nksize : bl->ksize); | ~~^~~~~~~ ../../btree/bt_split.c:91:16: note: 'bl' was declared here 91 | BLEAF *bl, *tbl; | ^~ In file included from ../../btree/bt_split.c:49: ../../btree/bt_split.c:245:60: warning: 'nksize' may be used uninitialized [-Wmaybe-uninitialized] 245 | WR_BINTERNAL(dest, nksize ? nksize : bl->ksize, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../btree/bt_split.c:97:30: note: 'nksize' was declared here 97 | u_int32_t n, nbytes, nksize; | ^~~~~~ gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../btree ../../btree/bt_utils.c gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude ../../db/db.c gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../mpool ../../mpool/mpool.c gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../recno ../../recno/rec_close.c ../../recno/rec_close.c: In function '__rec_close': ../../recno/rec_close.c:82:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 82 | if (!F_ISSET(t, R_INMEM)) | ^ gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../recno ../../recno/rec_delete.c gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../recno ../../recno/rec_get.c gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../recno ../../recno/rec_open.c ../../recno/rec_open.c: In function '__rec_open': ../../recno/rec_open.c:123:21: warning: 'rfd' may be used uninitialized [-Wmaybe-uninitialized] 123 | if (lseek(rfd, (off_t)0, SEEK_CUR) == -1 && errno == ESPIPE) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../recno/rec_open.c:66:13: note: 'rfd' was declared here 66 | int rfd, sverrno; | ^~~ gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../recno ../../recno/rec_put.c gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../recno ../../recno/rec_search.c gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../recno ../../recno/rec_seq.c ../../recno/rec_seq.c:35:13: warning: 'sccsid' defined but not used [-Wunused-variable] 35 | static char sccsid[] = "@(#)rec_seq.c 8.3 (Berkeley) 7/14/94"; | ^~~~~~ gcc -c -D__DBINTERFACE_PRIVATE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DSHAREDSTATEDIR='"/var/lib"' -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I../../../lang/sql/sqlite/ext/fts3/ -I. -Iinclude -I../../recno ../../recno/rec_utils.c gcc -c -O -I. -Iinclude clib/snprintf.c clib/snprintf.c: In function 'snprintf': clib/snprintf.c:36:16: error: implicit declaration of function 'vsprintf' [-Wimplicit-function-declaration] 36 | rval = vsprintf(str, fmt, ap); | ^~~~~~~~ clib/snprintf.c:8:1: note: include '' or provide a declaration of 'vsprintf' 7 | #include +++ |+#include 8 | #else make: *** [Makefile:101: snprintf.o] Error 1 make: Leaving directory '/builddir/build/BUILD/db-5.3.28/db.1.85/PORT/linux' error: Bad exit status from /var/tmp/rpm-tmp.InyTgU (%build) RPM build warnings: RPM build errors: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.InyTgU (%build) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/libdb.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/libdb.spec'