D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/edb-1.0.5.050-13.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.iKuZxH
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1WVJCM
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build
+ rm -rf edb-1.0.5.050
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/edb-1.0.5.050.tar.bz2
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd edb-1.0.5.050
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-fix-literal.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.lc5dTK
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd edb-1.0.5.050
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ autoreconf -vfi
autoreconf: export WARNINGS=
autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: Entering directory '.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force 
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: configure.in: not using Intltool
autoreconf: configure.in: not using Gtkdoc
autoreconf: running: aclocal --force 
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: running: /usr/bin/autoconf --force
configure.in:6: warning: The macro 'AC_ISC_POSIX' is obsolete.
configure.in:6: You should run autoupdate.
./lib/autoconf/specific.m4:732: AC_ISC_POSIX is expanded from...
configure.in:6: the top level
configure.in:9: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.in:9: You should use the 'AC_CONFIG_HEADERS' macro instead.
aclocal.m4:9917: AM_CONFIG_HEADER is expanded from...
configure.in:9: the top level
configure.in:12: warning: 'AM_PROG_CC_STDC': this macro is obsolete.
configure.in:12: You should simply use the 'AC_PROG_CC' macro instead.
configure.in:12: Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
configure.in:12: but upon 'ac_cv_prog_cc_stdc'.
aclocal.m4:9923: AM_PROG_CC_STDC is expanded from...
configure.in:12: the top level
configure.in:14: warning: The macro 'AM_ENABLE_SHARED' is obsolete.
configure.in:14: You should run autoupdate.
aclocal.m4:8699: AM_ENABLE_SHARED is expanded from...
configure.in:14: the top level
configure.in:15: warning: The macro 'AM_PROG_LIBTOOL' is obsolete.
configure.in:15: You should run autoupdate.
aclocal.m4:123: AM_PROG_LIBTOOL is expanded from...
configure.in:15: the top level
configure.in:139: warning: The macro 'AC_STRUCT_ST_BLKSIZE' is obsolete.
configure.in:139: You should run autoupdate.
./lib/autoconf/types.m4:1029: AC_STRUCT_ST_BLKSIZE is expanded from...
configure.in:139: the top level
configure.in:210: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.in:210: 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.in:210: the top level
configure.in:252: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.in:252: 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.in:252: the top level
configure.in:260: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.in:260: 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.in:260: the top level
configure.in:268: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.in:268: 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.in:268: the top level
configure.in:276: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.in:276: 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.in:276: the top level
configure.in:285: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.in:285: 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.in:285: the top level
configure.in:296: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.in:296: 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.in:296: the top level
configure.in:307: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.in:307: 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.in:307: the top level
configure.in:318: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.in:318: 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.in:318: the top level
configure.in:329: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.in:329: 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.in:329: the top level
configure.in:444: warning: AC_OUTPUT should be used without arguments.
configure.in:444: You should run autoupdate.
autoreconf: running: /usr/bin/autoheader --force
autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: running: automake --add-missing --copy --force-missing
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:6: installing './compile'
configure.in:8: installing './missing'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
src/Makefile.am:8: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am: installing './depcomp'
test/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
tools/Makefile.am:12: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
tools/edb_gtk_ed/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
autoreconf: Leaving directory '.'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./config.guess
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./config.sub
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking)
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking)
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-test --disable-gtk --disable-static
checking build system type... x86_64-mageia-linux-gnu
checking host system type... x86_64-mageia-linux-gnu
checking for x86_64-mageia-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking dependency style of gcc... none
checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for an ANSI C-conforming const... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for x86_64-mageia-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-mageia-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-mageia-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for x86_64-mageia-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-mageia-linux-gnu-strip... no
checking for strip... strip
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-mageia-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking if malloc debugging is wanted... no
checking whether make sets $(MAKE)... (cached) yes
checking whether byte ordering is bigendian... no
checking if --enable-compat185 option specified... no
checking if --enable-dump185 option specified... no
checking for ar... /usr/bin/ar
checking for chmod... /usr/bin/chmod
checking for cp... /usr/bin/cp
checking for mkdir... /usr/bin/mkdir
checking for ranlib... /usr/bin/ranlib
checking for rm... /usr/bin/rm
checking for sh... /usr/bin/sh
checking for strip... /usr/bin/strip
checking for size_t... yes
checking whether byte ordering is bigendian... (cached) no
checking for an ANSI C-conforming const... (cached) yes
checking for struct stat.st_blksize... yes
checking whether stat file-mode macros are broken... no
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/select.h... yes
checking for sys/time.h... yes
checking for zlib.h... yes
checking for getcwd... yes
checking for getopt... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for raise... yes
checking for snprintf... yes
checking for strerror... yes
checking for strsep... yes
checking for vsnprintf... yes
checking for getuid... yes
checking for pread... yes
checking for pstat_getdynamic... no
checking for sysconf... yes
checking for shmget... yes
checking for mmap... yes
checking for munmap... yes
checking for qsort... yes
checking for select... yes
checking for sigfillset... yes
checking if --disable-bigfile option specified... "no"
checking for u_char... yes
checking for u_short... yes
checking for u_int... yes
checking for u_long... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for int16_t... yes
checking for u_int32_t... yes
checking for int32_t... yes
checking if --enable-test option specified... no
which: no gtk-config in (/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin)
checking for gtk db editor to be built... no
checking for putwin in -lncurses... yes
checking for ncurses.h... yes
checking for ncurses db editor to be built... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating edb.pc
config.status: creating src/Makefile
config.status: creating tools/Makefile
config.status: creating tools/edb_gtk_ed/Makefile
config.status: creating test/Makefile
config.status: creating src/edb_common.h
config.status: creating src/edb_int.h
config.status: creating src/edb_185.h
config.status: creating README
config.status: creating edb.spec
config.status: creating debian/changelog
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
+ /usr/bin/make -O -j16 V=1 VERBOSE=1
/usr/bin/make  all-recursive
Making all in src
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o hash_stat.lo hash_stat.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c hash_stat.c  -fPIC -DPIC -o .libs/hash_stat.o
hash_stat.c: In function '__ham_stat':
hash_stat.c:31:1: warning: old-style function definition [-Wold-style-definition]
   31 | __ham_stat(edbp, spp, edb_malloc, flags)
      | ^~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o os_rpath.lo os_rpath.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c os_rpath.c  -fPIC -DPIC -o .libs/os_rpath.o
os_rpath.c: In function '__edb_rpath':
os_rpath.c:27:1: warning: old-style function definition [-Wold-style-definition]
   27 | __edb_rpath(path)
      | ^~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o bt_conv.lo bt_conv.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bt_conv.c  -fPIC -DPIC -o .libs/bt_conv.o
bt_conv.c: In function '__bam_pgin':
bt_conv.c:31:1: warning: old-style function definition [-Wold-style-definition]
   31 | __bam_pgin(pg, pp, cookie)
      | ^~~~~~~~~~
bt_conv.c: In function '__bam_pgout':
bt_conv.c:53:1: warning: old-style function definition [-Wold-style-definition]
   53 | __bam_pgout(pg, pp, cookie)
      | ^~~~~~~~~~~
bt_conv.c: In function '__bam_mswap':
bt_conv.c:74:1: warning: old-style function definition [-Wold-style-definition]
   74 | __bam_mswap(pg)
      | ^~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o bt_compare.lo bt_compare.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bt_compare.c  -fPIC -DPIC -o .libs/bt_compare.o
bt_compare.c: In function '__bam_cmp':
bt_compare.c:71:1: warning: old-style function definition [-Wold-style-definition]
   71 | __bam_cmp(edbp, edbt, h, indx, func)
      | ^~~~~~~~~
bt_compare.c: In function '__bam_defcmp':
bt_compare.c:146:1: warning: old-style function definition [-Wold-style-definition]
  146 | __bam_defcmp(a, b)
      | ^~~~~~~~~~~~
bt_compare.c: In function '__bam_defpfx':
bt_compare.c:178:1: warning: old-style function definition [-Wold-style-definition]
  178 | __bam_defpfx(a, b)
      | ^~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o os_open.lo os_open.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c os_open.c  -fPIC -DPIC -o .libs/os_open.o
os_open.c: In function '__edb_open':
os_open.c:33:1: warning: old-style function definition [-Wold-style-definition]
   33 | __edb_open(name, arg_flags, ok_flags, mode, fdp)
      | ^~~~~~~~~~
os_open.c: In function '__edb_os_open':
os_open.c:129:1: warning: old-style function definition [-Wold-style-definition]
  129 | __edb_os_open(name, flags, mode, fdp)
      | ^~~~~~~~~~~~~
os_open.c: In function '__edb_os_close':
os_open.c:145:1: warning: old-style function definition [-Wold-style-definition]
  145 | __edb_os_close(fd)
      | ^~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o os_rw.lo os_rw.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c os_rw.c  -fPIC -DPIC -o .libs/os_rw.o
In file included from /usr/include/sys/types.h:25,
                 from os_rw.c:19:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
os_rw.c: In function '__edb_os_io':
os_rw.c:35:1: warning: old-style function definition [-Wold-style-definition]
   35 | __edb_os_io(edb_iop, op, niop)
      | ^~~~~~~~~~~
os_rw.c: In function '__edb_os_read':
os_rw.c:92:1: warning: old-style function definition [-Wold-style-definition]
   92 | __edb_os_read(fd, addr, len, nrp)
      | ^~~~~~~~~~~~~
os_rw.c: In function '__edb_os_write':
os_rw.c:122:1: warning: old-style function definition [-Wold-style-definition]
  122 | __edb_os_write(fd, addr, len, nwp)
      | ^~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mp_fput.lo mp_fput.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mp_fput.c  -fPIC -DPIC -o .libs/mp_fput.o
mp_fput.c: In function 'memp_fput':
mp_fput.c:30:1: warning: old-style function definition [-Wold-style-definition]
   30 | memp_fput(edbmfp, pgaddr, flags)
      | ^~~~~~~~~
In file included from mp_fput.c:19:
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
mp_fput.c:85:43: note: in expansion of macro 'SSZA'
   85 |         bhp = (BH *)((u_int8_t *)pgaddr - SSZA(BH, buf));
      |                                           ^~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_dispatch.lo edb_dispatch.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb_dispatch.c  -fPIC -DPIC -o .libs/edb_dispatch.o
edb_dispatch.c: In function '__edb_dispatch':
edb_dispatch.c:90:1: warning: old-style function definition [-Wold-style-definition]
   90 | __edb_dispatch(logp, edb, lsnp, redo, info)
      | ^~~~~~~~~~~~~~
edb_dispatch.c: In function '__edb_add_recovery':
edb_dispatch.c:148:1: warning: old-style function definition [-Wold-style-definition]
  148 | __edb_add_recovery(edbenv, func, ndx)
      | ^~~~~~~~~~~~~~~~~~
edb_dispatch.c: In function '__edb_txnlist_init':
edb_dispatch.c:180:1: warning: old-style function definition [-Wold-style-definition]
  180 | __edb_txnlist_init(retp)
      | ^~~~~~~~~~~~~~~~~~
edb_dispatch.c: In function '__edb_txnlist_add':
edb_dispatch.c:204:1: warning: old-style function definition [-Wold-style-definition]
  204 | __edb_txnlist_add(listp, txnid)
      | ^~~~~~~~~~~~~~~~~
edb_dispatch.c: In function '__edb_txnlist_find':
edb_dispatch.c:233:1: warning: old-style function definition [-Wold-style-definition]
  233 | __edb_txnlist_find(listp, txnid)
      | ^~~~~~~~~~~~~~~~~~
edb_dispatch.c: In function '__edb_txnlist_end':
edb_dispatch.c:257:1: warning: old-style function definition [-Wold-style-definition]
  257 | __edb_txnlist_end(listp)
      | ^~~~~~~~~~~~~~~~~
edb_dispatch.c: In function '__edb_txnlist_gen':
edb_dispatch.c:278:1: warning: old-style function definition [-Wold-style-definition]
  278 | __edb_txnlist_gen(listp, incr)
      | ^~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o bt_curadj.lo bt_curadj.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bt_curadj.c  -fPIC -DPIC -o .libs/bt_curadj.o
bt_curadj.c: In function '__bam_ca_delete':
bt_curadj.c:64:1: warning: old-style function definition [-Wold-style-definition]
   64 | __bam_ca_delete(edbp, pgno, indx, delete)
      | ^~~~~~~~~~~~~~~
bt_curadj.c: In function '__bam_ca_di':
bt_curadj.c:115:1: warning: old-style function definition [-Wold-style-definition]
  115 | __bam_ca_di(edbp, pgno, indx, adjust)
      | ^~~~~~~~~~~
bt_curadj.c: In function '__bam_ca_dup':
bt_curadj.c:152:1: warning: old-style function definition [-Wold-style-definition]
  152 | __bam_ca_dup(edbp, fpgno, first, fi, tpgno, ti)
      | ^~~~~~~~~~~~
bt_curadj.c: In function '__bam_ca_rsplit':
bt_curadj.c:193:1: warning: old-style function definition [-Wold-style-definition]
  193 | __bam_ca_rsplit(edbp, fpgno, tpgno)
      | ^~~~~~~~~~~~~~~
bt_curadj.c: In function '__bam_ca_split':
bt_curadj.c:225:1: warning: old-style function definition [-Wold-style-definition]
  225 | __bam_ca_split(edbp, ppgno, lpgno, rpgno, split_indx, cleft)
      | ^~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mp_fget.lo mp_fget.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mp_fget.c  -fPIC -DPIC -o .libs/mp_fget.o
mp_fget.c: In function 'memp_fget':
mp_fget.c:31:1: warning: old-style function definition [-Wold-style-definition]
   31 | memp_fget(edbmfp, pgnoaddr, flags, addrp)
      | ^~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o lock_conflict.lo lock_conflict.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c lock_conflict.c  -fPIC -DPIC -o .libs/lock_conflict.o
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_conv.lo edb_conv.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb_conv.c  -fPIC -DPIC -o .libs/edb_conv.o
edb_conv.c: In function '__edb_pgin':
edb_conv.c:70:1: warning: old-style function definition [-Wold-style-definition]
   70 | __edb_pgin(pg, pagesize, pp)
      | ^~~~~~~~~~
edb_conv.c: In function '__edb_pgout':
edb_conv.c:84:1: warning: old-style function definition [-Wold-style-definition]
   84 | __edb_pgout(pg, pagesize, pp)
      | ^~~~~~~~~~~
edb_conv.c: In function '__edb_convert':
edb_conv.c:97:1: warning: old-style function definition [-Wold-style-definition]
   97 | __edb_convert(pg, pp, pagesize, pgin)
      | ^~~~~~~~~~~~~
In file included from edb_conv.c:57:
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
edb_conv.c:134:39: note: in expansion of macro 'LEN_HKEYDATA'
  134 |                                 len = LEN_HKEYDATA(h, pagesize, i);
      |                                       ^~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
edb_conv.c:135:37: note: in expansion of macro 'HKEYDATA_DATA'
  135 |                                 p = HKEYDATA_DATA(P_ENTRY(h, i));
      |                                     ^~~~~~~~~~~~~
edb_int.h:70:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   70 | #define SSZ(name, field)        ((int)&(((name *)0)->field))
      |                                  ^
edb_page.h:346:52: note: in expansion of macro 'SSZ'
  346 | #define HOFFPAGE_PGNO(p)        (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno))
      |                                                    ^~~
edb_conv.c:152:37: note: in expansion of macro 'HOFFPAGE_PGNO'
  152 |                                 p = HOFFPAGE_PGNO(P_ENTRY(h, i));
      |                                     ^~~~~~~~~~~~~
edb_int.h:70:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   70 | #define SSZ(name, field)        ((int)&(((name *)0)->field))
      |                                  ^
edb_page.h:346:52: note: in expansion of macro 'SSZ'
  346 | #define HOFFPAGE_PGNO(p)        (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno))
      |                                                    ^~~
edb_conv.c:156:37: note: in expansion of macro 'HOFFPAGE_PGNO'
  156 |                                 p = HOFFPAGE_PGNO(P_ENTRY(h, i));
      |                                     ^~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o os_seek.lo os_seek.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c os_seek.c  -fPIC -DPIC -o .libs/os_seek.o
os_seek.c: In function '__edb_os_seek':
os_seek.c:31:1: warning: old-style function definition [-Wold-style-definition]
   31 | __edb_os_seek(fd, pgsize, pageno, relative, isrewind, whence)
      | ^~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mp_fset.lo mp_fset.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mp_fset.c  -fPIC -DPIC -o .libs/mp_fset.o
mp_fset.c: In function 'memp_fset':
mp_fset.c:30:1: warning: old-style function definition [-Wold-style-definition]
   30 | memp_fset(edbmfp, pgaddr, flags)
      | ^~~~~~~~~
In file included from mp_fset.c:19:
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
mp_fset.c:64:43: note: in expansion of macro 'SSZA'
   64 |         bhp = (BH *)((u_int8_t *)pgaddr - SSZA(BH, buf));
      |                                           ^~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mp_fopen.lo mp_fopen.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mp_fopen.c  -fPIC -DPIC -o .libs/mp_fopen.o
mp_fopen.c: In function 'memp_fopen':
mp_fopen.c:35:1: warning: old-style function definition [-Wold-style-definition]
   35 | memp_fopen(edbmp, path, flags, mode, pagesize, finfop, retp)
      | ^~~~~~~~~~
mp_fopen.c: In function '__memp_fopen':
mp_fopen.c:73:1: warning: old-style function definition [-Wold-style-definition]
   73 | __memp_fopen(edbmp, mfp, path, flags, mode, pagesize, needlock, finfop, retp)
      | ^~~~~~~~~~~~
mp_fopen.c: In function '__memp_mf_open':
mp_fopen.c:298:1: warning: old-style function definition [-Wold-style-definition]
  298 | __memp_mf_open(edbmp, path, pagesize, last_pgno, finfop, retp)
      | ^~~~~~~~~~~~~~
mp_fopen.c: In function 'memp_fclose':
mp_fopen.c:411:1: warning: old-style function definition [-Wold-style-definition]
  411 | memp_fclose(edbmfp)
      | ^~~~~~~~~~~
mp_fopen.c: In function '__memp_mf_close':
mp_fopen.c:497:1: warning: old-style function definition [-Wold-style-definition]
  497 | __memp_mf_close(edbmp, edbmfp)
      | ^~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o os_sleep.lo os_sleep.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c os_sleep.c  -fPIC -DPIC -o .libs/os_sleep.o
os_sleep.c: In function '__edb_os_sleep':
os_sleep.c:40:1: warning: old-style function definition [-Wold-style-definition]
   40 | __edb_os_sleep(secs, usecs)
      | ^~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mp_open.lo mp_open.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mp_open.c  -fPIC -DPIC -o .libs/mp_open.o
mp_open.c: In function 'memp_open':
mp_open.c:31:1: warning: old-style function definition [-Wold-style-definition]
   31 | memp_open(path, flags, mode, edbenv, retp)
      | ^~~~~~~~~
mp_open.c: In function 'memp_close':
mp_open.c:109:1: warning: old-style function definition [-Wold-style-definition]
  109 | memp_close(edbmp)
      | ^~~~~~~~~~
mp_open.c: In function '__memp_panic':
mp_open.c:156:1: warning: old-style function definition [-Wold-style-definition]
  156 | __memp_panic(edbenv)
      | ^~~~~~~~~~~~
mp_open.c: In function 'memp_unlink':
mp_open.c:168:1: warning: old-style function definition [-Wold-style-definition]
  168 | memp_unlink(path, force, edbenv)
      | ^~~~~~~~~~~
mp_open.c: In function 'memp_register':
mp_open.c:193:1: warning: old-style function definition [-Wold-style-definition]
  193 | memp_register(edbmp, ftype, pgin, pgout)
      | ^~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_iface.lo edb_iface.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb_iface.c  -fPIC -DPIC -o .libs/edb_iface.o
edb_iface.c: In function '__edb_cdelchk':
edb_iface.c:37:1: warning: old-style function definition [-Wold-style-definition]
   37 | __edb_cdelchk(edbp, flags, isrdonly, isvalid)
      | ^~~~~~~~~~~~~
edb_iface.c: In function '__edb_cgetchk':
edb_iface.c:68:1: warning: old-style function definition [-Wold-style-definition]
   68 | __edb_cgetchk(edbp, key, data, flags, isvalid)
      | ^~~~~~~~~~~~~
edb_iface.c: In function '__edb_cputchk':
edb_iface.c:137:1: warning: old-style function definition [-Wold-style-definition]
  137 | __edb_cputchk(edbp, key, data, flags, isrdonly, isvalid)
      | ^~~~~~~~~~~~~
edb_iface.c: In function '__edb_closechk':
edb_iface.c:205:1: warning: old-style function definition [-Wold-style-definition]
  205 | __edb_closechk(edbp, flags)
      | ^~~~~~~~~~~~~~
edb_iface.c: In function '__edb_delchk':
edb_iface.c:223:1: warning: old-style function definition [-Wold-style-definition]
  223 | __edb_delchk(edbp, key, flags, isrdonly)
      | ^~~~~~~~~~~~
edb_iface.c: In function '__edb_getchk':
edb_iface.c:255:1: warning: old-style function definition [-Wold-style-definition]
  255 | __edb_getchk(edbp, key, data, flags)
      | ^~~~~~~~~~~~
edb_iface.c: In function '__edb_joinchk':
edb_iface.c:297:1: warning: old-style function definition [-Wold-style-definition]
  297 | __edb_joinchk(edbp, flags)
      | ^~~~~~~~~~~~~
edb_iface.c: In function '__edb_putchk':
edb_iface.c:315:1: warning: old-style function definition [-Wold-style-definition]
  315 | __edb_putchk(edbp, key, data, flags, isrdonly, isdup)
      | ^~~~~~~~~~~~
edb_iface.c: In function '__edb_statchk':
edb_iface.c:368:1: warning: old-style function definition [-Wold-style-definition]
  368 | __edb_statchk(edbp, flags)
      | ^~~~~~~~~~~~~
edb_iface.c: In function '__edb_syncchk':
edb_iface.c:396:1: warning: old-style function definition [-Wold-style-definition]
  396 | __edb_syncchk(edbp, flags)
      | ^~~~~~~~~~~~~
edb_iface.c: In function '__edbt_ferr':
edb_iface.c:416:1: warning: old-style function definition [-Wold-style-definition]
  416 | __edbt_ferr(edbp, name, edbt, check_thread)
      | ^~~~~~~~~~~
edb_iface.c: In function '__edb_eopnotsup':
edb_iface.c:454:1: warning: old-style function definition [-Wold-style-definition]
  454 | __edb_eopnotsup(edbenv)
      | ^~~~~~~~~~~~~~~
edb_iface.c: In function '__edb_keyempty':
edb_iface.c:470:1: warning: old-style function definition [-Wold-style-definition]
  470 | __edb_keyempty(edbenv)
      | ^~~~~~~~~~~~~~
edb_iface.c: In function '__edb_rdonly':
edb_iface.c:482:1: warning: old-style function definition [-Wold-style-definition]
  482 | __edb_rdonly(edbenv, name)
      | ^~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o os_spin.lo os_spin.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c os_spin.c  -fPIC -DPIC -o .libs/os_spin.o
os_spin.c: In function '__edb_os_yield':
os_spin.c:101:1: warning: old-style function definition [-Wold-style-definition]
  101 | __edb_os_yield(usecs)
      | ^~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o bt_open.lo bt_open.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bt_open.c  -fPIC -DPIC -o .libs/bt_open.o
bt_open.c: In function '__bam_open':
bt_open.c:72:1: warning: old-style function definition [-Wold-style-definition]
   72 | __bam_open(edbp, edbinfo)
      | ^~~~~~~~~~
bt_open.c: In function '__bam_close':
bt_open.c:156:1: warning: old-style function definition [-Wold-style-definition]
  156 | __bam_close(edbp)
      | ^~~~~~~~~~~
bt_open.c: In function '__bam_setovflsize':
bt_open.c:171:1: warning: old-style function definition [-Wold-style-definition]
  171 | __bam_setovflsize(edbp)
      | ^~~~~~~~~~~~~~~~~
In file included from bt_open.c:61:
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
bt_open.c:196:42: note: in expansion of macro 'P_OVERHEAD'
  196 |         t->bt_ovflsize = (edbp->pgsize - P_OVERHEAD) / (t->bt_minkey * P_INDX)
      |                                          ^~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
edb_page.h:420:10: note: in expansion of macro 'BKEYDATA_SIZE'
  420 |         (BKEYDATA_SIZE(len) + sizeof(edb_indx_t))
      |          ^~~~~~~~~~~~~
