D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/xgraph-12.1-16.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.FDarHn + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build + test -d /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1DBsJt + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build + rm -rf xgraph-12.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/xgraph-12.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd xgraph-12.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (xgraph-12.1-glibc-2.10.patch):' Patch #0 (xgraph-12.1-glibc-2.10.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file dialog.c Hunk #1 succeeded at 777 (offset 2 lines). Hunk #2 succeeded at 888 (offset 2 lines). + echo 'Patch #1 (xgraph-makefile-gentoo.patch):' Patch #1 (xgraph-makefile-gentoo.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.in + echo 'Patch #2 (xgraph-12.1-fix-str-fmt.patch):' Patch #2 (xgraph-12.1-fix-str-fmt.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file xgraph.c + echo 'Patch #3 (xgraph-fix-building-with-gcc14.patch):' Patch #3 (xgraph-fix-building-with-gcc14.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file dialog.c patching file xgraph.c patching file idraw.c patching file xtb.c patching file st.c patching file tgif.c patching file draw.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wv6KjF + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xgraph-12.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:3: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:452: AM_INIT_AUTOMAKE is expanded from... configure.in:3: the top level configure.in:5: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.in:5: You should use the 'AC_CONFIG_HEADERS' macro instead. aclocal.m4:730: AM_CONFIG_HEADER is expanded from... configure.in:5: the top level configure.in:33: warning: AC_OUTPUT should be used without arguments. configure.in:33: You should run autoupdate. autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:3: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:3: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:10: installing './compile' Makefile.am: installing './depcomp' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking if malloc debugging is wanted... no checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for float.h... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking for strcasecmp... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating autoconf.h config.status: executing depfiles commands + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make all-am make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' gcc -DHAVE_CONFIG_H -I. -g -c -o idraw.o idraw.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' gcc -DHAVE_CONFIG_H -I. -g -c -o xgX.o xgX.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' gcc -DHAVE_CONFIG_H -I. -g -c -o hard_devices.o hard_devices.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' gcc -DHAVE_CONFIG_H -I. -g -c -o hpgl.o hpgl.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' gcc -DHAVE_CONFIG_H -I. -g -c -o ps.o ps.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' gcc -DHAVE_CONFIG_H -I. -g -c -o alloc.o alloc.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' gcc -DHAVE_CONFIG_H -I. -g -c -o params.o params.c params.c: In function 'do_font': params.c:368:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 368 | return (int) (*font_info = XLoadQueryFont(param_disp, name)); | ^ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' gcc -DHAVE_CONFIG_H -I. -g -c -o xtb.o xtb.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' gcc -DHAVE_CONFIG_H -I. -g -c -o dialog.o dialog.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' gcc -DHAVE_CONFIG_H -I. -g -c -o xgraph.o xgraph.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' gcc -DHAVE_CONFIG_H -I. -g -c -o tgif.o tgif.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' gcc -DHAVE_CONFIG_H -I. -g -c -o st.o st.c st.c: In function 'st_lookup': st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~ st.c:153:16: note: in expansion of macro 'do_hash' 153 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:18: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:153:16: note: in expansion of macro 'do_hash' 153 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:29: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:153:16: note: in expansion of macro 'do_hash' 153 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:35: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:153:16: note: in expansion of macro 'do_hash' 153 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~ st.c:127:33: note: in expansion of macro 'EQUAL' 127 | (ptr != nil(st_table_entry) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~ st.c:132:12: note: in expansion of macro 'PTR_NOT_EQUAL' 132 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~ st.c:155:5: note: in expansion of macro 'FIND_ENTRY' 155 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^~~~~~~~~~ st.c:24:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~ st.c:127:33: note: in expansion of macro 'EQUAL' 127 | (ptr != nil(st_table_entry) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~ st.c:132:12: note: in expansion of macro 'PTR_NOT_EQUAL' 132 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~ st.c:155:5: note: in expansion of macro 'FIND_ENTRY' 155 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^~~~~~~~~~ st.c: In function 'st_insert': st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~ st.c:201:16: note: in expansion of macro 'do_hash' 201 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:18: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:201:16: note: in expansion of macro 'do_hash' 201 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:29: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:201:16: note: in expansion of macro 'do_hash' 201 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:35: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:201:16: note: in expansion of macro 'do_hash' 201 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~ st.c:127:33: note: in expansion of macro 'EQUAL' 127 | (ptr != nil(st_table_entry) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~ st.c:132:12: note: in expansion of macro 'PTR_NOT_EQUAL' 132 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~ st.c:203:5: note: in expansion of macro 'FIND_ENTRY' 203 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^~~~~~~~~~ st.c:24:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~ st.c:127:33: note: in expansion of macro 'EQUAL' 127 | (ptr != nil(st_table_entry) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~ st.c:132:12: note: in expansion of macro 'PTR_NOT_EQUAL' 132 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~ st.c:203:5: note: in expansion of macro 'FIND_ENTRY' 203 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^~~~~~~~~~ st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~ st.c:171:20: note: in expansion of macro 'do_hash' 171 | hash_val = do_hash(key,table);\ | ^~~~~~~ st.c:206:9: note: in expansion of macro 'ADD_DIRECT' 206 | ADD_DIRECT(table, key, value, hash_val, new); | ^~~~~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:18: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:171:20: note: in expansion of macro 'do_hash' 171 | hash_val = do_hash(key,table);\ | ^~~~~~~ st.c:206:9: note: in expansion of macro 'ADD_DIRECT' 206 | ADD_DIRECT(table, key, value, hash_val, new); | ^~~~~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:29: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:171:20: note: in expansion of macro 'do_hash' 171 | hash_val = do_hash(key,table);\ | ^~~~~~~ st.c:206:9: note: in expansion of macro 'ADD_DIRECT' 206 | ADD_DIRECT(table, key, value, hash_val, new); | ^~~~~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:35: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:171:20: note: in expansion of macro 'do_hash' 171 | hash_val = do_hash(key,table);\ | ^~~~~~~ st.c:206:9: note: in expansion of macro 'ADD_DIRECT' 206 | ADD_DIRECT(table, key, value, hash_val, new); | ^~~~~~~~~~ st.c: In function 'st_add_direct': st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~ st.c:226:16: note: in expansion of macro 'do_hash' 226 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:18: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:226:16: note: in expansion of macro 'do_hash' 226 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:29: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:226:16: note: in expansion of macro 'do_hash' 226 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:35: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:226:16: note: in expansion of macro 'do_hash' 226 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~ st.c:171:20: note: in expansion of macro 'do_hash' 171 | hash_val = do_hash(key,table);\ | ^~~~~~~ st.c:227:5: note: in expansion of macro 'ADD_DIRECT' 227 | ADD_DIRECT(table, key, value, hash_val, new); | ^~~~~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:18: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:171:20: note: in expansion of macro 'do_hash' 171 | hash_val = do_hash(key,table);\ | ^~~~~~~ st.c:227:5: note: in expansion of macro 'ADD_DIRECT' 227 | ADD_DIRECT(table, key, value, hash_val, new); | ^~~~~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:29: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:171:20: note: in expansion of macro 'do_hash' 171 | hash_val = do_hash(key,table);\ | ^~~~~~~ st.c:227:5: note: in expansion of macro 'ADD_DIRECT' 227 | ADD_DIRECT(table, key, value, hash_val, new); | ^~~~~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:35: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:171:20: note: in expansion of macro 'do_hash' 171 | hash_val = do_hash(key,table);\ | ^~~~~~~ st.c:227:5: note: in expansion of macro 'ADD_DIRECT' 227 | ADD_DIRECT(table, key, value, hash_val, new); | ^~~~~~~~~~ st.c: In function 'st_find_or_add': st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~ st.c:243:16: note: in expansion of macro 'do_hash' 243 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:18: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:243:16: note: in expansion of macro 'do_hash' 243 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:29: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:243:16: note: in expansion of macro 'do_hash' 243 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:35: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:243:16: note: in expansion of macro 'do_hash' 243 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~ st.c:127:33: note: in expansion of macro 'EQUAL' 127 | (ptr != nil(st_table_entry) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~ st.c:132:12: note: in expansion of macro 'PTR_NOT_EQUAL' 132 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~ st.c:245:5: note: in expansion of macro 'FIND_ENTRY' 245 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^~~~~~~~~~ st.c:24:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~ st.c:127:33: note: in expansion of macro 'EQUAL' 127 | (ptr != nil(st_table_entry) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~ st.c:132:12: note: in expansion of macro 'PTR_NOT_EQUAL' 132 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~ st.c:245:5: note: in expansion of macro 'FIND_ENTRY' 245 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^~~~~~~~~~ st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~ st.c:171:20: note: in expansion of macro 'do_hash' 171 | hash_val = do_hash(key,table);\ | ^~~~~~~ st.c:248:9: note: in expansion of macro 'ADD_DIRECT' 248 | ADD_DIRECT(table, key, (char *) 0, hash_val, new); | ^~~~~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:18: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:171:20: note: in expansion of macro 'do_hash' 171 | hash_val = do_hash(key,table);\ | ^~~~~~~ st.c:248:9: note: in expansion of macro 'ADD_DIRECT' 248 | ADD_DIRECT(table, key, (char *) 0, hash_val, new); | ^~~~~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:29: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:171:20: note: in expansion of macro 'do_hash' 171 | hash_val = do_hash(key,table);\ | ^~~~~~~ st.c:248:9: note: in expansion of macro 'ADD_DIRECT' 248 | ADD_DIRECT(table, key, (char *) 0, hash_val, new); | ^~~~~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:35: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:171:20: note: in expansion of macro 'do_hash' 171 | hash_val = do_hash(key,table);\ | ^~~~~~~ st.c:248:9: note: in expansion of macro 'ADD_DIRECT' 248 | ADD_DIRECT(table, key, (char *) 0, hash_val, new); | ^~~~~~~~~~ st.c: In function 'st_find': st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~ st.c:272:16: note: in expansion of macro 'do_hash' 272 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:18: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:272:16: note: in expansion of macro 'do_hash' 272 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:29: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:272:16: note: in expansion of macro 'do_hash' 272 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:35: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:272:16: note: in expansion of macro 'do_hash' 272 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~ st.c:127:33: note: in expansion of macro 'EQUAL' 127 | (ptr != nil(st_table_entry) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~ st.c:132:12: note: in expansion of macro 'PTR_NOT_EQUAL' 132 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~ st.c:274:5: note: in expansion of macro 'FIND_ENTRY' 274 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^~~~~~~~~~ st.c:24:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~ st.c:127:33: note: in expansion of macro 'EQUAL' 127 | (ptr != nil(st_table_entry) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~ st.c:132:12: note: in expansion of macro 'PTR_NOT_EQUAL' 132 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~ st.c:274:5: note: in expansion of macro 'FIND_ENTRY' 274 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^~~~~~~~~~ st.c: In function 'rehash': st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~ st.c:322:24: note: in expansion of macro 'do_hash' 322 | hash_val = do_hash(ptr->key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:18: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:322:24: note: in expansion of macro 'do_hash' 322 | hash_val = do_hash(ptr->key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:29: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:322:24: note: in expansion of macro 'do_hash' 322 | hash_val = do_hash(ptr->key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:35: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:322:24: note: in expansion of macro 'do_hash' 322 | hash_val = do_hash(ptr->key, table); | ^~~~~~~ st.c: In function 'st_delete': st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^ st.c:33:36: note: in expansion of macro 'ST_PTRHASH' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~ st.c:389:16: note: in expansion of macro 'do_hash' 389 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:18: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:389:16: note: in expansion of macro 'do_hash' 389 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:29: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:389:16: note: in expansion of macro 'do_hash' 389 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:35: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:34:36: note: in expansion of macro 'ST_NUMHASH' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~ st.c:389:16: note: in expansion of macro 'do_hash' 389 | hash_val = do_hash(key, table); | ^~~~~~~ st.c:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~ st.c:127:33: note: in expansion of macro 'EQUAL' 127 | (ptr != nil(st_table_entry) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~ st.c:132:12: note: in expansion of macro 'PTR_NOT_EQUAL' 132 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~ st.c:391:5: note: in expansion of macro 'FIND_ENTRY' 391 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^~~~~~~~~~ st.c:24:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^ st.c:29:8: note: in expansion of macro 'ST_NUMCMP' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~ st.c:127:33: note: in expansion of macro 'EQUAL' 127 | (ptr != nil(st_table_entry) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~ st.c:132:12: note: in expansion of macro 'PTR_NOT_EQUAL' 132 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~ st.c:391:5: note: in expansion of macro 'FIND_ENTRY' 391 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^~~~~~~~~~ st.c: In function 'st_numhash': st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:18: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:463:12: note: in expansion of macro 'ST_NUMHASH' 463 | return ST_NUMHASH(x, size); | ^~~~~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:29: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:463:12: note: in expansion of macro 'ST_NUMHASH' 463 | return ST_NUMHASH(x, size); | ^~~~~~~~~~ st.c:25:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ^ st.c:23:35: note: in definition of macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:463:12: note: in expansion of macro 'ST_NUMHASH' 463 | return ST_NUMHASH(x, size); | ^~~~~~~~~~ st.c: In function 'st_ptrhash': st.c:26:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^ st.c:471:12: note: in expansion of macro 'ST_PTRHASH' 471 | return ST_PTRHASH(x, size); | ^~~~~~~~~~ st.c: In function 'st_numcmp': st.c:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^ st.c:479:12: note: in expansion of macro 'ST_NUMCMP' 479 | return ST_NUMCMP(x, y); | ^~~~~~~~~ st.c:24:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^ st.c:479:12: note: in expansion of macro 'ST_NUMCMP' 479 | return ST_NUMCMP(x, y); | ^~~~~~~~~ st.c: In function 'st_ptrcmp': st.c:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^ st.c:487:12: note: in expansion of macro 'ST_NUMCMP' 487 | return ST_NUMCMP(x, y); | ^~~~~~~~~ st.c:24:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^ st.c:487:12: note: in expansion of macro 'ST_NUMCMP' 487 | return ST_NUMCMP(x, y); | ^~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' gcc -DHAVE_CONFIG_H -I. -g -c -o read.o read.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' gcc -DHAVE_CONFIG_H -I. -g -c -o derivative.o derivative.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' gcc -DHAVE_CONFIG_H -I. -g -c -o init.o init.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' gcc -DHAVE_CONFIG_H -I. -g -c -o draw.o draw.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' gcc -g -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o xgraph xgraph.o xgX.o hard_devices.o dialog.o hpgl.o ps.o idraw.o xtb.o st.o params.o alloc.o draw.o init.o read.o tgif.o derivative.o -lSM -lICE -lX11 -lm make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vwKwLU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build + mkdir /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xgraph-12.1 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT/usr/bin' /usr/bin/install -p xgraph '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT/usr/bin' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT/usr/share/man/manm' /usr/bin/install -p -m 644 xgraph.man '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT/usr/share/man/manm' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1' + mv /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT/usr/share/man/manm /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT/usr/share/man/man1 + mv /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT/usr/share/man/man1/xgraph.man /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT/usr/share/man/man1/xgraph.1 + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 12.1-16.mga10 --unique-debug-suffix -12.1-16.mga10.x86_64 --unique-debug-src-base xgraph-12.1-16.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/xgraph-12.1-16.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/SPECPARTS/rpm-debuginfo.specpart Processing files: xgraph-12.1-16.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vrFIyU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build + cd xgraph-12.1 + DOCDIR=/home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT/usr/share/doc/xgraph + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT/usr/share/doc/xgraph + cp -pr /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1/README /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT/usr/share/doc/xgraph + cp -pr /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1/README.ANNOUNCE /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT/usr/share/doc/xgraph + cp -pr /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1/README.GENERAL /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT/usr/share/doc/xgraph + cp -pr /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1/README.HARDCOPY /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT/usr/share/doc/xgraph + cp -pr /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1/README.INSTALL /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT/usr/share/doc/xgraph + cp -pr /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1/README.NEWFEATURES /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT/usr/share/doc/xgraph + cp -pr /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/xgraph-12.1/examples /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT/usr/share/doc/xgraph + RPM_EC=0 ++ jobs -p + exit 0 Provides: xgraph = 12.1-16.mga10 xgraph(x86-64) = 12.1-16.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.7)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) Processing files: xgraph-debugsource-12.1-16.mga10.x86_64 Provides: xgraph-debugsource = 12.1-16.mga10 xgraph-debugsource(x86-64) = 12.1-16.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xgraph-debuginfo-12.1-16.mga10.x86_64 Provides: debuginfo(build-id) = c91b30232639f0f30b9c48eba41c1d00eb9ad503 xgraph-debuginfo = 12.1-16.mga10 xgraph-debuginfo(x86-64) = 12.1-16.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xgraph-debugsource(x86-64) = 12.1-16.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xgraph-debuginfo-12.1-16.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xgraph-12.1-16.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xgraph-debugsource-12.1-16.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.AIaxi6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build + test -d /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build + rm -rf /home/pterjan/rpmbuild/BUILD/xgraph-12.1-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!