Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/librx.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42537-14591/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/librx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/librx-1.5-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/librx.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42537-14591/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/librx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vpyhR0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rx-1.5 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/rx-1.5.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rx-1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/rx-1.5-shared.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/rx-1.5-texinfo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/librx-1.5-libdir64.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/rx-1.5-libtoolmode.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NKjgq1 + umask 022 + cd /builddir/build/BUILD + cd rx-1.5 + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g ' + export FFLAGS + FCFLAGS='-O2 -g ' + export FCFLAGS + LDFLAGS= + export LDFLAGS + ./configure --host=aarch64-opencloudos-linux-gnu --build=aarch64-opencloudos-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 loading site script /usr/share/config.site creating cache ./config.cache updating cache ./config.cache creating ./config.status creating Makefile configuring in rx running /bin/sh ./configure --host=aarch64-opencloudos-linux-gnu --build=aarch64-opencloudos-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 --cache-file=.././config.cache --srcdir=. loading site script /usr/share/config.site 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... no checking for ANSI C header files... yes updating cache .././config.cache creating ./config.status creating Makefile + /usr/bin/make -O -j8 V=1 VERBOSE=1 make[1]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. hashrexp.c -o hashrexp.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. hashrexp.c -fPIC -DPIC -o .libs/hashrexp.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. hashrexp.c -o hashrexp.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' make[1]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rx.c -o rx.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rx.c -fPIC -DPIC -o .libs/rx.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rx.c -o rx.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' rx.c: In function 'rx_make_rx': rx.c:43:25: warning: 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: warning: 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]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxbasic.c -o rxbasic.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxbasic.c -fPIC -DPIC -o .libs/rxbasic.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxbasic.c -o rxbasic.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' rxbasic.c: In function 'rx_basic_make_solutions': rxbasic.c:87:40: warning: 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: warning: 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]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxcset.c -o rxcset.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxcset.c -fPIC -DPIC -o .libs/rxcset.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxcset.c -o rxcset.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' rxcset.c: In function 'rx_cset': rxcset.c:40:19: warning: 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: warning: 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]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxbitset.c -o rxbitset.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxbitset.c -fPIC -DPIC -o .libs/rxbitset.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxbitset.c -o rxbitset.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' rxbitset.c: In function 'rx_bitset_null': rxbitset.c:105:3: warning: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] 105 | rx_bzero ((char *)b, rx_sizeof_bitset(size)); | ^~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxanal.c -o rxanal.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxanal.c -fPIC -DPIC -o .libs/rxanal.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxanal.c -o rxanal.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' rxanal.c: In function 'rx_posix_analyze_rexp': rxanal.c:54:49: warning: 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: warning: 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: warning: 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]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxdbug.c -o rxdbug.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxdbug.c -fPIC -DPIC -o .libs/rxdbug.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxdbug.c -o rxdbug.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' rxdbug.c: In function 'print_cset': rxdbug.c:64:17: warning: 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]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxnode.c -o rxnode.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxnode.c -fPIC -DPIC -o .libs/rxnode.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxnode.c -o rxnode.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' rxnode.c: In function 'rx_init_string': rxnode.c:43:18: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxhash.c -o rxhash.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxhash.c -fPIC -DPIC -o .libs/rxhash.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxhash.c -o rxhash.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' rxhash.c: In function 'default_hash_alloc': rxhash.c:39:28: warning: 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: warning: 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: warning: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] 252 | rx_bzero ((char *)newtab, sizeof (*newtab)); | ^~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxsimp.c -o rxsimp.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxsimp.c -fPIC -DPIC -o .libs/rxsimp.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxsimp.c -o rxsimp.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' rxsimp.c: In function 'rx_simple_rexp': rxsimp.c:81:11: warning: 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]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxposix.c -o rxposix.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxposix.c -fPIC -DPIC -o .libs/rxposix.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxposix.c -o rxposix.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' rxposix.c: In function 'regncomp': rxposix.c:66:3: warning: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] 66 | rx_bzero ((char *)preg, sizeof (*preg)); | ^~~~~~~~ rxposix.c:77:43: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxstr.c -o rxstr.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxstr.c -fPIC -DPIC -o .libs/rxstr.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxstr.c -o rxstr.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' rxstr.c: In function 'rx_str_contextfn': rxstr.c:84:21: warning: 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: warning: 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]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxnfa.c -o rxnfa.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxnfa.c -fPIC -DPIC -o .libs/rxnfa.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxnfa.c -o rxnfa.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' rxnfa.c: In function 'rx_nfa_state': rxnfa.c:46:52: warning: 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: warning: 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: warning: 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]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxspencer.c -o rxspencer.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxspencer.c -fPIC -DPIC -o .libs/rxspencer.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxspencer.c -o rxspencer.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' rxspencer.c: In function 'rx_make_solutions': rxspencer.c:64:36: warning: 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: warning: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] 67 | rx_bzero ((char *)solns, sizeof (*solns)); | ^~~~~~~~ rxspencer.c:145:3: warning: 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]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxunfa.c -o rxunfa.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxunfa.c -fPIC -DPIC -o .libs/rxunfa.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxunfa.c -o rxunfa.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' rxunfa.c: In function 'canonical_unfa': rxunfa.c:67:37: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 67 | cr = (struct rx_cached_rexp *)malloc (sizeof (*cr)); | ^~~~~~ rxunfa.c:27:1: note: include '' or provide a declaration of 'malloc' 26 | #include "rxnfa.h" +++ |+#include 27 | rxunfa.c:67:37: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 67 | cr = (struct rx_cached_rexp *)malloc (sizeof (*cr)); | ^~~~~~ rxunfa.c:67:37: note: include '' or provide a declaration of 'malloc' rxunfa.c: In function 'rx_unfa_rx': rxunfa.c:106:9: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 106 | free (new_rx); | ^~~~ rxunfa.c:106:9: note: include '' or provide a declaration of 'free' rxunfa.c:106:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxunfa.c:106:9: note: include '' or provide a declaration of 'free' rxunfa.c: In function 'rx_make_unfaniverse': rxunfa.c:137:33: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 137 | it = (struct rx_unfaniverse *)malloc (sizeof (*it)); | ^~~~~~ rxunfa.c:137:33: note: include '' or provide a declaration of 'malloc' rxunfa.c: In function 'rx_free_unfa': rxunfa.c:248:11: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 248 | free (it); | ^~~~ rxunfa.c:248:11: note: include '' or provide a declaration of 'free' make[1]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxgnucomp.c -o rxgnucomp.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxgnucomp.c -fPIC -DPIC -o .libs/rxgnucomp.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxgnucomp.c -o rxgnucomp.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' rxgnucomp.c: In function 'init_syntax_once': rxgnucomp.c:53:4: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxsuper.c -o rxsuper.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxsuper.c -fPIC -DPIC -o .libs/rxsuper.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. rxsuper.c -o rxsuper.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' rxsuper.c: In function 'rx_cache_malloc': rxsuper.c:141:20: warning: 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: warning: 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: warning: 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]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=link gcc -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. -o librx.la hashrexp.lo rx.lo rxanal.lo rxbasic.lo rxbitset.lo rxcset.lo rxdbug.lo rxgnucomp.lo rxhash.lo rxnfa.lo rxnode.lo rxposix.lo rxsimp.lo rxspencer.lo rxstr.lo rxsuper.lo rxunfa.lo -rpath /usr/lib64 libtool: link: gcc -shared -fPIC -DPIC .libs/hashrexp.o .libs/rx.o .libs/rxanal.o .libs/rxbasic.o .libs/rxbitset.o .libs/rxcset.o .libs/rxdbug.o .libs/rxgnucomp.o .libs/rxhash.o .libs/rxnfa.o .libs/rxnode.o .libs/rxposix.o .libs/rxsimp.o .libs/rxspencer.o .libs/rxstr.o .libs/rxsuper.o .libs/rxunfa.o -Wl,-z,now -specs=/usr/lib/rpm/TencentOS/TencentOS-hardened-ld -O2 -g -Wl,-soname -Wl,librx.so.0 -o .libs/librx.so.0.0.0 make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make[1]: *** [Makefile:130: librx.la] Error 1 + make doc/rx.info makeinfo doc/rx.texi -o doc/rx.info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.77Kxkk + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/librx-1.5-3.oc9.aarch64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT + /usr/bin/mkdir /builddir/build/BUILDROOT/librx-1.5-3.oc9.aarch64 + cd rx-1.5 + rm -rf /builddir/build/BUILDROOT/librx-1.5-3.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT/librx-1.5-3.oc9.aarch64/usr/share/info make[1]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=link gcc -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. -o librx.la hashrexp.lo rx.lo rxanal.lo rxbasic.lo rxbitset.lo rxcset.lo rxdbug.lo rxgnucomp.lo rxhash.lo rxnfa.lo rxnode.lo rxposix.lo rxsimp.lo rxspencer.lo rxstr.lo rxsuper.lo rxunfa.lo -rpath /usr/lib64 + mkdir -p /builddir/build/BUILDROOT/librx-1.5-3.oc9.aarch64/usr/lib64 + mkdir -p /builddir/build/BUILDROOT/librx-1.5-3.oc9.aarch64/usr/include + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/librx-1.5-3.oc9.aarch64 'INSTALL=/usr/bin/install -p' libtool: link: gcc -shared -fPIC -DPIC .libs/hashrexp.o .libs/rx.o .libs/rxanal.o .libs/rxbasic.o .libs/rxbitset.o .libs/rxcset.o .libs/rxdbug.o .libs/rxgnucomp.o .libs/rxhash.o .libs/rxnfa.o .libs/rxnode.o .libs/rxposix.o .libs/rxsimp.o .libs/rxspencer.o .libs/rxstr.o .libs/rxsuper.o .libs/rxunfa.o -Wl,-z,now -specs=/usr/lib/rpm/TencentOS/TencentOS-hardened-ld -O2 -g -Wl,-soname -Wl,librx.so.0 -o .libs/librx.so.0.0.0 gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' /usr/bin/make subdir-inst-target=install install-nobuild make[1]: *** [Makefile:130: librx.la] Error 1 make[1]: Entering directory '/builddir/build/BUILD/rx-1.5' for dir in rx; do \ cd $dir; \ /usr/bin/make install; \ cd .. ;\ done make[2]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=link gcc -I. -I. -I./../libsystas -O2 -g -DSTDC_HEADERS=1 -I. -o librx.la hashrexp.lo rx.lo rxanal.lo rxbasic.lo rxbitset.lo rxcset.lo rxdbug.lo rxgnucomp.lo rxhash.lo rxnfa.lo rxnode.lo rxposix.lo rxsimp.lo rxspencer.lo rxstr.lo rxsuper.lo rxunfa.lo -rpath /usr/lib64 libtool: link: gcc -shared -fPIC -DPIC .libs/hashrexp.o .libs/rx.o .libs/rxanal.o .libs/rxbasic.o .libs/rxbitset.o .libs/rxcset.o .libs/rxdbug.o .libs/rxgnucomp.o .libs/rxhash.o .libs/rxnfa.o .libs/rxnode.o .libs/rxposix.o .libs/rxsimp.o .libs/rxspencer.o .libs/rxstr.o .libs/rxsuper.o .libs/rxunfa.o -Wl,-z,now -specs=/usr/lib/rpm/TencentOS/TencentOS-hardened-ld -O2 -g -Wl,-soname -Wl,librx.so.0 -o .libs/librx.so.0.0.0 gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make[2]: *** [Makefile:130: librx.la] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5' + install -m 644 doc/rx.info /builddir/build/BUILDROOT/librx-1.5-3.oc9.aarch64/usr/share/info + rm -rf /builddir/build/BUILDROOT/librx-1.5-3.oc9.aarch64/usr/lib64/librx.la + rm -rf /builddir/build/BUILDROOT/librx-1.5-3.oc9.aarch64/usr/lib64/librx.a + chmod -x /builddir/build/BUILDROOT/librx-1.5-3.oc9.aarch64/usr/include/rxposix.h RPM build errors: chmod: cannot access '/builddir/build/BUILDROOT/librx-1.5-3.oc9.aarch64/usr/include/rxposix.h': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.77Kxkk (%install) Bad exit status from /var/tmp/rpm-tmp.77Kxkk (%install) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/librx.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/librx.spec