bt_open.c:197:16: note: in expansion of macro 'BKEYDATA_PSIZE'
  197 |             - (BKEYDATA_PSIZE(0) + ALIGN(1, 4));
      |                ^~~~~~~~~~~~~~
bt_open.c: In function '__bam_read_root':
bt_open.c:207:1: warning: old-style function definition [-Wold-style-definition]
  207 | __bam_read_root(edbp)
      | ^~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_join.lo edb_join.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb_join.c  -fPIC -DPIC -o .libs/edb_join.o
edb_join.c: In function '__edb_join':
edb_join.c:67:1: warning: old-style function definition [-Wold-style-definition]
   67 | __edb_join(primary, curslist, flags, edbcp)
      | ^~~~~~~~~~
edb_join.c: In function '__edb_join_put':
edb_join.c:135:1: warning: old-style function definition [-Wold-style-definition]
  135 | __edb_join_put(edbc, key, data, flags)
      | ^~~~~~~~~~~~~~
edb_join.c: In function '__edb_join_del':
edb_join.c:150:1: warning: old-style function definition [-Wold-style-definition]
  150 | __edb_join_del(edbc, flags)
      | ^~~~~~~~~~~~~~
edb_join.c: In function '__edb_join_get':
edb_join.c:161:1: warning: old-style function definition [-Wold-style-definition]
  161 | __edb_join_get(edbc, key, data, flags)
      | ^~~~~~~~~~~~~~
edb_join.c: In function '__edb_join_close':
edb_join.c:249:1: warning: old-style function definition [-Wold-style-definition]
  249 | __edb_join_close(edbc)
      | ^~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o bt_delete.lo bt_delete.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bt_delete.c  -fPIC -DPIC -o .libs/bt_delete.o
bt_delete.c: In function '__bam_delete':
bt_delete.c:70:1: warning: old-style function definition [-Wold-style-definition]
   70 | __bam_delete(edbp, txn, key, flags)
      | ^~~~~~~~~~~~
bt_delete.c: In function '__bam_ditem':
bt_delete.c:141:1: warning: old-style function definition [-Wold-style-definition]
  141 | __bam_ditem(edbc, h, indx)
      | ^~~~~~~~~~~
In file included from bt_delete.c:59:
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:481:23: note: in expansion of macro 'SSZA'
  481 |         ALIGN((len) + SSZA(BINTERNAL, data), 4)
      |                       ^~~~
bt_delete.c:161:34: note: in expansion of macro 'BINTERNAL_SIZE'
  161 |                         nbytes = BINTERNAL_SIZE(bi->len);
      |                                  ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:481:23: note: in expansion of macro 'SSZA'
  481 |         ALIGN((len) + SSZA(BINTERNAL, data), 4)
      |                       ^~~~
bt_delete.c:165:34: note: in expansion of macro 'BINTERNAL_SIZE'
  165 |                         nbytes = BINTERNAL_SIZE(bi->len);
      |                                  ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
bt_delete.c:224:34: note: in expansion of macro 'BKEYDATA_SIZE'
  224 |                         nbytes = BKEYDATA_SIZE(bk->len);
      |                                  ^~~~~~~~~~~~~
bt_delete.c: In function '__bam_adjindx':
bt_delete.c:249:1: warning: old-style function definition [-Wold-style-definition]
  249 | __bam_adjindx(edbc, h, indx, indx_copy, is_insert)
      | ^~~~~~~~~~~~~
bt_delete.c: In function '__bam_dpage':
bt_delete.c:297:1: warning: old-style function definition [-Wold-style-definition]
  297 | __bam_dpage(edbc, key)
      | ^~~~~~~~~~~
bt_delete.c: In function '__bam_dpages':
bt_delete.c:406:1: warning: old-style function definition [-Wold-style-definition]
  406 | __bam_dpages(edbc)
      | ^~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:481:23: note: in expansion of macro 'SSZA'
  481 |         ALIGN((len) + SSZA(BINTERNAL, data), 4)
      |                       ^~~~
bt_delete.c:532:34: note: in expansion of macro 'BINTERNAL_SIZE'
  532 |                         b.size = BINTERNAL_SIZE(((BINTERNAL *)b.data)->len);
      |                                  ^~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o lock_deadlock.lo lock_deadlock.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c lock_deadlock.c  -fPIC -DPIC -o .libs/lock_deadlock.o
lock_deadlock.c: In function 'lock_detect':
lock_deadlock.c:63:1: warning: old-style function definition [-Wold-style-definition]
   63 | lock_detect(lt, flags, atype)
      | ^~~~~~~~~~~
lock_deadlock.c: In function '__dd_build':
lock_deadlock.c:192:1: warning: old-style function definition [-Wold-style-definition]
  192 | __dd_build(edbenv, bmp, nlockers, idmap)
      | ^~~~~~~~~~
lock_deadlock.c: In function '__dd_find':
lock_deadlock.c:388:1: warning: old-style function definition [-Wold-style-definition]
  388 | __dd_find(bmp, idmap, nlockers)
      | ^~~~~~~~~
lock_deadlock.c: In function '__dd_abort':
lock_deadlock.c:416:1: warning: old-style function definition [-Wold-style-definition]
  416 | __dd_abort(edbenv, info)
      | ^~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_auto.lo edb_auto.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb_auto.c  -fPIC -DPIC -o .libs/edb_auto.o
edb_auto.c: In function '__edb_addrem_log':
edb_auto.c:22:5: warning: old-style function definition [-Wold-style-definition]
   22 | int __edb_addrem_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_addrem_print':
edb_auto.c:122:1: warning: old-style function definition [-Wold-style-definition]
  122 | __edb_addrem_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_addrem_read':
edb_auto.c:183:1: warning: old-style function definition [-Wold-style-definition]
  183 | __edb_addrem_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_split_log':
edb_auto.c:233:5: warning: old-style function definition [-Wold-style-definition]
  233 | int __edb_split_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_split_print':
edb_auto.c:312:1: warning: old-style function definition [-Wold-style-definition]
  312 | __edb_split_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_split_read':
edb_auto.c:362:1: warning: old-style function definition [-Wold-style-definition]
  362 | __edb_split_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_big_log':
edb_auto.c:405:5: warning: old-style function definition [-Wold-style-definition]
  405 | int __edb_big_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~
edb_auto.c: In function '__edb_big_print':
edb_auto.c:507:1: warning: old-style function definition [-Wold-style-definition]
  507 | __edb_big_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_big_read':
edb_auto.c:563:1: warning: old-style function definition [-Wold-style-definition]
  563 | __edb_big_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~
edb_auto.c: In function '__edb_ovref_log':
edb_auto.c:612:5: warning: old-style function definition [-Wold-style-definition]
  612 | int __edb_ovref_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_ovref_print':
edb_auto.c:678:1: warning: old-style function definition [-Wold-style-definition]
  678 | __edb_ovref_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_ovref_read':
edb_auto.c:719:1: warning: old-style function definition [-Wold-style-definition]
  719 | __edb_ovref_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_relink_log':
edb_auto.c:757:5: warning: old-style function definition [-Wold-style-definition]
  757 | int __edb_relink_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_relink_print':
edb_auto.c:846:1: warning: old-style function definition [-Wold-style-definition]
  846 | __edb_relink_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_relink_read':
edb_auto.c:893:1: warning: old-style function definition [-Wold-style-definition]
  893 | __edb_relink_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_addpage_log':
edb_auto.c:939:5: warning: old-style function definition [-Wold-style-definition]
  939 | int __edb_addpage_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_addpage_print':
edb_auto.c:1012:1: warning: old-style function definition [-Wold-style-definition]
 1012 | __edb_addpage_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_addpage_read':
edb_auto.c:1055:1: warning: old-style function definition [-Wold-style-definition]
 1055 | __edb_addpage_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_debug_log':
edb_auto.c:1095:5: warning: old-style function definition [-Wold-style-definition]
 1095 | int __edb_debug_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_debug_print':
edb_auto.c:1187:1: warning: old-style function definition [-Wold-style-definition]
 1187 | __edb_debug_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_debug_read':
edb_auto.c:1252:1: warning: old-style function definition [-Wold-style-definition]
 1252 | __edb_debug_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_init_print':
edb_auto.c:1296:1: warning: old-style function definition [-Wold-style-definition]
 1296 | __edb_init_print(edbenv)
      | ^~~~~~~~~~~~~~~~
edb_auto.c: In function '__edb_init_recover':
edb_auto.c:1329:1: warning: old-style function definition [-Wold-style-definition]
 1329 | __edb_init_recover(edbenv)
      | ^~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o e_db.lo e_db.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c e_db.c  -fPIC -DPIC -o .libs/e_db.o
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o bt_page.lo bt_page.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bt_page.c  -fPIC -DPIC -o .libs/bt_page.o
bt_page.c: In function '__bam_new':
bt_page.c:71:1: warning: old-style function definition [-Wold-style-definition]
   71 | __bam_new(edbc, type, pagepp)
      | ^~~~~~~~~
bt_page.c: In function '__bam_lput':
bt_page.c:138:1: warning: old-style function definition [-Wold-style-definition]
  138 | __bam_lput(edbc, lock)
      | ^~~~~~~~~~
bt_page.c: In function '__bam_free':
bt_page.c:152:1: warning: old-style function definition [-Wold-style-definition]
  152 | __bam_free(edbc, h)
      | ^~~~~~~~~~
In file included from bt_page.c:60:
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
bt_page.c:185:30: note: in expansion of macro 'P_OVERHEAD'
  185 |                 ledbt.size = P_OVERHEAD;
      |                              ^~~~~~~~~~
bt_page.c: In function '__bam_lget':
bt_page.c:262:1: warning: old-style function definition [-Wold-style-definition]
  262 | __bam_lget(edbc, do_couple, pgno, mode, lockp)
      | ^~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_dup.lo edb_dup.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb_dup.c  -fPIC -DPIC -o .libs/edb_dup.o
edb_dup.c: In function '__edb_dput':
edb_dup.c:39:1: warning: old-style function definition [-Wold-style-definition]
   39 | __edb_dput(edbc, edbt, pp, indxp, newfunc)
      | ^~~~~~~~~~
In file included from edb_dup.c:21:
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
edb_page.h:420:10: note: in expansion of macro 'BKEYDATA_SIZE'
  420 |         (BKEYDATA_SIZE(len) + sizeof(edb_indx_t))
      |          ^~~~~~~~~~~~~
edb_dup.c:71:24: note: in expansion of macro 'BKEYDATA_PSIZE'
   71 |                 size = BKEYDATA_PSIZE(edbt->size);
      |                        ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
edb_dup.c:72:25: note: in expansion of macro 'BKEYDATA_SIZE'
   72 |                 isize = BKEYDATA_SIZE(edbt->size);
      |                         ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
edb_page.h:219:48: note: in expansion of macro 'LOFFSET'
  219 | #define P_FREESPACE(pg)         (HOFFSET(pg) - LOFFSET(pg))
      |                                                ^~~~~~~
edb_dup.c:78:20: note: in expansion of macro 'P_FREESPACE'
   78 |         if (size > P_FREESPACE(pagep)) {
      |                    ^~~~~~~~~~~
edb_dup.c: In function '__edb_drem':
edb_dup.c:112:1: warning: old-style function definition [-Wold-style-definition]
  112 | __edb_drem(edbc, pp, indx, freefunc)
      | ^~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
edb_dup.c:131:21: note: in expansion of macro 'BKEYDATA_SIZE'
  131 |                     BKEYDATA_SIZE(GET_BKEYDATA(pagep, indx)->len));
      |                     ^~~~~~~~~~~~~
edb_dup.c: In function '__edb_dend':
edb_dup.c:162:1: warning: old-style function definition [-Wold-style-definition]
  162 | __edb_dend(edbc, pgno, pp)
      | ^~~~~~~~~~
edb_dup.c: In function '__edb_dsplit':
edb_dup.c:208:1: warning: old-style function definition [-Wold-style-definition]
  208 | __edb_dsplit(edbc, hp, indxp, size, newfunc)
      | ^~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
edb_dup.c:265:32: note: in expansion of macro 'BKEYDATA_SIZE'
  265 |                         sum += BKEYDATA_SIZE(GET_BKEYDATA(h, i)->len);
      |                                ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
edb_dup.c:309:29: note: in expansion of macro 'BKEYDATA_SIZE'
  309 |                         s = BKEYDATA_SIZE(bk->len);
      |                             ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
edb_dup.c:325:29: note: in expansion of macro 'BKEYDATA_SIZE'
  325 |                         s = BKEYDATA_SIZE(bk->len);
      |                             ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
edb_dup.c:340:23: note: in expansion of macro 'LOFFSET'
  340 |         memcpy(h, tp, LOFFSET(tp));
      |                       ^~~~~~~
edb_dup.c: In function '__edb_ditem':
edb_dup.c:393:1: warning: old-style function definition [-Wold-style-definition]
  393 | __edb_ditem(edbc, pagep, indx, nbytes)
      | ^~~~~~~~~~~
edb_dup.c: In function '__edb_pitem':
edb_dup.c:459:1: warning: old-style function definition [-Wold-style-definition]
  459 | __edb_pitem(edbc, pagep, indx, nbytes, hdr, data)
      | ^~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_dup.c:501:29: note: in expansion of macro 'SSZA'
  501 |                 thdr.size = SSZA(BKEYDATA, data);
      |                             ^~~~
edb_dup.c: In function '__edb_relink':
edb_dup.c:532:1: warning: old-style function definition [-Wold-style-definition]
  532 | __edb_relink(edbc, add_rem, pagep, new_next, needlock)
      | ^~~~~~~~~~~~
edb_dup.c: In function '__edb_ddup':
edb_dup.c:644:1: warning: old-style function definition [-Wold-style-definition]
  644 | __edb_ddup(edbc, pgno, freefunc)
      | ^~~~~~~~~~
edb_dup.c: In function '__edb_addpage':
edb_dup.c:684:1: warning: old-style function definition [-Wold-style-definition]
  684 | __edb_addpage(edbc, hp, indxp, newfunc)
      | ^~~~~~~~~~~~~
edb_dup.c: In function '__edb_dsearch':
edb_dup.c:745:1: warning: old-style function definition [-Wold-style-definition]
  745 | __edb_dsearch(edbc, is_insert, edbt, pgno, indxp, pp, cmpp)
      | ^~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o lock.lo lock.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c lock.c  -fPIC -DPIC -o .libs/lock.o
lock.c: In function 'lock_id':
lock.c:44:1: warning: old-style function definition [-Wold-style-definition]
   44 | lock_id(lt, idp)
      | ^~~~~~~
lock.c: In function 'lock_vec':
lock.c:63:1: warning: old-style function definition [-Wold-style-definition]
   63 | lock_vec(lt, locker, flags, list, nlist, elistp)
      | ^~~~~~~~
lock.c: In function 'lock_tvec':
lock.c:74:1: warning: old-style function definition [-Wold-style-definition]
   74 | lock_tvec(lt, txn, flags, list, nlist, elistp)
      | ^~~~~~~~~
lock.c: In function '__lock_vec_internal':
lock.c:86:1: warning: old-style function definition [-Wold-style-definition]
   86 | __lock_vec_internal(lt, locker, txn, flags, list, nlist, elistp)
      | ^~~~~~~~~~~~~~~~~~~
lock.c: In function 'lock_get':
lock.c:262:1: warning: old-style function definition [-Wold-style-definition]
  262 | lock_get(lt, locker, flags, obj, lock_mode, lock)
      | ^~~~~~~~
lock.c: In function 'lock_tget':
lock.c:298:1: warning: old-style function definition [-Wold-style-definition]
  298 | lock_tget(lt, txn, flags, obj, lock_mode, lock)
      | ^~~~~~~~~
lock.c: In function 'lock_put':
lock.c:334:1: warning: old-style function definition [-Wold-style-definition]
  334 | lock_put(lt, lock)
      | ^~~~~~~~
lock.c: In function '__lock_put_internal':
lock.c:369:1: warning: old-style function definition [-Wold-style-definition]
  369 | __lock_put_internal(lt, lockp, do_all)
      | ^~~~~~~~~~~~~~~~~~~
lock.c: In function '__lock_get_internal':
lock.c:434:1: warning: old-style function definition [-Wold-style-definition]
  434 | __lock_get_internal(lt, locker, txn, flags, obj, lock_mode, lockp)
      | ^~~~~~~~~~~~~~~~~~~
lock.c: In function '__lock_is_locked':
lock.c:670:1: warning: old-style function definition [-Wold-style-definition]
  670 | __lock_is_locked(lt, locker, edbt, mode)
      | ^~~~~~~~~~~~~~~~
lock.c: In function '__lock_printlock':
lock.c:704:1: warning: old-style function definition [-Wold-style-definition]
  704 | __lock_printlock(lt, lp, ispgno)
      | ^~~~~~~~~~~~~~~~
lock.c: In function '__lock_getobj':
lock.c:786:1: warning: old-style function definition [-Wold-style-definition]
  786 | __lock_getobj(lt, locker, edbt, type, objp)
      | ^~~~~~~~~~~~~
lock.c: In function '__lock_remove_waiter':
lock.c:878:1: warning: old-style function definition [-Wold-style-definition]
  878 | __lock_remove_waiter(lt, sh_obj, lockp, status)
      | ^~~~~~~~~~~~~~~~~~~~
lock.c: In function '__lock_checklocker':
lock.c:892:1: warning: old-style function definition [-Wold-style-definition]
  892 | __lock_checklocker(lt, lockp, do_remove)
      | ^~~~~~~~~~~~~~~~~~
lock.c: In function '__lock_freeobj':
lock.c:911:1: warning: old-style function definition [-Wold-style-definition]
  911 | __lock_freeobj(lt, obj)
      | ^~~~~~~~~~~~~~
lock.c: In function '__lock_downgrade':
lock.c:931:1: warning: old-style function definition [-Wold-style-definition]
  931 | __lock_downgrade(lt, lock, new_mode, flags)
      | ^~~~~~~~~~~~~~~~
lock.c: In function '__lock_promote':
lock.c:967:1: warning: old-style function definition [-Wold-style-definition]
  967 | __lock_promote(lt, obj)
      | ^~~~~~~~~~~~~~
lock.c: In function '__lock_is_parent':
lock.c:1020:1: warning: old-style function definition [-Wold-style-definition]
 1020 | __lock_is_parent(locker, txn)
      | ^~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o lock_util.lo lock_util.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c lock_util.c  -fPIC -DPIC -o .libs/lock_util.o
lock_util.c: In function '__lock_cmp':
lock_util.c:38:1: warning: old-style function definition [-Wold-style-definition]
   38 | __lock_cmp(edbt, lock_obj)
      | ^~~~~~~~~~
lock_util.c: In function '__lock_locker_cmp':
lock_util.c:56:1: warning: old-style function definition [-Wold-style-definition]
   56 | __lock_locker_cmp(locker, lock_obj)
      | ^~~~~~~~~~~~~~~~~
lock_util.c: In function '__lock_ohash':
lock_util.c:107:1: warning: old-style function definition [-Wold-style-definition]
  107 | __lock_ohash(edbt)
      | ^~~~~~~~~~~~
lock_util.c: In function '__lock_lhash':
lock_util.c:122:1: warning: old-style function definition [-Wold-style-definition]
  122 | __lock_lhash(lock_obj)
      | ^~~~~~~~~~~~
lock_util.c: In function '__lock_locker_hash':
lock_util.c:148:1: warning: old-style function definition [-Wold-style-definition]
  148 | __lock_locker_hash(locker)
      | ^~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mp_pr.lo mp_pr.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mp_pr.c  -fPIC -DPIC -o .libs/mp_pr.o
mp_pr.c: In function 'memp_stat':
mp_pr.c:38:1: warning: old-style function definition [-Wold-style-definition]
   38 | memp_stat(edbmp, gspp, fspp, edb_malloc)
      | ^~~~~~~~~
mp_pr.c: In function '__memp_fn':
mp_pr.c:127:1: warning: old-style function definition [-Wold-style-definition]
  127 | __memp_fn(edbmfp)
      | ^~~~~~~~~
mp_pr.c: In function '__memp_fns':
mp_pr.c:141:1: warning: old-style function definition [-Wold-style-definition]
  141 | __memp_fns(edbmp, mfp)
      | ^~~~~~~~~~
mp_pr.c: In function '__memp_dump_region':
mp_pr.c:166:1: warning: old-style function definition [-Wold-style-definition]
  166 | __memp_dump_region(edbmp, area, fp)
      | ^~~~~~~~~~~~~~~~~~
mp_pr.c: In function '__memp_pbh':
mp_pr.c:271:1: warning: old-style function definition [-Wold-style-definition]
  271 | __memp_pbh(edbmp, bhp, fmap, fp)
      | ^~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o hash_rec.lo hash_rec.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c hash_rec.c  -fPIC -DPIC -o .libs/hash_rec.o
hash_rec.c: In function '__ham_insdel_recover':
hash_rec.c:75:1: warning: old-style function definition [-Wold-style-definition]
   75 | __ham_insdel_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~~
hash_rec.c: In function '__ham_newpage_recover':
hash_rec.c:184:1: warning: old-style function definition [-Wold-style-definition]
  184 | __ham_newpage_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~~~
hash_rec.c: In function '__ham_replace_recover':
hash_rec.c:373:1: warning: old-style function definition [-Wold-style-definition]
  373 | __ham_replace_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~~~
hash_rec.c: In function '__ham_newpgno_recover':
hash_rec.c:471:1: warning: old-style function definition [-Wold-style-definition]
  471 | __ham_newpgno_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~~~
hash_rec.c: In function '__ham_splitmeta_recover':
hash_rec.c:595:1: warning: old-style function definition [-Wold-style-definition]
  595 | __ham_splitmeta_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~~~~~
hash_rec.c: In function '__ham_splitdata_recover':
hash_rec.c:675:1: warning: old-style function definition [-Wold-style-definition]
  675 | __ham_splitdata_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~~~~~
hash_rec.c: In function '__ham_ovfl_recover':
hash_rec.c:767:1: warning: old-style function definition [-Wold-style-definition]
  767 | __ham_ovfl_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~
hash_rec.c: In function '__ham_copypage_recover':
hash_rec.c:854:1: warning: old-style function definition [-Wold-style-definition]
  854 | __ham_copypage_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o os_stat.lo os_stat.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c os_stat.c  -fPIC -DPIC -o .libs/os_stat.o
os_stat.c: In function '__edb_os_exists':
os_stat.c:31:1: warning: old-style function definition [-Wold-style-definition]
   31 | __edb_os_exists(path, isdirp)
      | ^~~~~~~~~~~~~~~
os_stat.c: In function '__edb_os_ioinfo':
os_stat.c:65:1: warning: old-style function definition [-Wold-style-definition]
   65 | __edb_os_ioinfo(path, fd, mbytesp, bytesp, iosizep)
      | ^~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_overflow.lo edb_overflow.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb_overflow.c  -fPIC -DPIC -o .libs/edb_overflow.o
edb_overflow.c: In function '__edb_goff':
edb_overflow.c:82:1: warning: old-style function definition [-Wold-style-definition]
   82 | __edb_goff(edbp, edbt, tlen, pgno, bpp, bpsz)
      | ^~~~~~~~~~
In file included from edb_overflow.c:60:
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_overflow.c:140:47: note: in expansion of macro 'P_OVERHEAD'
  140 |                         src = (u_int8_t *)h + P_OVERHEAD;
      |                                               ^~~~~~~~~~
edb_overflow.c: In function '__edb_poff':
edb_overflow.c:167:1: warning: old-style function definition [-Wold-style-definition]
  167 | __edb_poff(edbc, edbt, pgnop, newfunc)
      | ^~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:247:44: note: in expansion of macro 'P_OVERHEAD'
  247 | #define P_MAXSPACE(psize)       ((psize) - P_OVERHEAD)
      |                                            ^~~~~~~~~~
edb_overflow.c:188:21: note: in expansion of macro 'P_MAXSPACE'
  188 |         pagespace = P_MAXSPACE(edbp->pgsize);
      |                     ^~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_overflow.c:229:44: note: in expansion of macro 'P_OVERHEAD'
  229 |                 memcpy((u_int8_t *)pagep + P_OVERHEAD, p, pagespace);
      |                                            ^~~~~~~~~~
edb_overflow.c: In function '__edb_ovref':
edb_overflow.c:256:1: warning: old-style function definition [-Wold-style-definition]
  256 | __edb_ovref(edbc, pgno, adjust)
      | ^~~~~~~~~~~
