+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/librx.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4oc86e + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rx-1.5 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/rx-1.5.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd rx-1.5 + /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 -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 -p1 -b --suffix .texipatch --fuzz=0 patching file doc/rx.texi + echo 'Patch #3 (rx-1.5-libtoolmode.patch):' Patch #3 (rx-1.5-libtoolmode.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libtoolmode --fuzz=0 patching file rx/Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xTNY22 + umask 022 + cd /builddir/build/BUILD + cd rx-1.5 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 creating cache ./config.cache updating cache ./config.cache creating ./config.status creating Makefile configuring in rx running /bin/sh ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 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 + make -j4 make[1]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. hashrexp.c -o hashrexp.lo libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rx.c -o rx.lo libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxanal.c -o rxanal.lo libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxbasic.c -o rxbasic.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxanal.c -fPIC -DPIC -o .libs/rxanal.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxbasic.c -fPIC -DPIC -o .libs/rxbasic.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rx.c -fPIC -DPIC -o .libs/rx.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. hashrexp.c -fPIC -DPIC -o .libs/hashrexp.o hashrexp.c:27:1: warning: 'rexp_node_equal' defined but not used [-Wunused-function] rexp_node_equal (void * va, void * vb) ^~~~~~~~~~~~~~~ libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. hashrexp.c -o hashrexp.o >/dev/null 2>&1 rxanal.c: In function 'rx_posix_analyze_rexp': rxanal.c:54:35: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] *subexps = (struct rexp_node **)malloc (sizeof (struct rexp_node *) * *re_nsub); ^~~~~~ rxanal.c:54:35: warning: incompatible implicit declaration of built-in function 'malloc' rxanal.c:54:35: note: include '' or provide a declaration of 'malloc' rxanal.c:56:35: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] *subexps = (struct rexp_node **)realloc (*subexps, ^~~~~~~ rxanal.c:56:35: warning: incompatible implicit declaration of built-in function 'realloc' rxanal.c:56:35: 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'; did you mean 'rx_start_superstate'? [-Wimplicit-function-declaration] rx_refresh_this_superstate (frame->rx->cache, frame->state); ^~~~~~~~~~~~~~~~~~~~~~~~~~ rx_start_superstate rxanal.c: In function 'rx_fit_p': rxanal.c:412:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int)inx->inx) ^ rxanal.c:456:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] frame->final_tag = (int)inx->data_2; ^ rxanal.c: In function 'rx_advance': rxanal.c:512:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int)inx->inx) ^ rxanal.c: In function 'rx_advance_to_final': rxbasic.c: In function 'rx_basic_make_solutions': rxbasic.c:87:40: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] closure = (struct rx_str_closure *)malloc (sizeof (*closure)); ^~~~~~ rxbasic.c:87:40: warning: incompatible implicit declaration of built-in function 'malloc' rxbasic.c:87:40: note: include '' or provide a declaration of 'malloc' rxanal.c:614:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int)inx->inx) ^ rxbasic.c: In function 'rx_basic_free_solutions': rxbasic.c:115:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free (solns->closure); ^~~~ rxbasic.c:115:5: warning: incompatible implicit declaration of built-in function 'free' rxbasic.c:115:5: note: include '' or provide a declaration of 'free' rx.c: In function 'rx_make_rx': rx.c:43:25: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] new_rx = (struct rx *)malloc (sizeof (*new_rx)); ^~~~~~ rx.c:43:25: warning: incompatible implicit declaration of built-in function 'malloc' 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] free (rx); ^~~~ rx.c:65:3: warning: incompatible implicit declaration of built-in function 'free' rx.c:65:3: note: include '' or provide a declaration of 'free' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxbitset.c -o rxbitset.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rx.c -o rx.o >/dev/null 2>&1 rxanal.c: In function 'rx_posix_analyze_rexp': rxanal.c:113:18: warning: 'this_subexp' may be used uninitialized in this function [-Wmaybe-uninitialized] (*subexps)[this_subexp] = node; ^ libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxbasic.c -o rxbasic.o >/dev/null 2>&1 libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxcset.c -o rxcset.lo libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxdbug.c -o rxdbug.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxbitset.c -fPIC -DPIC -o .libs/rxbitset.o rxbitset.c: In function 'rx_bitset_null': rxbitset.c:105:3: warning: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] rx_bzero ((char *)b, rx_sizeof_bitset(size)); ^~~~~~~~ libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxanal.c -o rxanal.o >/dev/null 2>&1 libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxcset.c -fPIC -DPIC -o .libs/rxcset.o rxcset.c: In function 'rx_cset': rxcset.c:40:19: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] b = (rx_Bitset) malloc (rx_sizeof_bitset (size)); ^~~~~~ rxcset.c:40:19: warning: incompatible implicit declaration of built-in function 'malloc' 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] free ((char *)c); ^~~~ rxcset.c:77:5: warning: incompatible implicit declaration of built-in function 'free' rxcset.c:77:5: note: include '' or provide a declaration of 'free' libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxdbug.c -fPIC -DPIC -o .libs/rxdbug.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxcset.c -o rxcset.o >/dev/null 2>&1 libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxbitset.c -o rxbitset.o >/dev/null 2>&1 rxdbug.c: In function 'print_cset': rxdbug.c:64:10: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] if (isprint(x)) ^~~~~~~ rxdbug.c: In function 'print_nfa_state': rxdbug.c:239:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] printf ("%d", (int)e->params.side_effect); ^ libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxgnucomp.c -o rxgnucomp.lo libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxhash.c -o rxhash.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxgnucomp.c -fPIC -DPIC -o .libs/rxgnucomp.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxdbug.c -o rxdbug.o >/dev/null 2>&1 libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxnfa.c -o rxnfa.lo rxgnucomp.c: In function 'init_syntax_once': rxgnucomp.c:53:4: warning: implicit declaration of function 'rx_bzero'; did you mean 'rx_cset'? [-Wimplicit-function-declaration] rx_bzero ((char *)re_syntax_table, sizeof re_syntax_table); ^~~~~~~~ rx_cset rxgnucomp.c: In function 'rx_parse': rxgnucomp.c:630:52: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] compile_stack.stack = (( compile_stack_elt_t *) malloc ((INIT_COMPILE_STACK_SIZE) * sizeof ( compile_stack_elt_t))); ^~~~~~ rxgnucomp.c:630:52: warning: incompatible implicit declaration of built-in function 'malloc' rxgnucomp.c:630:52: note: include '' or provide a declaration of 'malloc' rxgnucomp.c:962:9: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (!strncmp (str, "cut", 3)) ^~~~~~~ rxgnucomp.c:965:17: warning: implicit declaration of function 'sscanf' [-Wimplicit-function-declaration] if (1 != sscanf (str + 3, " %d", &val)) ^~~~~~ rxgnucomp.c:965:17: warning: incompatible implicit declaration of built-in function 'sscanf' rxgnucomp.c:965:17: note: include '' or provide a declaration of 'sscanf' rxgnucomp.c:999:24: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] int is_alnum = !strcmp (str, "alnum"); ^~~~~~ rxgnucomp.c:1026:26: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] if ( (is_alnum && isalnum (ch)) ^~~~~~~ rxgnucomp.c:1027:26: warning: implicit declaration of function 'isalpha' [-Wimplicit-function-declaration] || (is_alpha && isalpha (ch)) ^~~~~~~ rxgnucomp.c:1029:26: warning: implicit declaration of function 'iscntrl' [-Wimplicit-function-declaration] || (is_cntrl && iscntrl (ch)) ^~~~~~~ rxgnucomp.c:1030:26: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] || (is_digit && isdigit (ch)) ^~~~~~~ rxgnucomp.c:1031:26: warning: implicit declaration of function 'isgraph' [-Wimplicit-function-declaration] || (is_graph && isgraph (ch)) ^~~~~~~ rxgnucomp.c:1032:26: warning: implicit declaration of function 'islower' [-Wimplicit-function-declaration] || (is_lower && islower (ch)) ^~~~~~~ rxgnucomp.c:1033:26: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] || (is_print && isprint (ch)) ^~~~~~~ rxgnucomp.c:1034:26: warning: implicit declaration of function 'ispunct' [-Wimplicit-function-declaration] || (is_punct && ispunct (ch)) ^~~~~~~ rxgnucomp.c:1035:26: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] || (is_space && isspace (ch)) ^~~~~~~ rxgnucomp.c:1036:26: warning: implicit declaration of function 'isupper' [-Wimplicit-function-declaration] || (is_upper && isupper (ch)) ^~~~~~~ rxgnucomp.c:1037:26: warning: implicit declaration of function 'isxdigit' [-Wimplicit-function-declaration] || (is_xdigit && isxdigit (ch))) ^~~~~~~~ rxgnucomp.c:1175:10: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] realloc (compile_stack.stack, ^~~~~~~ rxgnucomp.c:1175:10: warning: incompatible implicit declaration of built-in function 'realloc' rxgnucomp.c:1175:10: note: include '' or provide a declaration of 'realloc' rxgnucomp.c:1218:18: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (COMPILE_STACK_EMPTY) ^ rxgnucomp.c:1648:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free (compile_stack.stack); ^~~~ rxgnucomp.c:1648:3: warning: incompatible implicit declaration of built-in function 'free' rxgnucomp.c:1648:3: note: include '' or provide a declaration of 'free' libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxhash.c -fPIC -DPIC -o .libs/rxhash.o rxhash.c: In function 'default_hash_alloc': rxhash.c:39:28: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] return (struct rx_hash *)malloc (sizeof (struct rx_hash)); ^~~~~~ rxhash.c:39:28: warning: incompatible implicit declaration of built-in function 'malloc' 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' 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] free ((char *)tab); ^~~~ rxhash.c:75:3: warning: incompatible implicit declaration of built-in function 'free' 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' 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:2: warning: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] rx_bzero ((char *)newtab, sizeof (*newtab)); ^~~~~~~~ libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxnfa.c -fPIC -DPIC -o .libs/rxnfa.o rxnfa.c: In function 'rx_nfa_state': rxnfa.c:46:52: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] struct rx_nfa_state * n = (struct rx_nfa_state *)malloc (sizeof (*n)); ^~~~~~ rxnfa.c:46:52: warning: incompatible implicit declaration of built-in function 'malloc' rxnfa.c:46:52: note: include '' or provide a declaration of 'malloc' rxnfa.c:49:3: warning: implicit declaration of function 'rx_bzero'; did you mean 'rx_cset'? [-Wimplicit-function-declaration] rx_bzero ((char *)n, sizeof (*n)); ^~~~~~~~ rx_cset rxnfa.c: In function 'rx_free_nfa_state': rxnfa.c:65:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free ((char *)n); ^~~~ rxnfa.c:65:3: warning: incompatible implicit declaration of built-in function 'free' 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' 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' 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' 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' 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] 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' 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:33: warning: incompatible implicit declaration of built-in function 'malloc' consed = (struct rx_se_list *) malloc (sizeof (*consed)); ^~~~~~ rxnfa.c:514:33: 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' 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:8: warning: incompatible implicit declaration of built-in function 'free' free ((char *)dying); ^~~~ rxnfa.c:767:8: 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' 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' free ((char *)node->data); ^~~~ rxnfa.c:836:3: note: include '' or provide a declaration of 'free' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxnode.c -o rxnode.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxnode.c -fPIC -DPIC -o .libs/rxnode.o rxnode.c: In function 'rx_init_string': rxnode.c:43:18: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] tmp = (char *) malloc (INITSIZE); ^~~~~~ rxnode.c:43:18: warning: incompatible implicit declaration of built-in function 'malloc' rxnode.c:43:18: note: include '' or provide a declaration of 'malloc' rxnode.c:48:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] thisone->contents = tmp; ^ rxnode.c: In function 'rx_free_string': rxnode.c:64:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free (junk->contents); ^~~~ rxnode.c:64:3: warning: incompatible implicit declaration of built-in function 'free' 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] temp = (char *) realloc (str->contents, str->reallen + EXPANDSIZE); ^~~~~~~ rxnode.c:86:23: warning: incompatible implicit declaration of built-in function 'realloc' rxnode.c:86:23: note: include '' or provide a declaration of 'realloc' rxnode.c:91:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] str->contents = temp; ^ rxnode.c: In function 'rx_copy_string': rxnode.c:114:22: warning: incompatible implicit declaration of built-in function 'malloc' tmp = (char *) malloc (from->reallen); ^~~~~~ rxnode.c:114:22: note: include '' or provide a declaration of 'malloc' rxnode.c:123:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] to->contents = tmp; ^ rxnode.c:125:3: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy (to->contents, from->contents, from->reallen); ^~~~~~ rxnode.c:125:3: warning: incompatible implicit declaration of built-in function 'memcpy' 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] return !memcmp (a->contents, b->contents, a->len); ^~~~~~ rxnode.c: In function 'rx_string_hash': rxnode.c:167:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] string = str->contents; ^ rxnode.c: In function 'rexp_node': rxnode.c:194:28: warning: incompatible implicit declaration of built-in function 'malloc' 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'; did you mean 'rx_cset'? [-Wimplicit-function-declaration] rx_bzero ((char *)n, sizeof (*n)); ^~~~~~~~ rx_cset rxnode.c: In function 'rx_free_rexp': rxnode.c:321:7: warning: incompatible implicit declaration of built-in function 'free' free ((char *)node); ^~~~ rxnode.c:321:7: note: include '' or provide a declaration of 'free' libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxhash.c -o rxhash.o >/dev/null 2>&1 rxnode.c: In function 'rx_copy_string': rxnode.c:125:3: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] memcpy (to->contents, from->contents, from->reallen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxnfa.c -o rxnfa.o >/dev/null 2>&1 libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxnode.c -o rxnode.o >/dev/null 2>&1 libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxposix.c -o rxposix.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxgnucomp.c -o rxgnucomp.o >/dev/null 2>&1 libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxsimp.c -o rxsimp.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxposix.c -fPIC -DPIC -o .libs/rxposix.o libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxspencer.c -o rxspencer.lo rxposix.c: In function 'regncomp': rxposix.c:66:3: warning: implicit declaration of function 'rx_bzero'; did you mean 'rx_cset'? [-Wimplicit-function-declaration] rx_bzero ((char *)preg, sizeof (*preg)); ^~~~~~~~ rx_cset rxposix.c:77:43: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] preg->translate = (unsigned char *) malloc (256); ^~~~~~ rxposix.c:77:43: warning: incompatible implicit declaration of built-in function 'malloc' 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] preg->translate[i] = isupper (i) ? tolower (i) : i; ^~~~~~~ rxposix.c:83:44: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] preg->translate[i] = isupper (i) ? tolower (i) : i; ^~~~~~~ rxposix.c: In function 'regcomp': rxposix.c:147:35: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] return regncomp (preg, pattern, strlen (pattern), cflags); ^~~~~~ rxposix.c:147:35: warning: incompatible implicit declaration of built-in function 'strlen' 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' 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] strncpy (errbuf, msg, errbuf_size - 1); ^~~~~~~ rxposix.c:178:11: warning: incompatible implicit declaration of built-in function 'strncpy' 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] strcpy (errbuf, msg); ^~~~~~ rxposix.c:182:9: warning: incompatible implicit declaration of built-in function 'strcpy' rxposix.c:182:9: note: include '' or provide a declaration of 'strcpy' rxposix.c: In function 'rx_regmatch': rxposix.c:239:35: warning: pointer targets in passing argument 7 of 'rx_basic_make_solutions' differ in signedness [-Wpointer-sign] start, end, &local_rules, string); ^~~~~~ In file included from rxposix.c:24:0: rxbasic.h:43:30: note: expected 'const unsigned char *' but argument is of type 'const char *' extern struct rx_solutions * rx_basic_make_solutions (struct rx_registers * regs, struct rexp_node * expression, struct rexp_node ** subexps, int start, int end, struct rx_context_rules * rules, const unsigned char * str); ^~~~~~~~~~~~~~~~~~~~~~~ rxposix.c: In function 'rx_regexec': rxposix.c:326:45: warning: pointer targets in passing argument 2 of 'rx_advance_to_final' differ in signedness [-Wpointer-sign] amt = rx_advance_to_final (&machine, string + x, end - start - x); ^~~~~~ In file included from rxspencer.h:28:0, from rxposix.h:24, from rxposix.c:22: rxanal.h:60:12: note: expected 'const unsigned char *' but argument is of type 'const char *' extern int rx_advance_to_final (struct rx_classical_system * frame, unsigned const char * burst, int len); ^~~~~~~~~~~~~~~~~~~ rxposix.c:338:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (anchored) ^ rxposix.c: In function 'regnexec': rxposix.c:406:28: warning: incompatible implicit declaration of built-in function 'malloc' 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] free (regs); ^~~~ rxposix.c:431:5: warning: incompatible implicit declaration of built-in function 'free' rxposix.c:431:5: note: include '' or provide a declaration of 'free' rxposix.c: In function 'regexec': rxposix.c:451:6: warning: incompatible implicit declaration of built-in function 'strlen' strlen (string), ^~~~~~ rxposix.c:451:6: 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' 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' free (preg->translate); ^~~~ rxposix.c:481:7: note: include '' or provide a declaration of 'free' libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxsimp.c -fPIC -DPIC -o .libs/rxsimp.o rxposix.c: In function 'rx_regmatch': rxposix.c:262:3: warning: 'answer' may be used uninitialized in this function [-Wmaybe-uninitialized] switch (answer) ^~~~~~ rxsimp.c: In function 'rx_simple_rexp': rxsimp.c:81:11: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (isdigit (node->params.intval)) ^~~~~~~ libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxspencer.c -fPIC -DPIC -o .libs/rxspencer.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxsimp.c -o rxsimp.o >/dev/null 2>&1 rxspencer.c: In function 'rx_make_solutions': rxspencer.c:64:36: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] solns = (struct rx_solutions *)malloc (sizeof (*solns)); ^~~~~~ rxspencer.c:64:36: warning: incompatible implicit declaration of built-in function 'malloc' rxspencer.c:64:36: note: include '' or provide a declaration of 'malloc' rxspencer.c:67:3: warning: implicit declaration of function 'rx_bzero'; did you mean 'rx_cset'? [-Wimplicit-function-declaration] rx_bzero ((char *)solns, sizeof (*solns)); ^~~~~~~~ rx_cset rxspencer.c:145:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free (solns); ^~~~ rxspencer.c:145:3: warning: incompatible implicit declaration of built-in function 'free' 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' free (solns); ^~~~ rxspencer.c:201:5: note: include '' or provide a declaration of 'free' libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxposix.c -o rxposix.o >/dev/null 2>&1 rxspencer.c: In function 'rx_next_solution': rxspencer.c:1191:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxstr.c -o rxstr.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxstr.c -fPIC -DPIC -o .libs/rxstr.o rxstr.c: In function 'rx_str_contextfn': rxstr.c:84:14: warning: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration] cmp = strncasecmp (strc->str + start, ^~~~~~~~~~~ rxstr.c:88:14: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] cmp = strncmp (strc->str + start, ^~~~~~~ libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxstr.c -o rxstr.o >/dev/null 2>&1 libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxsuper.c -o rxsuper.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxspencer.c -o rxspencer.o >/dev/null 2>&1 libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxunfa.c -o rxunfa.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxsuper.c -fPIC -DPIC -o .libs/rxsuper.o rxsuper.c: In function 'rx_cache_malloc': rxsuper.c:141:20: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] answer = (char *)malloc (size); ^~~~~~ rxsuper.c:141:20: warning: incompatible implicit declaration of built-in function 'malloc' 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] free (mem); ^~~~ rxsuper.c:159:3: warning: incompatible implicit declaration of built-in function 'free' rxsuper.c:159:3: note: include '' or provide a declaration of 'free' rxsuper.c: In function 'refresh_semifree_superstate': rxsuper.c:272:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] df->future_frame.data_2 = (void *)(super->contents->is_final); ^ rxsuper.c: In function 'rx_really_free_superstate': rxsuper.c:390:7: warning: unused variable 'locked_superstates' [-Wunused-variable] int locked_superstates = 0; ^~~~~~~~~~~~~~~~~~ rxsuper.c: At top level: rxsuper.c:658:1: warning: missing braces around initializer [-Wmissing-braces] { ^ rxsuper.c:681:5: 0, { rxsuper.c:683:3: } } rxsuper.c:658:1: warning: missing braces around initializer [-Wmissing-braces] { ^ rxsuper.c:681:5: 0, { rxsuper.c:683:3: } } rxsuper.c: In function 'rx_superset_cons': rxsuper.c:715:4: warning: implicit declaration of function 'rx_bzero'; did you mean 'rx_cset'? [-Wimplicit-function-declaration] rx_bzero ((char *)cache->empty_superset, sizeof (struct rx_superset)); ^~~~~~~~ rx_cset rxsuper.c: In function 'solve_destination': rxsuper.c:1107:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] dft->future_frame.data_2 = (void *) dest->contents->is_final; ^ At top level: rxsuper.c:655:12: warning: 'rx_default_cache_got' defined but not used [-Wunused-variable] static int rx_default_cache_got = 0; ^~~~~~~~~~~~~~~~~~~~ rxsuper.c:115:1: warning: 'check_cache' defined but not used [-Wunused-function] check_cache (struct rx_cache * cache) ^~~~~~~~~~~ libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxunfa.c -fPIC -DPIC -o .libs/rxunfa.o rxunfa.c: In function 'canonical_unfa': rxunfa.c:67:37: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] cr = (struct rx_cached_rexp *)malloc (sizeof (*cr)); ^~~~~~ rxunfa.c:67:37: warning: incompatible implicit declaration of built-in function 'malloc' rxunfa.c:67:37: note: include '' or provide a declaration of 'malloc' rxunfa.c: In function 'rx_unfa_rx': rxunfa.c:106:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free (new_rx); ^~~~ rxunfa.c:106:2: warning: incompatible implicit declaration of built-in function 'free' rxunfa.c:106:2: 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' 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:4: warning: incompatible implicit declaration of built-in function 'free' free (it); ^~~~ rxunfa.c:248:4: note: include '' or provide a declaration of 'free' libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxunfa.c -o rxunfa.o >/dev/null 2>&1 libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DSTDC_HEADERS=1 -I. rxsuper.c -o rxsuper.o >/dev/null 2>&1 libtool --mode=link gcc -I. -I. -I./../libsystas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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/lib 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 -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-soname -Wl,librx.so.0 -o .libs/librx.so.0.0.0 libtool: link: (cd ".libs" && rm -f "librx.so.0" && ln -s "librx.so.0.0.0" "librx.so.0") libtool: link: (cd ".libs" && rm -f "librx.so" && ln -s "librx.so.0.0.0" "librx.so") libtool: link: ar cru .libs/librx.a hashrexp.o rx.o rxanal.o rxbasic.o rxbitset.o rxcset.o rxdbug.o rxgnucomp.o rxhash.o rxnfa.o rxnode.o rxposix.o rxsimp.o rxspencer.o rxstr.o rxsuper.o rxunfa.o libtool: link: ranlib .libs/librx.a libtool: link: ( cd ".libs" && rm -f "librx.la" && ln -s "../librx.la" "librx.la" ) make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' + make doc/rx.info makeinfo doc/rx.texi -o doc/rx.info + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QMLxG8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64 + cd rx-1.5 + rm -rf /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64/usr/share/info + mkdir -p /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64/usr/lib64 + mkdir -p /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64/usr/include + make install DESTDIR=/builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64 make[1]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/rx-1.5/rx' make subdir-inst-target=install install-nobuild make[1]: Entering directory '/builddir/build/BUILD/rx-1.5' for dir in rx; do \ cd $dir; \ make install; \ cd .. ;\ done make[2]: Entering directory '/builddir/build/BUILD/rx-1.5/rx' /usr/bin/install -c ./inst-rxposix.h /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64/usr/include/rxposix.h libtool --mode=install /usr/bin/install -c -c librx.la /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64/usr/lib libtool: install: /usr/bin/install -c -c .libs/librx.so.0.0.0 /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64/usr/librx.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64/usr && { ln -s -f librx.so.0.0.0 librx.so.0 || { rm -f librx.so.0 && ln -s librx.so.0.0.0 librx.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64/usr && { ln -s -f librx.so.0.0.0 librx.so || { rm -f librx.so && ln -s librx.so.0.0.0 librx.so; }; }) libtool: install: /usr/bin/install -c -c .libs/librx.lai /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64/usr/librx.la libtool: install: /usr/bin/install -c -c .libs/librx.a /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64/usr/librx.a libtool: install: chmod 644 /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64/usr/librx.a libtool: install: ranlib /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64/usr/librx.a libtool: warning: remember to run 'libtool --finish /usr/lib' 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-30.fc28.riscv64/usr/share/info + rm -rf /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64/usr/lib64/librx.la + rm -rf /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64/usr/lib64/librx.a + chmod -x /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64/usr/include/rxposix.h + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/librx.la is executable but has empty or no shebang, removing executable bit Processing files: librx-1.5-30.fc28.riscv64 error: File not found: /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64/usr/lib64/*.so.* RPM build errors: File not found: /builddir/build/BUILDROOT/librx-1.5-30.fc28.riscv64/usr/lib64/*.so.* ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff