<86>Jul 12 12:20:59 userdel[2883964]: delete user 'rooter' <86>Jul 12 12:20:59 groupadd[2883992]: group added to /etc/group: name=rooter, GID=693 <86>Jul 12 12:20:59 groupadd[2883992]: group added to /etc/gshadow: name=rooter <86>Jul 12 12:20:59 groupadd[2883992]: new group: name=rooter, GID=693 <86>Jul 12 12:20:59 useradd[2884058]: new user: name=rooter, UID=693, GID=693, home=/root, shell=/bin/bash <86>Jul 12 12:20:59 userdel[2884075]: delete user 'builder' <86>Jul 12 12:20:59 groupadd[2884270]: group added to /etc/group: name=builder, GID=694 <86>Jul 12 12:20:59 groupadd[2884270]: group added to /etc/gshadow: name=builder <86>Jul 12 12:20:59 groupadd[2884270]: new group: name=builder, GID=694 <86>Jul 12 12:20:59 useradd[2884407]: new user: name=builder, UID=694, GID=694, home=/usr/src, shell=/bin/bash Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/pks-0.9.6-alt4.nosrc.rpm (w1.gzdio) Installing pks-0.9.6-alt4.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.65048 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf pks-0.9.6 + echo 'Source #0 (pks-0.9.6.tar):' Source #0 (pks-0.9.6.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/pks-0.9.6.tar + cd pks-0.9.6 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (mkpksdconf.in.patch):' Patch #1 (mkpksdconf.in.patch): + /usr/bin/patch -p0 patching file mkpksdconf.in + echo 'Patch #2 (pks-alt-no-static-libs.patch):' Patch #2 (pks-alt-no-static-libs.patch): + /usr/bin/patch -p2 patching file db2-sleepycat/dist/Makefile.in + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.65048 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd pks-0.9.6 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + sort -u + xargs -ri dirname -- '{}' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + readlink -e -- ./configure + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --datadir=/usr/share/pks --sharedstatedir=/var/lib/pks --localstatedir=/var/lib/pks creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking for gcc... gcc checking whether the C compiler (gcc -pipe -frecord-gcc-switches -Wall -g -O2 ) works... yes checking whether the C compiler (gcc -pipe -frecord-gcc-switches -Wall -g -O2 ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for sendmail... sendmail checking how to run the C preprocessor... gcc -E checking for bstring.h... no checking for sys/select.h... yes checking for mmap... yes checking for madvise... yes checking for connect... yes checking for socklen_t... yes updating cache ./config.cache creating ./config.status creating Makefile creating mkpksdconf configuring in db2-sleepycat/dist running /bin/sh ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --datadir=/usr/share/pks --sharedstatedir=/var/lib/pks --localstatedir=/var/lib/pks --cache-file=../.././config.cache --srcdir=. loading cache ../.././config.cache checking if building in the top-level directory... checking for a BSD compatible install... (cached) /bin/install -c checking host system type... x86_64-alt-linux-gnu checking if --enable-debug option specified... no checking for cc... (cached) gcc checking for gcc... (cached) gcc checking for gcc... (cached) gcc checking whether the C compiler (gcc -pipe -frecord-gcc-switches -Wall -g -O2 ) works... yes checking whether the C compiler (gcc -pipe -frecord-gcc-switches -Wall -g -O2 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking if --enable-diagnostic option specified... no checking if --enable-cxx option specified... no checking if --enable-compat185 option specified... no checking if --enable-dump185 option specified... no checking for ar... /usr/bin/ar checking for chmod... /bin/chmod checking for cp... /bin/cp checking for mkdir... /bin/mkdir checking for ranlib... /usr/bin/ranlib checking for rm... /bin/rm checking for sh... /bin/sh checking for strip... /usr/bin/strip checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... yes checking for ssize_t... yes checking whether byte ordering is bigendian... no checking for working const... yes checking for st_blksize in struct stat... 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... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for sys/select.h... (cached) yes checking for sys/time.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... (cached) yes checking for munmap... yes checking for qsort... yes checking for select... yes checking for sigfillset... yes checking for int type sprintf return value... yes checking if --disable-bigfile option specified... no checking for spinlocks... no configure: warning: SPINLOCKS NOT IMPLEMENTED FOR THIS COMPILER/ARCHITECTURE. 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 updating cache ../.././config.cache creating ./config.status creating Makefile creating include.tcl creating db.h creating db_int.h creating db_185.h creating config.h + make make: Entering directory '/usr/src/RPM/BUILD/pks-0.9.6' for i in db2-sleepycat/dist; do (test -d $i && cd $i && make DESTDIR= RPM_BUILD_DIR= all) || exit 1; done make[1]: Entering directory '/usr/src/RPM/BUILD/pks-0.9.6/db2-sleepycat/dist' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_compare.c ../btree/bt_compare.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 50 | static const char sccsid[] = "@(#)bt_compare.c 10.14 (Sleepycat) 10/9/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_conv.c ../btree/bt_conv.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)bt_conv.c 10.7 (Sleepycat) 9/20/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_curadj.c ../btree/bt_curadj.c: In function '__bam_ca_split': ../btree/bt_curadj.c:252:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 252 | if (cp->pgno == ppgno) | ^ ../btree/bt_curadj.c:260:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 260 | if (cp->dpgno == ppgno) | ^ At top level: ../btree/bt_curadj.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)bt_curadj.c 10.69 (Sleepycat) 12/2/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_cursor.c ../btree/bt_cursor.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)bt_cursor.c 10.81 (Sleepycat) 12/16/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_delete.c In file included from ../btree/bt_delete.c:59: ../btree/bt_delete.c: In function '__bam_ditem': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' 481 | ALIGN((len) + SSZA(BINTERNAL, data), 4) | ^~~~ ../btree/bt_delete.c:161:13: note: in expansion of macro 'BINTERNAL_SIZE' 161 | nbytes = BINTERNAL_SIZE(bi->len); | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' 481 | ALIGN((len) + SSZA(BINTERNAL, data), 4) | ^~~~ ../btree/bt_delete.c:165:13: note: in expansion of macro 'BINTERNAL_SIZE' 165 | nbytes = BINTERNAL_SIZE(bi->len); | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../btree/bt_delete.c:224:13: note: in expansion of macro 'BKEYDATA_SIZE' 224 | nbytes = BKEYDATA_SIZE(bk->len); | ^~~~~~~~~~~~~ ../btree/bt_delete.c: In function '__bam_dpages': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' 481 | ALIGN((len) + SSZA(BINTERNAL, data), 4) | ^~~~ ../btree/bt_delete.c:532:13: note: in expansion of macro 'BINTERNAL_SIZE' 532 | b.size = BINTERNAL_SIZE(((BINTERNAL *)b.data)->len); | ^~~~~~~~~~~~~~ At top level: ../btree/bt_delete.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 50 | static const char sccsid[] = "@(#)bt_delete.c 10.43 (Sleepycat) 12/7/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_open.c In file included from ../btree/bt_open.c:61: ../btree/bt_open.c: In function '__bam_setovflsize': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ../btree/bt_open.c:196:34: note: in expansion of macro 'P_OVERHEAD' 196 | t->bt_ovflsize = (dbp->pgsize - P_OVERHEAD) / (t->bt_minkey * P_INDX) | ^~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ./../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' 420 | (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) | ^~~~~~~~~~~~~ ../btree/bt_open.c:197:9: note: in expansion of macro 'BKEYDATA_PSIZE' 197 | - (BKEYDATA_PSIZE(0) + ALIGN(1, 4)); | ^~~~~~~~~~~~~~ At top level: ../btree/bt_open.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 50 | static const char sccsid[] = "@(#)bt_open.c 10.39 (Sleepycat) 11/21/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_page.c In file included from ../btree/bt_page.c:60: ../btree/bt_page.c: In function '__bam_free': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ../btree/bt_page.c:185:15: note: in expansion of macro 'P_OVERHEAD' 185 | ldbt.size = P_OVERHEAD; | ^~~~~~~~~~ At top level: ../btree/bt_page.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 50 | static const char sccsid[] = "@(#)bt_page.c 10.17 (Sleepycat) 1/3/99"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_put.c In file included from ../btree/bt_put.c:60: ../btree/bt_put.c: In function '__bam_iitem': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../btree/bt_put.c:121:14: note: in expansion of macro 'BKEYDATA_SIZE' 121 | nbytes = BKEYDATA_SIZE(bk->len); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ./../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' 420 | (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) | ^~~~~~~~~~~~~ ../btree/bt_put.c:164:14: note: in expansion of macro 'BKEYDATA_PSIZE' 164 | needed += BKEYDATA_PSIZE(key->size); | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ./../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' 420 | (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) | ^~~~~~~~~~~~~ ../btree/bt_put.c:168:14: note: in expansion of macro 'BKEYDATA_PSIZE' 168 | needed += BKEYDATA_PSIZE(data_size); | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ./../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' 420 | (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) | ^~~~~~~~~~~~~ ../btree/bt_put.c:178:18: note: in expansion of macro 'BKEYDATA_PSIZE' 178 | have_bytes = BKEYDATA_PSIZE(bk->len); | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ./../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' 420 | (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) | ^~~~~~~~~~~~~ ../btree/bt_put.c:189:18: note: in expansion of macro 'BKEYDATA_PSIZE' 189 | need_bytes += BKEYDATA_PSIZE(data_size); | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' 219 | #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) | ^~~~~~~ ../btree/bt_put.c:203:6: note: in expansion of macro 'P_FREESPACE' 203 | if (P_FREESPACE(h) < needed || | ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../btree/bt_put.c:244:8: note: in expansion of macro 'BKEYDATA_SIZE' 244 | BKEYDATA_SIZE(key->size), NULL, key)) != 0) | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ../btree/bt_put.c:321:17: note: in expansion of macro 'SSZA' 321 | __hdr.size = SSZA(BKEYDATA, data); | ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../btree/bt_put.c:323:8: note: in expansion of macro 'BKEYDATA_SIZE' 323 | BKEYDATA_SIZE(data->size), &__hdr, data); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../btree/bt_put.c:328:8: note: in expansion of macro 'BKEYDATA_SIZE' 328 | BKEYDATA_SIZE(data->size), NULL, data); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' 219 | #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) | ^~~~~~~ ../btree/bt_put.c:341:19: note: in expansion of macro 'P_FREESPACE' 341 | if (dupadjust && P_FREESPACE(h) <= dbp->pgsize / 2) { | ^~~~~~~~~~~ ../btree/bt_put.c: In function '__bam_ritem': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../btree/bt_put.c:531:7: note: in expansion of macro 'BKEYDATA_SIZE' 531 | lo = BKEYDATA_SIZE(bk->len); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../btree/bt_put.c:532:7: note: in expansion of macro 'BKEYDATA_SIZE' 532 | ln = BKEYDATA_SIZE(data->size); | ^~~~~~~~~~~~~ ../btree/bt_put.c: In function '__bam_ndup': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ./../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' 420 | (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) | ^~~~~~~~~~~~~ ../btree/bt_put.c:589:7: note: in expansion of macro 'BKEYDATA_PSIZE' 589 | BKEYDATA_PSIZE(bk->len) : BOVERFLOW_PSIZE; | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ./../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' 420 | (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) | ^~~~~~~~~~~~~ ../btree/bt_put.c:592:7: note: in expansion of macro 'BKEYDATA_PSIZE' 592 | BKEYDATA_PSIZE(bk->len) : BOVERFLOW_PSIZE; | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../btree/bt_put.c:618:7: note: in expansion of macro 'BKEYDATA_SIZE' 618 | BKEYDATA_SIZE(bk->len) : BOVERFLOW_SIZE; | ^~~~~~~~~~~~~ At top level: ../btree/bt_put.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 50 | static const char sccsid[] = "@(#)bt_put.c 10.54 (Sleepycat) 12/6/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_rec.c ../btree/bt_rec.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)bt_rec.c 10.28 (Sleepycat) 9/27/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_recno.c In file included from ../btree/bt_recno.c:22: ../btree/bt_recno.c: In function '__ram_i_delete': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ../btree/bt_recno.c:328:14: note: in expansion of macro 'SSZA' 328 | hdr.size = SSZA(BKEYDATA, data); | ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../btree/bt_recno.c:333:16: note: in expansion of macro 'BKEYDATA_SIZE' 333 | h, indx, BKEYDATA_SIZE(0), &hdr, &data)) != 0) | ^~~~~~~~~~~~~ ../btree/bt_recno.c: In function '__ram_add': ../btree/bt_recno.c:1276:13: warning: variable 'isdeleted' set but not used [-Wunused-but-set-variable] 1276 | int exact, isdeleted, ret, stack; | ^~~~~~~~~ ../btree/bt_recno.c:1273:6: warning: variable 'dbp' set but not used [-Wunused-but-set-variable] 1273 | DB *dbp; | ^~~ At top level: ../btree/bt_recno.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)bt_recno.c 10.53 (Sleepycat) 12/11/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_rsearch.c ../btree/bt_rsearch.c:47:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 47 | static const char sccsid[] = "@(#)bt_rsearch.c 10.21 (Sleepycat) 12/2/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_search.c ../btree/bt_search.c: In function '__bam_stkrel': ../btree/bt_search.c:330:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 330 | if (epg->lock != LOCK_INVALID) | ^ At top level: ../btree/bt_search.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 50 | static const char sccsid[] = "@(#)bt_search.c 10.25 (Sleepycat) 12/16/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_split.c In file included from ../btree/bt_split.c:58: ../btree/bt_split.c: In function '__bam_page': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ../btree/bt_split.c:334:23: note: in expansion of macro 'LOFFSET' 334 | memcpy(cp->page, lp, LOFFSET(lp)); | ^~~~~~~ ../btree/bt_split.c: In function '__bam_broot': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ../btree/bt_split.c:424:13: note: in expansion of macro 'SSZA' 424 | hdr.size = SSZA(BINTERNAL, data); | ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' 481 | ALIGN((len) + SSZA(BINTERNAL, data), 4) | ^~~~ ../btree/bt_split.c:426:32: note: in expansion of macro 'BINTERNAL_SIZE' 426 | __db_pitem(dbc, rootp, 0, BINTERNAL_SIZE(0), &hdr, NULL)) != 0) | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ../btree/bt_split.c:442:14: note: in expansion of macro 'SSZA' 442 | hdr.size = SSZA(BINTERNAL, data); | ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' 481 | ALIGN((len) + SSZA(BINTERNAL, data), 4) | ^~~~ ../btree/bt_split.c:446:7: note: in expansion of macro 'BINTERNAL_SIZE' 446 | BINTERNAL_SIZE(child_bi->len), &hdr, &data)) != 0) | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ../btree/bt_split.c:468:15: note: in expansion of macro 'SSZA' 468 | hdr.size = SSZA(BINTERNAL, data); | ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' 481 | ALIGN((len) + SSZA(BINTERNAL, data), 4) | ^~~~ ../btree/bt_split.c:472:8: note: in expansion of macro 'BINTERNAL_SIZE' 472 | BINTERNAL_SIZE(child_bk->len), &hdr, &data)) != 0) | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ../btree/bt_split.c:485:15: note: in expansion of macro 'SSZA' 485 | hdr.size = SSZA(BINTERNAL, data); | ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' 481 | ALIGN((len) + SSZA(BINTERNAL, data), 4) | ^~~~ ../btree/bt_split.c:489:8: note: in expansion of macro 'BINTERNAL_SIZE' 489 | BINTERNAL_SIZE(BOVERFLOW_SIZE), &hdr, &data)) != 0) | ^~~~~~~~~~~~~~ ../btree/bt_split.c: In function '__bam_pinsert': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' 481 | ALIGN((len) + SSZA(BINTERNAL, data), 4) | ^~~~ ./../include/db_page.h:483:3: note: in expansion of macro 'BINTERNAL_SIZE' 483 | (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) | ^~~~~~~~~~~~~~ ../btree/bt_split.c:607:12: note: in expansion of macro 'BINTERNAL_PSIZE' 607 | nbytes = BINTERNAL_PSIZE(child_bi->len); | ^~~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' 219 | #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) | ^~~~~~~ ../btree/bt_split.c:609:7: note: in expansion of macro 'P_FREESPACE' 609 | if (P_FREESPACE(ppage) < nbytes) | ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ../btree/bt_split.c:620:14: note: in expansion of macro 'SSZA' 620 | hdr.size = SSZA(BINTERNAL, data); | ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' 481 | ALIGN((len) + SSZA(BINTERNAL, data), 4) | ^~~~ ../btree/bt_split.c:625:7: note: in expansion of macro 'BINTERNAL_SIZE' 625 | BINTERNAL_SIZE(child_bi->len), &hdr, &data)) != 0) | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' 481 | ALIGN((len) + SSZA(BINTERNAL, data), 4) | ^~~~ ./../include/db_page.h:483:3: note: in expansion of macro 'BINTERNAL_SIZE' 483 | (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) | ^~~~~~~~~~~~~~ ../btree/bt_split.c:638:13: note: in expansion of macro 'BINTERNAL_PSIZE' 638 | nbytes = BINTERNAL_PSIZE(child_bk->len); | ^~~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' 481 | ALIGN((len) + SSZA(BINTERNAL, data), 4) | ^~~~ ./../include/db_page.h:483:3: note: in expansion of macro 'BINTERNAL_SIZE' 483 | (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) | ^~~~~~~~~~~~~~ ../btree/bt_split.c:654:13: note: in expansion of macro 'BINTERNAL_PSIZE' 654 | if ((n = BINTERNAL_PSIZE(nksize)) < nbytes) | ^~~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' 219 | #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) | ^~~~~~~ ../btree/bt_split.c:659:8: note: in expansion of macro 'P_FREESPACE' 659 | if (P_FREESPACE(ppage) < nbytes) | ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ../btree/bt_split.c:669:15: note: in expansion of macro 'SSZA' 669 | hdr.size = SSZA(BINTERNAL, data); | ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' 481 | ALIGN((len) + SSZA(BINTERNAL, data), 4) | ^~~~ ../btree/bt_split.c:674:8: note: in expansion of macro 'BINTERNAL_SIZE' 674 | BINTERNAL_SIZE(nksize), &hdr, &data)) != 0) | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' 481 | ALIGN((len) + SSZA(BINTERNAL, data), 4) | ^~~~ ./../include/db_page.h:483:3: note: in expansion of macro 'BINTERNAL_SIZE' 483 | (BINTERNAL_SIZE(len) + sizeof(db_indx_t)) | ^~~~~~~~~~~~~~ ../btree/bt_split.c:679:13: note: in expansion of macro 'BINTERNAL_PSIZE' 679 | nbytes = BINTERNAL_PSIZE(BOVERFLOW_SIZE); | ^~~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' 219 | #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) | ^~~~~~~ ../btree/bt_split.c:681:8: note: in expansion of macro 'P_FREESPACE' 681 | if (P_FREESPACE(ppage) < nbytes) | ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ../btree/bt_split.c:691:15: note: in expansion of macro 'SSZA' 691 | hdr.size = SSZA(BINTERNAL, data); | ^~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' 481 | ALIGN((len) + SSZA(BINTERNAL, data), 4) | ^~~~ ../btree/bt_split.c:696:8: note: in expansion of macro 'BINTERNAL_SIZE' 696 | BINTERNAL_SIZE(BOVERFLOW_SIZE), &hdr, &data)) != 0) | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' 219 | #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) | ^~~~~~~ ../btree/bt_split.c:713:7: note: in expansion of macro 'P_FREESPACE' 713 | if (P_FREESPACE(ppage) < nbytes) | ^~~~~~~~~~~ ../btree/bt_split.c: In function '__bam_psplit': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' 481 | ALIGN((len) + SSZA(BINTERNAL, data), 4) | ^~~~ ../btree/bt_split.c:816:8: note: in expansion of macro 'BINTERNAL_SIZE' 816 | BINTERNAL_SIZE(GET_BINTERNAL(pp, off)->len); | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' 481 | ALIGN((len) + SSZA(BINTERNAL, data), 4) | ^~~~ ../btree/bt_split.c:818:15: note: in expansion of macro 'BINTERNAL_SIZE' 818 | nbytes += BINTERNAL_SIZE(BOVERFLOW_SIZE); | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../btree/bt_split.c:823:9: note: in expansion of macro 'BKEYDATA_SIZE' 823 | BKEYDATA_SIZE(GET_BKEYDATA(pp, off)->len); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../btree/bt_split.c:830:9: note: in expansion of macro 'BKEYDATA_SIZE' 830 | BKEYDATA_SIZE(GET_BKEYDATA(pp, off)->len); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../btree/bt_split.c:838:14: note: in expansion of macro 'BKEYDATA_SIZE' 838 | nbytes += BKEYDATA_SIZE(GET_BKEYDATA(pp, off)->len); | ^~~~~~~~~~~~~ ../btree/bt_split.c: In function '__bam_copy': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' 481 | ALIGN((len) + SSZA(BINTERNAL, data), 4) | ^~~~ ../btree/bt_split.c:934:9: note: in expansion of macro 'BINTERNAL_SIZE' 934 | BINTERNAL_SIZE(GET_BINTERNAL(pp, nxt)->len); | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:481:16: note: in expansion of macro 'SSZA' 481 | ALIGN((len) + SSZA(BINTERNAL, data), 4) | ^~~~ ../btree/bt_split.c:936:14: note: in expansion of macro 'BINTERNAL_SIZE' 936 | nbytes = BINTERNAL_SIZE(BOVERFLOW_SIZE); | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../btree/bt_split.c:952:9: note: in expansion of macro 'BKEYDATA_SIZE' 952 | BKEYDATA_SIZE(GET_BKEYDATA(pp, nxt)->len); | ^~~~~~~~~~~~~ At top level: ../btree/bt_split.c:47:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 47 | static const char sccsid[] = "@(#)bt_split.c 10.33 (Sleepycat) 10/13/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/bt_stat.c In file included from ../btree/bt_stat.c:21: ../btree/bt_stat.c: In function '__bam_stat': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ../btree/bt_stat.c:153:38: note: in expansion of macro 'LOFFSET' 153 | sp->bt_int_pgfree += HOFFSET(h) - LOFFSET(h); | ^~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ../btree/bt_stat.c:157:39: note: in expansion of macro 'LOFFSET' 157 | sp->bt_leaf_pgfree += HOFFSET(h) - LOFFSET(h); | ^~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ../btree/bt_stat.c:162:39: note: in expansion of macro 'LOFFSET' 162 | sp->bt_leaf_pgfree += HOFFSET(h) - LOFFSET(h); | ^~~~~~~ ../btree/bt_stat.c:39:9: warning: variable 't' set but not used [-Wunused-but-set-variable] 39 | BTREE *t; | ^ At top level: ../btree/bt_stat.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)bt_stat.c 10.27 (Sleepycat) 11/25/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../btree/btree_auto.c ../btree/btree_auto.c: In function '__bam_pg_alloc_print': ../btree/btree_auto.c:109:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 109 | u_int ch; | ^~ ../btree/btree_auto.c:108:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] 108 | u_int32_t i; | ^ ../btree/btree_auto.c: In function '__bam_adj_print': ../btree/btree_auto.c:845:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 845 | u_int ch; | ^~ ../btree/btree_auto.c:844:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] 844 | u_int32_t i; | ^ ../btree/btree_auto.c: In function '__bam_cadjust_print': ../btree/btree_auto.c:1004:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 1004 | u_int ch; | ^~ ../btree/btree_auto.c:1003:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] 1003 | u_int32_t i; | ^ ../btree/btree_auto.c: In function '__bam_cdel_print': ../btree/btree_auto.c:1154:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 1154 | u_int ch; | ^~ ../btree/btree_auto.c:1153:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] 1153 | u_int32_t i; | ^ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db.c ../db/db.c: In function 'db_open': ../db/db.c:196:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 196 | if (dbenv->lk_info != NULL) | ^ ../db/db.c:279:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 279 | if ((ret = __db_open(real_name, flags | DB_EXCL, | ^ ../db/db.c:572:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 572 | if (need_fileid) | ^ At top level: ../db/db.c:47:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 47 | static const char sccsid[] = "@(#)db.c 10.75 (Sleepycat) 12/3/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_appinit.c ../common/db_appinit.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)db_appinit.c 10.66 (Sleepycat) 12/7/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_am.c ../db/db_am.c: In function '__db_c_destroy': ../db/db_am.c:282:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 282 | int ret; | ^~~ At top level: ../db/db_am.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)db_am.c 10.15 (Sleepycat) 12/30/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_apprec.c ../common/db_apprec.c: In function '__db_apprec': ../common/db_apprec.c:181:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 181 | if (ret != 0) | ^ ../common/db_apprec.c:201:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 201 | if (ret != 0) | ^ At top level: ../common/db_apprec.c:14:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 14 | static const char sccsid[] = "@(#)db_apprec.c 10.33 (Sleepycat) 10/5/98"; | ^~~~~~ ../common/db_apprec.c:11:19: warning: 'copyright' defined but not used [-Wunused-const-variable=] 11 | static const char copyright[] = | ^~~~~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_auto.c ../db/db_auto.c: In function '__db_ovref_print': ../db/db_auto.c:687:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 687 | u_int ch; | ^~ ../db/db_auto.c:686:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] 686 | u_int32_t i; | ^ ../db/db_auto.c: In function '__db_relink_print': ../db/db_auto.c:855:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 855 | u_int ch; | ^~ ../db/db_auto.c:854:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] 854 | u_int32_t i; | ^ ../db/db_auto.c: In function '__db_addpage_print': ../db/db_auto.c:1021:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 1021 | u_int ch; | ^~ ../db/db_auto.c:1020:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] 1020 | u_int32_t i; | ^ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_byteorder.c ../common/db_byteorder.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)db_byteorder.c 10.5 (Sleepycat) 4/10/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_conv.c In file included from ../db/db_conv.c:57: ../db/db_conv.c: In function '__db_convert': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ../db/db_conv.c:134:11: note: in expansion of macro 'LEN_HKEYDATA' 134 | len = LEN_HKEYDATA(h, pagesize, i); | ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../db/db_conv.c:135:9: note: in expansion of macro 'HKEYDATA_DATA' 135 | p = HKEYDATA_DATA(P_ENTRY(h, i)); | ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 70 | #define SSZ(name, field) ((int)&(((name *)0)->field)) | ^ ./../include/db_page.h:346:45: note: in expansion of macro 'SSZ' 346 | #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) | ^~~ ../db/db_conv.c:152:9: note: in expansion of macro 'HOFFPAGE_PGNO' 152 | p = HOFFPAGE_PGNO(P_ENTRY(h, i)); | ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 70 | #define SSZ(name, field) ((int)&(((name *)0)->field)) | ^ ./../include/db_page.h:346:45: note: in expansion of macro 'SSZ' 346 | #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) | ^~~ ../db/db_conv.c:156:9: note: in expansion of macro 'HOFFPAGE_PGNO' 156 | p = HOFFPAGE_PGNO(P_ENTRY(h, i)); | ^~~~~~~~~~~~~ At top level: ../db/db_conv.c:47:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 47 | static const char sccsid[] = "@(#)db_conv.c 10.13 (Sleepycat) 4/26/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_dispatch.c ../db/db_dispatch.c:46:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 46 | static const char sccsid[] = "@(#)db_dispatch.c 10.20 (Sleepycat) 10/10/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_dup.c In file included from ../db/db_dup.c:21: ../db/db_dup.c: In function '__db_dput': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ./../include/db_page.h:420:3: note: in expansion of macro 'BKEYDATA_SIZE' 420 | (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) | ^~~~~~~~~~~~~ ../db/db_dup.c:71:10: note: in expansion of macro 'BKEYDATA_PSIZE' 71 | size = BKEYDATA_PSIZE(dbt->size); | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../db/db_dup.c:72:11: note: in expansion of macro 'BKEYDATA_SIZE' 72 | isize = BKEYDATA_SIZE(dbt->size); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' 219 | #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) | ^~~~~~~ ../db/db_dup.c:78:13: note: in expansion of macro 'P_FREESPACE' 78 | if (size > P_FREESPACE(pagep)) { | ^~~~~~~~~~~ ../db/db_dup.c: In function '__db_drem': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../db/db_dup.c:131:7: note: in expansion of macro 'BKEYDATA_SIZE' 131 | BKEYDATA_SIZE(GET_BKEYDATA(pagep, indx)->len)); | ^~~~~~~~~~~~~ ../db/db_dup.c: In function '__db_dsplit': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../db/db_dup.c:265:11: note: in expansion of macro 'BKEYDATA_SIZE' 265 | sum += BKEYDATA_SIZE(GET_BKEYDATA(h, i)->len); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../db/db_dup.c:309:8: note: in expansion of macro 'BKEYDATA_SIZE' 309 | s = BKEYDATA_SIZE(bk->len); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../db/db_dup.c:325:8: note: in expansion of macro 'BKEYDATA_SIZE' 325 | s = BKEYDATA_SIZE(bk->len); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ../db/db_dup.c:340:16: note: in expansion of macro 'LOFFSET' 340 | memcpy(h, tp, LOFFSET(tp)); | ^~~~~~~ ../db/db_dup.c: In function '__db_pitem': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ../db/db_dup.c:501:15: note: in expansion of macro 'SSZA' 501 | thdr.size = SSZA(BKEYDATA, data); | ^~~~ ../db/db_dup.c: In function '__db_dsearch': ../db/db_dup.c:755:29: warning: variable 'save_indx' set but not used [-Wunused-but-set-variable] 755 | db_indx_t base, indx, lim, save_indx; | ^~~~~~~~~ At top level: ../db/db_dup.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)db_dup.c 10.35 (Sleepycat) 12/2/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_err.c ../common/db_err.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)db_err.c 10.42 (Sleepycat) 11/24/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_iface.c ../db/db_iface.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)db_iface.c 10.40 (Sleepycat) 12/19/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_join.c ../db/db_join.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)db_join.c 10.10 (Sleepycat) 10/9/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_log2.c ../common/db_log2.c:46:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 46 | static const char sccsid[] = "@(#)db_log2.c 10.5 (Sleepycat) 4/26/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_overflow.c In file included from ../db/db_overflow.c:60: ../db/db_overflow.c: In function '__db_goff': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ../db/db_overflow.c:140:26: note: in expansion of macro 'P_OVERHEAD' 140 | src = (u_int8_t *)h + P_OVERHEAD; | ^~~~~~~~~~ ../db/db_overflow.c: In function '__db_poff': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:247:38: note: in expansion of macro 'P_OVERHEAD' 247 | #define P_MAXSPACE(psize) ((psize) - P_OVERHEAD) | ^~~~~~~~~~ ../db/db_overflow.c:188:14: note: in expansion of macro 'P_MAXSPACE' 188 | pagespace = P_MAXSPACE(dbp->pgsize); | ^~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ../db/db_overflow.c:229:30: note: in expansion of macro 'P_OVERHEAD' 229 | memcpy((u_int8_t *)pagep + P_OVERHEAD, p, pagespace); | ^~~~~~~~~~ ../db/db_overflow.c: In function '__db_doff': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ../db/db_overflow.c:317:39: note: in expansion of macro 'P_OVERHEAD' 317 | tmp_dbt.data = (u_int8_t *)pagep + P_OVERHEAD; | ^~~~~~~~~~ ../db/db_overflow.c: In function '__db_moff': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ../db/db_overflow.c:388:27: note: in expansion of macro 'P_OVERHEAD' 388 | (u_int8_t *)pagep + P_OVERHEAD; cmp_bytes-- > 0; ++p1, ++p2) | ^~~~~~~~~~ At top level: ../db/db_overflow.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 50 | static const char sccsid[] = "@(#)db_overflow.c 10.21 (Sleepycat) 9/27/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_pr.c In file included from ../db/db_pr.c:24: ../db/db_pr.c: In function '__db_prpage': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ../db/db_pr.c:438:27: note: in expansion of macro 'P_OVERHEAD' 438 | __db_pr((u_int8_t *)h + P_OVERHEAD, OV_LEN(h)); | ^~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ../db/db_pr.c:449:39: note: in expansion of macro 'P_OVERHEAD' 449 | if (P_ENTRY(h, i) - (u_int8_t *)h < P_OVERHEAD || | ^~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 70 | #define SSZ(name, field) ((int)&(((name *)0)->field)) | ^ ./../include/db_page.h:364:45: note: in expansion of macro 'SSZ' 364 | #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) | ^~~ ../db/db_pr.c:488:9: note: in expansion of macro 'HOFFDUP_PGNO' 488 | HOFFDUP_PGNO(hk), sizeof(db_pgno_t)); | ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ../db/db_pr.c:500:12: note: in expansion of macro 'LEN_HKEYDATA' 500 | len = LEN_HKEYDATA(h, 0, i); | ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../db/db_pr.c:505:14: note: in expansion of macro 'HKEYDATA_DATA' 505 | for (p = HKEYDATA_DATA(hk), | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../db/db_pr.c:516:14: note: in expansion of macro 'HKEYDATA_DATA' 516 | __db_pr(HKEYDATA_DATA(hk), | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ../db/db_pr.c:517:10: note: in expansion of macro 'LEN_HKEYDATA' 517 | LEN_HKEYDATA(h, 0, i)); | ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../db/db_pr.c:519:26: note: in expansion of macro 'HKEYDATA_DATA' 519 | fprintf(fp, "%s\n", HKEYDATA_DATA(hk)); | ^~~~~~~~~~~~~ ../db/db_pr.c: In function '__db_isbad': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ../db/db_pr.c:615:39: note: in expansion of macro 'P_OVERHEAD' 615 | if (P_ENTRY(h, i) - (u_int8_t *)h < P_OVERHEAD || | ^~~~~~~~~~ At top level: ../db/db_pr.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)db_pr.c 10.40 (Sleepycat) 11/22/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_rec.c ../db/db_rec.c: In function '__db_addrem_recover': ../db/db_rec.c:91:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 91 | if (change) | ^ ../db/db_rec.c: In function '__db_split_recover': ../db/db_rec.c:127:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 127 | if ((ret = memp_fget(mpf, &argp->pgno, 0, &pagep)) != 0) | ^ In file included from ../db/db_rec.c:20: ../db/db_rec.c: In function '__db_big_recover': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ../db/db_rec.c:234:30: note: in expansion of macro 'P_OVERHEAD' 234 | memcpy((u_int8_t *)pagep + P_OVERHEAD, argp->dbt.data, | ^~~~~~~~~~ ../db/db_rec.c:256:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 256 | if ((ret = memp_fget(mpf, &argp->prev_pgno, 0, &pagep)) != 0) | ^ ../db/db_rec.c:296:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 296 | if ((ret = memp_fget(mpf, &argp->next_pgno, 0, &pagep)) != 0) | ^ ../db/db_rec.c: In function '__db_addpage_recover': ../db/db_rec.c:547:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 547 | if ((ret = memp_fget(mpf, &argp->nextpgno, 0, &pagep)) != 0) | ^ At top level: ../db/db_rec.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)db_rec.c 10.19 (Sleepycat) 9/27/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_region.c ../common/db_region.c: In function '__db_rattach': ../common/db_region.c:281:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 281 | if ((ret = __db_mapregion(infop->name, infop)) != 0) | ^ ../common/db_region.c:478:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 478 | if (F_ISSET(infop, REGION_PRIVATE) && !F_ISSET(infop, REGION_MALLOC)) | ^ ../common/db_region.c:38:9: warning: variable 'grow_region' set but not used [-Wunused-but-set-variable] 38 | size_t grow_region, size; | ^~~~~~~~~~~ ../common/db_region.c: In function '__db_rdetach': ../common/db_region.c:541:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 541 | if (F_ISSET(infop, REGION_LASTDETACH)) | ^ At top level: ../common/db_region.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)db_region.c 10.53 (Sleepycat) 11/10/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db/db_ret.c In file included from ../db/db_ret.c:21: ../db/db_ret.c: In function '__db_ret': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ../db/db_ret.c:57:9: note: in expansion of macro 'LEN_HKEYDATA' 57 | len = LEN_HKEYDATA(h, dbp->pgsize, indx); | ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../db/db_ret.c:58:10: note: in expansion of macro 'HKEYDATA_DATA' 58 | data = HKEYDATA_DATA(hk); | ^~~~~~~~~~~~~ At top level: ../db/db_ret.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)db_ret.c 10.16 (Sleepycat) 10/4/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_salloc.c ../common/db_salloc.c: In function '__db_shalloc_free': ../common/db_salloc.c:225:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 225 | if (!merged) | ^ At top level: ../common/db_salloc.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)db_salloc.c 10.14 (Sleepycat) 11/16/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../common/db_shash.c ../common/db_shash.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)db_shash.c 10.9 (Sleepycat) 4/10/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../dbm/dbm.c ../dbm/dbm.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 50 | static const char sccsid[] = "@(#)dbm.c 10.23 (Sleepycat) 11/22/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash.c ../hash/hash.c: In function '__ham_delete': ../hash/hash.c:264:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 264 | if ((ret = __ham_lookup(dbc, key, 0, DB_LOCK_WRITE)) == 0) | ^ In file included from ../hash/hash.c:61: ../hash/hash.c: In function '__ham_c_del': ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 70 | #define SSZ(name, field) ((int)&(((name *)0)->field)) | ^ ./../include/db_page.h:364:45: note: in expansion of macro 'SSZ' 364 | #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) | ^~~ ../hash/hash.c:455:12: note: in expansion of macro 'HOFFDUP_PGNO' 455 | memcpy(HOFFDUP_PGNO(P_ENTRY(hcp->pagep, | ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ./../include/db_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/hash.c:474:7: note: in expansion of macro 'LEN_HDATA' 474 | LEN_HDATA(hcp->pagep, hcp->hdr->pagesize, hcp->bndx)) | ^~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash.c:483:8: note: in expansion of macro 'HKEYDATA_DATA' 483 | HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); | ^~~~~~~~~~~~~ ../hash/hash.c: In function '__ham_c_put': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:312:3: note: in expansion of macro 'HKEYDATA_SIZE' 312 | (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) | ^~~~~~~~~~~~~ ../hash/hash.c:716:7: note: in expansion of macro 'HKEYDATA_PSIZE' 716 | HKEYDATA_PSIZE(key->size)) + | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:312:3: note: in expansion of macro 'HKEYDATA_SIZE' 312 | (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) | ^~~~~~~~~~~~~ ../hash/hash.c:718:7: note: in expansion of macro 'HKEYDATA_PSIZE' 718 | HKEYDATA_PSIZE(data->size)); | ^~~~~~~~~~~~~~ ../hash/hash.c: In function '__ham_dup_return': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ./../include/db_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/hash.c:937:20: note: in expansion of macro 'LEN_HDATA' 937 | hcp->dup_tlen = LEN_HDATA(hcp->pagep, | ^~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash.c:945:10: note: in expansion of macro 'HKEYDATA_DATA' 945 | HKEYDATA_DATA(hk) + hcp->dup_off, | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash.c:954:9: note: in expansion of macro 'HKEYDATA_DATA' 954 | HKEYDATA_DATA(hk), sizeof(db_indx_t)); | ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 70 | #define SSZ(name, field) ((int)&(((name *)0)->field)) | ^ ./../include/db_page.h:364:45: note: in expansion of macro 'SSZ' 364 | #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) | ^~~ ../hash/hash.c:961:18: note: in expansion of macro 'HOFFDUP_PGNO' 961 | memcpy(&pgno, HOFFDUP_PGNO(P_ENTRY(hcp->pagep, ndx)), | ^~~~~~~~~~~~ ../hash/hash.c:934:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 934 | if (!F_ISSET(hcp, H_ISDUP)) | ^ In file included from ../hash/hash.c:61: ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 70 | #define SSZ(name, field) ((int)&(((name *)0)->field)) | ^ ./../include/db_page.h:347:45: note: in expansion of macro 'SSZ' 347 | #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) | ^~~ ../hash/hash.c:996:9: note: in expansion of macro 'HOFFPAGE_TLEN' 996 | HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); | ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 70 | #define SSZ(name, field) ((int)&(((name *)0)->field)) | ^ ./../include/db_page.h:346:45: note: in expansion of macro 'SSZ' 346 | #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) | ^~~ ../hash/hash.c:998:9: note: in expansion of macro 'HOFFPAGE_PGNO' 998 | HOFFPAGE_PGNO(hk), sizeof(db_pgno_t)); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash.c:1007:20: note: in expansion of macro 'HKEYDATA_DATA' 1007 | tmp_val.data = HKEYDATA_DATA(hk); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ./../include/db_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/hash.c:1008:20: note: in expansion of macro 'LEN_HDATA' 1008 | tmp_val.size = LEN_HDATA(hcp->pagep, | ^~~~~~~~~ ../hash/hash.c:1024:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1024 | if (F_ISSET(hcp, H_ISDUP)) | ^ In file included from ../hash/hash.c:61: ../hash/hash.c: In function '__ham_overwrite': ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 70 | #define SSZ(name, field) ((int)&(((name *)0)->field)) | ^ ./../include/db_page.h:347:45: note: in expansion of macro 'SSZ' 347 | #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) | ^~~ ../hash/hash.c:1100:8: note: in expansion of macro 'HOFFPAGE_TLEN' 1100 | HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ./../include/db_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/hash.c:1102:19: note: in expansion of macro 'LEN_HDATA' 1102 | tmp_val.dlen = LEN_HDATA(hcp->pagep, | ^~~~~~~~~ ../hash/hash.c: In function '__ham_lookup': ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 70 | #define SSZ(name, field) ((int)&(((name *)0)->field)) | ^ ./../include/db_page.h:347:45: note: in expansion of macro 'SSZ' 347 | #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) | ^~~ ../hash/hash.c:1155:18: note: in expansion of macro 'HOFFPAGE_TLEN' 1155 | memcpy(&tlen, HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); | ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 70 | #define SSZ(name, field) ((int)&(((name *)0)->field)) | ^ ./../include/db_page.h:346:45: note: in expansion of macro 'SSZ' 346 | #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) | ^~~ ../hash/hash.c:1158:9: note: in expansion of macro 'HOFFPAGE_PGNO' 1158 | HOFFPAGE_PGNO(hk), sizeof(db_pgno_t)); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ./../include/db_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/hash.c:1169:21: note: in expansion of macro 'LEN_HKEY' 1169 | if (key->size == LEN_HKEY(hcp->pagep, | ^~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash.c:1172:8: note: in expansion of macro 'HKEYDATA_DATA' 1172 | HKEYDATA_DATA(hk), key->size) == 0) { | ^~~~~~~~~~~~~ ../hash/hash.c: In function '__ham_c_update': ../hash/hash.c:1322:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1322 | if (lcp->dpgno == PGNO_INVALID) | ^ At top level: ../hash/hash.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 50 | static const char sccsid[] = "@(#)hash.c 10.63 (Sleepycat) 12/11/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash_auto.c ../hash/hash_auto.c: In function '__ham_newpage_print': ../hash/hash_auto.c:325:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 325 | u_int ch; | ^~ ../hash/hash_auto.c:324:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] 324 | u_int32_t i; | ^ ../hash/hash_auto.c: In function '__ham_splitmeta_print': ../hash/hash_auto.c:488:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 488 | u_int ch; | ^~ ../hash/hash_auto.c:487:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] 487 | u_int32_t i; | ^ ../hash/hash_auto.c: In function '__ham_newpgno_print': ../hash/hash_auto.c:1043:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 1043 | u_int ch; | ^~ ../hash/hash_auto.c:1042:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] 1042 | u_int32_t i; | ^ ../hash/hash_auto.c: In function '__ham_ovfl_print': ../hash/hash_auto.c:1212:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 1212 | u_int ch; | ^~ ../hash/hash_auto.c:1211:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] 1211 | u_int32_t i; | ^ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash_conv.c ../hash/hash_conv.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 10 | static const char sccsid[] = "@(#)hash_conv.c 10.5 (Sleepycat) 4/10/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash_dup.c In file included from ../hash/hash_dup.c:68: ../hash/hash_dup.c: In function '__ham_add_dup': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ../hash/hash_dup.c:124:46: note: in expansion of macro 'LEN_HKEYDATA' 124 | new_size = DUP_SIZE(nval->size) - del_len + LEN_HKEYDATA(hcp->pagep, | ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' 219 | #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) | ^~~~~~~ ../hash/hash_dup.c:134:39: note: in expansion of macro 'P_FREESPACE' 134 | DUP_SIZE(nval->size) - del_len > P_FREESPACE(hcp->pagep))) { | ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash_dup.c:147:16: note: in expansion of macro 'HKEYDATA_DATA' 147 | pval.data = HKEYDATA_DATA(hk); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ./../include/db_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/hash_dup.c:148:16: note: in expansion of macro 'LEN_HDATA' 148 | pval.size = LEN_HDATA(hcp->pagep, dbp->pgsize, | ^~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ./../include/db_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/hash_dup.c:171:20: note: in expansion of macro 'LEN_HDATA' 171 | tmp_val.doff = LEN_HDATA(hcp->pagep, | ^~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash_dup.c:180:16: note: in expansion of macro 'HKEYDATA_DATA' 180 | dbt.data = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, | ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 70 | #define SSZ(name, field) ((int)&(((name *)0)->field)) | ^ ./../include/db_page.h:364:45: note: in expansion of macro 'SSZ' 364 | #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) | ^~~ ../hash/hash_dup.c:206:23: note: in expansion of macro 'HOFFDUP_PGNO' 206 | memcpy(&hcp->dpgno, HOFFDUP_PGNO(hk), sizeof(db_pgno_t)); | ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../hash/hash_dup.c:245:14: note: in expansion of macro 'BKEYDATA_SIZE' 245 | del_len = BKEYDATA_SIZE(GET_BKEYDATA(hcp->dpagep, | ^~~~~~~~~~~~~ ../hash/hash_dup.c: In function '__ham_dup_convert': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ./../include/db_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/hash_dup.c:306:7: note: in expansion of macro 'LEN_HDATA' 306 | LEN_HDATA(hcp->pagep, hcp->hdr->pagesize, hcp->bndx); | ^~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash_dup.c:307:14: note: in expansion of macro 'HKEYDATA_DATA' 307 | dbt.data = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./db_int.h:54:32: note: in definition of macro 'ALIGN' 54 | #define ALIGN(value, bound) (((value) + (bound) - 1) & ~((bound) - 1)) | ^~~~~ ./../include/db_page.h:418:16: note: in expansion of macro 'SSZA' 418 | ALIGN((len) + SSZA(BKEYDATA, data), 4) | ^~~~ ../hash/hash_dup.c:309:24: note: in expansion of macro 'BKEYDATA_SIZE' 309 | (u_int32_t)dndx, BKEYDATA_SIZE(dbt.size), NULL, &dbt); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash_dup.c:331:7: note: in expansion of macro 'HKEYDATA_DATA' 331 | p = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ./../include/db_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/hash_dup.c:333:7: note: in expansion of macro 'LEN_HDATA' 333 | LEN_HDATA(hcp->pagep, hcp->hdr->pagesize, hcp->bndx); | ^~~~~~~~~ ../hash/hash_dup.c: In function '__ham_check_move': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash_dup.c:444:26: note: in expansion of macro 'HKEYDATA_SIZE' 444 | new_datalen = old_len - HKEYDATA_SIZE(0) + add_len; | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' 219 | #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) | ^~~~~~~ ../hash/hash_dup.c:455:32: note: in expansion of macro 'P_FREESPACE' 455 | HOFFDUP_SIZE - old_len <= P_FREESPACE(hcp->pagep))) | ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' 219 | #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) | ^~~~~~~ ../hash/hash_dup.c:459:26: note: in expansion of macro 'P_FREESPACE' 459 | add_len <= (int32_t)P_FREESPACE(hcp->pagep)) | ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash_dup.c:468:21: note: in expansion of macro 'HKEYDATA_SIZE' 468 | HOFFDUP_SIZE : HKEYDATA_SIZE(new_datalen); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' 219 | #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) | ^~~~~~~ ../hash/hash_dup.c:481:7: note: in expansion of macro 'P_FREESPACE' 481 | if (P_FREESPACE(next_pagep) >= new_datalen) | ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' 219 | #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) | ^~~~~~~ ../hash/hash_dup.c:491:6: note: in expansion of macro 'P_FREESPACE' 491 | if (P_FREESPACE(next_pagep) < new_datalen && (ret = | ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash_dup.c:507:8: note: in expansion of macro 'HKEYDATA_DATA' 507 | HKEYDATA_DATA(H_PAIRKEY(hcp->pagep, hcp->bndx)); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ./../include/db_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/hash_dup.c:508:13: note: in expansion of macro 'LEN_HKEY' 508 | k.size = LEN_HKEY(hcp->pagep, | ^~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash_dup.c:518:8: note: in expansion of macro 'HKEYDATA_DATA' 518 | HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ./../include/db_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/hash_dup.c:519:13: note: in expansion of macro 'LEN_HDATA' 519 | d.size = LEN_HDATA(hcp->pagep, | ^~~~~~~~~ ../hash/hash_dup.c: In function '__ham_dsearch': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash_dup.c:643:9: note: in expansion of macro 'HKEYDATA_DATA' 643 | data = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)) + i; | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ./../include/db_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/hash_dup.c:644:13: note: in expansion of macro 'LEN_HDATA' 644 | while (i < LEN_HDATA(hcp->pagep, hcp->hdr->pagesize, hcp->bndx)) { | ^~~~~~~~~ At top level: ../hash/hash_dup.c:45:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 45 | static const char sccsid[] = "@(#)hash_dup.c 10.27 (Sleepycat) 12/6/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash_func.c ../hash/hash_func.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 50 | static const char sccsid[] = "@(#)hash_func.c 10.8 (Sleepycat) 4/10/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash_page.c In file included from ../hash/hash_page.c:76: ../hash/hash_page.c: In function '__ham_item': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' 219 | #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) | ^~~~~~~ ../hash/hash_page.c:112:26: note: in expansion of macro 'P_FREESPACE' 112 | && hcp->seek_size < P_FREESPACE(hcp->pagep)) | ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash_page.c:123:7: note: in expansion of macro 'HKEYDATA_DATA' 123 | HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)) + | ^~~~~~~~~~~~~ ../hash/hash_page.c: In function '__ham_item_prev': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash_page.c:352:26: note: in expansion of macro 'HKEYDATA_DATA' 352 | memcpy(&h->dup_len, HKEYDATA_DATA( | ^~~~~~~~~~~~~ ../hash/hash_page.c:346:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 346 | if (hcp->dup_off != 0) | ^ In file included from ../hash/hash_page.c:76: ../hash/hash_page.c: In function '__ham_putitem': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash_page.c:538:22: note: in expansion of macro 'HKEYDATA_SIZE' 538 | off = HOFFSET(p) - HKEYDATA_SIZE(dbt->size); | ^~~~~~~~~~~~~ ../hash/hash_page.c: In function '__ham_del_pair': ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 70 | #define SSZ(name, field) ((int)&(((name *)0)->field)) | ^ ./../include/db_page.h:346:45: note: in expansion of macro 'SSZ' 346 | #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) | ^~~ ../hash/hash_page.c:634:17: note: in expansion of macro 'HOFFPAGE_PGNO' 634 | memcpy(&pgno, HOFFPAGE_PGNO(P_ENTRY(p, H_KEYINDEX(ndx))), | ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 70 | #define SSZ(name, field) ((int)&(((name *)0)->field)) | ^ ./../include/db_page.h:346:45: note: in expansion of macro 'SSZ' 346 | #define HOFFPAGE_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, pgno)) | ^~~ ../hash/hash_page.c:643:8: note: in expansion of macro 'HOFFPAGE_PGNO' 643 | HOFFPAGE_PGNO(P_ENTRY(p, H_DATAINDEX(ndx))), | ^~~~~~~~~~~~~ ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 70 | #define SSZ(name, field) ((int)&(((name *)0)->field)) | ^ ./../include/db_page.h:364:45: note: in expansion of macro 'SSZ' 364 | #define HOFFDUP_PGNO(p) (((u_int8_t *)p) + SSZ(HOFFDUP, pgno)) | ^~~ ../hash/hash_page.c:649:8: note: in expansion of macro 'HOFFDUP_PGNO' 649 | HOFFDUP_PGNO(P_ENTRY(p, H_DATAINDEX(ndx))), | ^~~~~~~~~~~~ ../hash/hash_page.c: In function '__ham_replpair': ./db_int.h:70:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 70 | #define SSZ(name, field) ((int)&(((name *)0)->field)) | ^ ./../include/db_page.h:347:45: note: in expansion of macro 'SSZ' 347 | #define HOFFPAGE_TLEN(p) (((u_int8_t *)p) + SSZ(HOFFPAGE, tlen)) | ^~~ ../hash/hash_page.c:894:16: note: in expansion of macro 'HOFFPAGE_TLEN' 894 | memcpy(&len, HOFFPAGE_TLEN(hk), sizeof(u_int32_t)); | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ../hash/hash_page.c:896:9: note: in expansion of macro 'LEN_HKEYDATA' 896 | len = LEN_HKEYDATA(hcp->pagep, | ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' 219 | #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) | ^~~~~~~ ../hash/hash_page.c:903:24: note: in expansion of macro 'P_FREESPACE' 903 | if (change > (int32_t)P_FREESPACE(hcp->pagep) || is_big) { | ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash_page.c:975:8: note: in expansion of macro 'HKEYDATA_DATA' 975 | beg = HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)); | ^~~~~~~~~~~~~ ../hash/hash_page.c: In function '__ham_onpage_replace': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ../hash/hash_page.c:1034:30: note: in expansion of macro 'LEN_HKEYDATA' 1034 | else if ((u_int32_t)off >= LEN_HKEYDATA(pagep, pgsize, ndx)) { | ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash_page.c:1035:10: note: in expansion of macro 'HKEYDATA_DATA' 1035 | len = HKEYDATA_DATA(P_ENTRY(pagep, ndx)) + | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:303:18: note: in expansion of macro 'HKEYDATA_SIZE' 303 | pg->inp[indx] - HKEYDATA_SIZE(0)) | ^~~~~~~~~~~~~ ../hash/hash_page.c:1036:8: note: in expansion of macro 'LEN_HKEYDATA' 1036 | LEN_HKEYDATA(pagep, pgsize, ndx) - src; | ^~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash_page.c:1039:11: note: in expansion of macro 'HKEYDATA_DATA' 1039 | len = (HKEYDATA_DATA(P_ENTRY(pagep, ndx)) + off) - src; | ^~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:292:45: note: in expansion of macro 'SSZA' 292 | #define HKEYDATA_DATA(p) (((u_int8_t *)p) + SSZA(HKEYDATA, data)) | ^~~~ ../hash/hash_page.c:1051:10: note: in expansion of macro 'HKEYDATA_DATA' 1051 | memcpy(HKEYDATA_DATA(P_ENTRY(pagep, ndx)) + off, | ^~~~~~~~~~~~~ ../hash/hash_page.c: In function '__ham_split_page': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' 219 | #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) | ^~~~~~~ ../hash/hash_page.c:1134:8: note: in expansion of macro 'P_FREESPACE' 1134 | if (P_FREESPACE(*pp) < len) { | ^~~~~~~~~~~ ../hash/hash_page.c: In function '__ham_add_el': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:312:3: note: in expansion of macro 'HKEYDATA_SIZE' 312 | (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) | ^~~~~~~~~~~~~ ../hash/hash_page.c:1262:13: note: in expansion of macro 'HKEYDATA_PSIZE' 1262 | key_size = HKEYDATA_PSIZE(key->size); | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:310:11: note: in expansion of macro 'SSZA' 310 | ((len) + SSZA(HKEYDATA, data)) | ^~~~ ./../include/db_page.h:312:3: note: in expansion of macro 'HKEYDATA_SIZE' 312 | (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) | ^~~~~~~~~~~~~ ../hash/hash_page.c:1263:14: note: in expansion of macro 'HKEYDATA_PSIZE' 1263 | data_size = HKEYDATA_PSIZE(val->size); | ^~~~~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' 219 | #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) | ^~~~~~~ ../hash/hash_page.c:1281:7: note: in expansion of macro 'P_FREESPACE' 1281 | if (P_FREESPACE(hcp->pagep) >= pairsize) | ^~~~~~~~~~~ ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ./../include/db_page.h:213:22: note: in expansion of macro 'SSZA' 213 | #define P_OVERHEAD (SSZA(PAGE, inp)) | ^~~~ ./../include/db_page.h:216:23: note: in expansion of macro 'P_OVERHEAD' 216 | #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) | ^~~~~~~~~~ ./../include/db_page.h:219:41: note: in expansion of macro 'LOFFSET' 219 | #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) | ^~~~~~~ ../hash/hash_page.c:1292:6: note: in expansion of macro 'P_FREESPACE' 1292 | if (P_FREESPACE(hcp->pagep) < pairsize) { | ^~~~~~~~~~~ At top level: ../hash/hash_page.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 50 | static const char sccsid[] = "@(#)hash_page.c 10.55 (Sleepycat) 1/3/99"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash_rec.c ../hash/hash_rec.c: In function '__ham_insdel_recover': ../hash/hash_rec.c:98:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 98 | if (ret != 0) | ^ ../hash/hash_rec.c: In function '__ham_newpage_recover': ../hash/hash_rec.c:206:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 206 | if (ret != 0) | ^ ../hash/hash_rec.c:263:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 263 | if (ret != 0) | ^ ../hash/hash_rec.c:310:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 310 | if (ret != 0) | ^ ../hash/hash_rec.c: In function '__ham_replace_recover': ../hash/hash_rec.c:395:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 395 | if (ret != 0) | ^ ../hash/hash_rec.c: In function '__ham_newpgno_recover': ../hash/hash_rec.c:532:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 532 | if (ret != 0) | ^ ../hash/hash_rec.c: In function '__ham_splitmeta_recover': ../hash/hash_rec.c:601:16: warning: variable 'mpf' set but not used [-Wunused-but-set-variable] 601 | DB_MPOOLFILE *mpf; | ^~~ ../hash/hash_rec.c: In function '__ham_splitdata_recover': ../hash/hash_rec.c:692:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 692 | if (ret != 0) | ^ ../hash/hash_rec.c: In function '__ham_copypage_recover': ../hash/hash_rec.c:877:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 877 | if (ret != 0) | ^ ../hash/hash_rec.c:911:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 911 | if (ret != 0) | ^ ../hash/hash_rec.c:941:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 941 | if (ret != 0) | ^ At top level: ../hash/hash_rec.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 50 | static const char sccsid[] = "@(#)hash_rec.c 10.22 (Sleepycat) 10/21/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hash/hash_stat.c ../hash/hash_stat.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)hash_stat.c 10.12 (Sleepycat) 12/19/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../hsearch/hsearch.c ../hsearch/hsearch.c:50:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 50 | static const char sccsid[] = "@(#)hsearch.c 10.9 (Sleepycat) 4/18/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../lock/lock.c ../lock/lock.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)lock.c 10.61 (Sleepycat) 1/3/99"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../lock/lock_conflict.c ../lock/lock_conflict.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)lock_conflict.c 10.4 (Sleepycat) 11/20/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../lock/lock_deadlock.c ../lock/lock_deadlock.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)lock_deadlock.c 10.37 (Sleepycat) 10/4/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../lock/lock_util.c ../lock/lock_util.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)lock_util.c 10.10 (Sleepycat) 9/20/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../lock/lock_region.c ../lock/lock_region.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)lock_region.c 10.21 (Sleepycat) 10/19/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log.c ../log/log.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 10 | static const char sccsid[] = "@(#)log.c 10.63 (Sleepycat) 10/10/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_archive.c ../log/log_archive.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)log_archive.c 10.44 (Sleepycat) 10/9/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_auto.c gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_compare.c ../log/log_compare.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 10 | static const char sccsid[] = "@(#)log_compare.c 10.3 (Sleepycat) 4/10/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_findckp.c ../log/log_findckp.c: In function '__log_findckp': ../log/log_findckp.c:76:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 76 | if ((ret = log_get(lp, &last_ckp, &data, DB_CHECKPOINT)) != 0) | ^ At top level: ../log/log_findckp.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)log_findckp.c 10.17 (Sleepycat) 9/17/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_get.c ../log/log_get.c: In function '__log_get': ../log/log_get.c:318:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 318 | err1: if (!silent) | ^ At top level: ../log/log_get.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 10 | static const char sccsid[] = "@(#)log_get.c 10.38 (Sleepycat) 10/3/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_put.c ../log/log_put.c: In function '__log_flush': ../log/log_put.c:340:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 340 | if (!current && lp->s_lsn.file != 0) | ^ At top level: ../log/log_put.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 10 | static const char sccsid[] = "@(#)log_put.c 10.44 (Sleepycat) 11/3/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_rec.c ../log/log_rec.c:43:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 43 | static const char sccsid[] = "@(#)log_rec.c 10.26 (Sleepycat) 10/21/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../log/log_register.c ../log/log_register.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 10 | static const char sccsid[] = "@(#)log_register.c 10.22 (Sleepycat) 9/27/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_bh.c ../mp/mp_bh.c: In function '__memp_pgread': ../mp/mp_bh.c:192:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 192 | if (nr < (ssize_t)pagesize) | ^ At top level: ../mp/mp_bh.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 10 | static const char sccsid[] = "@(#)mp_bh.c 10.45 (Sleepycat) 11/25/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_fget.c ../mp/mp_fget.c: In function 'memp_fget': ../mp/mp_fget.c:143:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 143 | if (dbmfp->addr != NULL && F_ISSET(mfp, MP_CAN_MMAP)) | ^ At top level: ../mp/mp_fget.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 10 | static const char sccsid[] = "@(#)mp_fget.c 10.53 (Sleepycat) 11/16/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_fopen.c ../mp/mp_fopen.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 10 | static const char sccsid[] = "@(#)mp_fopen.c 10.60 (Sleepycat) 1/1/99"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_fput.c In file included from ../mp/mp_fput.c:19: ../mp/mp_fput.c: In function 'memp_fput': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ../mp/mp_fput.c:85:36: note: in expansion of macro 'SSZA' 85 | bhp = (BH *)((u_int8_t *)pgaddr - SSZA(BH, buf)); | ^~~~ ../mp/mp_fput.c:130:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 130 | if (F_ISSET(bhp, BH_WRITE)) | ^ At top level: ../mp/mp_fput.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 10 | static const char sccsid[] = "@(#)mp_fput.c 10.24 (Sleepycat) 9/27/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_fset.c In file included from ../mp/mp_fset.c:19: ../mp/mp_fset.c: In function 'memp_fset': ./db_int.h:73:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | #define SSZA(name, field) ((int)&(((name *)0)->field[0])) | ^ ../mp/mp_fset.c:64:36: note: in expansion of macro 'SSZA' 64 | bhp = (BH *)((u_int8_t *)pgaddr - SSZA(BH, buf)); | ^~~~ At top level: ../mp/mp_fset.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 10 | static const char sccsid[] = "@(#)mp_fset.c 10.16 (Sleepycat) 9/27/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_open.c ../mp/mp_open.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 10 | static const char sccsid[] = "@(#)mp_open.c 10.27 (Sleepycat) 10/1/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_pr.c ../mp/mp_pr.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 10 | static const char sccsid[] = "@(#)mp_pr.c 10.30 (Sleepycat) 10/1/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_region.c ../mp/mp_region.c: In function '__memp_ropen': ../mp/mp_region.c:227:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 227 | if (cachesize < DB_CACHESIZE_MIN) | ^ At top level: ../mp/mp_region.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 10 | static const char sccsid[] = "@(#)mp_region.c 10.35 (Sleepycat) 12/11/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mp/mp_sync.c ../mp/mp_sync.c:10:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 10 | static const char sccsid[] = "@(#)mp_sync.c 10.31 (Sleepycat) 12/11/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../mutex/mutex.c ../mutex/mutex.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)mutex.c 10.52 (Sleepycat) 11/8/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_abs.c ../os/os_abs.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)os_abs.c 10.9 (Sleepycat) 7/21/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_alloc.c ../os/os_alloc.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)os_alloc.c 10.10 (Sleepycat) 10/12/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_config.c ../os/os_config.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)os_config.c 10.30 (Sleepycat) 10/12/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_dir.c ../os/os_dir.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)os_dir.c 10.19 (Sleepycat) 10/12/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_fid.c ../os/os_fid.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)os_fid.c 10.12 (Sleepycat) 7/21/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_fsync.c ../os/os_fsync.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)os_fsync.c 10.7 (Sleepycat) 10/12/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_map.c ../os/os_map.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)os_map.c 10.24 (Sleepycat) 10/12/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_oflags.c ../os/os_oflags.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)os_oflags.c 10.6 (Sleepycat) 4/19/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_open.c ../os/os_open.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)os_open.c 10.33 (Sleepycat) 10/12/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_rpath.c ../os/os_rpath.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)os_rpath.c 10.3 (Sleepycat) 4/10/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_rw.c ../os/os_rw.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)os_rw.c 10.11 (Sleepycat) 10/12/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_seek.c ../os/os_seek.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)os_seek.c 10.11 (Sleepycat) 10/12/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_sleep.c ../os/os_sleep.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)os_sleep.c 10.12 (Sleepycat) 10/12/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_spin.c ../os/os_spin.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)os_spin.c 10.10 (Sleepycat) 10/12/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_stat.c ../os/os_stat.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)os_stat.c 10.18 (Sleepycat) 10/12/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_tmpdir.c ../os/os_tmpdir.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)os_tmpdir.c 10.3 (Sleepycat) 10/13/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../os/os_unlink.c ../os/os_unlink.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)os_unlink.c 10.7 (Sleepycat) 10/12/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../txn/txn.c ../txn/txn.c: In function '__txn_end': ../txn/txn.c:612:12: warning: variable 'locker' set but not used [-Wunused-but-set-variable] 612 | u_int32_t locker; | ^~~~~~ At top level: ../txn/txn.c:46:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 46 | static const char sccsid[] = "@(#)txn.c 10.66 (Sleepycat) 1/3/99"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../txn/txn_auto.c ../txn/txn_auto.c: In function '__txn_regop_print': ../txn/txn_auto.c:82:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 82 | u_int ch; | ^~ ../txn/txn_auto.c:81:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] 81 | u_int32_t i; | ^ ../txn/txn_auto.c: In function '__txn_ckp_print': ../txn/txn_auto.c:211:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 211 | u_int ch; | ^~ ../txn/txn_auto.c:210:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] 210 | u_int32_t i; | ^ ../txn/txn_auto.c: In function '__txn_child_print': ../txn/txn_auto.c:517:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 517 | u_int ch; | ^~ ../txn/txn_auto.c:516:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] 516 | u_int32_t i; | ^ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../txn/txn_rec.c ../txn/txn_rec.c: In function '__txn_restore_txn': ../txn/txn_rec.c:289:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 289 | memcpy(td->xid, argp->xid.data, argp->xid.size); | ^~~~~~ ../txn/txn_rec.c:289:2: warning: incompatible implicit declaration of built-in function 'memcpy' ../txn/txn_rec.c:59:1: note: include '' or provide a declaration of 'memcpy' 58 | #include "common_ext.h" +++ |+#include 59 | At top level: ../txn/txn_rec.c:43:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 43 | static const char sccsid[] = "@(#)txn_rec.c 10.15 (Sleepycat) 1/3/99"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../xa/xa.c ../xa/xa.c:12:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 12 | static const char sccsid[] = "@(#)xa.c 10.4 (Sleepycat) 10/11/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../xa/xa_db.c ../xa/xa_db.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)xa_db.c 10.6 (Sleepycat) 12/19/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../xa/xa_map.c ../xa/xa_map.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)xa_map.c 10.4 (Sleepycat) 10/20/98"; | ^~~~~~ /bin/rm -f libdb.a /usr/bin/ar cr libdb.a bt_compare.o bt_conv.o bt_curadj.o bt_cursor.o bt_delete.o bt_open.o bt_page.o bt_put.o bt_rec.o bt_recno.o bt_rsearch.o bt_search.o bt_split.o bt_stat.o btree_auto.o db.o db_appinit.o db_am.o db_apprec.o db_auto.o db_byteorder.o db_conv.o db_dispatch.o db_dup.o db_err.o db_iface.o db_join.o db_log2.o db_overflow.o db_pr.o db_rec.o db_region.o db_ret.o db_salloc.o db_shash.o dbm.o hash.o hash_auto.o hash_conv.o hash_dup.o hash_func.o hash_page.o hash_rec.o hash_stat.o hsearch.o lock.o lock_conflict.o lock_deadlock.o lock_util.o lock_region.o log.o log_archive.o log_auto.o log_compare.o log_findckp.o log_get.o log_put.o log_rec.o log_register.o mp_bh.o mp_fget.o mp_fopen.o mp_fput.o mp_fset.o mp_open.o mp_pr.o mp_region.o mp_sync.o mutex.o os_abs.o os_alloc.o os_config.o os_dir.o os_fid.o os_fsync.o os_map.o os_oflags.o os_open.o os_rpath.o os_rw.o os_seek.o os_sleep.o os_spin.o os_stat.o os_tmpdir.o os_unlink.o txn.o txn_auto.o txn_rec.o xa.o xa_db.o xa_map.o test ! -f /usr/bin/ranlib || /usr/bin/ranlib libdb.a gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_archive/db_archive.c ../db_archive/db_archive.c:14:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 14 | static const char sccsid[] = "@(#)db_archive.c 10.20 (Sleepycat) 10/3/98"; | ^~~~~~ ../db_archive/db_archive.c:11:19: warning: 'copyright' defined but not used [-Wunused-const-variable=] 11 | static const char copyright[] = | ^~~~~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../clib/err.c ../clib/err.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)err.c 10.5 (Sleepycat) 11/24/98"; | ^~~~~~ gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../clib/getlong.c ../clib/getlong.c:11:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 11 | static const char sccsid[] = "@(#)getlong.c 10.3 (Sleepycat) 4/10/98"; | ^~~~~~ gcc -o db_archive db_archive.o err.o getlong.o libdb.a gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_checkpoint/db_checkpoint.c ../db_checkpoint/db_checkpoint.c:14:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 14 | static const char sccsid[] = "@(#)db_checkpoint.c 10.21 (Sleepycat) 10/4/98"; | ^~~~~~ ../db_checkpoint/db_checkpoint.c:11:19: warning: 'copyright' defined but not used [-Wunused-const-variable=] 11 | static const char copyright[] = | ^~~~~~~~~ gcc -o db_checkpoint db_checkpoint.o err.o getlong.o libdb.a gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_deadlock/db_deadlock.c ../db_deadlock/db_deadlock.c:14:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 14 | static const char sccsid[] = "@(#)db_deadlock.c 10.23 (Sleepycat) 10/4/98"; | ^~~~~~ ../db_deadlock/db_deadlock.c:11:19: warning: 'copyright' defined but not used [-Wunused-const-variable=] 11 | static const char copyright[] = | ^~~~~~~~~ gcc -o db_deadlock db_deadlock.o err.o getlong.o libdb.a gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_dump/db_dump.c ../db_dump/db_dump.c:14:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 14 | static const char sccsid[] = "@(#)db_dump.c 10.24 (Sleepycat) 11/22/98"; | ^~~~~~ ../db_dump/db_dump.c:11:19: warning: 'copyright' defined but not used [-Wunused-const-variable=] 11 | static const char copyright[] = | ^~~~~~~~~ gcc -o db_dump db_dump.o err.o getlong.o libdb.a gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_load/db_load.c ../db_load/db_load.c:14:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 14 | static const char sccsid[] = "@(#)db_load.c 10.23 (Sleepycat) 10/4/98"; | ^~~~~~ ../db_load/db_load.c:11:19: warning: 'copyright' defined but not used [-Wunused-const-variable=] 11 | static const char copyright[] = | ^~~~~~~~~ gcc -o db_load db_load.o err.o getlong.o libdb.a gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_printlog/db_printlog.c ../db_printlog/db_printlog.c:14:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 14 | static const char sccsid[] = "@(#)db_printlog.c 10.17 (Sleepycat) 11/1/98"; | ^~~~~~ ../db_printlog/db_printlog.c:11:19: warning: 'copyright' defined but not used [-Wunused-const-variable=] 11 | static const char copyright[] = | ^~~~~~~~~ gcc -o db_printlog db_printlog.o err.o getlong.o libdb.a gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_recover/db_recover.c ../db_recover/db_recover.c:14:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 14 | static const char sccsid[] = "@(#)db_recover.c 10.23 (Sleepycat) 10/5/98"; | ^~~~~~ ../db_recover/db_recover.c:11:19: warning: 'copyright' defined but not used [-Wunused-const-variable=] 11 | static const char copyright[] = | ^~~~~~~~~ gcc -o db_recover db_recover.o err.o getlong.o libdb.a gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -I. -I./../include -D_REENTRANT ../db_stat/db_stat.c ../db_stat/db_stat.c:14:19: warning: 'sccsid' defined but not used [-Wunused-const-variable=] 14 | static const char sccsid[] = "@(#)db_stat.c 8.41 (Sleepycat) 10/3/98"; | ^~~~~~ ../db_stat/db_stat.c:11:19: warning: 'copyright' defined but not used [-Wunused-const-variable=] 11 | static const char copyright[] = | ^~~~~~~~~ gcc -o db_stat db_stat.o err.o getlong.o libdb.a make[1]: Leaving directory '/usr/src/RPM/BUILD/pks-0.9.6/db2-sleepycat/dist' gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pksclient.o pksclient.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_add.o kd_add.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_delete.o kd_delete.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_disable.o kd_disable.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_generic.o kd_generic.c kd_generic.c: In function 'kd_backup_1': kd_generic.c:641:39: warning: '%03d' directive writing between 3 and 10 bytes into a region of size 8 [-Wformat-overflow=] 641 | sprintf(keydbname, "backup/keydb%03d", i); | ^~~~ kd_generic.c:641:26: note: directive argument in the range [0, 2147483647] 641 | sprintf(keydbname, "backup/keydb%03d", i); | ^~~~~~~~~~~~~~~~~~ kd_generic.c:641:7: note: 'sprintf' output between 16 and 23 bytes into a destination of size 20 641 | sprintf(keydbname, "backup/keydb%03d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_get.o kd_get.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_index.o kd_index.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_search.o kd_search.c kd_search.c: In function 'word_key_intersect': kd_search.c:931:59: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 931 | sprintf(s->err->buf, "search word is greater than %d characters", | ~^ | | | int | %ld 932 | sizeof(word)); | ~~~~~~~~~~~~ | | | long unsigned int gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_since.o kd_since.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_types.o kd_types.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pgputil.o pgputil.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o md5c.o md5c.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o armor.o armor.c armor.c:326:41: warning: array initialized from parenthesized string constant [-Wpedantic] 326 | const unsigned char headerline_tail[] = ("-----\n" | ^ gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pgpcrc.o pgpcrc.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o shs.o shs.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o parse.o parse.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o llist.o llist.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o globals.o globals.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o logging.o logging.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o util.o util.c gcc -o pksclient pksclient.o kd_add.o kd_delete.o kd_disable.o kd_generic.o kd_get.o kd_index.o kd_search.o kd_since.o kd_types.o pgputil.o md5c.o armor.o pgpcrc.o shs.o parse.o llist.o globals.o logging.o util.o db2-sleepycat/dist/libdb.a gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pksdctl.o pksdctl.c gcc -o pksdctl pksdctl.o gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pgpsplit.o pgpsplit.c gcc -o pgpsplit pgpsplit.o pgputil.o md5c.o armor.o pgpcrc.o shs.o util.o gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pksd.o pksd.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pks_config.o pks_config.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pks_www.o pks_www.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pks_socket.o pks_socket.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o www.o www.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o mail_req.o mail_req.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o mail_send.o mail_send.c mail_send.c: In function 'mail_help': mail_send.c:373:41: warning: '%s' directive writing up to 1023 bytes into a region of size 1000 [-Wformat-overflow=] 373 | sprintf(buf, "error opening help file %s", helpfile); | ^~ ~~~~~~~~ mail_send.c:373:3: note: 'sprintf' output between 25 and 1048 bytes into a destination of size 1024 373 | sprintf(buf, "error opening help file %s", helpfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mail_send.c:390:41: warning: '%s' directive writing up to 1023 bytes into a region of size 1000 [-Wformat-overflow=] 390 | sprintf(buf, "error reading help file %s", helpfile); | ^~ ~~~~~~~~ mail_send.c:390:3: note: 'sprintf' output between 25 and 1048 bytes into a destination of size 1024 390 | sprintf(buf, "error reading help file %s", helpfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pks_incr.o pks_incr.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kd_signal.o kd_signal.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o multiplex.o multiplex.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o mp_signal.o mp_signal.c gcc -o pksd pksd.o pks_config.o pks_www.o pks_socket.o www.o mail_req.o mail_send.o pks_incr.o kd_add.o kd_delete.o kd_disable.o kd_generic.o kd_get.o kd_index.o kd_search.o kd_since.o kd_types.o pgputil.o md5c.o armor.o pgpcrc.o shs.o kd_signal.o multiplex.o mp_signal.o parse.o llist.o globals.o logging.o util.o db2-sleepycat/dist/libdb.a sh mkpksdconf > pksd.conf make: Leaving directory '/usr/src/RPM/BUILD/pks-0.9.6' + make all-utils make: Entering directory '/usr/src/RPM/BUILD/pks-0.9.6' gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pksmailreq.o pksmailreq.c gcc -o pksmailreq pksmailreq.o mail_req.o mail_send.o pks_incr.o kd_add.o kd_delete.o kd_disable.o kd_generic.o kd_get.o kd_index.o kd_search.o kd_since.o kd_types.o pgputil.o md5c.o armor.o pgpcrc.o shs.o kd_signal.o multiplex.o mp_signal.o parse.o llist.o globals.o logging.o util.o db2-sleepycat/dist/libdb.a gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o wwwtest.o wwwtest.c gcc -o wwwtest wwwtest.o www.o kd_signal.o multiplex.o mp_signal.o parse.o llist.o globals.o logging.o util.o db2-sleepycat/dist/libdb.a gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pgpdump.o pgpdump.c gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pgpfile.o pgpfile.c gcc -o pgpdump pgpdump.o pgpfile.o pgputil.o md5c.o armor.o pgpcrc.o shs.o util.o gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kvcv.o kvcv.c gcc -o kvcv kvcv.o pgpfile.o logging.o pgputil.o md5c.o armor.o pgpcrc.o shs.o util.o gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o kxa.o kxa.c gcc -o kxa kxa.o pgpfile.o pgputil.o md5c.o armor.o pgpcrc.o shs.o util.o gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pkscheck.o pkscheck.c gcc -o pkscheck pkscheck.o kd_add.o kd_delete.o kd_disable.o kd_generic.o kd_get.o kd_index.o kd_search.o kd_since.o kd_types.o pgputil.o md5c.o armor.o pgpcrc.o shs.o util.o parse.o llist.o globals.o logging.o db2-sleepycat/dist/libdb.a gcc -Wall -pedantic -g -O -Idb2-sleepycat/dist -DDEBUG -DHAVE_SYS_SELECT_H=1 -DHAVE_MMAP=1 -DHAVE_MADVISE=1 -DHAVE_SOCKLEN_T=1 -c -o pksdump.o pksdump.c gcc -o pksdump pksdump.o kd_add.o kd_delete.o kd_disable.o kd_generic.o kd_get.o kd_index.o kd_search.o kd_since.o kd_types.o pgputil.o md5c.o armor.o pgpcrc.o shs.o util.o parse.o llist.o globals.o logging.o db2-sleepycat/dist/libdb.a make: Leaving directory '/usr/src/RPM/BUILD/pks-0.9.6' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.40564 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/pks-buildroot + : + /bin/rm -rf -- /usr/src/tmp/pks-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd pks-0.9.6 + make DESTDIR=/usr/src/tmp/pks-buildroot install make: Entering directory '/usr/src/RPM/BUILD/pks-0.9.6' for i in db2-sleepycat/dist; do (test -d $i && cd $i && make DESTDIR=/usr/src/tmp/pks-buildroot RPM_BUILD_DIR=/usr/src/tmp/pks-buildroot install) || exit 1; done make[1]: Entering directory '/usr/src/RPM/BUILD/pks-0.9.6/db2-sleepycat/dist' Installing DB include files: /usr/src/tmp/pks-buildroot/usr/include/db2 ... Installing DB utilities: /usr/src/tmp/pks-buildroot/usr/bin ... make[1]: Leaving directory '/usr/src/RPM/BUILD/pks-0.9.6/db2-sleepycat/dist' for i in db2-sleepycat/dist; do (test -d $i && cd $i && make DESTDIR=/usr/src/tmp/pks-buildroot RPM_BUILD_DIR=/usr/src/tmp/pks-buildroot all) || exit 1; done make[1]: Entering directory '/usr/src/RPM/BUILD/pks-0.9.6/db2-sleepycat/dist' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/RPM/BUILD/pks-0.9.6/db2-sleepycat/dist' mkdir -p /usr/src/tmp/pks-buildroot/usr/bin /usr/src/tmp/pks-buildroot/usr/sbin /usr/src/tmp/pks-buildroot/usr/share/pks /usr/src/tmp/pks-buildroot/etc /usr/src/tmp/pks-buildroot/usr/share/man/man5 /usr/src/tmp/pks-buildroot/usr/share/man/man8 mkdir -p /usr/src/tmp/pks-buildroot/var/lib/pks/db /usr/src/tmp/pks-buildroot/var/lib/pks/incoming for f in pksclient pksdctl pgpsplit; do /bin/install -c $f /usr/src/tmp/pks-buildroot/usr/bin; done for f in pksd; do /bin/install -c $f /usr/src/tmp/pks-buildroot/usr/sbin; done for f in pksd.conf; do [ -f /usr/src/tmp/pks-buildroot/etc/$f ] || /bin/install -c -m 0644 $f /usr/src/tmp/pks-buildroot/etc; done for f in pks-mail.sh pks-queue-run.sh; do /bin/install -c ./$f /usr/src/tmp/pks-buildroot/usr/bin; done for f in mail_intro pks_help.cz pks_help.de pks_help.dk pks_help.en pks_help.es pks_help.fi pks_help.fr pks_help.hr pks_help.ja pks_help.kr pks_help.no pks_help.pl pks_help.pt pks_help.se pks_help.tw; do /bin/install -c -m 0644 ./$f /usr/src/tmp/pks-buildroot/usr/share/pks; done for f in pksd.conf.5; do /bin/install -c -m 0644 ./$f /usr/src/tmp/pks-buildroot/usr/share/man/man5; done for f in pks-intro.8 pksclient.8 pksd.8 pksdctl.8; do /bin/install -c -m 0644 ./$f /usr/src/tmp/pks-buildroot/usr/share/man/man8; done /bin/install -c -m 0644 ./pks-commands.html /usr/src/tmp/pks-buildroot/var/lib/pks/index.html make: Leaving directory '/usr/src/RPM/BUILD/pks-0.9.6' + make DESTDIR=/usr/src/tmp/pks-buildroot install-utils make: Entering directory '/usr/src/RPM/BUILD/pks-0.9.6' mkdir -p /usr/src/tmp/pks-buildroot/usr/bin /usr/src/tmp/pks-buildroot/usr/sbin /usr/src/tmp/pks-buildroot/usr/share/pks /usr/src/tmp/pks-buildroot/etc /usr/src/tmp/pks-buildroot/usr/share/man/man5 /usr/src/tmp/pks-buildroot/usr/share/man/man8 mkdir -p /usr/src/tmp/pks-buildroot/var/lib/pks/db /usr/src/tmp/pks-buildroot/var/lib/pks/incoming for f in pksmailreq wwwtest pgpdump kvcv kxa pkscheck pksdump; do /bin/install -c $f /usr/src/tmp/pks-buildroot/usr/bin; done make: Leaving directory '/usr/src/RPM/BUILD/pks-0.9.6' + install -pm 0755 -D /usr/src/RPM/SOURCES/pks.init /usr/src/tmp/pks-buildroot/etc/rc.d/init.d/pks + cp db2-sleepycat/LICENSE db2-sleepycat-LICENSE + cp db2-sleepycat/README db2-sleepycat-README + mkdir -p /usr/src/tmp/pks-buildroot/var/run/pks /usr/src/tmp/pks-buildroot/var/lib/pks/incoming /usr/src/tmp/pks-buildroot/var/lib/pks/db + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/pks-buildroot (auto) mode of 'usr/bin/db_stat' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of 'usr/bin/db_recover' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of 'usr/bin/db_printlog' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of 'usr/bin/db_load' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of 'usr/bin/db_dump' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of 'usr/bin/db_deadlock' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of 'usr/bin/db_checkpoint' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of 'usr/bin/db_archive' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of 'usr/include/db2/db_cxx.h' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of 'usr/include/db2/db_185.h' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of 'usr/include/db2/db.h' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/pks-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/pks-buildroot/ (default) Compressing files in /usr/src/tmp/pks-buildroot (auto) Adjusting library links in /usr/src/tmp/pks-buildroot ./var/lib: (from :0) 056-debuginfo.brp: WARNING: You have 8 stripped ELF objects. Please compile with debugging information! 056-debuginfo.brp: WARNING: An excerpt from the list of affected files follows: ./usr/bin/db_archive ./usr/bin/db_checkpoint ./usr/bin/db_deadlock ./usr/bin/db_dump ./usr/bin/db_load ./usr/bin/db_printlog ./usr/bin/db_recover ./usr/bin/db_stat Verifying ELF objects in /usr/src/tmp/pks-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Processing files: pks-0.9.6-alt4 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.51285 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd pks-0.9.6 + DOCDIR=/usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + export DOCDIR + rm -rf /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + /bin/mkdir -p /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + cp -prL README NEWS LICENSE db2-sleepycat-LICENSE db2-sleepycat-README /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + chmod -R go-w /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + chmod -R a+rX /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + cp -prL mail_intro /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + chmod -R go-w /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + chmod -R a+rX /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + cp -prL pks_help.de pks_help.dk pks_help.en pks_help.es pks_help.fi pks_help.fr pks_help.no /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + chmod -R go-w /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + chmod -R a+rX /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + cp -prL MRHKP /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + chmod -R go-w /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + chmod -R a+rX /usr/src/tmp/pks-buildroot/usr/share/doc/pks-0.9.6 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2rplAY find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oMkUgX find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Bareword found where operator expected at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 2, near "8bit" (Missing operator before bit?) Bareword found where operator expected at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 7, near ""Subject" radkou" (Missing operator before radkou?) String found where operator expected at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 7, near "radkou "HELP CZ"" (Do you need to predeclare radkou?) Bareword found where operator expected at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 7, near ""HELP CZ" na" (Missing operator before na?) Bareword found where operator expected at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 11, near ""HELP DK" til" (Missing operator before til?) syntax error at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 1, near "Type:" syntax error at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 1, near "format=" Unknown regexp modifier "/w" at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 9, at end of line Unknown regexp modifier "/w" at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 9, at end of line Unknown regexp modifier "/w" at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 9, at end of line Unknown regexp modifier "/w" at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 13, at end of line Unknown regexp modifier "/w" at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 13, at end of line Unknown regexp modifier "/w" at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 13, at end of line Unrecognized character \xFC; marked by <-- HERE after rman: F<-- HERE near column 15 at /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl line 14. # /usr/src/tmp/pks-buildroot/usr/share/pks/pks_help.pl: deparse failed, isPerl=0, ok. find-requires: FINDPACKAGE-COMMANDS: cat rm sleep start-stop-daemon touch Finding Requires(pre) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qpdZvY Requires: pks-db = 0.9.6-alt4, /bin/sh, /etc/rc.d/init.d, /etc/rc.d/init.d(action), /etc/rc.d/init.d(msg_already_running), /etc/rc.d/init.d(msg_usage), /etc/rc.d/init.d(passed), /etc/rc.d/init.d(status), /etc/rc.d/init.d/functions, /lib64/ld-linux-x86-64.so.2, coreutils, 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.4)(64bit), rtld(GNU_HASH), service Requires(interp): /bin/sh Requires(pre): /bin/sh, /usr/sbin/groupadd, /usr/sbin/useradd Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QxAP20 Creating pks-debuginfo package Processing files: pks-utils-0.9.6-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Cr5X8W find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YVsh1Y find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: pks = 0.9.6-alt4, /lib64/ld-linux-x86-64.so.2, 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.4)(64bit), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vypoiZ Creating pks-utils-debuginfo package Processing files: pks-db-0.9.6-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Wn2Jc1 find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.o9ONwX find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: pks = 0.9.6-alt4, /lib64/ld-linux-x86-64.so.2, 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.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fSNjzY Processing files: pks-db-devel-0.9.6-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TctDWW find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vNlAx0 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/src/tmp/pks-buildroot/usr/include/db2/db_cxx.h:52:10: fatal error: iostream.h: No such file or directory 52 | #include | ^~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/pks-buildroot/usr/include/db2/db_cxx.h: cpp failed, trying c++ mode x86_64-alt-linux-cpp: fatal error: cannot execute 'cc1plus': execvp: No such file or directory compilation terminated. cpp.req: WARNING: /usr/src/tmp/pks-buildroot/usr/include/db2/db_cxx.h: cpp failed Requires: pks = 0.9.6-alt4 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.K6PEi1 Processing files: pks-debuginfo-0.9.6-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.LEJauX find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JyYSiZ find-requires: running scripts (debuginfo) Requires: pks = 0.9.6-alt4, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6) Processing files: pks-utils-debuginfo-0.9.6-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mdrFS0 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4xKXtZ find-requires: running scripts (debuginfo) Requires: pks-utils = 0.9.6-alt4, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6) Adding to pks-utils a strict dependency on pks Adding to pks a strict dependency on pks-db Adding to pks-db a strict dependency on pks Adding to pks-db-devel a strict dependency on pks Adding to pks-debuginfo a strict dependency on pks Adding to pks-utils-debuginfo a strict dependency on pks-utils Adding to pks-utils-debuginfo a strict dependency on pks-debuginfo Removing from pks-utils-debuginfo 161 sources provided by pks-debuginfo also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/btree also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/common also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/db also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/dist also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/hash also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/include also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/lock also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/log also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/mp also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/mutex also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/os also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat/txn also prunning dir /usr/src/debug/pks-0.9.6/db2-sleepycat Removing 7 extra deps from pks-utils due to repentancy on pks Removing 7 extra deps from pks due to repentancy on pks-db Removing 2 extra deps from pks-utils-debuginfo due to repentancy on pks-debuginfo Wrote: /usr/src/RPM/RPMS/x86_64/pks-0.9.6-alt4.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/pks-utils-0.9.6-alt4.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/pks-db-0.9.6-alt4.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/pks-db-devel-0.9.6-alt4.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/pks-debuginfo-0.9.6-alt4.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/pks-utils-debuginfo-0.9.6-alt4.x86_64.rpm (w2.lzdio) 24.61user 5.74system 1:08.79elapsed 44%CPU (0avgtext+0avgdata 37692maxresident)k 0inputs+0outputs (0major+2503597minor)pagefaults 0swaps 26.48user 7.92system 1:19.70elapsed 43%CPU (0avgtext+0avgdata 37692maxresident)k 0inputs+0outputs (0major+2780813minor)pagefaults 0swaps --- pks-0.9.6-alt4.x86_64.rpm.repo 2020-04-01 14:29:06.000000000 +0000 +++ pks-0.9.6-alt4.x86_64.rpm.hasher 2021-07-12 12:22:13.898660085 +0000 @@ -65,2 +65,2 @@ Provides: pks = 0.9.6-alt4:sisyphus+249128.100.1.1 -RPMIdentity: 496d761d4411288278ee7330026fe0a8 +RPMIdentity: 9434d59e62160fe9eb281478728fbbbe --- pks-db-0.9.6-alt4.x86_64.rpm.repo 2020-04-01 14:29:06.000000000 +0000 +++ pks-db-0.9.6-alt4.x86_64.rpm.hasher 2021-07-12 12:22:14.162660514 +0000 @@ -20,2 +20,2 @@ Provides: pks-db = 0.9.6-alt4:sisyphus+249128.100.1.1 -RPMIdentity: 50bd103d6288c6fa836de98ec93b6969 +RPMIdentity: 5c96e5fe201254b7ec736e21cb570d9e --- pks-debuginfo-0.9.6-alt4.x86_64.rpm.repo 2020-04-01 14:29:06.000000000 +0000 +++ pks-debuginfo-0.9.6-alt4.x86_64.rpm.hasher 2021-07-12 12:22:14.522661099 +0000 @@ -1,13 +1,13 @@ -/usr/lib/debug/.build-id/05 40755 -/usr/lib/debug/.build-id/05/af6666563a5d18bd102c2a0c7f687d688aeecd 120777 ../../../../bin/pksdctl -/usr/lib/debug/.build-id/05/af6666563a5d18bd102c2a0c7f687d688aeecd.debug 120777 ../../usr/bin/pksdctl.debug -/usr/lib/debug/.build-id/44 40755 -/usr/lib/debug/.build-id/44/a7313dd337383da8cbdea13ea3723308eff249 120777 ../../../../sbin/pksd -/usr/lib/debug/.build-id/44/a7313dd337383da8cbdea13ea3723308eff249.debug 120777 ../../usr/sbin/pksd.debug -/usr/lib/debug/.build-id/80 40755 -/usr/lib/debug/.build-id/80/bca6bd0de214912095a29f814fb29154b411ad 120777 ../../../../bin/pksclient -/usr/lib/debug/.build-id/80/bca6bd0de214912095a29f814fb29154b411ad.debug 120777 ../../usr/bin/pksclient.debug -/usr/lib/debug/.build-id/9a 40755 -/usr/lib/debug/.build-id/9a/36cd3f670c18fb69ab9275c7a41cfcecc16009 120777 ../../../../bin/pgpsplit -/usr/lib/debug/.build-id/9a/36cd3f670c18fb69ab9275c7a41cfcecc16009.debug 120777 ../../usr/bin/pgpsplit.debug +/usr/lib/debug/.build-id/58 40755 +/usr/lib/debug/.build-id/58/65f5100329d625d9406e6b1eafbb06969eeed0 120777 ../../../../bin/pksclient +/usr/lib/debug/.build-id/58/65f5100329d625d9406e6b1eafbb06969eeed0.debug 120777 ../../usr/bin/pksclient.debug +/usr/lib/debug/.build-id/83 40755 +/usr/lib/debug/.build-id/83/d10491552dd09a7e674e0db9dbff81a2d22baf 120777 ../../../../bin/pksdctl +/usr/lib/debug/.build-id/83/d10491552dd09a7e674e0db9dbff81a2d22baf.debug 120777 ../../usr/bin/pksdctl.debug +/usr/lib/debug/.build-id/9b 40755 +/usr/lib/debug/.build-id/9b/c698244475e2b61c032bb303f7d4fb7cb28415 120777 ../../../../bin/pgpsplit +/usr/lib/debug/.build-id/9b/c698244475e2b61c032bb303f7d4fb7cb28415.debug 120777 ../../usr/bin/pgpsplit.debug +/usr/lib/debug/.build-id/9c 40755 +/usr/lib/debug/.build-id/9c/3b4ca91472faec1a741f5e74a96d6ab37edfe0 120777 ../../../../sbin/pksd +/usr/lib/debug/.build-id/9c/3b4ca91472faec1a741f5e74a96d6ab37edfe0.debug 120777 ../../usr/sbin/pksd.debug /usr/lib/debug/usr/bin/pgpsplit.debug 100644 @@ -205,2 +205,2 @@ Provides: pks-debuginfo = 0.9.6-alt4:sisyphus+249128.100.1.1 -RPMIdentity: 6d128faecabf246d870edaad922467f5 +RPMIdentity: 124045b71c515cdb34b432b458cc1179 --- pks-utils-0.9.6-alt4.x86_64.rpm.repo 2020-04-01 14:29:06.000000000 +0000 +++ pks-utils-0.9.6-alt4.x86_64.rpm.hasher 2021-07-12 12:22:14.735661444 +0000 @@ -10,2 +10,2 @@ Provides: pks-utils = 0.9.6-alt4:sisyphus+249128.100.1.1 -RPMIdentity: 2736ce54df5c0a1d38cbc626c1cbeac1 +RPMIdentity: 44d88c596f51662229d13a5d5bb016ff --- pks-utils-debuginfo-0.9.6-alt4.x86_64.rpm.repo 2020-04-01 14:29:06.000000000 +0000 +++ pks-utils-debuginfo-0.9.6-alt4.x86_64.rpm.hasher 2021-07-12 12:22:14.943661782 +0000 @@ -1,22 +1,21 @@ +/usr/lib/debug/.build-id/1a 40755 +/usr/lib/debug/.build-id/1a/c1b0d5d315c97949730b773ef7ce1afd1da2e5 120777 ../../../../bin/wwwtest +/usr/lib/debug/.build-id/1a/c1b0d5d315c97949730b773ef7ce1afd1da2e5.debug 120777 ../../usr/bin/wwwtest.debug /usr/lib/debug/.build-id/1d 40755 -/usr/lib/debug/.build-id/1d/4465719bb2f810e5d5cab0ece079b3ddc703ab 120777 ../../../../bin/pksdump -/usr/lib/debug/.build-id/1d/4465719bb2f810e5d5cab0ece079b3ddc703ab.debug 120777 ../../usr/bin/pksdump.debug -/usr/lib/debug/.build-id/52 40755 -/usr/lib/debug/.build-id/52/4e373878318d706f22d291ca160a4b628e14a3 120777 ../../../../bin/pgpdump -/usr/lib/debug/.build-id/52/4e373878318d706f22d291ca160a4b628e14a3.debug 120777 ../../usr/bin/pgpdump.debug -/usr/lib/debug/.build-id/97 40755 -/usr/lib/debug/.build-id/97/d1141aa6e0881f562ab59dfa8d495e522bafba 120777 ../../../../bin/kvcv -/usr/lib/debug/.build-id/97/d1141aa6e0881f562ab59dfa8d495e522bafba.debug 120777 ../../usr/bin/kvcv.debug -/usr/lib/debug/.build-id/b4 40755 -/usr/lib/debug/.build-id/b4/24823f15ba4e2fef10e3fc25efd786335a2b1b 120777 ../../../../bin/kxa -/usr/lib/debug/.build-id/b4/24823f15ba4e2fef10e3fc25efd786335a2b1b.debug 120777 ../../usr/bin/kxa.debug -/usr/lib/debug/.build-id/c3 40755 -/usr/lib/debug/.build-id/c3/5a721118335a884d16520bc9d38b6efc4d860c 120777 ../../../../bin/pkscheck -/usr/lib/debug/.build-id/c3/5a721118335a884d16520bc9d38b6efc4d860c.debug 120777 ../../usr/bin/pkscheck.debug -/usr/lib/debug/.build-id/d5 40755 -/usr/lib/debug/.build-id/d5/88221d4927fad7bbd9cd8db338a3f9fe56af15 120777 ../../../../bin/pksmailreq -/usr/lib/debug/.build-id/d5/88221d4927fad7bbd9cd8db338a3f9fe56af15.debug 120777 ../../usr/bin/pksmailreq.debug -/usr/lib/debug/.build-id/dd 40755 -/usr/lib/debug/.build-id/dd/5b32afb25ae65a467f673dcd6f1b6c5c97cfee 120777 ../../../../bin/wwwtest -/usr/lib/debug/.build-id/dd/5b32afb25ae65a467f673dcd6f1b6c5c97cfee.debug 120777 ../../usr/bin/wwwtest.debug +/usr/lib/debug/.build-id/1d/9bc685ca94dd04b71c211251e5e4cffedaa2d4 120777 ../../../../bin/pgpdump +/usr/lib/debug/.build-id/1d/9bc685ca94dd04b71c211251e5e4cffedaa2d4.debug 120777 ../../usr/bin/pgpdump.debug +/usr/lib/debug/.build-id/37 40755 +/usr/lib/debug/.build-id/37/7cf40eeb3eeabb9677d78cc0960aaabf46580b 120777 ../../../../bin/kvcv +/usr/lib/debug/.build-id/37/7cf40eeb3eeabb9677d78cc0960aaabf46580b.debug 120777 ../../usr/bin/kvcv.debug +/usr/lib/debug/.build-id/43 40755 +/usr/lib/debug/.build-id/43/65e522ebf224ce4c7461b6f5c54f002e74e473 120777 ../../../../bin/pkscheck +/usr/lib/debug/.build-id/43/65e522ebf224ce4c7461b6f5c54f002e74e473.debug 120777 ../../usr/bin/pkscheck.debug +/usr/lib/debug/.build-id/bf 40755 +/usr/lib/debug/.build-id/bf/17ba9413c296646a0cf8d0d8d96d7c3889298c 120777 ../../../../bin/kxa +/usr/lib/debug/.build-id/bf/17ba9413c296646a0cf8d0d8d96d7c3889298c.debug 120777 ../../usr/bin/kxa.debug +/usr/lib/debug/.build-id/bf/522f8ec8e7fa87b395efd792abb571ee8521bf 120777 ../../../../bin/pksmailreq +/usr/lib/debug/.build-id/bf/522f8ec8e7fa87b395efd792abb571ee8521bf.debug 120777 ../../usr/bin/pksmailreq.debug +/usr/lib/debug/.build-id/eb 40755 +/usr/lib/debug/.build-id/eb/e04b76a2c8f9625e4a5b06fd2698d5e56b6a71 120777 ../../../../bin/pksdump +/usr/lib/debug/.build-id/eb/e04b76a2c8f9625e4a5b06fd2698d5e56b6a71.debug 120777 ../../usr/bin/pksdump.debug /usr/lib/debug/usr/bin/kvcv.debug 100644 @@ -42,2 +41,2 @@ Provides: pks-utils-debuginfo = 0.9.6-alt4:sisyphus+249128.100.1.1 -RPMIdentity: 150bdd7d6d2b97b1a7b41f4e026aff2b +RPMIdentity: 8774f242fbee2e66765449cdfc260e34