edb_overflow.c: In function '__edb_doff':
edb_overflow.c:289:1: warning: old-style function definition [-Wold-style-definition]
  289 | __edb_doff(edbc, pgno, freefunc)
      | ^~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_overflow.c:317:61: note: in expansion of macro 'P_OVERHEAD'
  317 |                         tmp_edbt.data = (u_int8_t *)pagep + P_OVERHEAD;
      |                                                             ^~~~~~~~~~
edb_overflow.c: In function '__edb_moff':
edb_overflow.c:348:1: warning: old-style function definition [-Wold-style-definition]
  348 | __edb_moff(edbp, edbt, pgno, tlen, cmpfunc, cmpp)
      | ^~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_overflow.c:388:41: note: in expansion of macro 'P_OVERHEAD'
  388 |                     (u_int8_t *)pagep + P_OVERHEAD; cmp_bytes-- > 0; ++p1, ++p2)
      |                                         ^~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o lock_region.lo lock_region.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c lock_region.c  -fPIC -DPIC -o .libs/lock_region.o
lock_region.c: In function 'lock_open':
lock_region.c:38:1: warning: old-style function definition [-Wold-style-definition]
   38 | lock_open(path, flags, mode, edbenv, ltp)
      | ^~~~~~~~~
lock_region.c: In function '__lock_panic':
lock_region.c:161:1: warning: old-style function definition [-Wold-style-definition]
  161 | __lock_panic(edbenv)
      | ^~~~~~~~~~~~
lock_region.c: In function '__lock_tabinit':
lock_region.c:174:1: warning: old-style function definition [-Wold-style-definition]
  174 | __lock_tabinit(edbenv, lrp)
      | ^~~~~~~~~~~~~~
lock_region.c: In function 'lock_close':
lock_region.c:266:1: warning: old-style function definition [-Wold-style-definition]
  266 | lock_close(lt)
      | ^~~~~~~~~~
lock_region.c: In function 'lock_unlink':
lock_region.c:284:1: warning: old-style function definition [-Wold-style-definition]
  284 | lock_unlink(path, force, edbenv)
      | ^~~~~~~~~~~
lock_region.c: In function '__lock_validate_region':
lock_region.c:312:1: warning: old-style function definition [-Wold-style-definition]
  312 | __lock_validate_region(lt)
      | ^~~~~~~~~~~~~~~~~~~~~~
lock_region.c: In function '__lock_grow_region':
lock_region.c:338:1: warning: old-style function definition [-Wold-style-definition]
  338 | __lock_grow_region(lt, which, howmuch)
      | ^~~~~~~~~~~~~~~~~~
lock_region.c: In function '__lock_reset_region':
lock_region.c:462:1: warning: old-style function definition [-Wold-style-definition]
  462 | __lock_reset_region(lt)
      | ^~~~~~~~~~~~~~~~~~~
lock_region.c: In function 'lock_stat':
lock_region.c:476:1: warning: old-style function definition [-Wold-style-definition]
  476 | lock_stat(lt, gspp, edb_malloc)
      | ^~~~~~~~~
lock_region.c: In function '__lock_count_locks':
lock_region.c:516:1: warning: old-style function definition [-Wold-style-definition]
  516 | __lock_count_locks(lrp)
      | ^~~~~~~~~~~~~~~~~~
lock_region.c: In function '__lock_count_objs':
lock_region.c:532:1: warning: old-style function definition [-Wold-style-definition]
  532 | __lock_count_objs(lrp)
      | ^~~~~~~~~~~~~~~~~
lock_region.c: In function '__lock_dump_region':
lock_region.c:560:1: warning: old-style function definition [-Wold-style-definition]
  560 | __lock_dump_region(lt, area, fp)
      | ^~~~~~~~~~~~~~~~~~
lock_region.c: In function '__lock_dump_locker':
lock_region.c:668:1: warning: old-style function definition [-Wold-style-definition]
  668 | __lock_dump_locker(lt, op, fp)
      | ^~~~~~~~~~~~~~~~~~
lock_region.c: In function '__lock_dump_object':
lock_region.c:691:1: warning: old-style function definition [-Wold-style-definition]
  691 | __lock_dump_object(lt, op, fp)
      | ^~~~~~~~~~~~~~~~~~
lock_region.c: In function '__lock_dump_status':
lock_region.c:723:1: warning: old-style function definition [-Wold-style-definition]
  723 | __lock_dump_status(status)
      | ^~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mp_region.lo mp_region.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mp_region.c  -fPIC -DPIC -o .libs/mp_region.o
mp_region.c: In function '__memp_reg_alloc':
mp_region.c:33:1: warning: old-style function definition [-Wold-style-definition]
   33 | __memp_reg_alloc(edbmp, len, offsetp, retp)
      | ^~~~~~~~~~~~~~~~
mp_region.c: In function '__memp_alloc':
mp_region.c:53:1: warning: old-style function definition [-Wold-style-definition]
   53 | __memp_alloc(edbmp, len, offsetp, retp)
      | ^~~~~~~~~~~~
mp_region.c: In function '__memp_ropen':
mp_region.c:205:1: warning: old-style function definition [-Wold-style-definition]
  205 | __memp_ropen(edbmp, path, cachesize, mode, is_private, flags)
      | ^~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o os_tmpdir.lo os_tmpdir.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c os_tmpdir.c  -fPIC -DPIC -o .libs/os_tmpdir.o
os_tmpdir.c: In function '__edb_os_tmpdir':
os_tmpdir.c:38:1: warning: old-style function definition [-Wold-style-definition]
   38 | __edb_os_tmpdir(edbenv, flags)
      | ^~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o os_unlink.lo os_unlink.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c os_unlink.c  -fPIC -DPIC -o .libs/os_unlink.o
os_unlink.c: In function '__edb_os_unlink':
os_unlink.c:31:1: warning: old-style function definition [-Wold-style-definition]
   31 | __edb_os_unlink(path)
      | ^~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mutex.lo mutex.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mutex.c  -fPIC -DPIC -o .libs/mutex.o
mutex.c: In function '__edb_mutex_init':
mutex.c:139:1: warning: old-style function definition [-Wold-style-definition]
  139 | __edb_mutex_init(mp, off)
      | ^~~~~~~~~~~~~~~~
mutex.c: In function '__edb_mutex_lock':
mutex.c:179:1: warning: old-style function definition [-Wold-style-definition]
  179 | __edb_mutex_lock(mp, fd)
      | ^~~~~~~~~~~~~~~~
mutex.c: In function '__edb_mutex_unlock':
mutex.c:281:1: warning: old-style function definition [-Wold-style-definition]
  281 | __edb_mutex_unlock(mp, fd)
      | ^~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o os_abs.lo os_abs.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c os_abs.c  -fPIC -DPIC -o .libs/os_abs.o
os_abs.c: In function '__edb_os_abspath':
os_abs.c:27:1: warning: old-style function definition [-Wold-style-definition]
   27 | __edb_os_abspath(path)
      | ^~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_ret.lo edb_ret.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb_ret.c  -fPIC -DPIC -o .libs/edb_ret.o
edb_ret.c: In function '__edb_ret':
edb_ret.c:34:1: warning: old-style function definition [-Wold-style-definition]
   34 | __edb_ret(edbp, h, indx, edbt, memp, memsize)
      | ^~~~~~~~~
In file included from edb_ret.c:21:
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
edb_ret.c:57:23: note: in expansion of macro 'LEN_HKEYDATA'
   57 |                 len = LEN_HKEYDATA(h, edbp->pgsize, indx);
      |                       ^~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
edb_ret.c:58:24: note: in expansion of macro 'HKEYDATA_DATA'
   58 |                 data = HKEYDATA_DATA(hk);
      |                        ^~~~~~~~~~~~~
edb_ret.c: In function '__edb_retcopy':
edb_ret.c:88:1: warning: old-style function definition [-Wold-style-definition]
   88 | __edb_retcopy(edbt, data, len, memp, memsize, edb_malloc)
      | ^~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o bt_cursor.lo bt_cursor.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bt_cursor.c  -fPIC -DPIC -o .libs/bt_cursor.o
bt_cursor.c: In function '__bam_c_reset':
bt_cursor.c:99:1: warning: old-style function definition [-Wold-style-definition]
   99 | __bam_c_reset(cp)
      | ^~~~~~~~~~~~~
bt_cursor.c: In function '__bam_c_init':
bt_cursor.c:122:1: warning: old-style function definition [-Wold-style-definition]
  122 | __bam_c_init(edbc)
      | ^~~~~~~~~~~~
bt_cursor.c: In function '__bam_c_close':
bt_cursor.c:176:1: warning: old-style function definition [-Wold-style-definition]
  176 | __bam_c_close(edbc)
      | ^~~~~~~~~~~~~
bt_cursor.c: In function '__bam_c_destroy':
bt_cursor.c:217:1: warning: old-style function definition [-Wold-style-definition]
  217 | __bam_c_destroy(edbc)
      | ^~~~~~~~~~~~~~~
bt_cursor.c: In function '__bam_c_del':
bt_cursor.c:231:1: warning: old-style function definition [-Wold-style-definition]
  231 | __bam_c_del(edbc, flags)
      | ^~~~~~~~~~~
bt_cursor.c: In function '__bam_c_get':
bt_cursor.c:345:1: warning: old-style function definition [-Wold-style-definition]
  345 | __bam_c_get(edbc, key, data, flags)
      | ^~~~~~~~~~~
bt_cursor.c: In function '__bam_dsearch':
bt_cursor.c:616:1: warning: old-style function definition [-Wold-style-definition]
  616 | __bam_dsearch(edbc, cp, data, iflagp)
      | ^~~~~~~~~~~~~
bt_cursor.c: In function '__bam_c_rget':
bt_cursor.c:708:1: warning: old-style function definition [-Wold-style-definition]
  708 | __bam_c_rget(edbc, data, flags)
      | ^~~~~~~~~~~~
bt_cursor.c: In function '__bam_c_put':
bt_cursor.c:755:1: warning: old-style function definition [-Wold-style-definition]
  755 | __bam_c_put(edbc, key, data, flags)
      | ^~~~~~~~~~~
bt_cursor.c: In function '__bam_c_first':
bt_cursor.c:1070:1: warning: old-style function definition [-Wold-style-definition]
 1070 | __bam_c_first(edbc, cp)
      | ^~~~~~~~~~~~~
bt_cursor.c: In function '__bam_c_last':
bt_cursor.c:1117:1: warning: old-style function definition [-Wold-style-definition]
 1117 | __bam_c_last(edbc, cp)
      | ^~~~~~~~~~~~
bt_cursor.c: In function '__bam_c_next':
bt_cursor.c:1165:1: warning: old-style function definition [-Wold-style-definition]
 1165 | __bam_c_next(edbc, cp, initial_move)
      | ^~~~~~~~~~~~
bt_cursor.c: In function '__bam_c_prev':
bt_cursor.c:1279:1: warning: old-style function definition [-Wold-style-definition]
 1279 | __bam_c_prev(edbc, cp)
      | ^~~~~~~~~~~~
bt_cursor.c: In function '__bam_c_search':
bt_cursor.c:1390:1: warning: old-style function definition [-Wold-style-definition]
 1390 | __bam_c_search(edbc, cp, key, flags, exactp)
      | ^~~~~~~~~~~~~~
bt_cursor.c: In function '__bam_dup':
bt_cursor.c:1577:1: warning: old-style function definition [-Wold-style-definition]
 1577 | __bam_dup(edbc, cp, indx, last_dup)
      | ^~~~~~~~~
bt_cursor.c: In function '__bam_c_physdel':
bt_cursor.c:1629:1: warning: old-style function definition [-Wold-style-definition]
 1629 | __bam_c_physdel(edbc, cp, h)
      | ^~~~~~~~~~~~~~~
bt_cursor.c: In function '__bam_c_getstack':
bt_cursor.c:1878:1: warning: old-style function definition [-Wold-style-definition]
 1878 | __bam_c_getstack(edbc, cp)
      | ^~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o log_auto.lo log_auto.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c log_auto.c  -fPIC -DPIC -o .libs/log_auto.o
log_auto.c: In function '__log_register_log':
log_auto.c:23:5: warning: old-style function definition [-Wold-style-definition]
   23 | int __log_register_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~~~~
log_auto.c: In function '__log_register_print':
log_auto.c:107:1: warning: old-style function definition [-Wold-style-definition]
  107 | __log_register_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~~~~
log_auto.c: In function '__log_register_read':
log_auto.c:164:1: warning: old-style function definition [-Wold-style-definition]
  164 | __log_register_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~~~~
log_auto.c: In function '__log_init_print':
log_auto.c:206:1: warning: old-style function definition [-Wold-style-definition]
  206 | __log_init_print(edbenv)
      | ^~~~~~~~~~~~~~~~
log_auto.c: In function '__log_init_recover':
log_auto.c:221:1: warning: old-style function definition [-Wold-style-definition]
  221 | __log_init_recover(edbenv)
      | ^~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o log.lo log.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c log.c  -fPIC -DPIC -o .libs/log.o
log.c: In function 'log_open':
log.c:38:1: warning: old-style function definition [-Wold-style-definition]
   38 | log_open(path, flags, mode, edbenv, lpp)
      | ^~~~~~~~
log.c: In function '__log_panic':
log.c:165:1: warning: old-style function definition [-Wold-style-definition]
  165 | __log_panic(edbenv)
      | ^~~~~~~~~~~
log.c: In function '__log_recover':
log.c:177:1: warning: old-style function definition [-Wold-style-definition]
  177 | __log_recover(edblp)
      | ^~~~~~~~~~~~~
log.c: In function '__log_find':
log.c:298:1: warning: old-style function definition [-Wold-style-definition]
  298 | __log_find(edblp, find_first, valp)
      | ^~~~~~~~~~
log.c: In function '__log_valid':
log.c:365:1: warning: old-style function definition [-Wold-style-definition]
  365 | __log_valid(edblp, number, set_persist)
      | ^~~~~~~~~~~
log.c: In function 'log_close':
log.c:432:1: warning: old-style function definition [-Wold-style-definition]
  432 | log_close(edblp)
      | ^~~~~~~~~
log.c: In function 'log_unlink':
log.c:484:1: warning: old-style function definition [-Wold-style-definition]
  484 | log_unlink(path, force, edbenv)
      | ^~~~~~~~~~
log.c: In function 'log_stat':
log.c:509:1: warning: old-style function definition [-Wold-style-definition]
  509 | log_stat(edblp, gspp, edb_malloc)
      | ^~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mp_sync.lo mp_sync.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mp_sync.c  -fPIC -DPIC -o .libs/mp_sync.o
mp_sync.c: In function 'memp_sync':
mp_sync.c:34:1: warning: old-style function definition [-Wold-style-definition]
   34 | memp_sync(edbmp, lsnp)
      | ^~~~~~~~~
mp_sync.c: In function 'memp_fsync':
mp_sync.c:251:1: warning: old-style function definition [-Wold-style-definition]
  251 | memp_fsync(edbmfp)
      | ^~~~~~~~~~
mp_sync.c: In function '__mp_xxx_fd':
mp_sync.c:285:1: warning: old-style function definition [-Wold-style-definition]
  285 | __mp_xxx_fd(edbmfp, fdp)
      | ^~~~~~~~~~~
mp_sync.c: In function '__memp_fsync':
mp_sync.c:315:1: warning: old-style function definition [-Wold-style-definition]
  315 | __memp_fsync(edbmfp)
      | ^~~~~~~~~~~~
mp_sync.c: In function 'memp_trickle':
mp_sync.c:442:1: warning: old-style function definition [-Wold-style-definition]
  442 | memp_trickle(edbmp, pct, nwrotep)
      | ^~~~~~~~~~~~
mp_sync.c: In function '__bhcmp':
mp_sync.c:527:1: warning: old-style function definition [-Wold-style-definition]
  527 | __bhcmp(p1, p2)
      | ^~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o log_archive.lo log_archive.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c log_archive.c  -fPIC -DPIC -o .libs/log_archive.o
log_archive.c: In function 'log_archive':
log_archive.c:40:1: warning: old-style function definition [-Wold-style-definition]
   40 | log_archive(edblp, listp, flags, edb_malloc)
      | ^~~~~~~~~~~
log_archive.c: In function '__build_data':
log_archive.c:181:1: warning: old-style function definition [-Wold-style-definition]
  181 | __build_data(edblp, pref, listp, edb_malloc)
      | ^~~~~~~~~~~~
log_archive.c: In function '__absname':
log_archive.c:341:1: warning: old-style function definition [-Wold-style-definition]
  341 | __absname(pref, name, newnamep)
      | ^~~~~~~~~
log_archive.c: In function '__usermem':
log_archive.c:374:1: warning: old-style function definition [-Wold-style-definition]
  374 | __usermem(listp, edb_malloc)
      | ^~~~~~~~~
log_archive.c: In function '__cmpfunc':
log_archive.c:413:1: warning: old-style function definition [-Wold-style-definition]
  413 | __cmpfunc(p1, p2)
      | ^~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o bt_put.lo bt_put.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bt_put.c  -fPIC -DPIC -o .libs/bt_put.o
bt_put.c: In function '__bam_iitem':
bt_put.c:79:1: warning: old-style function definition [-Wold-style-definition]
   79 | __bam_iitem(edbc, hp, indxp, key, data, op, flags)
      | ^~~~~~~~~~~
In file included from bt_put.c:60:
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
bt_put.c:121:42: note: in expansion of macro 'BKEYDATA_SIZE'
  121 |                                 nbytes = BKEYDATA_SIZE(bk->len);
      |                                          ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
edb_page.h:420:10: note: in expansion of macro 'BKEYDATA_SIZE'
  420 |         (BKEYDATA_SIZE(len) + sizeof(edb_indx_t))
      |          ^~~~~~~~~~~~~
bt_put.c:164:35: note: in expansion of macro 'BKEYDATA_PSIZE'
  164 |                         needed += BKEYDATA_PSIZE(key->size);
      |                                   ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
edb_page.h:420:10: note: in expansion of macro 'BKEYDATA_SIZE'
  420 |         (BKEYDATA_SIZE(len) + sizeof(edb_indx_t))
      |          ^~~~~~~~~~~~~
bt_put.c:168:35: note: in expansion of macro 'BKEYDATA_PSIZE'
  168 |                         needed += BKEYDATA_PSIZE(data_size);
      |                                   ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
edb_page.h:420:10: note: in expansion of macro 'BKEYDATA_SIZE'
  420 |         (BKEYDATA_SIZE(len) + sizeof(edb_indx_t))
      |          ^~~~~~~~~~~~~
bt_put.c:178:46: note: in expansion of macro 'BKEYDATA_PSIZE'
  178 |                                 have_bytes = BKEYDATA_PSIZE(bk->len);
      |                                              ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
edb_page.h:420:10: note: in expansion of macro 'BKEYDATA_SIZE'
  420 |         (BKEYDATA_SIZE(len) + sizeof(edb_indx_t))
      |          ^~~~~~~~~~~~~
bt_put.c:189:39: note: in expansion of macro 'BKEYDATA_PSIZE'
  189 |                         need_bytes += BKEYDATA_PSIZE(data_size);
      |                                       ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
edb_page.h:219:48: note: in expansion of macro 'LOFFSET'
  219 | #define P_FREESPACE(pg)         (HOFFSET(pg) - LOFFSET(pg))
      |                                                ^~~~~~~
bt_put.c:203:13: note: in expansion of macro 'P_FREESPACE'
  203 |         if (P_FREESPACE(h) < needed ||
      |             ^~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
bt_put.c:244:29: note: in expansion of macro 'BKEYDATA_SIZE'
  244 |                             BKEYDATA_SIZE(key->size), NULL, key)) != 0)
      |                             ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
bt_put.c:321:38: note: in expansion of macro 'SSZA'
  321 |                         __hdr.size = SSZA(BKEYDATA, data);
      |                                      ^~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
bt_put.c:323:29: note: in expansion of macro 'BKEYDATA_SIZE'
  323 |                             BKEYDATA_SIZE(data->size), &__hdr, data);
      |                             ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
bt_put.c:328:29: note: in expansion of macro 'BKEYDATA_SIZE'
  328 |                             BKEYDATA_SIZE(data->size), NULL, data);
      |                             ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
edb_page.h:219:48: note: in expansion of macro 'LOFFSET'
  219 | #define P_FREESPACE(pg)         (HOFFSET(pg) - LOFFSET(pg))
      |                                                ^~~~~~~
