D: [iurt_root_command] chroot warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/librx-1.5-14.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.juqhz3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf rx-1.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/rx-1.5.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd rx-1.5 + rm -rf /home/pterjan/rpmbuild/BUILD/rx-1.5-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rx-1.5-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (rx-1.5-shared.patch):' Patch #0 (rx-1.5-shared.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure.in patching file rx/Makefile.in + echo 'Patch #1 (rx-1.5-texinfo.patch):' Patch #1 (rx-1.5-texinfo.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .texipatch --fuzz=0 patching file doc/rx.texi + echo 'Patch #2 (librx-1.5-libdir64.patch):' Patch #2 (librx-1.5-libdir64.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .64bit --fuzz=0 patching file rx/Makefile.in + echo 'Patch #3 (rx-libtool.patch):' Patch #3 (rx-libtool.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file rx/Makefile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.v3Jilv + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd rx-1.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -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=2 -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=2 -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=2 -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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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 + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /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 --disable-static creating cache ./config.cache updating cache ./config.cache creating ./config.status creating Makefile configuring in rx running /bin/sh ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking for gcc... gcc checking whether we are using GNU C... yes checking how to run the C preprocessor... gcc -E checking for ranlib... ranlib checking for a BSD compatible install... /usr/bin/install -c checking for working const... yes checking whether cross-compiling... yes checking for ANSI C header files... yes updating cache .././config.cache creating ./config.status creating Makefile + /usr/bin/make -O -j16 V=1 VERBOSE=1 make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' libtool --tag=CC --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxcset.c -o rxcset.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxcset.c -fPIC -DPIC -o .libs/rxcset.o rxcset.c: In function 'rx_cset': rxcset.c:40:19: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 40 | b = (rx_Bitset) malloc (rx_sizeof_bitset (size)); | ^~~~~~ rxcset.c:28:1: note: include '' or provide a declaration of 'malloc' 27 | #include "rxcset.h" +++ |+#include 28 | /* Utilities for manipulating bitset represntations of characters sets. */ rxcset.c:40:19: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 40 | b = (rx_Bitset) malloc (rx_sizeof_bitset (size)); | ^~~~~~ rxcset.c:40:19: note: include '' or provide a declaration of 'malloc' rxcset.c: In function 'rx_free_cset': rxcset.c:77:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 77 | free ((char *)c); | ^~~~ rxcset.c:77:5: note: include '' or provide a declaration of 'free' rxcset.c:77:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxcset.c:77:5: note: include '' or provide a declaration of 'free' make[1]: *** [Makefile:70: rxcset.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' libtool --tag=CC --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxsimp.c -o rxsimp.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxsimp.c -fPIC -DPIC -o .libs/rxsimp.o rxsimp.c: In function 'rx_simple_rexp': rxsimp.c:81:11: error: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] 81 | if (isdigit (node->params.intval)) | ^~~~~~~ rxsimp.c:23:1: note: include '' or provide a declaration of 'isdigit' 22 | #include "rxsimp.h" +++ |+#include 23 | make[1]: *** [Makefile:70: rxsimp.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' libtool --tag=CC --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxbitset.c -o rxbitset.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxbitset.c -fPIC -DPIC -o .libs/rxbitset.o rxbitset.c: In function 'rx_bitset_null': rxbitset.c:105:3: error: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] 105 | rx_bzero ((char *)b, rx_sizeof_bitset(size)); | ^~~~~~~~ make[1]: *** [Makefile:70: rxbitset.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' libtool --tag=CC --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rx.c -o rx.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rx.c -fPIC -DPIC -o .libs/rx.o rx.c: In function 'rx_make_rx': rx.c:43:25: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 43 | new_rx = (struct rx *)malloc (sizeof (*new_rx)); | ^~~~~~ rx.c:26:1: note: include '' or provide a declaration of 'malloc' 25 | #include "rxsuper.h" +++ |+#include 26 | rx.c:43:25: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 43 | new_rx = (struct rx *)malloc (sizeof (*new_rx)); | ^~~~~~ rx.c:43:25: note: include '' or provide a declaration of 'malloc' rx.c: In function 'rx_free_rx': rx.c:65:3: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 65 | free (rx); | ^~~~ rx.c:65:3: note: include '' or provide a declaration of 'free' rx.c:65:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rx.c:65:3: note: include '' or provide a declaration of 'free' make[1]: *** [Makefile:70: rx.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' libtool --tag=CC --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxbasic.c -o rxbasic.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxbasic.c -fPIC -DPIC -o .libs/rxbasic.o rxbasic.c: In function 'rx_basic_make_solutions': rxbasic.c:87:40: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 87 | closure = (struct rx_str_closure *)malloc (sizeof (*closure)); | ^~~~~~ rxbasic.c:24:1: note: include '' or provide a declaration of 'malloc' 23 | #include "rxstr.h" +++ |+#include 24 | rxbasic.c:87:40: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 87 | closure = (struct rx_str_closure *)malloc (sizeof (*closure)); | ^~~~~~ rxbasic.c:87:40: note: include '' or provide a declaration of 'malloc' rxbasic.c: In function 'rx_basic_free_solutions': rxbasic.c:115:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 115 | free (solns->closure); | ^~~~ rxbasic.c:115:5: note: include '' or provide a declaration of 'free' rxbasic.c:115:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxbasic.c:115:5: note: include '' or provide a declaration of 'free' make[1]: *** [Makefile:70: rxbasic.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' libtool --tag=CC --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxnode.c -o rxnode.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxnode.c -fPIC -DPIC -o .libs/rxnode.o rxnode.c: In function 'rx_init_string': rxnode.c:43:18: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 43 | tmp = (char *) malloc (INITSIZE); | ^~~~~~ rxnode.c:25:1: note: include '' or provide a declaration of 'malloc' 24 | #include "rxnode.h" +++ |+#include 25 | rxnode.c:43:18: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 43 | tmp = (char *) malloc (INITSIZE); | ^~~~~~ rxnode.c:43:18: note: include '' or provide a declaration of 'malloc' rxnode.c: In function 'rx_free_string': rxnode.c:64:3: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 64 | free (junk->contents); | ^~~~ rxnode.c:64:3: note: include '' or provide a declaration of 'free' rxnode.c:64:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxnode.c:64:3: note: include '' or provide a declaration of 'free' rxnode.c: In function 'rx_adjoin_string': rxnode.c:86:23: error: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 86 | temp = (char *) realloc (str->contents, str->reallen + EXPANDSIZE); | ^~~~~~~ rxnode.c:86:23: note: include '' or provide a declaration of 'realloc' rxnode.c:86:23: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] rxnode.c:86:23: note: include '' or provide a declaration of 'realloc' rxnode.c: In function 'rx_copy_string': rxnode.c:114:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 114 | tmp = (char *) malloc (from->reallen); | ^~~~~~ rxnode.c:114:22: note: include '' or provide a declaration of 'malloc' rxnode.c:125:3: error: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 125 | memcpy (to->contents, from->contents, from->reallen); | ^~~~~~ rxnode.c:25:1: note: include '' or provide a declaration of 'memcpy' 24 | #include "rxnode.h" +++ |+#include 25 | rxnode.c:125:3: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 125 | memcpy (to->contents, from->contents, from->reallen); | ^~~~~~ rxnode.c:125:3: note: include '' or provide a declaration of 'memcpy' rxnode.c: In function 'rx_compare_rx_strings': rxnode.c:145:13: error: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] 145 | return !memcmp (a->contents, b->contents, a->len); | ^~~~~~ rxnode.c:145:13: note: include '' or provide a declaration of 'memcmp' rxnode.c: In function 'rexp_node': rxnode.c:194:28: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 194 | n = (struct rexp_node *) malloc (sizeof (*n)); | ^~~~~~ rxnode.c:194:28: note: include '' or provide a declaration of 'malloc' rxnode.c:195:3: error: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] 195 | rx_bzero ((char *)n, sizeof (*n)); | ^~~~~~~~ rxnode.c: In function 'rx_free_rexp': rxnode.c:321:7: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 321 | free ((char *)node); | ^~~~ rxnode.c:321:7: note: include '' or provide a declaration of 'free' make[1]: *** [Makefile:70: rxnode.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' libtool --tag=CC --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxstr.c -o rxstr.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxstr.c -fPIC -DPIC -o .libs/rxstr.o rxstr.c: In function 'rx_str_contextfn': rxstr.c:84:21: error: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration] 84 | cmp = strncasecmp (strc->str + start, | ^~~~~~~~~~~ rxstr.c:86:38: warning: 'strncasecmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 86 | end - start); | ~~~~^~~~~~~ : note: built-in 'strncasecmp' declared here rxstr.c:88:21: error: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 88 | cmp = strncmp (strc->str + start, | ^~~~~~~ rxstr.c:23:1: note: include '' or provide a declaration of 'strncmp' 22 | #include "rxstr.h" +++ |+#include 23 | rxstr.c:90:34: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 90 | end - start); | ~~~~^~~~~~~ : note: built-in 'strncmp' declared here make[1]: *** [Makefile:70: rxstr.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' libtool --tag=CC --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxhash.c -o rxhash.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxhash.c -fPIC -DPIC -o .libs/rxhash.o rxhash.c: In function 'default_hash_alloc': rxhash.c:39:28: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 39 | return (struct rx_hash *)malloc (sizeof (struct rx_hash)); | ^~~~~~ rxhash.c:27:1: note: include '' or provide a declaration of 'malloc' 26 | #include "rxhash.h" +++ |+#include 27 | rxhash.c:39:28: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 39 | return (struct rx_hash *)malloc (sizeof (struct rx_hash)); | ^~~~~~ rxhash.c:39:28: note: include '' or provide a declaration of 'malloc' rxhash.c: In function 'default_hash_item_alloc': rxhash.c:54:31: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 54 | it = (struct rx_hash_item *)malloc (sizeof (*it)); | ^~~~~~ rxhash.c:54:31: note: include '' or provide a declaration of 'malloc' rxhash.c: In function 'default_free_hash': rxhash.c:75:3: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 75 | free ((char *)tab); | ^~~~ rxhash.c:75:3: note: include '' or provide a declaration of 'free' rxhash.c:75:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxhash.c:75:3: note: include '' or provide a declaration of 'free' rxhash.c: In function 'default_free_hash_item': rxhash.c:90:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 90 | free ((char *)item); | ^~~~ rxhash.c:90:3: note: include '' or provide a declaration of 'free' rxhash.c: In function 'rx_hash_store': rxhash.c:252:9: error: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] 252 | rx_bzero ((char *)newtab, sizeof (*newtab)); | ^~~~~~~~ make[1]: *** [Makefile:70: rxhash.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' libtool --tag=CC --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxanal.c -o rxanal.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxanal.c -fPIC -DPIC -o .libs/rxanal.o rxanal.c: In function 'rx_posix_analyze_rexp': rxanal.c:54:49: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 54 | *subexps = (struct rexp_node **)malloc (sizeof (struct rexp_node *) * *re_nsub); | ^~~~~~ rxanal.c:23:1: note: include '' or provide a declaration of 'malloc' 22 | #include "rxanal.h" +++ |+#include 23 | #include "rxbitset.h" rxanal.c:54:49: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 54 | *subexps = (struct rexp_node **)malloc (sizeof (struct rexp_node *) * *re_nsub); | ^~~~~~ rxanal.c:54:49: note: include '' or provide a declaration of 'malloc' rxanal.c:56:49: error: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 56 | *subexps = (struct rexp_node **)realloc (*subexps, | ^~~~~~~ rxanal.c:56:49: note: include '' or provide a declaration of 'realloc' rxanal.c:56:49: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] rxanal.c:56:49: note: include '' or provide a declaration of 'realloc' rxanal.c: In function 'rx_start_superstate': rxanal.c:344:7: error: implicit declaration of function 'rx_refresh_this_superstate' [-Wimplicit-function-declaration] 344 | rx_refresh_this_superstate (frame->rx->cache, frame->state); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rxanal.c: In function 'rx_fit_p': rxanal.c:412:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 412 | switch ((int)inx->inx) | ^ rxanal.c:456:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 456 | frame->final_tag = (int)inx->data_2; | ^ rxanal.c: In function 'rx_advance': rxanal.c:512:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 512 | switch ((int)inx->inx) | ^ rxanal.c: In function 'rx_advance_to_final': rxanal.c:614:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 614 | switch ((int)inx->inx) | ^ make[1]: *** [Makefile:70: rxanal.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' libtool --tag=CC --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxnfa.c -o rxnfa.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxnfa.c -fPIC -DPIC -o .libs/rxnfa.o rxnfa.c: In function 'rx_nfa_state': rxnfa.c:46:52: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 46 | struct rx_nfa_state * n = (struct rx_nfa_state *)malloc (sizeof (*n)); | ^~~~~~ rxnfa.c:27:1: note: include '' or provide a declaration of 'malloc' 26 | #include "rxnfa.h" +++ |+#include 27 | rxnfa.c:46:52: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 46 | struct rx_nfa_state * n = (struct rx_nfa_state *)malloc (sizeof (*n)); | ^~~~~~ rxnfa.c:46:52: note: include '' or provide a declaration of 'malloc' rxnfa.c:49:3: error: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] 49 | rx_bzero ((char *)n, sizeof (*n)); | ^~~~~~~~ rxnfa.c: In function 'rx_free_nfa_state': rxnfa.c:65:3: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 65 | free ((char *)n); | ^~~~ rxnfa.c:65:3: note: include '' or provide a declaration of 'free' rxnfa.c:65:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxnfa.c:65:3: note: include '' or provide a declaration of 'free' rxnfa.c: In function 'rx_nfa_edge': rxnfa.c:89:29: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 89 | e = (struct rx_nfa_edge *)malloc (sizeof (*e)); | ^~~~~~ rxnfa.c:89:29: note: include '' or provide a declaration of 'malloc' rxnfa.c: In function 'rx_free_nfa_edge': rxnfa.c:109:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 109 | free ((char *)e); | ^~~~ rxnfa.c:109:3: note: include '' or provide a declaration of 'free' rxnfa.c: In function 'rx_possible_future': rxnfa.c:129:38: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 129 | ec = (struct rx_possible_future *) malloc (sizeof (*ec)); | ^~~~~~ rxnfa.c:129:38: note: include '' or provide a declaration of 'malloc' rxnfa.c: In function 'rx_free_possible_future': rxnfa.c:148:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 148 | free ((char *)pf); | ^~~~ rxnfa.c:148:3: note: include '' or provide a declaration of 'free' rxnfa.c: In function 'rx_build_nfa': rxnfa.c:388:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 388 | edge->params.side_effect = (void *)rexp->params.intval; | ^ rxnfa.c: In function 'side_effect_cons': rxnfa.c:477:30: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 477 | l = ((struct rx_se_list *) malloc (sizeof (*l))); | ^~~~~~ rxnfa.c:477:30: note: include '' or provide a declaration of 'malloc' rxnfa.c: In function 'hash_cons_se_prog': rxnfa.c:514:40: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 514 | consed = (struct rx_se_list *) malloc (sizeof (*consed)); | ^~~~~~ rxnfa.c:514:40: note: include '' or provide a declaration of 'malloc' rxnfa.c: In function 'nfa_set_cons': rxnfa.c:618:39: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 618 | l = (struct rx_nfa_state_set *) malloc (sizeof (*l)); | ^~~~~~ rxnfa.c:618:39: note: include '' or provide a declaration of 'malloc' rxnfa.c: In function 'eclose_node': rxnfa.c:767:15: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 767 | free ((char *)dying); | ^~~~ rxnfa.c:767:15: note: include '' or provide a declaration of 'free' rxnfa.c: In function 'se_memo_freer': rxnfa.c:823:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 823 | free ((char *)node->data); | ^~~~ rxnfa.c:823:3: note: include '' or provide a declaration of 'free' rxnfa.c: In function 'nfa_set_freer': rxnfa.c:836:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 836 | free ((char *)node->data); | ^~~~ rxnfa.c:836:3: note: include '' or provide a declaration of 'free' make[1]: *** [Makefile:70: rxnfa.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' libtool --tag=CC --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxposix.c -o rxposix.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxposix.c -fPIC -DPIC -o .libs/rxposix.o rxposix.c: In function 'regncomp': rxposix.c:66:3: error: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] 66 | rx_bzero ((char *)preg, sizeof (*preg)); | ^~~~~~~~ rxposix.c:77:43: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 77 | preg->translate = (unsigned char *) malloc (256); | ^~~~~~ rxposix.c:26:1: note: include '' or provide a declaration of 'malloc' 25 | #include "rxsimp.h" +++ |+#include 26 | rxposix.c:77:43: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 77 | preg->translate = (unsigned char *) malloc (256); | ^~~~~~ rxposix.c:77:43: note: include '' or provide a declaration of 'malloc' rxposix.c:83:30: error: implicit declaration of function 'isupper' [-Wimplicit-function-declaration] 83 | preg->translate[i] = isupper (i) ? tolower (i) : i; | ^~~~~~~ rxposix.c:26:1: note: include '' or provide a declaration of 'isupper' 25 | #include "rxsimp.h" +++ |+#include 26 | rxposix.c:83:39: warning: 'isupper' argument 1 type is 'unsigned int' where 'int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 83 | preg->translate[i] = isupper (i) ? tolower (i) : i; | ^ : note: built-in 'isupper' declared here rxposix.c:83:44: error: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] 83 | preg->translate[i] = isupper (i) ? tolower (i) : i; | ^~~~~~~ rxposix.c:83:44: note: include '' or provide a declaration of 'tolower' rxposix.c:83:53: warning: 'tolower' argument 1 type is 'unsigned int' where 'int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 83 | preg->translate[i] = isupper (i) ? tolower (i) : i; | ^ : note: built-in 'tolower' declared here rxposix.c: In function 'regcomp': rxposix.c:147:35: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 147 | return regncomp (preg, pattern, strlen (pattern), cflags); | ^~~~~~ rxposix.c:26:1: note: include '' or provide a declaration of 'strlen' 25 | #include "rxsimp.h" +++ |+#include 26 | rxposix.c:147:35: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 147 | return regncomp (preg, pattern, strlen (pattern), cflags); | ^~~~~~ rxposix.c:147:35: note: include '' or provide a declaration of 'strlen' rxposix.c: In function 'regerror': rxposix.c:173:14: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | msg_size = strlen (msg) + 1; /* Includes the 0. */ | ^~~~~~ rxposix.c:173:14: note: include '' or provide a declaration of 'strlen' rxposix.c:178:11: error: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 178 | strncpy (errbuf, msg, errbuf_size - 1); | ^~~~~~~ rxposix.c:178:11: note: include '' or provide a declaration of 'strncpy' rxposix.c:178:11: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] rxposix.c:178:11: note: include '' or provide a declaration of 'strncpy' rxposix.c:182:9: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 182 | strcpy (errbuf, msg); | ^~~~~~ rxposix.c:182:9: note: include '' or provide a declaration of 'strcpy' rxposix.c:182:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] rxposix.c:182:9: note: include '' or provide a declaration of 'strcpy' rxposix.c: In function 'regnexec': rxposix.c:406:28: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 406 | regs = (regmatch_t *)malloc (preg->re_nsub * sizeof (*regs)); | ^~~~~~ rxposix.c:406:28: note: include '' or provide a declaration of 'malloc' rxposix.c:431:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 431 | free (regs); | ^~~~ rxposix.c:431:5: note: include '' or provide a declaration of 'free' rxposix.c:431:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxposix.c:431:5: note: include '' or provide a declaration of 'free' rxposix.c: In function 'regexec': rxposix.c:451:20: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 451 | strlen (string), | ^~~~~~ rxposix.c:451:20: note: include '' or provide a declaration of 'strlen' rxposix.c: In function 'regfree': rxposix.c:476:7: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 476 | free (preg->subexps); | ^~~~ rxposix.c:476:7: note: include '' or provide a declaration of 'free' rxposix.c:481:7: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 481 | free (preg->translate); | ^~~~ rxposix.c:481:7: note: include '' or provide a declaration of 'free' make[1]: *** [Makefile:70: rxposix.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' libtool --tag=CC --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxdbug.c -o rxdbug.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxdbug.c -fPIC -DPIC -o .libs/rxdbug.o rxdbug.c: In function 'print_cset': rxdbug.c:64:17: error: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] 64 | if (isprint(x)) | ^~~~~~~ rxdbug.c:25:1: note: include '' or provide a declaration of 'isprint' 24 | #include "rxnfa.h" +++ |+#include 25 | rxdbug.c: In function 'print_nfa_state': rxdbug.c:239:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 239 | printf ("%d", (int)e->params.side_effect); | ^ make[1]: *** [Makefile:70: rxdbug.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' libtool --tag=CC --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxsuper.c -o rxsuper.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxsuper.c -fPIC -DPIC -o .libs/rxsuper.o rxsuper.c: In function 'rx_cache_malloc': rxsuper.c:141:20: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 141 | answer = (char *)malloc (size); | ^~~~~~ rxsuper.c:25:1: note: include '' or provide a declaration of 'malloc' 24 | #include "rxsuper.h" +++ |+#include 25 | rxsuper.c:141:20: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 141 | answer = (char *)malloc (size); | ^~~~~~ rxsuper.c:141:20: note: include '' or provide a declaration of 'malloc' rxsuper.c: In function 'rx_cache_free': rxsuper.c:159:3: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 159 | free (mem); | ^~~~ rxsuper.c:159:3: note: include '' or provide a declaration of 'free' rxsuper.c:159:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxsuper.c:159:3: note: include '' or provide a declaration of 'free' rxsuper.c: In function 'refresh_semifree_superstate': rxsuper.c:272:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 272 | df->future_frame.data_2 = (void *)(super->contents->is_final); | ^ rxsuper.c: In function 'rx_superset_cons': rxsuper.c:715:11: error: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] 715 | rx_bzero ((char *)cache->empty_superset, sizeof (struct rx_superset)); | ^~~~~~~~ rxsuper.c: In function 'solve_destination': rxsuper.c:1107:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1107 | dft->future_frame.data_2 = (void *) dest->contents->is_final; | ^ make[1]: *** [Makefile:70: rxsuper.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' libtool --tag=CC --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. hashrexp.c -o hashrexp.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. hashrexp.c -fPIC -DPIC -o .libs/hashrexp.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. hashrexp.c -o hashrexp.o >/dev/null 2>&1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' libtool --tag=CC --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxspencer.c -o rxspencer.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxspencer.c -fPIC -DPIC -o .libs/rxspencer.o rxspencer.c: In function 'rx_make_solutions': rxspencer.c:64:36: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 64 | solns = (struct rx_solutions *)malloc (sizeof (*solns)); | ^~~~~~ rxspencer.c:25:1: note: include '' or provide a declaration of 'malloc' 24 | #include "rxsimp.h" +++ |+#include 25 | rxspencer.c:64:36: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 64 | solns = (struct rx_solutions *)malloc (sizeof (*solns)); | ^~~~~~ rxspencer.c:64:36: note: include '' or provide a declaration of 'malloc' rxspencer.c:67:3: error: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] 67 | rx_bzero ((char *)solns, sizeof (*solns)); | ^~~~~~~~ rxspencer.c:145:3: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 145 | free (solns); | ^~~~ rxspencer.c:145:3: note: include '' or provide a declaration of 'free' rxspencer.c:145:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxspencer.c:145:3: note: include '' or provide a declaration of 'free' rxspencer.c: In function 'rx_free_solutions': rxspencer.c:201:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 201 | free (solns); | ^~~~ rxspencer.c:201:5: note: include '' or provide a declaration of 'free' make[1]: *** [Makefile:70: rxspencer.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' libtool --tag=CC --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxgnucomp.c -o rxgnucomp.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rxgnucomp.c -fPIC -DPIC -o .libs/rxgnucomp.o rxgnucomp.c: In function 'init_syntax_once': rxgnucomp.c:53:4: error: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] 53 | rx_bzero ((char *)re_syntax_table, sizeof re_syntax_table); | ^~~~~~~~ rxgnucomp.c: In function 'rx_parse': rxgnucomp.c:630:52: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 630 | compile_stack.stack = (( compile_stack_elt_t *) malloc ((INIT_COMPILE_STACK_SIZE) * sizeof ( compile_stack_elt_t))); | ^~~~~~ rxgnucomp.c:24:1: note: include '' or provide a declaration of 'malloc' 23 | #include "inst-rxposix.h" +++ |+#include 24 | rxgnucomp.c:630:52: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 630 | compile_stack.stack = (( compile_stack_elt_t *) malloc ((INIT_COMPILE_STACK_SIZE) * sizeof ( compile_stack_elt_t))); | ^~~~~~ rxgnucomp.c:630:52: note: include '' or provide a declaration of 'malloc' rxgnucomp.c:962:30: error: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 962 | if (!strncmp (str, "cut", 3)) | ^~~~~~~ rxgnucomp.c:24:1: note: include '' or provide a declaration of 'strncmp' 23 | #include "inst-rxposix.h" +++ |+#include 24 | rxgnucomp.c:962:51: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 962 | if (!strncmp (str, "cut", 3)) | ^ : note: built-in 'strncmp' declared here rxgnucomp.c:965:38: error: implicit declaration of function 'sscanf' [-Wimplicit-function-declaration] 965 | if (1 != sscanf (str + 3, " %d", &val)) | ^~~~~~ rxgnucomp.c:24:1: note: include '' or provide a declaration of 'sscanf' 23 | #include "inst-rxposix.h" +++ |+#include 24 | rxgnucomp.c:965:38: warning: incompatible implicit declaration of built-in function 'sscanf' [-Wbuiltin-declaration-mismatch] 965 | if (1 != sscanf (str + 3, " %d", &val)) | ^~~~~~ rxgnucomp.c:965:38: note: include '' or provide a declaration of 'sscanf' rxgnucomp.c:980:54: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 980 | else if (!strncmp (str, "(", 1)) | ^ : note: built-in 'strncmp' declared here rxgnucomp.c:988:54: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 988 | else if (!strncmp (str, ")", 1)) | ^ : note: built-in 'strncmp' declared here rxgnucomp.c:999:45: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 999 | int is_alnum = !strcmp (str, "alnum"); | ^~~~~~ rxgnucomp.c:999:45: note: include '' or provide a declaration of 'strcmp' rxgnucomp.c:1026:54: error: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] 1026 | if ( (is_alnum && isalnum (ch)) | ^~~~~~~ rxgnucomp.c:24:1: note: include '' or provide a declaration of 'isalnum' 23 | #include "inst-rxposix.h" +++ |+#include 24 | rxgnucomp.c:1027:54: error: implicit declaration of function 'isalpha' [-Wimplicit-function-declaration] 1027 | || (is_alpha && isalpha (ch)) | ^~~~~~~ rxgnucomp.c:1027:54: note: include '' or provide a declaration of 'isalpha' rxgnucomp.c:1029:54: error: implicit declaration of function 'iscntrl' [-Wimplicit-function-declaration] 1029 | || (is_cntrl && iscntrl (ch)) | ^~~~~~~ rxgnucomp.c:1029:54: note: include '' or provide a declaration of 'iscntrl' rxgnucomp.c:1030:54: error: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] 1030 | || (is_digit && isdigit (ch)) | ^~~~~~~ rxgnucomp.c:1030:54: note: include '' or provide a declaration of 'isdigit' rxgnucomp.c:1031:54: error: implicit declaration of function 'isgraph' [-Wimplicit-function-declaration] 1031 | || (is_graph && isgraph (ch)) | ^~~~~~~ rxgnucomp.c:1031:54: note: include '' or provide a declaration of 'isgraph' rxgnucomp.c:1032:54: error: implicit declaration of function 'islower' [-Wimplicit-function-declaration] 1032 | || (is_lower && islower (ch)) | ^~~~~~~ rxgnucomp.c:1032:54: note: include '' or provide a declaration of 'islower' rxgnucomp.c:1033:54: error: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] 1033 | || (is_print && isprint (ch)) | ^~~~~~~ rxgnucomp.c:1033:54: note: include '' or provide a declaration of 'isprint' rxgnucomp.c:1034:54: error: implicit declaration of function 'ispunct' [-Wimplicit-function-declaration] 1034 | || (is_punct && ispunct (ch)) | ^~~~~~~ rxgnucomp.c:1034:54: note: include '' or provide a declaration of 'ispunct' rxgnucomp.c:1035:54: error: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 1035 | || (is_space && isspace (ch)) | ^~~~~~~ rxgnucomp.c:1035:54: note: include '' or provide a declaration of 'isspace' rxgnucomp.c:1036:54: error: implicit declaration of function 'isupper' [-Wimplicit-function-declaration] 1036 | || (is_upper && isupper (ch)) | ^~~~~~~ rxgnucomp.c:1036:54: note: include '' or provide a declaration of 'isupper' rxgnucomp.c:1037:54: error: implicit declaration of function 'isxdigit' [-Wimplicit-function-declaration] 1037 | || (is_xdigit && isxdigit (ch))) | ^~~~~~~~ rxgnucomp.c:1037:54: note: include '' or provide a declaration of 'isxdigit' rxgnucomp.c:1175:24: error: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 1175 | realloc (compile_stack.stack, | ^~~~~~~ rxgnucomp.c:1175:24: note: include '' or provide a declaration of 'realloc' rxgnucomp.c:1175:24: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] rxgnucomp.c:1175:24: note: include '' or provide a declaration of 'realloc' rxgnucomp.c:1648:3: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 1648 | free (compile_stack.stack); | ^~~~ rxgnucomp.c:1648:3: note: include '' or provide a declaration of 'free' rxgnucomp.c:1648:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxgnucomp.c:1648:3: note: include '' or provide a declaration of 'free' make[1]: *** [Makefile:70: rxgnucomp.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' + make doc/rx.info makeinfo doc/rx.texi -o doc/rx.info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ahSBRI + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/librx-1.5-14.mga10.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/librx-1.5-14.mga10.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/librx-1.5-14.mga10.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/librx-1.5-14.mga10.x86_64 + cd rx-1.5 + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/librx-1.5-14.mga10.x86_64/usr/share/info + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/librx-1.5-14.mga10.x86_64/usr/lib64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/librx-1.5-14.mga10.x86_64/usr/include + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/librx-1.5-14.mga10.x86_64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' libtool --tag=CC --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rx.c -o rx.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rx.c -fPIC -DPIC -o .libs/rx.o rx.c: In function 'rx_make_rx': rx.c:43:25: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 43 | new_rx = (struct rx *)malloc (sizeof (*new_rx)); | ^~~~~~ rx.c:26:1: note: include '' or provide a declaration of 'malloc' 25 | #include "rxsuper.h" +++ |+#include 26 | rx.c:43:25: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 43 | new_rx = (struct rx *)malloc (sizeof (*new_rx)); | ^~~~~~ rx.c:43:25: note: include '' or provide a declaration of 'malloc' rx.c: In function 'rx_free_rx': rx.c:65:3: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 65 | free (rx); | ^~~~ rx.c:65:3: note: include '' or provide a declaration of 'free' rx.c:65:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rx.c:65:3: note: include '' or provide a declaration of 'free' make[1]: *** [Makefile:70: rx.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' /usr/bin/make subdir-inst-target=install install-nobuild make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rx-1.5' for dir in rx; do \ cd $dir; \ /usr/bin/make install; \ cd .. ;\ done make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' libtool --tag=CC --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rx.c -o rx.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DSTDC_HEADERS=1 -I. rx.c -fPIC -DPIC -o .libs/rx.o rx.c: In function 'rx_make_rx': rx.c:43:25: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 43 | new_rx = (struct rx *)malloc (sizeof (*new_rx)); | ^~~~~~ rx.c:26:1: note: include '' or provide a declaration of 'malloc' 25 | #include "rxsuper.h" +++ |+#include 26 | rx.c:43:25: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 43 | new_rx = (struct rx *)malloc (sizeof (*new_rx)); | ^~~~~~ rx.c:43:25: note: include '' or provide a declaration of 'malloc' rx.c: In function 'rx_free_rx': rx.c:65:3: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 65 | free (rx); | ^~~~ rx.c:65:3: note: include '' or provide a declaration of 'free' rx.c:65:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rx.c:65:3: note: include '' or provide a declaration of 'free' make[2]: *** [Makefile:70: rx.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rx-1.5/rx' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rx-1.5' + install -m 644 doc/rx.info /home/pterjan/rpmbuild/BUILDROOT/librx-1.5-14.mga10.x86_64/usr/share/info + rm -rf /home/pterjan/rpmbuild/BUILDROOT/librx-1.5-14.mga10.x86_64/usr/lib64/librx.la + rm -rf /home/pterjan/rpmbuild/BUILDROOT/librx-1.5-14.mga10.x86_64/usr/lib64/librx.a + chmod -x /home/pterjan/rpmbuild/BUILDROOT/librx-1.5-14.mga10.x86_64/usr/include/rxposix.h chmod: cannot access '/home/pterjan/rpmbuild/BUILDROOT/librx-1.5-14.mga10.x86_64/usr/include/rxposix.h': No such file or directory error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ahSBRI (%install) RPM build warnings: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ahSBRI (%install) I: [iurt_root_command] ERROR: chroot