bt_put.c:341:26: note: in expansion of macro 'P_FREESPACE'
  341 |         if (dupadjust && P_FREESPACE(h) <= edbp->pgsize / 2) {
      |                          ^~~~~~~~~~~
bt_put.c: In function '__bam_partsize':
bt_put.c:372:1: warning: old-style function definition [-Wold-style-definition]
  372 | __bam_partsize(data, h, indx)
      | ^~~~~~~~~~~~~~
bt_put.c: In function '__bam_ovput':
bt_put.c:435:1: warning: old-style function definition [-Wold-style-definition]
  435 | __bam_ovput(edbc, h, indx, item)
      | ^~~~~~~~~~~
bt_put.c: In function '__bam_ritem':
bt_put.c:463:1: warning: old-style function definition [-Wold-style-definition]
  463 | __bam_ritem(edbc, h, indx, data)
      | ^~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
bt_put.c:531:14: note: in expansion of macro 'BKEYDATA_SIZE'
  531 |         lo = BKEYDATA_SIZE(bk->len);
      |              ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
bt_put.c:532:14: note: in expansion of macro 'BKEYDATA_SIZE'
  532 |         ln = BKEYDATA_SIZE(data->size);
      |              ^~~~~~~~~~~~~
bt_put.c: In function '__bam_ndup':
bt_put.c:567:1: warning: old-style function definition [-Wold-style-definition]
  567 | __bam_ndup(edbc, h, indx)
      | ^~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
edb_page.h:420:10: note: in expansion of macro 'BKEYDATA_SIZE'
  420 |         (BKEYDATA_SIZE(len) + sizeof(edb_indx_t))
      |          ^~~~~~~~~~~~~
bt_put.c:589:21: note: in expansion of macro 'BKEYDATA_PSIZE'
  589 |                     BKEYDATA_PSIZE(bk->len) : BOVERFLOW_PSIZE;
      |                     ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
edb_page.h:420:10: note: in expansion of macro 'BKEYDATA_SIZE'
  420 |         (BKEYDATA_SIZE(len) + sizeof(edb_indx_t))
      |          ^~~~~~~~~~~~~
bt_put.c:592:21: note: in expansion of macro 'BKEYDATA_PSIZE'
  592 |                     BKEYDATA_PSIZE(bk->len) : BOVERFLOW_PSIZE;
      |                     ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
bt_put.c:618:21: note: in expansion of macro 'BKEYDATA_SIZE'
  618 |                     BKEYDATA_SIZE(bk->len) : BOVERFLOW_SIZE;
      |                     ^~~~~~~~~~~~~
bt_put.c: In function '__bam_fixed':
bt_put.c:663:1: warning: old-style function definition [-Wold-style-definition]
  663 | __bam_fixed(edbc, edbt)
      | ^~~~~~~~~~~
bt_put.c: In function '__bam_partial':
bt_put.c:716:1: warning: old-style function definition [-Wold-style-definition]
  716 | __bam_partial(edbc, edbt, h, indx, nbytes, flags)
      | ^~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o log_compare.lo log_compare.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c log_compare.c  -fPIC -DPIC -o .libs/log_compare.o
log_compare.c: In function 'log_compare':
log_compare.c:24:1: warning: old-style function definition [-Wold-style-definition]
   24 | log_compare(lsn0, lsn1)
      | ^~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_pr.lo edb_pr.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb_pr.c  -fPIC -DPIC -o .libs/edb_pr.o
edb_pr.c: In function '__edb_prinit':
edb_pr.c:61:1: warning: old-style function definition [-Wold-style-definition]
   61 | __edb_prinit(fp)
      | ^~~~~~~~~~~~
edb_pr.c: In function '__edb_dump':
edb_pr.c:76:1: warning: old-style function definition [-Wold-style-definition]
   76 | __edb_dump(edbp, name, all)
      | ^~~~~~~~~~
edb_pr.c: In function '__edb_predb':
edb_pr.c:118:1: warning: old-style function definition [-Wold-style-definition]
  118 | __edb_predb(edbp)
      | ^~~~~~~~~~~
edb_pr.c: In function '__edb_prbtree':
edb_pr.c:174:1: warning: old-style function definition [-Wold-style-definition]
  174 | __edb_prbtree(edbp)
      | ^~~~~~~~~~~~~
edb_pr.c: In function '__edb_prhash':
edb_pr.c:265:1: warning: old-style function definition [-Wold-style-definition]
  265 | __edb_prhash(edbp)
      | ^~~~~~~~~~~~
edb_pr.c: In function '__edb_prtree':
edb_pr.c:322:1: warning: old-style function definition [-Wold-style-definition]
  322 | __edb_prtree(mpf, all)
      | ^~~~~~~~~~~~
edb_pr.c: In function '__edb_prnpage':
edb_pr.c:349:1: warning: old-style function definition [-Wold-style-definition]
  349 | __edb_prnpage(mpf, pgno)
      | ^~~~~~~~~~~~~
edb_pr.c: In function '__edb_prpage':
edb_pr.c:376:1: warning: old-style function definition [-Wold-style-definition]
  376 | __edb_prpage(h, all)
      | ^~~~~~~~~~~~
In file included from edb_pr.c:24:
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_pr.c:438:42: note: in expansion of macro 'P_OVERHEAD'
  438 |                 __edb_pr((u_int8_t *)h + P_OVERHEAD, OV_LEN(h));
      |                                          ^~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_pr.c:449:53: note: in expansion of macro 'P_OVERHEAD'
  449 |                 if (P_ENTRY(h, i) - (u_int8_t *)h < P_OVERHEAD ||
      |                                                     ^~~~~~~~~~
edb_int.h:70:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   70 | #define SSZ(name, field)        ((int)&(((name *)0)->field))
      |                                  ^
edb_page.h:364:52: note: in expansion of macro 'SSZ'
  364 | #define HOFFDUP_PGNO(p)         (((u_int8_t *)p) + SSZ(HOFFDUP, pgno))
      |                                                    ^~~
edb_pr.c:488:37: note: in expansion of macro 'HOFFDUP_PGNO'
  488 |                                     HOFFDUP_PGNO(hk), sizeof(edb_pgno_t));
      |                                     ^~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
edb_pr.c:500:47: note: in expansion of macro 'LEN_HKEYDATA'
  500 |                                         len = LEN_HKEYDATA(h, 0, i);
      |                                               ^~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
edb_pr.c:505:42: note: in expansion of macro 'HKEYDATA_DATA'
  505 |                                 for (p = HKEYDATA_DATA(hk),
      |                                          ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
edb_pr.c:516:50: note: in expansion of macro 'HKEYDATA_DATA'
  516 |                                         __edb_pr(HKEYDATA_DATA(hk),
      |                                                  ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
edb_pr.c:517:45: note: in expansion of macro 'LEN_HKEYDATA'
  517 |                                             LEN_HKEYDATA(h, 0, i));
      |                                             ^~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
edb_pr.c:519:61: note: in expansion of macro 'HKEYDATA_DATA'
  519 |                                         fprintf(fp, "%s\n", HKEYDATA_DATA(hk));
      |                                                             ^~~~~~~~~~~~~
edb_pr.c: In function '__edb_isbad':
edb_pr.c:586:1: warning: old-style function definition [-Wold-style-definition]
  586 | __edb_isbad(h, die)
      | ^~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_pr.c:615:53: note: in expansion of macro 'P_OVERHEAD'
  615 |                 if (P_ENTRY(h, i) - (u_int8_t *)h < P_OVERHEAD ||
      |                                                     ^~~~~~~~~~
edb_pr.c: In function '__edb_pr':
edb_pr.c:681:1: warning: old-style function definition [-Wold-style-definition]
  681 | __edb_pr(p, len)
      | ^~~~~~~~
edb_pr.c: In function '__edb_predbt':
edb_pr.c:718:1: warning: old-style function definition [-Wold-style-definition]
  718 | __edb_predbt(edbtp, checkprint, fp)
      | ^~~~~~~~~~~~
edb_pr.c: In function '__edb_proff':
edb_pr.c:760:1: warning: old-style function definition [-Wold-style-definition]
  760 | __edb_proff(vp)
      | ^~~~~~~~~~~
edb_pr.c: In function '__edb_prflags':
edb_pr.c:787:1: warning: old-style function definition [-Wold-style-definition]
  787 | __edb_prflags(flags, fn, fp)
      | ^~~~~~~~~~~~~
edb_pr.c: In function '__edb_psize':
edb_pr.c:812:1: warning: old-style function definition [-Wold-style-definition]
  812 | __edb_psize(mpf)
      | ^~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_rec.lo edb_rec.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb_rec.c  -fPIC -DPIC -o .libs/edb_rec.o
edb_rec.c: In function '__edb_addrem_recover':
edb_rec.c:35:1: warning: old-style function definition [-Wold-style-definition]
   35 | __edb_addrem_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~~
edb_rec.c: In function '__edb_split_recover':
edb_rec.c:111:1: warning: old-style function definition [-Wold-style-definition]
  111 | __edb_split_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~
edb_rec.c: In function '__edb_big_recover':
edb_rec.c:186:1: warning: old-style function definition [-Wold-style-definition]
  186 | __edb_big_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~
In file included from edb_rec.c:20:
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_rec.c:236:44: note: in expansion of macro 'P_OVERHEAD'
  236 |                 memcpy((u_int8_t *)pagep + P_OVERHEAD, argp->edbt.data,
      |                                            ^~~~~~~~~~
edb_rec.c: In function '__edb_ovref_recover':
edb_rec.c:341:1: warning: old-style function definition [-Wold-style-definition]
  341 | __edb_ovref_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~
edb_rec.c: In function '__edb_relink_recover':
edb_rec.c:394:1: warning: old-style function definition [-Wold-style-definition]
  394 | __edb_relink_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~~
edb_rec.c: In function '__edb_addpage_recover':
edb_rec.c:508:1: warning: old-style function definition [-Wold-style-definition]
  508 | __edb_addpage_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~~~
edb_rec.c: In function '__edb_debug_recover':
edb_rec.c:595:1: warning: old-style function definition [-Wold-style-definition]
  595 | __edb_debug_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o os_alloc.lo os_alloc.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c os_alloc.c  -fPIC -DPIC -o .libs/os_alloc.o
os_alloc.c: In function '__edb_os_strdup':
os_alloc.c:49:1: warning: old-style function definition [-Wold-style-definition]
   49 | __edb_os_strdup(str, storep)
      | ^~~~~~~~~~~~~~~
os_alloc.c: In function '__edb_os_calloc':
os_alloc.c:76:1: warning: old-style function definition [-Wold-style-definition]
   76 | __edb_os_calloc(num, size, storep)
      | ^~~~~~~~~~~~~~~
os_alloc.c: In function '__edb_os_malloc':
os_alloc.c:100:1: warning: old-style function definition [-Wold-style-definition]
  100 | __edb_os_malloc(size, edb_malloc, storep)
      | ^~~~~~~~~~~~~~~
os_alloc.c: In function '__edb_os_realloc':
os_alloc.c:141:1: warning: old-style function definition [-Wold-style-definition]
  141 | __edb_os_realloc(storep, size)
      | ^~~~~~~~~~~~~~~~
os_alloc.c: In function '__edb_os_free':
os_alloc.c:186:1: warning: old-style function definition [-Wold-style-definition]
  186 | __edb_os_free(ptr, size)
      | ^~~~~~~~~~~~~
os_alloc.c: In function '__edb_os_freestr':
os_alloc.c:208:1: warning: old-style function definition [-Wold-style-definition]
  208 | __edb_os_freestr(ptr)
      | ^~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edbm.lo edbm.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edbm.c  -fPIC -DPIC -o .libs/edbm.o
edbm.c: In function '__edb_edbm_init':
edbm.c:78:1: warning: old-style function definition [-Wold-style-definition]
   78 | __edb_edbm_init(file)
      | ^~~~~~~~~~~~~~~
edbm.c: In function '__edb_edbm_fetch':
edbm.c:102:1: warning: old-style function definition [-Wold-style-definition]
  102 | __edb_edbm_fetch(key)
      | ^~~~~~~~~~~~~~~~
edbm.c: In function '__edb_edbm_nextkey':
edbm.c:129:1: warning: old-style function definition [-Wold-style-definition]
  129 | __edb_edbm_nextkey(key)
      | ^~~~~~~~~~~~~~~~~~
edbm.c: In function '__edb_edbm_delete':
edbm.c:145:1: warning: old-style function definition [-Wold-style-definition]
  145 | __edb_edbm_delete(key)
      | ^~~~~~~~~~~~~~~~~
edbm.c: In function '__edb_edbm_store':
edbm.c:156:1: warning: old-style function definition [-Wold-style-definition]
  156 | __edb_edbm_store(key, dat)
      | ^~~~~~~~~~~~~~~~
edbm.c: In function '__edb_nedbm_open':
edbm.c:183:1: warning: old-style function definition [-Wold-style-definition]
  183 | __edb_nedbm_open(file, oflags, mode)
      | ^~~~~~~~~~~~~~~~
edbm.c: In function '__edb_nedbm_close':
edbm.c:229:1: warning: old-style function definition [-Wold-style-definition]
  229 | __edb_nedbm_close(edbm)
      | ^~~~~~~~~~~~~~~~~
edbm.c: In function '__edb_nedbm_fetch':
edbm.c:245:1: warning: old-style function definition [-Wold-style-definition]
  245 | __edb_nedbm_fetch(edbm, key)
      | ^~~~~~~~~~~~~~~~~
edbm.c: In function '__edb_nedbm_firstkey':
edbm.c:288:1: warning: old-style function definition [-Wold-style-definition]
  288 | __edb_nedbm_firstkey(edbm)
      | ^~~~~~~~~~~~~~~~~~~~
edbm.c: In function '__edb_nedbm_nextkey':
edbm.c:323:1: warning: old-style function definition [-Wold-style-definition]
  323 | __edb_nedbm_nextkey(edbm)
      | ^~~~~~~~~~~~~~~~~~~
edbm.c: In function '__edb_nedbm_delete':
edbm.c:358:1: warning: old-style function definition [-Wold-style-definition]
  358 | __edb_nedbm_delete(edbm, key)
      | ^~~~~~~~~~~~~~~~~~
edbm.c: In function '__edb_nedbm_store':
edbm.c:391:1: warning: old-style function definition [-Wold-style-definition]
  391 | __edb_nedbm_store(edbm, key, data, flags)
      | ^~~~~~~~~~~~~~~~~
edbm.c: In function '__edb_nedbm_error':
edbm.c:423:1: warning: old-style function definition [-Wold-style-definition]
  423 | __edb_nedbm_error(edbm)
      | ^~~~~~~~~~~~~~~~~
edbm.c: In function '__edb_nedbm_clearerr':
edbm.c:434:1: warning: old-style function definition [-Wold-style-definition]
  434 | __edb_nedbm_clearerr(edbm)
      | ^~~~~~~~~~~~~~~~~~~~
edbm.c: In function '__edb_nedbm_rdonly':
edbm.c:451:1: warning: old-style function definition [-Wold-style-definition]
  451 | __edb_nedbm_rdonly(edbm)
      | ^~~~~~~~~~~~~~~~~~
edbm.c: In function '__edb_nedbm_dirfno':
edbm.c:468:1: warning: old-style function definition [-Wold-style-definition]
  468 | __edb_nedbm_dirfno(edbm)
      | ^~~~~~~~~~~~~~~~~~
edbm.c: In function '__edb_nedbm_pagfno':
edbm.c:475:1: warning: old-style function definition [-Wold-style-definition]
  475 | __edb_nedbm_pagfno(edbm)
      | ^~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o os_config.lo os_config.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c os_config.c  -fPIC -DPIC -o .libs/os_config.o
os_config.c: In function 'edb_jump_set':
os_config.c:40:1: warning: old-style function definition [-Wold-style-definition]
   40 | edb_jump_set(func, which)
      | ^~~~~~~~~~~~
os_config.c: In function 'edb_value_set':
os_config.c:119:1: warning: old-style function definition [-Wold-style-definition]
  119 | edb_value_set(value, which)
      | ^~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o log_findckp.lo log_findckp.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c log_findckp.c  -fPIC -DPIC -o .libs/log_findckp.o
log_findckp.c: In function '__log_findckp':
log_findckp.c:57:1: warning: old-style function definition [-Wold-style-definition]
   57 | __log_findckp(lp, lsnp)
      | ^~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o bt_rsearch.lo bt_rsearch.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bt_rsearch.c  -fPIC -DPIC -o .libs/bt_rsearch.o
bt_rsearch.c: In function '__bam_rsearch':
bt_rsearch.c:65:1: warning: old-style function definition [-Wold-style-definition]
   65 | __bam_rsearch(edbc, recnop, flags, stop, exactp)
      | ^~~~~~~~~~~~~
bt_rsearch.c: In function '__bam_adjust':
bt_rsearch.c:282:1: warning: old-style function definition [-Wold-style-definition]
  282 | __bam_adjust(edbc, adjust)
      | ^~~~~~~~~~~~
bt_rsearch.c: In function '__bam_nrecs':
bt_rsearch.c:328:1: warning: old-style function definition [-Wold-style-definition]
  328 | __bam_nrecs(edbc, rep)
      | ^~~~~~~~~~~
bt_rsearch.c: In function '__bam_total':
bt_rsearch.c:361:1: warning: old-style function definition [-Wold-style-definition]
  361 | __bam_total(h)
      | ^~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o bt_rec.lo bt_rec.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bt_rec.c  -fPIC -DPIC -o .libs/bt_rec.o
bt_rec.c: In function '__bam_pg_alloc_recover':
bt_rec.c:37:1: warning: old-style function definition [-Wold-style-definition]
   37 | __bam_pg_alloc_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~~~~
bt_rec.c: In function '__bam_pg_free_recover':
bt_rec.c:141:1: warning: old-style function definition [-Wold-style-definition]
  141 | __bam_pg_free_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~~~
bt_rec.c: In function '__bam_split_recover':
bt_rec.c:241:1: warning: old-style function definition [-Wold-style-definition]
  241 | __bam_split_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~
bt_rec.c: In function '__bam_rsplit_recover':
bt_rec.c:513:1: warning: old-style function definition [-Wold-style-definition]
  513 | __bam_rsplit_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~~
bt_rec.c: In function '__bam_adj_recover':
bt_rec.c:601:1: warning: old-style function definition [-Wold-style-definition]
  601 | __bam_adj_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~
bt_rec.c: In function '__bam_cadjust_recover':
bt_rec.c:667:1: warning: old-style function definition [-Wold-style-definition]
  667 | __bam_cadjust_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~~~
bt_rec.c: In function '__bam_cdel_recover':
bt_rec.c:744:1: warning: old-style function definition [-Wold-style-definition]
  744 | __bam_cdel_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~
bt_rec.c: In function '__bam_repl_recover':
bt_rec.c:808:1: warning: old-style function definition [-Wold-style-definition]
  808 | __bam_repl_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o txn_rec.lo txn_rec.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c txn_rec.c  -fPIC -DPIC -o .libs/txn_rec.o
txn_rec.c: In function '__txn_regop_recover':
txn_rec.c:72:1: warning: old-style function definition [-Wold-style-definition]
   72 | __txn_regop_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~
txn_rec.c: In function '__txn_xa_regop_recover':
txn_rec.c:111:1: warning: old-style function definition [-Wold-style-definition]
  111 | __txn_xa_regop_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~~~~
txn_rec.c: In function '__txn_ckp_recover':
txn_rec.c:171:1: warning: old-style function definition [-Wold-style-definition]
  171 | __txn_ckp_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~
txn_rec.c: In function '__txn_child_recover':
txn_rec.c:212:1: warning: old-style function definition [-Wold-style-definition]
  212 | __txn_child_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~
txn_rec.c: In function '__txn_restore_txn':
txn_rec.c:261:1: warning: old-style function definition [-Wold-style-definition]
  261 | __txn_restore_txn(edbenv, lsnp, argp)
      | ^~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o bt_recno.lo bt_recno.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bt_recno.c  -fPIC -DPIC -o .libs/bt_recno.o
bt_recno.c: In function '__ram_open':
bt_recno.c:77:1: warning: old-style function definition [-Wold-style-definition]
   77 | __ram_open(edbp, edbinfo)
      | ^~~~~~~~~~
bt_recno.c: In function '__ram_delete':
bt_recno.c:196:1: warning: old-style function definition [-Wold-style-definition]
  196 | __ram_delete(edbp, txn, key, flags)
      | ^~~~~~~~~~~~
bt_recno.c: In function '__ram_i_delete':
bt_recno.c:242:1: warning: old-style function definition [-Wold-style-definition]
  242 | __ram_i_delete(edbc)
      | ^~~~~~~~~~~~~~
In file included from bt_recno.c:22:
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
bt_recno.c:328:28: note: in expansion of macro 'SSZA'
  328 |                 hdr.size = SSZA(BKEYDATA, data);
      |                            ^~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
bt_recno.c:333:30: note: in expansion of macro 'BKEYDATA_SIZE'
  333 |                     h, indx, BKEYDATA_SIZE(0), &hdr, &data)) != 0)
      |                              ^~~~~~~~~~~~~
bt_recno.c: In function '__ram_put':
bt_recno.c:353:1: warning: old-style function definition [-Wold-style-definition]
  353 | __ram_put(edbp, txn, key, data, flags)
      | ^~~~~~~~~
bt_recno.c: In function '__ram_sync':
bt_recno.c:405:1: warning: old-style function definition [-Wold-style-definition]
  405 | __ram_sync(edbp, flags)
      | ^~~~~~~~~~
bt_recno.c: In function '__ram_close':
bt_recno.c:445:1: warning: old-style function definition [-Wold-style-definition]
  445 | __ram_close(edbp)
      | ^~~~~~~~~~~
bt_recno.c: In function '__ram_c_del':
bt_recno.c:479:1: warning: old-style function definition [-Wold-style-definition]
  479 | __ram_c_del(edbc, flags)
      | ^~~~~~~~~~~
bt_recno.c: In function '__ram_c_get':
bt_recno.c:529:1: warning: old-style function definition [-Wold-style-definition]
  529 | __ram_c_get(edbc, key, data, flags)
      | ^~~~~~~~~~~
bt_recno.c: In function '__ram_c_put':
bt_recno.c:686:1: warning: old-style function definition [-Wold-style-definition]
  686 | __ram_c_put(edbc, key, data, flags)
      | ^~~~~~~~~~~
bt_recno.c: In function '__ram_ca':
bt_recno.c:791:1: warning: old-style function definition [-Wold-style-definition]
  791 | __ram_ca(edbp, recno, op)
      | ^~~~~~~~
bt_recno.c: In function '__ram_getno':
bt_recno.c:833:1: warning: old-style function definition [-Wold-style-definition]
  833 | __ram_getno(edbc, key, rep, can_create)
      | ^~~~~~~~~~~
bt_recno.c: In function '__ram_update':
bt_recno.c:865:1: warning: old-style function definition [-Wold-style-definition]
  865 | __ram_update(edbc, recno, can_create)
      | ^~~~~~~~~~~~
bt_recno.c: In function '__ram_source':
bt_recno.c:937:1: warning: old-style function definition [-Wold-style-definition]
  937 | __ram_source(edbp, rp, fname)
      | ^~~~~~~~~~~~
bt_recno.c: In function '__ram_writeback':
bt_recno.c:995:1: warning: old-style function definition [-Wold-style-definition]
  995 | __ram_writeback(edbc)
      | ^~~~~~~~~~~~~~~
bt_recno.c: In function '__ram_fmap':
bt_recno.c:1138:1: warning: old-style function definition [-Wold-style-definition]
 1138 | __ram_fmap(edbc, top)
      | ^~~~~~~~~~
bt_recno.c: In function '__ram_vmap':
bt_recno.c:1211:1: warning: old-style function definition [-Wold-style-definition]
 1211 | __ram_vmap(edbc, top)
      | ^~~~~~~~~~
bt_recno.c: In function '__ram_add':
bt_recno.c:1265:1: warning: old-style function definition [-Wold-style-definition]
 1265 | __ram_add(edbc, recnop, data, flags, bi_flags)
      | ^~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o os_dir.lo os_dir.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c os_dir.c  -fPIC -DPIC -o .libs/os_dir.o
os_dir.c: In function '__edb_os_dirlist':
os_dir.c:47:1: warning: old-style function definition [-Wold-style-definition]
   47 | __edb_os_dirlist(dir, namesp, cntp)
      | ^~~~~~~~~~~~~~~~
os_dir.c: In function '__edb_os_dirfree':
os_dir.c:91:1: warning: old-style function definition [-Wold-style-definition]
   91 | __edb_os_dirfree(names, cnt)
      | ^~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o txn_auto.lo txn_auto.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c txn_auto.c  -fPIC -DPIC -o .libs/txn_auto.o
txn_auto.c: In function '__txn_regop_log':
txn_auto.c:22:5: warning: old-style function definition [-Wold-style-definition]
   22 | int __txn_regop_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~
txn_auto.c: In function '__txn_regop_print':
txn_auto.c:73:1: warning: old-style function definition [-Wold-style-definition]
   73 | __txn_regop_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~
txn_auto.c: In function '__txn_regop_read':
txn_auto.c:110:1: warning: old-style function definition [-Wold-style-definition]
  110 | __txn_regop_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~
txn_auto.c: In function '__txn_ckp_log':
txn_auto.c:141:5: warning: old-style function definition [-Wold-style-definition]
  141 | int __txn_ckp_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~
txn_auto.c: In function '__txn_ckp_print':
txn_auto.c:202:1: warning: old-style function definition [-Wold-style-definition]
  202 | __txn_ckp_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~
txn_auto.c: In function '__txn_ckp_read':
txn_auto.c:242:1: warning: old-style function definition [-Wold-style-definition]
  242 | __txn_ckp_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~
txn_auto.c: In function '__txn_xa_regop_log':
txn_auto.c:276:5: warning: old-style function definition [-Wold-style-definition]
  276 | int __txn_xa_regop_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~~~~
txn_auto.c: In function '__txn_xa_regop_print':
txn_auto.c:359:1: warning: old-style function definition [-Wold-style-definition]
  359 | __txn_xa_regop_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~~~~
txn_auto.c: In function '__txn_xa_regop_read':
txn_auto.c:410:1: warning: old-style function definition [-Wold-style-definition]
  410 | __txn_xa_regop_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~~~~
txn_auto.c: In function '__txn_child_log':
txn_auto.c:453:5: warning: old-style function definition [-Wold-style-definition]
  453 | int __txn_child_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~
txn_auto.c: In function '__txn_child_print':
txn_auto.c:508:1: warning: old-style function definition [-Wold-style-definition]
  508 | __txn_child_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~
txn_auto.c: In function '__txn_child_read':
txn_auto.c:546:1: warning: old-style function definition [-Wold-style-definition]
  546 | __txn_child_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~
txn_auto.c: In function '__txn_init_print':
txn_auto.c:578:1: warning: old-style function definition [-Wold-style-definition]
  578 | __txn_init_print(edbenv)
      | ^~~~~~~~~~~~~~~~
txn_auto.c: In function '__txn_init_recover':
txn_auto.c:602:1: warning: old-style function definition [-Wold-style-definition]
  602 | __txn_init_recover(edbenv)
      | ^~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o bt_search.lo bt_search.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bt_search.c  -fPIC -DPIC -o .libs/bt_search.o
bt_search.c: In function '__bam_search':
bt_search.c:72:1: warning: old-style function definition [-Wold-style-definition]
   72 | __bam_search(edbc, key, flags, stop, recnop, exactp)
      | ^~~~~~~~~~~~
bt_search.c: In function '__bam_stkrel':
bt_search.c:315:1: warning: old-style function definition [-Wold-style-definition]
  315 | __bam_stkrel(edbc, nolocks)
      | ^~~~~~~~~~~~
bt_search.c: In function '__bam_stkgrow':
bt_search.c:350:1: warning: old-style function definition [-Wold-style-definition]
  350 | __bam_stkgrow(cp)
      | ^~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o txn.lo txn.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c txn.c  -fPIC -DPIC -o .libs/txn.o
txn.c: In function '__txn_init':
txn.c:87:1: warning: old-style function definition [-Wold-style-definition]
   87 | __txn_init(txn_region)
      | ^~~~~~~~~~
txn.c: In function 'txn_open':
txn.c:115:1: warning: old-style function definition [-Wold-style-definition]
  115 | txn_open(path, flags, mode, edbenv, mgrpp)
      | ^~~~~~~~
txn.c: In function '__txn_panic':
txn.c:225:1: warning: old-style function definition [-Wold-style-definition]
  225 | __txn_panic(edbenv)
      | ^~~~~~~~~~~
txn.c: In function 'txn_begin':
txn.c:243:1: warning: old-style function definition [-Wold-style-definition]
  243 | txn_begin(tmgrp, parent, txnpp)
      | ^~~~~~~~~
txn.c: In function '__txn_xa_begin':
txn.c:276:1: warning: old-style function definition [-Wold-style-definition]
  276 | __txn_xa_begin(edbenv, txn)
      | ^~~~~~~~~~~~~~
txn.c: In function '__txn_begin':
txn.c:294:1: warning: old-style function definition [-Wold-style-definition]
  294 | __txn_begin(txn)
      | ^~~~~~~~~~~
txn.c: In function 'txn_commit':
txn.c:376:1: warning: old-style function definition [-Wold-style-definition]
  376 | txn_commit(txnp)
      | ^~~~~~~~~~
txn.c: In function 'txn_abort':
txn.c:426:1: warning: old-style function definition [-Wold-style-definition]
  426 | txn_abort(txnp)
      | ^~~~~~~~~
txn.c: In function 'txn_prepare':
txn.c:454:1: warning: old-style function definition [-Wold-style-definition]
  454 | txn_prepare(txnp)
      | ^~~~~~~~~~~
txn.c: In function 'txn_id':
txn.c:497:1: warning: old-style function definition [-Wold-style-definition]
  497 | txn_id(txnp)
      | ^~~~~~
txn.c: In function 'txn_close':
txn.c:508:1: warning: old-style function definition [-Wold-style-definition]
  508 | txn_close(tmgrp)
      | ^~~~~~~~~
txn.c: In function 'txn_unlink':
txn.c:556:1: warning: old-style function definition [-Wold-style-definition]
  556 | txn_unlink(path, force, edbenv)
      | ^~~~~~~~~~
txn.c: In function '__txn_check_running':
txn.c:582:1: warning: old-style function definition [-Wold-style-definition]
  582 | __txn_check_running(txnp, tdp)
      | ^~~~~~~~~~~~~~~~~~~
txn.c: In function '__txn_end':
txn.c:605:1: warning: old-style function definition [-Wold-style-definition]
  605 | __txn_end(txnp, is_commit)
      | ^~~~~~~~~
txn.c: In function '__txn_undo':
txn.c:684:1: warning: old-style function definition [-Wold-style-definition]
  684 | __txn_undo(txnp)
      | ^~~~~~~~~~
txn.c: In function 'txn_checkpoint':
txn.c:739:1: warning: old-style function definition [-Wold-style-definition]
  739 | txn_checkpoint(mgr, kbytes, minutes)
      | ^~~~~~~~~~~~~~
txn.c: In function '__txn_validate_region':
txn.c:866:1: warning: old-style function definition [-Wold-style-definition]
  866 | __txn_validate_region(tp)
      | ^~~~~~~~~~~~~~~~~~~~~
txn.c: In function '__txn_grow_region':
txn.c:886:1: warning: old-style function definition [-Wold-style-definition]
  886 | __txn_grow_region(tp)
      | ^~~~~~~~~~~~~~~~~
txn.c: In function 'txn_stat':
txn.c:920:1: warning: old-style function definition [-Wold-style-definition]
  920 | txn_stat(mgr, statp, edb_malloc)
      | ^~~~~~~~
txn.c: In function '__txn_freekids':
txn.c:984:1: warning: old-style function definition [-Wold-style-definition]
  984 | __txn_freekids(txnp)
      | ^~~~~~~~~~~~~~
txn.c: In function '__txn_is_ancestor':
txn.c:1029:1: warning: old-style function definition [-Wold-style-definition]
 1029 | __txn_is_ancestor(mgr, hold_off, req_off)
      | ^~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o log_get.lo log_get.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c log_get.c  -fPIC -DPIC -o .libs/log_get.o
log_get.c: In function 'log_get':
log_get.c:33:1: warning: old-style function definition [-Wold-style-definition]
   33 | log_get(edblp, alsn, edbt, flags)
      | ^~~~~~~
log_get.c: In function '__log_get':
log_get.c:88:1: warning: old-style function definition [-Wold-style-definition]
   88 | __log_get(edblp, alsn, edbt, flags, silent)
      | ^~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o os_fid.lo os_fid.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c os_fid.c  -fPIC -DPIC -o .libs/os_fid.o
os_fid.c: In function '__edb_os_fileid':
os_fid.c:33:1: warning: old-style function definition [-Wold-style-definition]
   33 | __edb_os_fileid(edbenv, fname, timestamp, fidp)
      | ^~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o hash_conv.lo hash_conv.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c hash_conv.c  -fPIC -DPIC -o .libs/hash_conv.o
hash_conv.c: In function '__ham_pgin':
hash_conv.c:30:1: warning: old-style function definition [-Wold-style-definition]
   30 | __ham_pgin(pg, pp, cookie)
      | ^~~~~~~~~~
hash_conv.c: In function '__ham_pgout':
hash_conv.c:63:1: warning: old-style function definition [-Wold-style-definition]
   63 | __ham_pgout(pg, pp, cookie)
      | ^~~~~~~~~~~
hash_conv.c: In function '__ham_mswap':
hash_conv.c:84:1: warning: old-style function definition [-Wold-style-definition]
   84 | __ham_mswap(pg)
      | ^~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o os_fsync.lo os_fsync.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c os_fsync.c  -fPIC -DPIC -o .libs/os_fsync.o
os_fsync.c: In function '__edb_os_fsync':
os_fsync.c:52:1: warning: old-style function definition [-Wold-style-definition]
   52 | __edb_os_fsync(fd)
      | ^~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o xa_edb.lo xa_edb.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c xa_edb.c  -fPIC -DPIC -o .libs/xa_edb.o
xa_edb.c: In function 'edb_xa_open':
xa_edb.c:44:1: warning: old-style function definition [-Wold-style-definition]
   44 | edb_xa_open(fname, type, flags, mode, edbinfo, edbpp)
      | ^~~~~~~~~~~
xa_edb.c: In function '__xa_close':
xa_edb.c:112:1: warning: old-style function definition [-Wold-style-definition]
  112 | __xa_close(edbp, flags)
      | ^~~~~~~~~~
xa_edb.c: In function '__xa_cursor':
xa_edb.c:133:1: warning: old-style function definition [-Wold-style-definition]
  133 | __xa_cursor(edbp, txn, edbcp, flags)
      | ^~~~~~~~~~~
xa_edb.c: In function '__xa_fd':
xa_edb.c:171:1: warning: old-style function definition [-Wold-style-definition]
  171 | __xa_fd(edbp, fdp)
      | ^~~~~~~
xa_edb.c: In function '__xa_del':
xa_edb.c:184:1: warning: old-style function definition [-Wold-style-definition]
  184 | __xa_del(edbp, txn, key, flags)
      | ^~~~~~~~
xa_edb.c: In function '__xa_get':
xa_edb.c:199:1: warning: old-style function definition [-Wold-style-definition]
  199 | __xa_get(edbp, txn, key, data, flags)
      | ^~~~~~~~
xa_edb.c: In function '__xa_put':
xa_edb.c:215:1: warning: old-style function definition [-Wold-style-definition]
  215 | __xa_put(edbp, txn, key, data, flags)
      | ^~~~~~~~
xa_edb.c: In function '__xa_stat':
xa_edb.c:231:1: warning: old-style function definition [-Wold-style-definition]
  231 | __xa_stat(edbp, spp, edb_malloc, flags)
      | ^~~~~~~~~
xa_edb.c: In function '__xa_sync':
xa_edb.c:244:1: warning: old-style function definition [-Wold-style-definition]
  244 | __xa_sync(edbp, flags)
      | ^~~~~~~~~
xa_edb.c: In function '__xa_c_close':
xa_edb.c:255:1: warning: old-style function definition [-Wold-style-definition]
  255 | __xa_c_close(edbc)
      | ^~~~~~~~~~~~
xa_edb.c: In function '__xa_c_del':
xa_edb.c:272:1: warning: old-style function definition [-Wold-style-definition]
  272 | __xa_c_del(edbc, flags)
      | ^~~~~~~~~~
xa_edb.c: In function '__xa_c_get':
xa_edb.c:283:1: warning: old-style function definition [-Wold-style-definition]
  283 | __xa_c_get(edbc, key, data, flags)
      | ^~~~~~~~~~
xa_edb.c: In function '__xa_c_put':
xa_edb.c:296:1: warning: old-style function definition [-Wold-style-definition]
  296 | __xa_c_put(edbc, key, data, flags)
      | ^~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o bt_stat.lo bt_stat.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bt_stat.c  -fPIC -DPIC -o .libs/bt_stat.o
bt_stat.c: In function '__bam_stat':
bt_stat.c:32:1: warning: old-style function definition [-Wold-style-definition]
   32 | __bam_stat(edbp, spp, edb_malloc, flags)
      | ^~~~~~~~~~
In file included from bt_stat.c:21:
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
bt_stat.c:153:59: note: in expansion of macro 'LOFFSET'
  153 |                         sp->bt_int_pgfree += HOFFSET(h) - LOFFSET(h);
      |                                                           ^~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
bt_stat.c:157:60: note: in expansion of macro 'LOFFSET'
  157 |                         sp->bt_leaf_pgfree += HOFFSET(h) - LOFFSET(h);
      |                                                            ^~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
bt_stat.c:162:60: note: in expansion of macro 'LOFFSET'
  162 |                         sp->bt_leaf_pgfree += HOFFSET(h) - LOFFSET(h);
      |                                                            ^~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o xa_map.lo xa_map.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c xa_map.c  -fPIC -DPIC -o .libs/xa_map.o
xa_map.c: In function '__edb_rmid_to_env':
xa_map.c:38:1: warning: old-style function definition [-Wold-style-definition]
   38 | __edb_rmid_to_env(rmid, envp, open_ok)
      | ^~~~~~~~~~~~~~~~~
xa_map.c: In function '__edb_xid_to_txn':
xa_map.c:105:1: warning: old-style function definition [-Wold-style-definition]
  105 | __edb_xid_to_txn(edbenv, xid, offp)
      | ^~~~~~~~~~~~~~~~
xa_map.c: In function '__edb_map_rmid':
xa_map.c:142:1: warning: old-style function definition [-Wold-style-definition]
  142 | __edb_map_rmid(rmid, env)
      | ^~~~~~~~~~~~~~
xa_map.c: In function '__edb_unmap_rmid':
xa_map.c:161:1: warning: old-style function definition [-Wold-style-definition]
  161 | __edb_unmap_rmid(rmid)
      | ^~~~~~~~~~~~~~~~
xa_map.c: In function '__edb_map_xid':
xa_map.c:187:1: warning: old-style function definition [-Wold-style-definition]
  187 | __edb_map_xid(env, xid, off)
      | ^~~~~~~~~~~~~
xa_map.c: In function '__edb_unmap_xid':
xa_map.c:213:1: warning: old-style function definition [-Wold-style-definition]
  213 | __edb_unmap_xid(env, xid, off)
      | ^~~~~~~~~~~~~~~
xa_map.c: In function '__edb_map_rmid_name':
xa_map.c:238:1: warning: old-style function definition [-Wold-style-definition]
  238 | __edb_map_rmid_name(rmid, edbhome)
      | ^~~~~~~~~~~~~~~~~~~
xa_map.c: In function '__edb_rmid_to_name':
xa_map.c:267:1: warning: old-style function definition [-Wold-style-definition]
  267 | __edb_rmid_to_name(rmid, edbhomep)
      | ^~~~~~~~~~~~~~~~~~
xa_map.c: In function '__edb_unmap_rmid_name':
xa_map.c:290:1: warning: old-style function definition [-Wold-style-definition]
  290 | __edb_unmap_rmid_name(rmid)
      | ^~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o hash_func.lo hash_func.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c hash_func.c  -fPIC -DPIC -o .libs/hash_func.o
hash_func.c: In function '__ham_func2':
hash_func.c:70:1: warning: old-style function definition [-Wold-style-definition]
   70 | __ham_func2(key, len)
      | ^~~~~~~~~~~
hash_func.c: In function '__ham_func3':
hash_func.c:101:1: warning: old-style function definition [-Wold-style-definition]
  101 | __ham_func3(key, len)
      | ^~~~~~~~~~~
hash_func.c: In function '__ham_func4':
hash_func.c:148:1: warning: old-style function definition [-Wold-style-definition]
  148 | __ham_func4(key, len)
      | ^~~~~~~~~~~
hash_func.c: In function '__ham_func5':
hash_func.c:205:1: warning: old-style function definition [-Wold-style-definition]
  205 | __ham_func5(key, len)
      | ^~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o log_put.lo log_put.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c log_put.c  -fPIC -DPIC -o .libs/log_put.o
log_put.c: In function 'log_put':
log_put.c:42:1: warning: old-style function definition [-Wold-style-definition]
   42 | log_put(edblp, lsn, edbt, flags)
      | ^~~~~~~
log_put.c: In function '__log_put':
log_put.c:70:1: warning: old-style function definition [-Wold-style-definition]
   70 | __log_put(edblp, lsn, edbt, flags)
      | ^~~~~~~~~
log_put.c: In function '__log_putr':
log_put.c:201:1: warning: old-style function definition [-Wold-style-definition]
  201 | __log_putr(edblp, lsn, edbt, prev)
      | ^~~~~~~~~~
log_put.c: In function 'log_flush':
log_put.c:239:1: warning: old-style function definition [-Wold-style-definition]
  239 | log_flush(edblp, lsn)
      | ^~~~~~~~~
log_put.c: In function '__log_flush':
log_put.c:259:1: warning: old-style function definition [-Wold-style-definition]
  259 | __log_flush(edblp, lsn)
      | ^~~~~~~~~~~
log_put.c: In function '__log_fill':
log_put.c:355:1: warning: old-style function definition [-Wold-style-definition]
  355 | __log_fill(edblp, lsn, addr, len)
      | ^~~~~~~~~~
log_put.c: In function '__log_write':
log_put.c:415:1: warning: old-style function definition [-Wold-style-definition]
  415 | __log_write(edblp, addr, len)
      | ^~~~~~~~~~~
log_put.c: In function 'log_file':
log_put.c:467:1: warning: old-style function definition [-Wold-style-definition]
  467 | log_file(edblp, lsn, namep, len)
      | ^~~~~~~~
log_put.c: In function '__log_newfd':
log_put.c:500:1: warning: old-style function definition [-Wold-style-definition]
  500 | __log_newfd(edblp)
      | ^~~~~~~~~~~
log_put.c: In function '__log_name':
log_put.c:529:1: warning: old-style function definition [-Wold-style-definition]
  529 | __log_name(edblp, filenumber, namep, fdp, flags)
      | ^~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o bt_split.lo bt_split.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c bt_split.c  -fPIC -DPIC -o .libs/bt_split.o
bt_split.c: In function '__bam_split':
bt_split.c:76:1: warning: old-style function definition [-Wold-style-definition]
   76 | __bam_split(edbc, arg)
      | ^~~~~~~~~~~
In file included from bt_split.c:58:
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
edb_page.h:219:48: note: in expansion of macro 'LOFFSET'
  219 | #define P_FREESPACE(pg)         (HOFFSET(pg) - LOFFSET(pg))
      |                                                ^~~~~~~
bt_split.c:134:33: note: in expansion of macro 'P_FREESPACE'
  134 |                     (edb_indx_t)P_FREESPACE(cp->csp[0].page)) {
      |                                 ^~~~~~~~~~~
bt_split.c: In function '__bam_root':
bt_split.c:175:1: warning: old-style function definition [-Wold-style-definition]
  175 | __bam_root(edbc, cp)
      | ^~~~~~~~~~
bt_split.c: In function '__bam_page':
bt_split.c:255:1: warning: old-style function definition [-Wold-style-definition]
  255 | __bam_page(edbc, pp, cp)
      | ^~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
bt_split.c:346:30: note: in expansion of macro 'LOFFSET'
  346 |         memcpy(cp->page, lp, LOFFSET(lp));
      |                              ^~~~~~~
bt_split.c: In function '__bam_broot':
bt_split.c:400:1: warning: old-style function definition [-Wold-style-definition]
  400 | __bam_broot(edbc, rootp, lp, rp)
      | ^~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
bt_split.c:436:20: note: in expansion of macro 'SSZA'
  436 |         hdr.size = SSZA(BINTERNAL, data);
      |                    ^~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:481:23: note: in expansion of macro 'SSZA'
  481 |         ALIGN((len) + SSZA(BINTERNAL, data), 4)
      |                       ^~~~
bt_split.c:438:41: note: in expansion of macro 'BINTERNAL_SIZE'
  438 |             __edb_pitem(edbc, rootp, 0, BINTERNAL_SIZE(0), &hdr, NULL)) != 0)
      |                                         ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
bt_split.c:454:28: note: in expansion of macro 'SSZA'
  454 |                 hdr.size = SSZA(BINTERNAL, data);
      |                            ^~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:481:23: note: in expansion of macro 'SSZA'
  481 |         ALIGN((len) + SSZA(BINTERNAL, data), 4)
      |                       ^~~~
bt_split.c:458:21: note: in expansion of macro 'BINTERNAL_SIZE'
  458 |                     BINTERNAL_SIZE(child_bi->len), &hdr, &data)) != 0)
      |                     ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
bt_split.c:480:36: note: in expansion of macro 'SSZA'
  480 |                         hdr.size = SSZA(BINTERNAL, data);
      |                                    ^~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:481:23: note: in expansion of macro 'SSZA'
  481 |         ALIGN((len) + SSZA(BINTERNAL, data), 4)
      |                       ^~~~
bt_split.c:484:29: note: in expansion of macro 'BINTERNAL_SIZE'
  484 |                             BINTERNAL_SIZE(child_bk->len), &hdr, &data)) != 0)
      |                             ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
bt_split.c:497:36: note: in expansion of macro 'SSZA'
  497 |                         hdr.size = SSZA(BINTERNAL, data);
      |                                    ^~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:481:23: note: in expansion of macro 'SSZA'
  481 |         ALIGN((len) + SSZA(BINTERNAL, data), 4)
      |                       ^~~~
bt_split.c:501:29: note: in expansion of macro 'BINTERNAL_SIZE'
  501 |                             BINTERNAL_SIZE(BOVERFLOW_SIZE), &hdr, &data)) != 0)
      |                             ^~~~~~~~~~~~~~
bt_split.c: In function '__ram_root':
bt_split.c:525:1: warning: old-style function definition [-Wold-style-definition]
  525 | __ram_root(edbc, rootp, lp, rp)
      | ^~~~~~~~~~
bt_split.c: In function '__bam_pinsert':
bt_split.c:564:1: warning: old-style function definition [-Wold-style-definition]
  564 | __bam_pinsert(edbc, parent, lchild, rchild)
      | ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:481:23: note: in expansion of macro 'SSZA'
  481 |         ALIGN((len) + SSZA(BINTERNAL, data), 4)
      |                       ^~~~
edb_page.h:483:10: note: in expansion of macro 'BINTERNAL_SIZE'
  483 |         (BINTERNAL_SIZE(len) + sizeof(edb_indx_t))
      |          ^~~~~~~~~~~~~~
bt_split.c:619:26: note: in expansion of macro 'BINTERNAL_PSIZE'
  619 |                 nbytes = BINTERNAL_PSIZE(child_bi->len);
      |                          ^~~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
edb_page.h:219:48: note: in expansion of macro 'LOFFSET'
  219 | #define P_FREESPACE(pg)         (HOFFSET(pg) - LOFFSET(pg))
      |                                                ^~~~~~~
bt_split.c:621:21: note: in expansion of macro 'P_FREESPACE'
  621 |                 if (P_FREESPACE(ppage) < nbytes)
      |                     ^~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
bt_split.c:632:28: note: in expansion of macro 'SSZA'
  632 |                 hdr.size = SSZA(BINTERNAL, data);
      |                            ^~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:481:23: note: in expansion of macro 'SSZA'
  481 |         ALIGN((len) + SSZA(BINTERNAL, data), 4)
      |                       ^~~~
bt_split.c:637:21: note: in expansion of macro 'BINTERNAL_SIZE'
  637 |                     BINTERNAL_SIZE(child_bi->len), &hdr, &data)) != 0)
      |                     ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:481:23: note: in expansion of macro 'SSZA'
  481 |         ALIGN((len) + SSZA(BINTERNAL, data), 4)
      |                       ^~~~
edb_page.h:483:10: note: in expansion of macro 'BINTERNAL_SIZE'
  483 |         (BINTERNAL_SIZE(len) + sizeof(edb_indx_t))
      |          ^~~~~~~~~~~~~~
bt_split.c:650:34: note: in expansion of macro 'BINTERNAL_PSIZE'
  650 |                         nbytes = BINTERNAL_PSIZE(child_bk->len);
      |                                  ^~~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:481:23: note: in expansion of macro 'SSZA'
  481 |         ALIGN((len) + SSZA(BINTERNAL, data), 4)
      |                       ^~~~
edb_page.h:483:10: note: in expansion of macro 'BINTERNAL_SIZE'
  483 |         (BINTERNAL_SIZE(len) + sizeof(edb_indx_t))
      |          ^~~~~~~~~~~~~~
bt_split.c:666:34: note: in expansion of macro 'BINTERNAL_PSIZE'
  666 |                         if ((n = BINTERNAL_PSIZE(nksize)) < nbytes)
      |                                  ^~~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
edb_page.h:219:48: note: in expansion of macro 'LOFFSET'
  219 | #define P_FREESPACE(pg)         (HOFFSET(pg) - LOFFSET(pg))
      |                                                ^~~~~~~
bt_split.c:671:29: note: in expansion of macro 'P_FREESPACE'
  671 |                         if (P_FREESPACE(ppage) < nbytes)
      |                             ^~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
bt_split.c:681:36: note: in expansion of macro 'SSZA'
  681 |                         hdr.size = SSZA(BINTERNAL, data);
      |                                    ^~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:481:23: note: in expansion of macro 'SSZA'
  481 |         ALIGN((len) + SSZA(BINTERNAL, data), 4)
      |                       ^~~~
bt_split.c:686:29: note: in expansion of macro 'BINTERNAL_SIZE'
  686 |                             BINTERNAL_SIZE(nksize), &hdr, &data)) != 0)
      |                             ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:481:23: note: in expansion of macro 'SSZA'
  481 |         ALIGN((len) + SSZA(BINTERNAL, data), 4)
      |                       ^~~~
edb_page.h:483:10: note: in expansion of macro 'BINTERNAL_SIZE'
  483 |         (BINTERNAL_SIZE(len) + sizeof(edb_indx_t))
      |          ^~~~~~~~~~~~~~
bt_split.c:691:34: note: in expansion of macro 'BINTERNAL_PSIZE'
  691 |                         nbytes = BINTERNAL_PSIZE(BOVERFLOW_SIZE);
      |                                  ^~~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
edb_page.h:219:48: note: in expansion of macro 'LOFFSET'
  219 | #define P_FREESPACE(pg)         (HOFFSET(pg) - LOFFSET(pg))
      |                                                ^~~~~~~
bt_split.c:693:29: note: in expansion of macro 'P_FREESPACE'
  693 |                         if (P_FREESPACE(ppage) < nbytes)
      |                             ^~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
bt_split.c:703:36: note: in expansion of macro 'SSZA'
  703 |                         hdr.size = SSZA(BINTERNAL, data);
      |                                    ^~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:481:23: note: in expansion of macro 'SSZA'
  481 |         ALIGN((len) + SSZA(BINTERNAL, data), 4)
      |                       ^~~~
bt_split.c:708:29: note: in expansion of macro 'BINTERNAL_SIZE'
  708 |                             BINTERNAL_SIZE(BOVERFLOW_SIZE), &hdr, &data)) != 0)
      |                             ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
edb_page.h:219:48: note: in expansion of macro 'LOFFSET'
  219 | #define P_FREESPACE(pg)         (HOFFSET(pg) - LOFFSET(pg))
      |                                                ^~~~~~~
bt_split.c:725:21: note: in expansion of macro 'P_FREESPACE'
  725 |                 if (P_FREESPACE(ppage) < nbytes)
      |                     ^~~~~~~~~~~
bt_split.c: In function '__bam_psplit':
bt_split.c:767:1: warning: old-style function definition [-Wold-style-definition]
  767 | __bam_psplit(edbc, cp, lp, rp, splitret)
      | ^~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:481:23: note: in expansion of macro 'SSZA'
  481 |         ALIGN((len) + SSZA(BINTERNAL, data), 4)
      |                       ^~~~
bt_split.c:828:36: note: in expansion of macro 'BINTERNAL_SIZE'
  828 |                                    BINTERNAL_SIZE(GET_BINTERNAL(pp, off)->len);
      |                                    ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:481:23: note: in expansion of macro 'SSZA'
  481 |         ALIGN((len) + SSZA(BINTERNAL, data), 4)
      |                       ^~~~
bt_split.c:830:43: note: in expansion of macro 'BINTERNAL_SIZE'
  830 |                                 nbytes += BINTERNAL_SIZE(BOVERFLOW_SIZE);
      |                                           ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
bt_split.c:835:37: note: in expansion of macro 'BKEYDATA_SIZE'
  835 |                                     BKEYDATA_SIZE(GET_BKEYDATA(pp, off)->len);
      |                                     ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
bt_split.c:842:37: note: in expansion of macro 'BKEYDATA_SIZE'
  842 |                                     BKEYDATA_SIZE(GET_BKEYDATA(pp, off)->len);
      |                                     ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
bt_split.c:850:35: note: in expansion of macro 'BKEYDATA_SIZE'
  850 |                         nbytes += BKEYDATA_SIZE(GET_BKEYDATA(pp, off)->len);
      |                                   ^~~~~~~~~~~~~
bt_split.c: In function '__bam_copy':
bt_split.c:930:1: warning: old-style function definition [-Wold-style-definition]
  930 | __bam_copy(edbp, pp, cp, nxt, stop)
      | ^~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:481:23: note: in expansion of macro 'SSZA'
  481 |         ALIGN((len) + SSZA(BINTERNAL, data), 4)
      |                       ^~~~
bt_split.c:946:37: note: in expansion of macro 'BINTERNAL_SIZE'
  946 |                                     BINTERNAL_SIZE(GET_BINTERNAL(pp, nxt)->len);
      |                                     ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:481:23: note: in expansion of macro 'SSZA'
  481 |         ALIGN((len) + SSZA(BINTERNAL, data), 4)
      |                       ^~~~
bt_split.c:948:42: note: in expansion of macro 'BINTERNAL_SIZE'
  948 |                                 nbytes = BINTERNAL_SIZE(BOVERFLOW_SIZE);
      |                                          ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
bt_split.c:964:37: note: in expansion of macro 'BKEYDATA_SIZE'
  964 |                                     BKEYDATA_SIZE(GET_BKEYDATA(pp, nxt)->len);
      |                                     ^~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o xa.lo xa.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c xa.c  -fPIC -DPIC -o .libs/xa.o
xa.c: In function '__edb_xa_open':
xa.c:86:1: warning: old-style function definition [-Wold-style-definition]
   86 | __edb_xa_open(xa_info, rmid, flags)
      | ^~~~~~~~~~~~~
xa.c: In function '__edb_xa_close':
xa.c:122:1: warning: old-style function definition [-Wold-style-definition]
  122 | __edb_xa_close(xa_info, rmid, flags)
      | ^~~~~~~~~~~~~~
xa.c: In function '__edb_xa_start':
xa.c:160:1: warning: old-style function definition [-Wold-style-definition]
  160 | __edb_xa_start(xid, rmid, flags)
      | ^~~~~~~~~~~~~~
xa.c: In function '__edb_xa_end':
xa.c:224:1: warning: old-style function definition [-Wold-style-definition]
  224 | __edb_xa_end(xid, rmid, flags)
      | ^~~~~~~~~~~~
xa.c: In function '__edb_xa_prepare':
xa.c:278:1: warning: old-style function definition [-Wold-style-definition]
  278 | __edb_xa_prepare(xid, rmid, flags)
      | ^~~~~~~~~~~~~~~~
xa.c: In function '__edb_xa_commit':
xa.c:330:1: warning: old-style function definition [-Wold-style-definition]
  330 | __edb_xa_commit(xid, rmid, flags)
      | ^~~~~~~~~~~~~~~
xa.c: In function '__edb_xa_recover':
xa.c:391:1: warning: old-style function definition [-Wold-style-definition]
  391 | __edb_xa_recover(xids, count, rmid, flags)
      | ^~~~~~~~~~~~~~~~
xa.c: In function '__edb_xa_rollback':
xa.c:547:1: warning: old-style function definition [-Wold-style-definition]
  547 | __edb_xa_rollback(xid, rmid, flags)
      | ^~~~~~~~~~~~~~~~~
xa.c: In function '__edb_xa_forget':
xa.c:597:1: warning: old-style function definition [-Wold-style-definition]
  597 | __edb_xa_forget(xid, rmid, flags)
      | ^~~~~~~~~~~~~~~
xa.c: In function '__edb_xa_complete':
xa.c:631:1: warning: old-style function definition [-Wold-style-definition]
  631 | __edb_xa_complete(handle, retval, rmid, flags)
      | ^~~~~~~~~~~~~~~~~
xa.c: In function '__xa_txn_init':
xa.c:649:1: warning: old-style function definition [-Wold-style-definition]
  649 | __xa_txn_init(env, td, off)
      | ^~~~~~~~~~~~~
xa.c: In function '__xa_txn_end':
xa.c:670:1: warning: old-style function definition [-Wold-style-definition]
  670 | __xa_txn_end(env)
      | ^~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o log_rec.lo log_rec.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c log_rec.c  -fPIC -DPIC -o .libs/log_rec.o
log_rec.c: In function '__log_register_recover':
log_rec.c:69:1: warning: old-style function definition [-Wold-style-definition]
   69 | __log_register_recover(logp, edbtp, lsnp, redo, info)
      | ^~~~~~~~~~~~~~~~~~~~~~
log_rec.c: In function '__log_open_file':
log_rec.c:171:1: warning: old-style function definition [-Wold-style-definition]
  171 | __log_open_file(lp, argp)
      | ^~~~~~~~~~~~~~~
log_rec.c: In function '__log_do_open':
log_rec.c:222:1: warning: old-style function definition [-Wold-style-definition]
  222 | __log_do_open(lp, uid, name, ftype, ndx)
      | ^~~~~~~~~~~~~
log_rec.c: In function '__log_add_logid':
log_rec.c:258:1: warning: old-style function definition [-Wold-style-definition]
  258 | __log_add_logid(logp, edbp, name, ndx)
      | ^~~~~~~~~~~~~~~
log_rec.c: In function '__edb_fileid_to_edb':
log_rec.c:319:1: warning: old-style function definition [-Wold-style-definition]
  319 | __edb_fileid_to_edb(logp, edbpp, ndx)
      | ^~~~~~~~~~~~~~~~~~~
log_rec.c: In function '__log_close_files':
log_rec.c:391:1: warning: old-style function definition [-Wold-style-definition]
  391 | __log_close_files(logp)
      | ^~~~~~~~~~~~~~~~~
log_rec.c: In function '__log_rem_logid':
log_rec.c:411:1: warning: old-style function definition [-Wold-style-definition]
  411 | __log_rem_logid(logp, ndx)
      | ^~~~~~~~~~~~~~~
log_rec.c: In function '__log_lid_to_fname':
log_rec.c:429:1: warning: old-style function definition [-Wold-style-definition]
  429 | __log_lid_to_fname(edblp, lid, fnamep)
      | ^~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o hash.lo hash.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c hash.c  -fPIC -DPIC -o .libs/hash.o
hash.c: In function '__ham_open':
hash.c:94:1: warning: old-style function definition [-Wold-style-definition]
   94 | __ham_open(edbp, edbinfo)
      | ^~~~~~~~~~
hash.c: In function '__ham_close':
hash.c:188:1: warning: old-style function definition [-Wold-style-definition]
  188 | __ham_close(edbp)
      | ^~~~~~~~~~~
hash.c: In function '__ham_init_htab':
hash.c:200:1: warning: old-style function definition [-Wold-style-definition]
  200 | __ham_init_htab(edbc, nelem, ffactor)
      | ^~~~~~~~~~~~~~~
hash.c: In function '__ham_delete':
hash.c:237:1: warning: old-style function definition [-Wold-style-definition]
  237 | __ham_delete(edbp, txn, key, flags)
      | ^~~~~~~~~~~~
hash.c: In function '__ham_c_init':
hash.c:284:1: warning: old-style function definition [-Wold-style-definition]
  284 | __ham_c_init(edbc)
      | ^~~~~~~~~~~~
hash.c: In function '__ham_c_close':
hash.c:317:1: warning: old-style function definition [-Wold-style-definition]
  317 | __ham_c_close(edbc)
      | ^~~~~~~~~~~~~
hash.c: In function '__ham_c_destroy':
hash.c:334:1: warning: old-style function definition [-Wold-style-definition]
  334 | __ham_c_destroy(edbc)
      | ^~~~~~~~~~~~~~~
hash.c: In function '__ham_c_del':
hash.c:348:1: warning: old-style function definition [-Wold-style-definition]
  348 | __ham_c_del(edbc, flags)
      | ^~~~~~~~~~~
In file included from hash.c:61:
edb_int.h:70:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   70 | #define SSZ(name, field)        ((int)&(((name *)0)->field))
      |                                  ^
edb_page.h:364:52: note: in expansion of macro 'SSZ'
  364 | #define HOFFDUP_PGNO(p)         (((u_int8_t *)p) + SSZ(HOFFDUP, pgno))
      |                                                    ^~~
hash.c:455:40: note: in expansion of macro 'HOFFDUP_PGNO'
  455 |                                 memcpy(HOFFDUP_PGNO(P_ENTRY(hcp->pagep,
      |                                        ^~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
edb_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA'
  333 | #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx))
      |                                    ^~~~~~~~~~~~
hash.c:474:21: note: in expansion of macro 'LEN_HDATA'
  474 |                     LEN_HDATA(hcp->pagep, hcp->hdr->pagesize, hcp->bndx))
      |                     ^~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
hash.c:483:29: note: in expansion of macro 'HKEYDATA_DATA'
  483 |                             HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx));
      |                             ^~~~~~~~~~~~~
hash.c: In function '__ham_c_get':
hash.c:506:1: warning: old-style function definition [-Wold-style-definition]
  506 | __ham_c_get(edbc, key, data, flags)
      | ^~~~~~~~~~~
hash.c: In function '__ham_c_put':
hash.c:660:1: warning: old-style function definition [-Wold-style-definition]
  660 | __ham_c_put(edbc, key, data, flags)
      | ^~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:312:10: note: in expansion of macro 'HKEYDATA_SIZE'
  312 |         (HKEYDATA_SIZE(len) + sizeof(edb_indx_t))
      |          ^~~~~~~~~~~~~
hash.c:716:21: note: in expansion of macro 'HKEYDATA_PSIZE'
  716 |                     HKEYDATA_PSIZE(key->size)) +
      |                     ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:312:10: note: in expansion of macro 'HKEYDATA_SIZE'
  312 |         (HKEYDATA_SIZE(len) + sizeof(edb_indx_t))
      |          ^~~~~~~~~~~~~
hash.c:718:21: note: in expansion of macro 'HKEYDATA_PSIZE'
  718 |                     HKEYDATA_PSIZE(data->size));
      |                     ^~~~~~~~~~~~~~
hash.c: In function '__ham_expand_table':
hash.c:792:1: warning: old-style function definition [-Wold-style-definition]
  792 | __ham_expand_table(edbc)
      | ^~~~~~~~~~~~~~~~~~
hash.c: In function '__ham_call_hash':
hash.c:877:1: warning: old-style function definition [-Wold-style-definition]
  877 | __ham_call_hash(hcp, k, len)
      | ^~~~~~~~~~~~~~~
hash.c: In function '__ham_dup_return':
hash.c:897:1: warning: old-style function definition [-Wold-style-definition]
  897 | __ham_dup_return(edbc, val, flags)
      | ^~~~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
edb_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA'
  333 | #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx))
      |                                    ^~~~~~~~~~~~
hash.c:937:41: note: in expansion of macro 'LEN_HDATA'
  937 |                         hcp->dup_tlen = LEN_HDATA(hcp->pagep,
      |                                         ^~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
hash.c:945:45: note: in expansion of macro 'HKEYDATA_DATA'
  945 |                                             HKEYDATA_DATA(hk) + hcp->dup_off,
      |                                             ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
hash.c:954:37: note: in expansion of macro 'HKEYDATA_DATA'
  954 |                                     HKEYDATA_DATA(hk), sizeof(edb_indx_t));
      |                                     ^~~~~~~~~~~~~
edb_int.h:70:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   70 | #define SSZ(name, field)        ((int)&(((name *)0)->field))
      |                                  ^
edb_page.h:364:52: note: in expansion of macro 'SSZ'
  364 | #define HOFFDUP_PGNO(p)         (((u_int8_t *)p) + SSZ(HOFFDUP, pgno))
      |                                                    ^~~
hash.c:961:39: note: in expansion of macro 'HOFFDUP_PGNO'
  961 |                         memcpy(&pgno, HOFFDUP_PGNO(P_ENTRY(hcp->pagep, ndx)),
      |                                       ^~~~~~~~~~~~
edb_int.h:70:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   70 | #define SSZ(name, field)        ((int)&(((name *)0)->field))
      |                                  ^
edb_page.h:347:52: note: in expansion of macro 'SSZ'
  347 | #define HOFFPAGE_TLEN(p)        (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen))
      |                                                    ^~~
hash.c:996:37: note: in expansion of macro 'HOFFPAGE_TLEN'
  996 |                                     HOFFPAGE_TLEN(hk), sizeof(u_int32_t));
      |                                     ^~~~~~~~~~~~~
edb_int.h:70:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   70 | #define SSZ(name, field)        ((int)&(((name *)0)->field))
      |                                  ^
edb_page.h:346:52: note: in expansion of macro 'SSZ'
  346 | #define HOFFPAGE_PGNO(p)        (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno))
      |                                                    ^~~
hash.c:998:37: note: in expansion of macro 'HOFFPAGE_PGNO'
  998 |                                     HOFFPAGE_PGNO(hk), sizeof(edb_pgno_t));
      |                                     ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
hash.c:1007:48: note: in expansion of macro 'HKEYDATA_DATA'
 1007 |                                 tmp_val.data = HKEYDATA_DATA(hk);
      |                                                ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
edb_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA'
  333 | #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx))
      |                                    ^~~~~~~~~~~~
hash.c:1008:48: note: in expansion of macro 'LEN_HDATA'
 1008 |                                 tmp_val.size = LEN_HDATA(hcp->pagep,
      |                                                ^~~~~~~~~
hash.c: In function '__ham_overwrite':
hash.c:1081:1: warning: old-style function definition [-Wold-style-definition]
 1081 | __ham_overwrite(edbc, nval)
      | ^~~~~~~~~~~~~~~
edb_int.h:70:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   70 | #define SSZ(name, field)        ((int)&(((name *)0)->field))
      |                                  ^
edb_page.h:347:52: note: in expansion of macro 'SSZ'
  347 | #define HOFFPAGE_TLEN(p)        (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen))
      |                                                    ^~~
hash.c:1100:29: note: in expansion of macro 'HOFFPAGE_TLEN'
 1100 |                             HOFFPAGE_TLEN(hk), sizeof(u_int32_t));
      |                             ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
edb_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA'
  333 | #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx))
      |                                    ^~~~~~~~~~~~
hash.c:1102:40: note: in expansion of macro 'LEN_HDATA'
 1102 |                         tmp_val.dlen = LEN_HDATA(hcp->pagep,
      |                                        ^~~~~~~~~
hash.c: In function '__ham_lookup':
hash.c:1121:1: warning: old-style function definition [-Wold-style-definition]
 1121 | __ham_lookup(edbc, key, sought, mode)
      | ^~~~~~~~~~~~
edb_int.h:70:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   70 | #define SSZ(name, field)        ((int)&(((name *)0)->field))
      |                                  ^
edb_page.h:347:52: note: in expansion of macro 'SSZ'
  347 | #define HOFFPAGE_TLEN(p)        (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen))
      |                                                    ^~~
hash.c:1155:39: note: in expansion of macro 'HOFFPAGE_TLEN'
 1155 |                         memcpy(&tlen, HOFFPAGE_TLEN(hk), sizeof(u_int32_t));
      |                                       ^~~~~~~~~~~~~
edb_int.h:70:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   70 | #define SSZ(name, field)        ((int)&(((name *)0)->field))
      |                                  ^
edb_page.h:346:52: note: in expansion of macro 'SSZ'
  346 | #define HOFFPAGE_PGNO(p)        (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno))
      |                                                    ^~~
hash.c:1158:37: note: in expansion of macro 'HOFFPAGE_PGNO'
 1158 |                                     HOFFPAGE_PGNO(hk), sizeof(edb_pgno_t));
      |                                     ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
edb_page.h:334:35: note: in expansion of macro 'LEN_HKEYDATA'
  334 | #define LEN_HKEY(p, psize, pindx) LEN_HKEYDATA(p, psize, H_KEYINDEX(pindx))
      |                                   ^~~~~~~~~~~~
hash.c:1169:42: note: in expansion of macro 'LEN_HKEY'
 1169 |                         if (key->size == LEN_HKEY(hcp->pagep,
      |                                          ^~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
hash.c:1172:29: note: in expansion of macro 'HKEYDATA_DATA'
 1172 |                             HKEYDATA_DATA(hk), key->size) == 0) {
      |                             ^~~~~~~~~~~~~
hash.c: In function '__ham_init_edbt':
hash.c:1206:1: warning: old-style function definition [-Wold-style-definition]
 1206 | __ham_init_edbt(edbt, size, bufp, sizep)
      | ^~~~~~~~~~~~~~~
hash.c: In function '__ham_c_update':
hash.c:1241:1: warning: old-style function definition [-Wold-style-definition]
 1241 | __ham_c_update(hcp, chg_pgno, len, add, is_dup)
      | ^~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o hash_auto.lo hash_auto.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c hash_auto.c  -fPIC -DPIC -o .libs/hash_auto.o
hash_auto.c: In function '__ham_insdel_log':
hash_auto.c:23:5: warning: old-style function definition [-Wold-style-definition]
   23 | int __ham_insdel_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_insdel_print':
hash_auto.c:119:1: warning: old-style function definition [-Wold-style-definition]
  119 | __ham_insdel_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_insdel_read':
hash_auto.c:179:1: warning: old-style function definition [-Wold-style-definition]
  179 | __ham_insdel_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_newpage_log':
hash_auto.c:227:5: warning: old-style function definition [-Wold-style-definition]
  227 | int __ham_newpage_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_newpage_print':
hash_auto.c:316:1: warning: old-style function definition [-Wold-style-definition]
  316 | __ham_newpage_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_newpage_read':
hash_auto.c:363:1: warning: old-style function definition [-Wold-style-definition]
  363 | __ham_newpage_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_splitmeta_log':
hash_auto.c:409:5: warning: old-style function definition [-Wold-style-definition]
  409 | int __ham_splitmeta_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_splitmeta_print':
hash_auto.c:479:1: warning: old-style function definition [-Wold-style-definition]
  479 | __ham_splitmeta_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_splitmeta_read':
hash_auto.c:521:1: warning: old-style function definition [-Wold-style-definition]
  521 | __ham_splitmeta_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_splitdata_log':
hash_auto.c:561:5: warning: old-style function definition [-Wold-style-definition]
  561 | int __ham_splitdata_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_splitdata_print':
hash_auto.c:640:1: warning: old-style function definition [-Wold-style-definition]
  640 | __ham_splitdata_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_splitdata_read':
hash_auto.c:690:1: warning: old-style function definition [-Wold-style-definition]
  690 | __ham_splitdata_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_replace_log':
hash_auto.c:732:5: warning: old-style function definition [-Wold-style-definition]
  732 | int __ham_replace_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_replace_print':
hash_auto.c:832:1: warning: old-style function definition [-Wold-style-definition]
  832 | __ham_replace_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_replace_read':
hash_auto.c:893:1: warning: old-style function definition [-Wold-style-definition]
  893 | __ham_replace_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_newpgno_log':
hash_auto.c:944:5: warning: old-style function definition [-Wold-style-definition]
  944 | int __ham_newpgno_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_newpgno_print':
hash_auto.c:1034:1: warning: old-style function definition [-Wold-style-definition]
 1034 | __ham_newpgno_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_newpgno_read':
hash_auto.c:1081:1: warning: old-style function definition [-Wold-style-definition]
 1081 | __ham_newpgno_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_ovfl_log':
hash_auto.c:1129:5: warning: old-style function definition [-Wold-style-definition]
 1129 | int __ham_ovfl_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~
hash_auto.c: In function '__ham_ovfl_print':
hash_auto.c:1203:1: warning: old-style function definition [-Wold-style-definition]
 1203 | __ham_ovfl_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_ovfl_read':
hash_auto.c:1246:1: warning: old-style function definition [-Wold-style-definition]
 1246 | __ham_ovfl_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_copypage_log':
hash_auto.c:1288:5: warning: old-style function definition [-Wold-style-definition]
 1288 | int __ham_copypage_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_copypage_print':
hash_auto.c:1386:1: warning: old-style function definition [-Wold-style-definition]
 1386 | __ham_copypage_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_copypage_read':
hash_auto.c:1441:1: warning: old-style function definition [-Wold-style-definition]
 1441 | __ham_copypage_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_init_print':
hash_auto.c:1487:1: warning: old-style function definition [-Wold-style-definition]
 1487 | __ham_init_print(edbenv)
      | ^~~~~~~~~~~~~~~~
hash_auto.c: In function '__ham_init_recover':
hash_auto.c:1523:1: warning: old-style function definition [-Wold-style-definition]
 1523 | __ham_init_recover(edbenv)
      | ^~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o os_oflags.lo os_oflags.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c os_oflags.c  -fPIC -DPIC -o .libs/os_oflags.o
os_oflags.c: In function '__edb_oflags':
os_oflags.c:30:1: warning: old-style function definition [-Wold-style-definition]
   30 | __edb_oflags(oflags)
      | ^~~~~~~~~~~~
os_oflags.c: In function '__edb_omode':
os_oflags.c:63:1: warning: old-style function definition [-Wold-style-definition]
   63 | __edb_omode(perm)
      | ^~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o hash_dup.lo hash_dup.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c hash_dup.c  -fPIC -DPIC -o .libs/hash_dup.o
hash_dup.c: In function '__ham_add_dup':
hash_dup.c:93:1: warning: old-style function definition [-Wold-style-definition]
   93 | __ham_add_dup(edbc, nval, flags)
      | ^~~~~~~~~~~~~
In file included from hash_dup.c:68:
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
hash_dup.c:124:53: note: in expansion of macro 'LEN_HKEYDATA'
  124 |         new_size = DUP_SIZE(nval->size) - del_len + LEN_HKEYDATA(hcp->pagep,
      |                                                     ^~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
edb_page.h:219:48: note: in expansion of macro 'LOFFSET'
  219 | #define P_FREESPACE(pg)         (HOFFSET(pg) - LOFFSET(pg))
      |                                                ^~~~~~~
hash_dup.c:134:46: note: in expansion of macro 'P_FREESPACE'
  134 |             DUP_SIZE(nval->size) - del_len > P_FREESPACE(hcp->pagep))) {
      |                                              ^~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
hash_dup.c:147:37: note: in expansion of macro 'HKEYDATA_DATA'
  147 |                         pval.data = HKEYDATA_DATA(hk);
      |                                     ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
edb_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA'
  333 | #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx))
      |                                    ^~~~~~~~~~~~
hash_dup.c:148:37: note: in expansion of macro 'LEN_HDATA'
  148 |                         pval.size = LEN_HDATA(hcp->pagep, edbp->pgsize,
      |                                     ^~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
edb_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA'
  333 | #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx))
      |                                    ^~~~~~~~~~~~
hash_dup.c:171:48: note: in expansion of macro 'LEN_HDATA'
  171 |                                 tmp_val.doff = LEN_HDATA(hcp->pagep,
      |                                                ^~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
hash_dup.c:180:45: note: in expansion of macro 'HKEYDATA_DATA'
  180 |                                 edbt.data = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep,
      |                                             ^~~~~~~~~~~~~
edb_int.h:70:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   70 | #define SSZ(name, field)        ((int)&(((name *)0)->field))
      |                                  ^
edb_page.h:364:52: note: in expansion of macro 'SSZ'
  364 | #define HOFFDUP_PGNO(p)         (((u_int8_t *)p) + SSZ(HOFFDUP, pgno))
      |                                                    ^~~
hash_dup.c:206:37: note: in expansion of macro 'HOFFDUP_PGNO'
  206 |                 memcpy(&hcp->dpgno, HOFFDUP_PGNO(hk), sizeof(edb_pgno_t));
      |                                     ^~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
hash_dup.c:245:35: note: in expansion of macro 'BKEYDATA_SIZE'
  245 |                         del_len = BKEYDATA_SIZE(GET_BKEYDATA(hcp->dpagep,
      |                                   ^~~~~~~~~~~~~
hash_dup.c: In function '__ham_dup_convert':
hash_dup.c:274:1: warning: old-style function definition [-Wold-style-definition]
  274 | __ham_dup_convert(edbc)
      | ^~~~~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
edb_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA'
  333 | #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx))
      |                                    ^~~~~~~~~~~~
hash_dup.c:306:21: note: in expansion of macro 'LEN_HDATA'
  306 |                     LEN_HDATA(hcp->pagep, hcp->hdr->pagesize, hcp->bndx);
      |                     ^~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
hash_dup.c:307:29: note: in expansion of macro 'HKEYDATA_DATA'
  307 |                 edbt.data = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx));
      |                             ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_int.h:54:36: note: in definition of macro 'ALIGN'
   54 | #define ALIGN(value, bound)     (((value) + (bound) - 1) & ~((bound) - 1))
      |                                    ^~~~~
edb_page.h:418:23: note: in expansion of macro 'SSZA'
  418 |         ALIGN((len) + SSZA(BKEYDATA, data), 4)
      |                       ^~~~
hash_dup.c:309:38: note: in expansion of macro 'BKEYDATA_SIZE'
  309 |                     (u_int32_t)dndx, BKEYDATA_SIZE(edbt.size), NULL, &edbt);
      |                                      ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
hash_dup.c:331:21: note: in expansion of macro 'HKEYDATA_DATA'
  331 |                 p = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx));
      |                     ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
edb_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA'
  333 | #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx))
      |                                    ^~~~~~~~~~~~
hash_dup.c:333:21: note: in expansion of macro 'LEN_HDATA'
  333 |                     LEN_HDATA(hcp->pagep, hcp->hdr->pagesize, hcp->bndx);
      |                     ^~~~~~~~~
hash_dup.c: In function '__ham_make_dup':
hash_dup.c:380:1: warning: old-style function definition [-Wold-style-definition]
  380 | __ham_make_dup(notdup, duplicate, bufp, sizep)
      | ^~~~~~~~~~~~~~
hash_dup.c: In function '__ham_check_move':
hash_dup.c:413:1: warning: old-style function definition [-Wold-style-definition]
  413 | __ham_check_move(edbc, add_len)
      | ^~~~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
hash_dup.c:444:33: note: in expansion of macro 'HKEYDATA_SIZE'
  444 |         new_datalen = old_len - HKEYDATA_SIZE(0) + add_len;
      |                                 ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
edb_page.h:219:48: note: in expansion of macro 'LOFFSET'
  219 | #define P_FREESPACE(pg)         (HOFFSET(pg) - LOFFSET(pg))
      |                                                ^~~~~~~
hash_dup.c:455:39: note: in expansion of macro 'P_FREESPACE'
  455 |             HOFFDUP_SIZE - old_len <= P_FREESPACE(hcp->pagep)))
      |                                       ^~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
edb_page.h:219:48: note: in expansion of macro 'LOFFSET'
  219 | #define P_FREESPACE(pg)         (HOFFSET(pg) - LOFFSET(pg))
      |                                                ^~~~~~~
hash_dup.c:459:33: note: in expansion of macro 'P_FREESPACE'
  459 |             add_len <= (int32_t)P_FREESPACE(hcp->pagep))
      |                                 ^~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
hash_dup.c:468:28: note: in expansion of macro 'HKEYDATA_SIZE'
  468 |             HOFFDUP_SIZE : HKEYDATA_SIZE(new_datalen);
      |                            ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
edb_page.h:219:48: note: in expansion of macro 'LOFFSET'
  219 | #define P_FREESPACE(pg)         (HOFFSET(pg) - LOFFSET(pg))
      |                                                ^~~~~~~
hash_dup.c:481:21: note: in expansion of macro 'P_FREESPACE'
  481 |                 if (P_FREESPACE(next_pagep) >= new_datalen)
      |                     ^~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
edb_page.h:219:48: note: in expansion of macro 'LOFFSET'
  219 | #define P_FREESPACE(pg)         (HOFFSET(pg) - LOFFSET(pg))
      |                                                ^~~~~~~
hash_dup.c:491:13: note: in expansion of macro 'P_FREESPACE'
  491 |         if (P_FREESPACE(next_pagep) < new_datalen && (ret =
      |             ^~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
hash_dup.c:507:29: note: in expansion of macro 'HKEYDATA_DATA'
  507 |                             HKEYDATA_DATA(H_PAIRKEY(hcp->pagep, hcp->bndx));
      |                             ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
edb_page.h:334:35: note: in expansion of macro 'LEN_HKEYDATA'
  334 | #define LEN_HKEY(p, psize, pindx) LEN_HKEYDATA(p, psize, H_KEYINDEX(pindx))
      |                                   ^~~~~~~~~~~~
hash_dup.c:508:34: note: in expansion of macro 'LEN_HKEY'
  508 |                         k.size = LEN_HKEY(hcp->pagep,
      |                                  ^~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
hash_dup.c:518:29: note: in expansion of macro 'HKEYDATA_DATA'
  518 |                             HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx));
      |                             ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
edb_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA'
  333 | #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx))
      |                                    ^~~~~~~~~~~~
hash_dup.c:519:34: note: in expansion of macro 'LEN_HDATA'
  519 |                         d.size = LEN_HDATA(hcp->pagep,
      |                                  ^~~~~~~~~
hash_dup.c: In function '__ham_move_offpage':
hash_dup.c:563:1: warning: old-style function definition [-Wold-style-definition]
  563 | __ham_move_offpage(edbc, pagep, ndx, pgno)
      | ^~~~~~~~~~~~~~~~~~
hash_dup.c: In function '__ham_dsearch':
hash_dup.c:622:1: warning: old-style function definition [-Wold-style-definition]
  622 | __ham_dsearch(edbc, edbt, offp, cmpp)
      | ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
hash_dup.c:643:16: note: in expansion of macro 'HKEYDATA_DATA'
  643 |         data = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)) + i;
      |                ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
edb_page.h:333:36: note: in expansion of macro 'LEN_HKEYDATA'
  333 | #define LEN_HDATA(p, psize, pindx) LEN_HKEYDATA(p, psize, H_DATAINDEX(pindx))
      |                                    ^~~~~~~~~~~~
hash_dup.c:644:20: note: in expansion of macro 'LEN_HDATA'
  644 |         while (i < LEN_HDATA(hcp->pagep, hcp->hdr->pagesize, hcp->bndx)) {
      |                    ^~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o os_map.lo os_map.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c os_map.c  -fPIC -DPIC -o .libs/os_map.o
os_map.c: In function '__edb_mapanon_ok':
os_map.c:47:1: warning: old-style function definition [-Wold-style-definition]
   47 | __edb_mapanon_ok(need_names)
      | ^~~~~~~~~~~~~~~~
os_map.c: In function '__edb_mapregion':
os_map.c:115:1: warning: old-style function definition [-Wold-style-definition]
  115 | __edb_mapregion(path, infop)
      | ^~~~~~~~~~~~~~~
os_map.c: In function '__edb_unmapregion':
os_map.c:225:1: warning: old-style function definition [-Wold-style-definition]
  225 | __edb_unmapregion(infop)
      | ^~~~~~~~~~~~~~~~~
os_map.c: In function '__edb_unlinkregion':
os_map.c:258:1: warning: old-style function definition [-Wold-style-definition]
  258 | __edb_unlinkregion(name, infop)
      | ^~~~~~~~~~~~~~~~~~
os_map.c: In function '__edb_mapfile':
os_map.c:293:1: warning: old-style function definition [-Wold-style-definition]
  293 | __edb_mapfile(path, fd, len, is_rdonly, addr)
      | ^~~~~~~~~~~~~
os_map.c: In function '__edb_unmapfile':
os_map.c:316:1: warning: old-style function definition [-Wold-style-definition]
  316 | __edb_unmapfile(addr, len)
      | ^~~~~~~~~~~~~~~
os_map.c: In function '__edb_os_map':
os_map.c:336:1: warning: old-style function definition [-Wold-style-definition]
  336 | __edb_os_map(path, fd, len, is_region, is_anonymous, is_rdonly, addr)
      | ^~~~~~~~~~~~
os_map.c: In function '__edb_os_shmget':
os_map.c:427:1: warning: old-style function definition [-Wold-style-definition]
  427 | __edb_os_shmget(infop)
      | ^~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o log_register.lo log_register.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c log_register.c  -fPIC -DPIC -o .libs/log_register.o
log_register.c: In function 'log_register':
log_register.c:30:1: warning: old-style function definition [-Wold-style-definition]
   30 | log_register(edblp, edbp, name, type, idp)
      | ^~~~~~~~~~~~
log_register.c: In function 'log_unregister':
log_register.c:152:1: warning: old-style function definition [-Wold-style-definition]
  152 | log_unregister(edblp, fid)
      | ^~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb.lo edb.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb.c  -fPIC -DPIC -o .libs/edb.o
edb.c: In function 'edb_open':
edb.c:92:1: warning: old-style function definition [-Wold-style-definition]
   92 | edb_open(fname, type, flags, mode, edbenv, edbinfo, edbpp)
      | ^~~~~~~~
edb.c: In function '__edb_close':
edb.c:719:1: warning: old-style function definition [-Wold-style-definition]
  719 | __edb_close(edbp, flags)
      | ^~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_am.lo edb_am.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb_am.c  -fPIC -DPIC -o .libs/edb_am.o
edb_am.c: In function '__edb_init_wrapper':
edb_am.c:45:1: warning: old-style function definition [-Wold-style-definition]
   45 | __edb_init_wrapper(edbp)
      | ^~~~~~~~~~~~~~~~~~
edb_am.c: In function '__edb_cursor':
edb_am.c:66:1: warning: old-style function definition [-Wold-style-definition]
   66 | __edb_cursor(edbp, txn, edbcp, flags)
      | ^~~~~~~~~~~~
edb_am.c: In function '__edb_c_close':
edb_am.c:175:1: warning: old-style function definition [-Wold-style-definition]
  175 | __edb_c_close(edbc)
      | ^~~~~~~~~~~~~
edb_am.c: In function '__edb_c_destroy':
edb_am.c:278:1: warning: old-style function definition [-Wold-style-definition]
  278 | __edb_c_destroy(edbc)
      | ^~~~~~~~~~~~~~~
edb_am.c: In function '__edb_fd':
edb_am.c:309:1: warning: old-style function definition [-Wold-style-definition]
  309 | __edb_fd(edbp, fdp)
      | ^~~~~~~~
edb_am.c: In function '__edb_get':
edb_am.c:327:1: warning: old-style function definition [-Wold-style-definition]
  327 | __edb_get(edbp, txn, key, data, flags)
      | ^~~~~~~~~
edb_am.c: In function '__edb_put':
edb_am.c:360:1: warning: old-style function definition [-Wold-style-definition]
  360 | __edb_put(edbp, txn, key, data, flags)
      | ^~~~~~~~~
edb_am.c: In function '__edb_sync':
edb_am.c:410:1: warning: old-style function definition [-Wold-style-definition]
  410 | __edb_sync(edbp, flags)
      | ^~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_byteorder.lo edb_byteorder.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb_byteorder.c  -fPIC -DPIC -o .libs/edb_byteorder.o
edb_byteorder.c: In function '__edb_byteorder':
edb_byteorder.c:38:1: warning: old-style function definition [-Wold-style-definition]
   38 | __edb_byteorder(edbenv, lorder)
      | ^~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_log2.lo edb_log2.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb_log2.c  -fPIC -DPIC -o .libs/edb_log2.o
edb_log2.c: In function '__edb_log2':
edb_log2.c:60:1: warning: old-style function definition [-Wold-style-definition]
   60 | __edb_log2(num)
      | ^~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_err.lo edb_err.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb_err.c  -fPIC -DPIC -o .libs/edb_err.o
edb_err.c: In function '__edb_fchk':
edb_err.c:49:1: warning: old-style function definition [-Wold-style-definition]
   49 | __edb_fchk(edbenv, name, flags, ok_flags)
      | ^~~~~~~~~~
edb_err.c: In function '__edb_fcchk':
edb_err.c:65:1: warning: old-style function definition [-Wold-style-definition]
   65 | __edb_fcchk(edbenv, name, flags, flag1, flag2)
      | ^~~~~~~~~~~
edb_err.c: In function '__edb_ferr':
edb_err.c:81:1: warning: old-style function definition [-Wold-style-definition]
   81 | __edb_ferr(edbenv, name, iscombo)
      | ^~~~~~~~~~
edb_err.c: In function '__edb_pgerr':
edb_err.c:150:1: warning: old-style function definition [-Wold-style-definition]
  150 | __edb_pgerr(edbp, pgno)
      | ^~~~~~~~~~~
edb_err.c: In function '__edb_pgfmt':
edb_err.c:171:1: warning: old-style function definition [-Wold-style-definition]
  171 | __edb_pgfmt(edbp, pgno)
      | ^~~~~~~~~~~
edb_err.c: In function '__edb_panic':
edb_err.c:187:1: warning: old-style function definition [-Wold-style-definition]
  187 | __edb_panic(edbenv, errval)
      | ^~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_apprec.lo edb_apprec.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb_apprec.c  -fPIC -DPIC -o .libs/edb_apprec.o
edb_apprec.c: In function '__edb_apprec':
edb_apprec.c:41:1: warning: old-style function definition [-Wold-style-definition]
   41 | __edb_apprec(edbenv, flags)
      | ^~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_shash.lo edb_shash.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb_shash.c  -fPIC -DPIC -o .libs/edb_shash.o
edb_shash.c: In function '__edb_tablesize':
edb_shash.c:82:1: warning: old-style function definition [-Wold-style-definition]
   82 | __edb_tablesize(n_buckets)
      | ^~~~~~~~~~~~~~~
edb_shash.c: In function '__edb_hashinit':
edb_shash.c:115:1: warning: old-style function definition [-Wold-style-definition]
  115 | __edb_hashinit(begin, nelements)
      | ^~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mp_bh.lo mp_bh.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c mp_bh.c  -fPIC -DPIC -o .libs/mp_bh.o
mp_bh.c: In function '__memp_bhwrite':
mp_bh.c:37:1: warning: old-style function definition [-Wold-style-definition]
   37 | __memp_bhwrite(edbmp, mfp, bhp, restartp, wrotep)
      | ^~~~~~~~~~~~~~
mp_bh.c: In function '__memp_pgread':
mp_bh.c:147:1: warning: old-style function definition [-Wold-style-definition]
  147 | __memp_pgread(edbmfp, bhp, can_create)
      | ^~~~~~~~~~~~~
mp_bh.c: In function '__memp_pgwrite':
mp_bh.c:257:1: warning: old-style function definition [-Wold-style-definition]
  257 | __memp_pgwrite(edbmfp, bhp, restartp, wrotep)
      | ^~~~~~~~~~~~~~
mp_bh.c: In function '__memp_pg':
mp_bh.c:460:1: warning: old-style function definition [-Wold-style-definition]
  460 | __memp_pg(edbmfp, bhp, is_pgin)
      | ^~~~~~~~~
mp_bh.c: In function '__memp_bhfree':
mp_bh.c:519:1: warning: old-style function definition [-Wold-style-definition]
  519 | __memp_bhfree(edbmp, mfp, bhp, free_mem)
      | ^~~~~~~~~~~~~
mp_bh.c: In function '__memp_upgrade':
mp_bh.c:549:1: warning: old-style function definition [-Wold-style-definition]
  549 | __memp_upgrade(edbmp, edbmfp, mfp)
      | ^~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o btree_auto.lo btree_auto.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c btree_auto.c  -fPIC -DPIC -o .libs/btree_auto.o
btree_auto.c: In function '__bam_pg_alloc_log':
btree_auto.c:23:5: warning: old-style function definition [-Wold-style-definition]
   23 | int __bam_pg_alloc_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_pg_alloc_print':
btree_auto.c:100:1: warning: old-style function definition [-Wold-style-definition]
  100 | __bam_pg_alloc_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_pg_alloc_read':
btree_auto.c:144:1: warning: old-style function definition [-Wold-style-definition]
  144 | __bam_pg_alloc_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_pg_free_log':
btree_auto.c:186:5: warning: old-style function definition [-Wold-style-definition]
  186 | int __bam_pg_free_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_pg_free_print':
btree_auto.c:265:1: warning: old-style function definition [-Wold-style-definition]
  265 | __bam_pg_free_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_pg_free_read':
btree_auto.c:315:1: warning: old-style function definition [-Wold-style-definition]
  315 | __bam_pg_free_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_split_log':
btree_auto.c:358:5: warning: old-style function definition [-Wold-style-definition]
  358 | int __bam_split_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_split_print':
btree_auto.c:460:1: warning: old-style function definition [-Wold-style-definition]
  460 | __bam_split_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_split_read':
btree_auto.c:516:1: warning: old-style function definition [-Wold-style-definition]
  516 | __bam_split_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_rsplit_log':
btree_auto.c:566:5: warning: old-style function definition [-Wold-style-definition]
  566 | int __bam_rsplit_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_rsplit_print':
btree_auto.c:657:1: warning: old-style function definition [-Wold-style-definition]
  657 | __bam_rsplit_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_rsplit_read':
btree_auto.c:716:1: warning: old-style function definition [-Wold-style-definition]
  716 | __bam_rsplit_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_adj_log':
btree_auto.c:762:5: warning: old-style function definition [-Wold-style-definition]
  762 | int __bam_adj_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~
btree_auto.c: In function '__bam_adj_print':
btree_auto.c:836:1: warning: old-style function definition [-Wold-style-definition]
  836 | __bam_adj_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_adj_read':
btree_auto.c:879:1: warning: old-style function definition [-Wold-style-definition]
  879 | __bam_adj_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~
btree_auto.c: In function '__bam_cadjust_log':
btree_auto.c:921:5: warning: old-style function definition [-Wold-style-definition]
  921 | int __bam_cadjust_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_cadjust_print':
btree_auto.c:995:1: warning: old-style function definition [-Wold-style-definition]
  995 | __bam_cadjust_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_cadjust_read':
btree_auto.c:1038:1: warning: old-style function definition [-Wold-style-definition]
 1038 | __bam_cadjust_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_cdel_log':
btree_auto.c:1079:5: warning: old-style function definition [-Wold-style-definition]
 1079 | int __bam_cdel_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~
btree_auto.c: In function '__bam_cdel_print':
btree_auto.c:1145:1: warning: old-style function definition [-Wold-style-definition]
 1145 | __bam_cdel_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_cdel_read':
btree_auto.c:1186:1: warning: old-style function definition [-Wold-style-definition]
 1186 | __bam_cdel_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_repl_log':
btree_auto.c:1225:5: warning: old-style function definition [-Wold-style-definition]
 1225 | int __bam_repl_log(logp, txnid, ret_lsnp, flags,
      |     ^~~~~~~~~~~~~~
btree_auto.c: In function '__bam_repl_print':
btree_auto.c:1329:1: warning: old-style function definition [-Wold-style-definition]
 1329 | __bam_repl_print(notused1, edbtp, lsnp, notused2, notused3)
      | ^~~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_repl_read':
btree_auto.c:1391:1: warning: old-style function definition [-Wold-style-definition]
 1391 | __bam_repl_read(recbuf, argpp)
      | ^~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_init_print':
btree_auto.c:1441:1: warning: old-style function definition [-Wold-style-definition]
 1441 | __bam_init_print(edbenv)
      | ^~~~~~~~~~~~~~~~
btree_auto.c: In function '__bam_init_recover':
btree_auto.c:1477:1: warning: old-style function definition [-Wold-style-definition]
 1477 | __bam_init_recover(edbenv)
      | ^~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_salloc.lo edb_salloc.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb_salloc.c  -fPIC -DPIC -o .libs/edb_salloc.o
edb_salloc.c: In function '__edb_shalloc_init':
edb_salloc.c:48:1: warning: old-style function definition [-Wold-style-definition]
   48 | __edb_shalloc_init(area, size)
      | ^~~~~~~~~~~~~~~~~~
edb_salloc.c: In function '__edb_shalloc':
edb_salloc.c:70:1: warning: old-style function definition [-Wold-style-definition]
   70 | __edb_shalloc(p, len, align, retp)
      | ^~~~~~~~~~~~~
edb_salloc.c: In function '__edb_shalloc_free':
edb_salloc.c:152:1: warning: old-style function definition [-Wold-style-definition]
  152 | __edb_shalloc_free(regionp, ptr)
      | ^~~~~~~~~~~~~~~~~~
edb_salloc.c: In function '__edb_shalloc_count':
edb_salloc.c:239:1: warning: old-style function definition [-Wold-style-definition]
  239 | __edb_shalloc_count(addr)
      | ^~~~~~~~~~~~~~~~~~~
edb_salloc.c: In function '__edb_shsizeof':
edb_salloc.c:261:1: warning: old-style function definition [-Wold-style-definition]
  261 | __edb_shsizeof(ptr)
      | ^~~~~~~~~~~~~~
edb_salloc.c: In function '__edb_shalloc_dump':
edb_salloc.c:284:1: warning: old-style function definition [-Wold-style-definition]
  284 | __edb_shalloc_dump(addr, fp)
      | ^~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_region.lo edb_region.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb_region.c  -fPIC -DPIC -o .libs/edb_region.o
edb_region.c: In function '__edb_rattach':
edb_region.c:34:1: warning: old-style function definition [-Wold-style-definition]
   34 | __edb_rattach(infop)
      | ^~~~~~~~~~~~~
edb_region.c: In function '__edb_rdetach':
edb_region.c:499:1: warning: old-style function definition [-Wold-style-definition]
  499 | __edb_rdetach(infop)
      | ^~~~~~~~~~~~~
edb_region.c: In function '__edb_runlink':
edb_region.c:584:1: warning: old-style function definition [-Wold-style-definition]
  584 | __edb_runlink(infop, force)
      | ^~~~~~~~~~~~~
edb_region.c: In function '__edb_rgrow':
edb_region.c:696:1: warning: old-style function definition [-Wold-style-definition]
  696 | __edb_rgrow(infop, new_size)
      | ^~~~~~~~~~~
edb_region.c: In function '__edb_growregion':
edb_region.c:736:1: warning: old-style function definition [-Wold-style-definition]
  736 | __edb_growregion(infop, increment)
      | ^~~~~~~~~~~~~~~~
edb_region.c: In function '__edb_rreattach':
edb_region.c:836:1: warning: old-style function definition [-Wold-style-definition]
  836 | __edb_rreattach(infop, new_size)
      | ^~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_appinit.lo edb_appinit.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c edb_appinit.c  -fPIC -DPIC -o .libs/edb_appinit.o
edb_appinit.c: In function 'edb_version':
edb_appinit.c:56:1: warning: old-style function definition [-Wold-style-definition]
   56 | edb_version(majverp, minverp, patchp)
      | ^~~~~~~~~~~
edb_appinit.c: In function 'edb_appinit':
edb_appinit.c:73:1: warning: old-style function definition [-Wold-style-definition]
   73 | edb_appinit(edb_home, edb_config, edbenv, flags)
      | ^~~~~~~~~~~
edb_appinit.c: In function 'edb_appexit':
edb_appinit.c:259:1: warning: old-style function definition [-Wold-style-definition]
  259 | edb_appexit(edbenv)
      | ^~~~~~~~~~~
edb_appinit.c: In function '__edb_appname':
edb_appinit.c:328:1: warning: old-style function definition [-Wold-style-definition]
  328 | __edb_appname(edbenv, appname, dir, file, tmp_oflags, fdp, namep)
      | ^~~~~~~~~~~~~
edb_appinit.c: In function '__edb_home':
edb_appinit.c:528:1: warning: old-style function definition [-Wold-style-definition]
  528 | __edb_home(edbenv, edb_home, flags)
      | ^~~~~~~~~~
edb_appinit.c: In function '__edb_parse':
edb_appinit.c:564:1: warning: old-style function definition [-Wold-style-definition]
  564 | __edb_parse(edbenv, s)
      | ^~~~~~~~~~~
edb_appinit.c: In function '__edb_tmp_open':
edb_appinit.c:643:1: warning: old-style function definition [-Wold-style-definition]
  643 | __edb_tmp_open(edbenv, flags, path, fdp)
      | ^~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\"  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o hash_page.lo hash_page.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../src -DLIBDIR=\"/usr/lib64\" -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c hash_page.c  -fPIC -DPIC -o .libs/hash_page.o
hash_page.c: In function '__ham_item':
hash_page.c:90:1: warning: old-style function definition [-Wold-style-definition]
   90 | __ham_item(edbc, mode)
      | ^~~~~~~~~~
In file included from hash_page.c:76:
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
edb_page.h:219:48: note: in expansion of macro 'LOFFSET'
  219 | #define P_FREESPACE(pg)         (HOFFSET(pg) - LOFFSET(pg))
      |                                                ^~~~~~~
hash_page.c:112:33: note: in expansion of macro 'P_FREESPACE'
  112 |             && hcp->seek_size < P_FREESPACE(hcp->pagep))
      |                                 ^~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
hash_page.c:123:21: note: in expansion of macro 'HKEYDATA_DATA'
  123 |                     HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)) +
      |                     ^~~~~~~~~~~~~
hash_page.c: In function '__ham_item_reset':
hash_page.c:176:1: warning: old-style function definition [-Wold-style-definition]
  176 | __ham_item_reset(edbc)
      | ^~~~~~~~~~~~~~~~
hash_page.c: In function '__ham_item_init':
hash_page.c:199:1: warning: old-style function definition [-Wold-style-definition]
  199 | __ham_item_init(hcp)
      | ^~~~~~~~~~~~~~~
hash_page.c: In function '__ham_item_done':
hash_page.c:235:1: warning: old-style function definition [-Wold-style-definition]
  235 | __ham_item_done(edbc, dirty)
      | ^~~~~~~~~~~~~~~
hash_page.c: In function '__ham_item_last':
hash_page.c:272:1: warning: old-style function definition [-Wold-style-definition]
  272 | __ham_item_last(edbc, mode)
      | ^~~~~~~~~~~~~~~
hash_page.c: In function '__ham_item_first':
hash_page.c:292:1: warning: old-style function definition [-Wold-style-definition]
  292 | __ham_item_first(edbc, mode)
      | ^~~~~~~~~~~~~~~~
hash_page.c: In function '__ham_item_prev':
hash_page.c:316:1: warning: old-style function definition [-Wold-style-definition]
  316 | __ham_item_prev(edbc, mode)
      | ^~~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
hash_page.c:352:61: note: in expansion of macro 'HKEYDATA_DATA'
  352 |                                         memcpy(&h->dup_len, HKEYDATA_DATA(
      |                                                             ^~~~~~~~~~~~~
hash_page.c: In function '__ham_item_next':
hash_page.c:450:1: warning: old-style function definition [-Wold-style-definition]
  450 | __ham_item_next(edbc, mode)
      | ^~~~~~~~~~~~~~~
hash_page.c: In function '__ham_putitem':
hash_page.c:523:1: warning: old-style function definition [-Wold-style-definition]
  523 | __ham_putitem(p, edbt, type)
      | ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
hash_page.c:538:36: note: in expansion of macro 'HKEYDATA_SIZE'
  538 |                 off = HOFFSET(p) - HKEYDATA_SIZE(edbt->size);
      |                                    ^~~~~~~~~~~~~
hash_page.c: In function '__ham_reputpair':
hash_page.c:557:1: warning: old-style function definition [-Wold-style-definition]
  557 | __ham_reputpair(p, psize, ndx, key, data)
      | ^~~~~~~~~~~~~~~
hash_page.c: In function '__ham_del_pair':
hash_page.c:600:1: warning: old-style function definition [-Wold-style-definition]
  600 | __ham_del_pair(edbc, reclaim_page)
      | ^~~~~~~~~~~~~~
edb_int.h:70:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   70 | #define SSZ(name, field)        ((int)&(((name *)0)->field))
      |                                  ^
edb_page.h:346:52: note: in expansion of macro 'SSZ'
  346 | #define HOFFPAGE_PGNO(p)        (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno))
      |                                                    ^~~
hash_page.c:634:31: note: in expansion of macro 'HOFFPAGE_PGNO'
  634 |                 memcpy(&pgno, HOFFPAGE_PGNO(P_ENTRY(p, H_KEYINDEX(ndx))),
      |                               ^~~~~~~~~~~~~
edb_int.h:70:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   70 | #define SSZ(name, field)        ((int)&(((name *)0)->field))
      |                                  ^
edb_page.h:346:52: note: in expansion of macro 'SSZ'
  346 | #define HOFFPAGE_PGNO(p)        (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno))
      |                                                    ^~~
hash_page.c:643:29: note: in expansion of macro 'HOFFPAGE_PGNO'
  643 |                             HOFFPAGE_PGNO(P_ENTRY(p, H_DATAINDEX(ndx))),
      |                             ^~~~~~~~~~~~~
edb_int.h:70:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   70 | #define SSZ(name, field)        ((int)&(((name *)0)->field))
      |                                  ^
edb_page.h:364:52: note: in expansion of macro 'SSZ'
  364 | #define HOFFDUP_PGNO(p)         (((u_int8_t *)p) + SSZ(HOFFDUP, pgno))
      |                                                    ^~~
hash_page.c:649:29: note: in expansion of macro 'HOFFDUP_PGNO'
  649 |                             HOFFDUP_PGNO(P_ENTRY(p, H_DATAINDEX(ndx))),
      |                             ^~~~~~~~~~~~
hash_page.c: In function '__ham_replpair':
hash_page.c:851:1: warning: old-style function definition [-Wold-style-definition]
  851 | __ham_replpair(edbc, edbt, make_dup)
      | ^~~~~~~~~~~~~~
edb_int.h:70:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   70 | #define SSZ(name, field)        ((int)&(((name *)0)->field))
      |                                  ^
edb_page.h:347:52: note: in expansion of macro 'SSZ'
  347 | #define HOFFPAGE_TLEN(p)        (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen))
      |                                                    ^~~
hash_page.c:894:30: note: in expansion of macro 'HOFFPAGE_TLEN'
  894 |                 memcpy(&len, HOFFPAGE_TLEN(hk), sizeof(u_int32_t));
      |                              ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
hash_page.c:896:23: note: in expansion of macro 'LEN_HKEYDATA'
  896 |                 len = LEN_HKEYDATA(hcp->pagep,
      |                       ^~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
edb_page.h:219:48: note: in expansion of macro 'LOFFSET'
  219 | #define P_FREESPACE(pg)         (HOFFSET(pg) - LOFFSET(pg))
      |                                                ^~~~~~~
hash_page.c:903:31: note: in expansion of macro 'P_FREESPACE'
  903 |         if (change > (int32_t)P_FREESPACE(hcp->pagep) || is_big) {
      |                               ^~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
hash_page.c:975:15: note: in expansion of macro 'HKEYDATA_DATA'
  975 |         beg = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx));
      |               ^~~~~~~~~~~~~
hash_page.c: In function '__ham_onpage_replace':
hash_page.c:1016:1: warning: old-style function definition [-Wold-style-definition]
 1016 | __ham_onpage_replace(pagep, pgsize, ndx, off, change, edbt)
      | ^~~~~~~~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
hash_page.c:1034:44: note: in expansion of macro 'LEN_HKEYDATA'
 1034 |                 else if ((u_int32_t)off >= LEN_HKEYDATA(pagep, pgsize, ndx)) {
      |                                            ^~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
hash_page.c:1035:31: note: in expansion of macro 'HKEYDATA_DATA'
 1035 |                         len = HKEYDATA_DATA(P_ENTRY(pagep, ndx)) +
      |                               ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:303:25: note: in expansion of macro 'HKEYDATA_SIZE'
  303 |         pg->inp[indx] - HKEYDATA_SIZE(0))
      |                         ^~~~~~~~~~~~~
hash_page.c:1036:29: note: in expansion of macro 'LEN_HKEYDATA'
 1036 |                             LEN_HKEYDATA(pagep, pgsize, ndx) - src;
      |                             ^~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
hash_page.c:1039:32: note: in expansion of macro 'HKEYDATA_DATA'
 1039 |                         len = (HKEYDATA_DATA(P_ENTRY(pagep, ndx)) + off) - src;
      |                                ^~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:292:52: note: in expansion of macro 'SSZA'
  292 | #define HKEYDATA_DATA(p)        (((u_int8_t *)p) + SSZA(HKEYDATA, data))
      |                                                    ^~~~
hash_page.c:1051:24: note: in expansion of macro 'HKEYDATA_DATA'
 1051 |                 memcpy(HKEYDATA_DATA(P_ENTRY(pagep, ndx)) + off,
      |                        ^~~~~~~~~~~~~
hash_page.c: In function '__ham_split_page':
hash_page.c:1061:1: warning: old-style function definition [-Wold-style-definition]
 1061 | __ham_split_page(edbc, obucket, nbucket)
      | ^~~~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
edb_page.h:219:48: note: in expansion of macro 'LOFFSET'
  219 | #define P_FREESPACE(pg)         (HOFFSET(pg) - LOFFSET(pg))
      |                                                ^~~~~~~
hash_page.c:1134:29: note: in expansion of macro 'P_FREESPACE'
 1134 |                         if (P_FREESPACE(*pp) < len) {
      |                             ^~~~~~~~~~~
hash_page.c: In function '__ham_add_el':
hash_page.c:1237:1: warning: old-style function definition [-Wold-style-definition]
 1237 | __ham_add_el(edbc, key, val, type)
      | ^~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:312:10: note: in expansion of macro 'HKEYDATA_SIZE'
  312 |         (HKEYDATA_SIZE(len) + sizeof(edb_indx_t))
      |          ^~~~~~~~~~~~~
hash_page.c:1262:20: note: in expansion of macro 'HKEYDATA_PSIZE'
 1262 |         key_size = HKEYDATA_PSIZE(key->size);
      |                    ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:310:18: note: in expansion of macro 'SSZA'
  310 |         ((len) + SSZA(HKEYDATA, data))
      |                  ^~~~
edb_page.h:312:10: note: in expansion of macro 'HKEYDATA_SIZE'
  312 |         (HKEYDATA_SIZE(len) + sizeof(edb_indx_t))
      |          ^~~~~~~~~~~~~
hash_page.c:1263:21: note: in expansion of macro 'HKEYDATA_PSIZE'
 1263 |         data_size = HKEYDATA_PSIZE(val->size);
      |                     ^~~~~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
edb_page.h:219:48: note: in expansion of macro 'LOFFSET'
  219 | #define P_FREESPACE(pg)         (HOFFSET(pg) - LOFFSET(pg))
      |                                                ^~~~~~~
hash_page.c:1281:21: note: in expansion of macro 'P_FREESPACE'
 1281 |                 if (P_FREESPACE(hcp->pagep) >= pairsize)
      |                     ^~~~~~~~~~~
edb_int.h:73:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   73 | #define SSZA(name, field)       ((int)&(((name *)0)->field[0]))
      |                                  ^
edb_page.h:213:34: note: in expansion of macro 'SSZA'
  213 | #define P_OVERHEAD              (SSZA(PAGE, inp))
      |                                  ^~~~
edb_page.h:216:34: note: in expansion of macro 'P_OVERHEAD'
  216 | #define LOFFSET(pg)             (P_OVERHEAD + NUM_ENT(pg) * sizeof(edb_indx_t))
      |                                  ^~~~~~~~~~
edb_page.h:219:48: note: in expansion of macro 'LOFFSET'
  219 | #define P_FREESPACE(pg)         (HOFFSET(pg) - LOFFSET(pg))
      |                                                ^~~~~~~
hash_page.c:1292:13: note: in expansion of macro 'P_FREESPACE'
 1292 |         if (P_FREESPACE(hcp->pagep) < pairsize) {
      |             ^~~~~~~~~~~
hash_page.c: In function '__ham_copy_item':
hash_page.c:1393:1: warning: old-style function definition [-Wold-style-definition]
 1393 | __ham_copy_item(pgsize, src_page, src_ndx, dest_page)
      | ^~~~~~~~~~~~~~~
hash_page.c: In function '__ham_add_ovflpage':
hash_page.c:1426:1: warning: old-style function definition [-Wold-style-definition]
 1426 | __ham_add_ovflpage(edbc, pagep, release, pp)
      | ^~~~~~~~~~~~~~~~~~
hash_page.c: In function '__ham_new_page':
hash_page.c:1470:1: warning: old-style function definition [-Wold-style-definition]
 1470 | __ham_new_page(edbp, addr, type, pp)
      | ^~~~~~~~~~~~~~
hash_page.c: In function '__ham_del_page':
hash_page.c:1493:1: warning: old-style function definition [-Wold-style-definition]
 1493 | __ham_del_page(edbc, pagep)
      | ^~~~~~~~~~~~~~
hash_page.c: In function '__ham_put_page':
hash_page.c:1554:1: warning: old-style function definition [-Wold-style-definition]
 1554 | __ham_put_page(edbp, pagep, is_dirty)
      | ^~~~~~~~~~~~~~
hash_page.c: In function '__ham_dirty_page':
hash_page.c:1572:1: warning: old-style function definition [-Wold-style-definition]
 1572 | __ham_dirty_page(edbp, pagep)
      | ^~~~~~~~~~~~~~~~
hash_page.c: In function '__ham_get_page':
hash_page.c:1583:1: warning: old-style function definition [-Wold-style-definition]
 1583 | __ham_get_page(edbp, addr, pagep)
      | ^~~~~~~~~~~~~~
hash_page.c: In function '__ham_overflow_page':
hash_page.c:1603:1: warning: old-style function definition [-Wold-style-definition]
 1603 | __ham_overflow_page(edbc, type, pp)
      | ^~~~~~~~~~~~~~~~~~~
hash_page.c: In function '__ham_init_ovflpages':
hash_page.c:1708:1: warning: old-style function definition [-Wold-style-definition]
 1708 | __ham_init_ovflpages(edbc)
      | ^~~~~~~~~~~~~~~~~~~~
hash_page.c: In function '__ham_get_cpage':
hash_page.c:1753:1: warning: old-style function definition [-Wold-style-definition]
 1753 | __ham_get_cpage(edbc, mode)
      | ^~~~~~~~~~~~~~~
hash_page.c: In function '__ham_next_cpage':
hash_page.c:1815:1: warning: old-style function definition [-Wold-style-definition]
 1815 | __ham_next_cpage(edbc, pgno, dirty, flags)
      | ^~~~~~~~~~~~~~~~
hash_page.c: In function '__ham_lock_bucket':
hash_page.c:1856:1: warning: old-style function definition [-Wold-style-definition]
 1856 | __ham_lock_bucket(edbc, mode)
      | ^~~~~~~~~~~~~~~~~
hash_page.c: In function '__ham_dpair':
hash_page.c:1884:1: warning: old-style function definition [-Wold-style-definition]
 1884 | __ham_dpair(edbp, p, pndx)
      | ^~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -version-info 1:5:0 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libedb.la -rpath /usr/lib64 e_db.lo bt_compare.lo edb_auto.lo hash_rec.lo mp_fget.lo os_open.lo bt_conv.lo edb_conv.lo hash_stat.lo mp_fopen.lo os_rpath.lo bt_curadj.lo edb_dispatch.lo lock.lo mp_fput.lo os_rw.lo bt_cursor.lo edb_dup.lo lock_conflict.lo mp_fset.lo os_seek.lo bt_delete.lo edb_iface.lo lock_deadlock.lo mp_open.lo os_sleep.lo bt_open.lo edb_join.lo lock_region.lo mp_pr.lo os_spin.lo bt_page.lo edb_overflow.lo lock_util.lo mp_region.lo os_stat.lo bt_put.lo edb_pr.lo log.lo mp_sync.lo os_tmpdir.lo bt_rec.lo edb_rec.lo log_archive.lo mutex.lo os_unlink.lo bt_recno.lo edb_ret.lo log_auto.lo os_abs.lo txn.lo bt_rsearch.lo edbm.lo log_compare.lo os_alloc.lo txn_auto.lo bt_search.lo hash.lo log_findckp.lo os_config.lo txn_rec.lo bt_split.lo hash_auto.lo log_get.lo os_dir.lo xa.lo bt_stat.lo hash_conv.lo log_put.lo os_fid.lo xa_edb.lo btree_auto.lo hash_dup.lo log_rec.lo os_fsync.lo xa_map.lo edb.lo hash_func.lo log_register.lo os_map.lo edb_am.lo hash_page.lo mp_bh.lo os_oflags.lo edb_appinit.lo edb_apprec.lo edb_byteorder.lo edb_err.lo edb_log2.lo edb_region.lo edb_salloc.lo edb_shash.lo  
libtool: link: gcc -shared -Wl,--as-needed  -fPIC -DPIC  .libs/e_db.o .libs/bt_compare.o .libs/edb_auto.o .libs/hash_rec.o .libs/mp_fget.o .libs/os_open.o .libs/bt_conv.o .libs/edb_conv.o .libs/hash_stat.o .libs/mp_fopen.o .libs/os_rpath.o .libs/bt_curadj.o .libs/edb_dispatch.o .libs/lock.o .libs/mp_fput.o .libs/os_rw.o .libs/bt_cursor.o .libs/edb_dup.o .libs/lock_conflict.o .libs/mp_fset.o .libs/os_seek.o .libs/bt_delete.o .libs/edb_iface.o .libs/lock_deadlock.o .libs/mp_open.o .libs/os_sleep.o .libs/bt_open.o .libs/edb_join.o .libs/lock_region.o .libs/mp_pr.o .libs/os_spin.o .libs/bt_page.o .libs/edb_overflow.o .libs/lock_util.o .libs/mp_region.o .libs/os_stat.o .libs/bt_put.o .libs/edb_pr.o .libs/log.o .libs/mp_sync.o .libs/os_tmpdir.o .libs/bt_rec.o .libs/edb_rec.o .libs/log_archive.o .libs/mutex.o .libs/os_unlink.o .libs/bt_recno.o .libs/edb_ret.o .libs/log_auto.o .libs/os_abs.o .libs/txn.o .libs/bt_rsearch.o .libs/edbm.o .libs/log_compare.o .libs/os_alloc.o .libs/txn_auto.o .libs/bt_search.o .libs/hash.o .libs/log_findckp.o .libs/os_config.o .libs/txn_rec.o .libs/bt_split.o .libs/hash_auto.o .libs/log_get.o .libs/os_dir.o .libs/xa.o .libs/bt_stat.o .libs/hash_conv.o .libs/log_put.o .libs/os_fid.o .libs/xa_edb.o .libs/btree_auto.o .libs/hash_dup.o .libs/log_rec.o .libs/os_fsync.o .libs/xa_map.o .libs/edb.o .libs/hash_func.o .libs/log_register.o .libs/os_map.o .libs/edb_am.o .libs/hash_page.o .libs/mp_bh.o .libs/os_oflags.o .libs/edb_appinit.o .libs/edb_apprec.o .libs/edb_byteorder.o .libs/edb_err.o .libs/edb_log2.o .libs/edb_region.o .libs/edb_salloc.o .libs/edb_shash.o   -O2 -g -Werror=format-security -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld    -Wl,-soname -Wl,libedb.so.1 -o .libs/libedb.so.1.0.5
libtool: link: (cd ".libs" && rm -f "libedb.so.1" && ln -s "libedb.so.1.0.5" "libedb.so.1")
libtool: link: (cd ".libs" && rm -f "libedb.so" && ln -s "libedb.so.1.0.5" "libedb.so")
libtool: link: ( cd ".libs" && rm -f "libedb.la" && ln -s "../libedb.la" "libedb.la" )
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
Making all in test
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/test'
gcc -DHAVE_CONFIG_H -I. -I.. -I../src  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_test.o edb_test.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/test'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/test'
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -static  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o edb_test edb_test.o ../src/libedb.la 
libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o edb_test edb_test.o  ../src/.libs/libedb.so -Wl,-rpath -Wl,/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src/.libs
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/test'
Making all in tools
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/tools'
gcc -DHAVE_CONFIG_H -I. -I.. -I../src  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_vt_ed.o edb_vt_ed.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/tools'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/tools'
gcc -DHAVE_CONFIG_H -I. -I.. -I../src  -D_REENTRANT   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edb_ed.o edb_ed.c
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/tools'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/tools'
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o edb_vt_ed edb_vt_ed.o -lncurses ../src/libedb.la 
libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/edb_vt_ed edb_vt_ed.o  -lncurses ../src/.libs/libedb.so
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/tools'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/tools'
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o edb_ed edb_ed.o ../src/libedb.la 
libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/edb_ed edb_ed.o  ../src/.libs/libedb.so
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/tools'
make[2]: Nothing to be done for 'all-am'.
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mhLHe7
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build
+ mkdir /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd edb-1.0.5.050
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT 'INSTALL=/usr/bin/install -p'
Making install in src
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/lib64'
 /bin/sh ../libtool   --mode=install /usr/bin/install -p   libedb.la '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/lib64'
libtool: install: /usr/bin/install -p .libs/libedb.so.1.0.5 /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/lib64/libedb.so.1.0.5
libtool: install: (cd /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/lib64 && { ln -s -f libedb.so.1.0.5 libedb.so.1 || { rm -f libedb.so.1 && ln -s libedb.so.1.0.5 libedb.so.1; }; })
libtool: install: (cd /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/lib64 && { ln -s -f libedb.so.1.0.5 libedb.so || { rm -f libedb.so && ln -s libedb.so.1.0.5 libedb.so; }; })
libtool: install: /usr/bin/install -p .libs/libedb.lai /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/lib64/libedb.la
libtool: warning: remember to run 'libtool --finish /usr/lib64'
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/include'
 /usr/bin/install -p -m 644 Edb.h '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/include'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src'
Making install in test
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/test'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/test'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/test'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/test'
Making install in tools
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/tools'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/tools'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/tools'
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -p edb_ed edb_vt_ed '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/bin'
libtool: warning: '../src/libedb.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p .libs/edb_ed /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/bin/edb_ed
libtool: warning: '../src/libedb.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p .libs/edb_vt_ed /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/bin/edb_vt_ed
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/tools'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/tools'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/tools'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050'
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/lib64/pkgconfig'
 /usr/bin/install -p -m 644 edb.pc '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/lib64/pkgconfig'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050'
+ find /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT -name '*.la' -delete
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.0.5.050-13.mga10 --unique-debug-suffix -1.0.5.050-13.mga10.x86_64 --unique-debug-src-base edb-1.0.5.050-13.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050
find-debuginfo: starting

Extracting debug info from 3 files
DWARF-compressing 3 files
sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/edb-1.0.5.050-13.mga10.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Reading /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: edb-1.0.5.050-13.mga10.x86_64
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KoVl3n
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build
+ cd edb-1.0.5.050
+ DOCDIR=/home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/share/doc/edb
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/share/doc/edb
+ cp -pr /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/AUTHORS /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/share/doc/edb
+ cp -pr /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/COPYING /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/share/doc/edb
+ cp -pr /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/README /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/share/doc/edb
+ cp -pr /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/edb-1.0.5.050/src/LICENSE /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT/usr/share/doc/edb
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: edb = 1.0.5.050-13.mga10 edb(x86-64) = 1.0.5.050-13.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libedb.so.1()(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit)
Processing files: lib64edb1-1.0.5.050-13.mga10.x86_64
Provides: lib64edb1 = 1.0.5.050-13.mga10 lib64edb1(x86-64) = 1.0.5.050-13.mga10 libedb.so.1()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit)
Processing files: lib64edb-devel-1.0.5.050-13.mga10.x86_64
Provides: devel(libedb(64bit)) edb-devel = 1.0.5.050-13.mga10 lib64edb-devel = 1.0.5.050-13.mga10 lib64edb-devel(x86-64) = 1.0.5.050-13.mga10 lib64edb1-devel = 1.0.5.050-13.mga10 libedb-devel = 1.0.5.050-13.mga10 pkgconfig(edb) = 1.0.5.050
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: pkgconfig
Processing files: edb-debugsource-1.0.5.050-13.mga10.x86_64
Provides: edb-debugsource = 1.0.5.050-13.mga10 edb-debugsource(x86-64) = 1.0.5.050-13.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: edb-debuginfo-1.0.5.050-13.mga10.x86_64
Provides: debuginfo(build-id) = 0db36bf857a237dad27b904457709e50fbec1c5f debuginfo(build-id) = b14e33e34d3e60edfcf121cba34f9808c938b739 edb-debuginfo = 1.0.5.050-13.mga10 edb-debuginfo(x86-64) = 1.0.5.050-13.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: edb-debugsource(x86-64) = 1.0.5.050-13.mga10
Processing files: lib64edb1-debuginfo-1.0.5.050-13.mga10.x86_64
Provides: debuginfo(build-id) = ecfeef7f539dc6ce7529b58989e6fa4efb63a05a lib64edb1-debuginfo = 1.0.5.050-13.mga10 lib64edb1-debuginfo(x86-64) = 1.0.5.050-13.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: edb-debugsource(x86-64) = 1.0.5.050-13.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64edb-devel-1.0.5.050-13.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/edb-1.0.5.050-13.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/edb-debuginfo-1.0.5.050-13.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64edb1-1.0.5.050-13.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64edb1-debuginfo-1.0.5.050-13.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/edb-debugsource-1.0.5.050-13.mga10.x86_64.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QaSPjR
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build
+ test -d /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/edb-1.0.5.050-build
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!
