Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/librx.spec'], chrootPath='/var/lib/mock/f29-build-6649-1627/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/librx-1.5-31.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/librx.spec'], chrootPath='/var/lib/mock/f29-build-6649-1627/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nmyEbF + 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 . Patch #0 (rx-1.5-shared.patch): + echo '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 Patch #1 (rx-1.5-texinfo.patch): + echo '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 Patch #3 (rx-1.5-libtoolmode.patch): + echo '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.tNTU4H + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ 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) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ 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-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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-koji-linux-gnu --host=riscv64-koji-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. hashrexp.c -fPIC -DPIC -o .libs/hashrexp.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxanal.c -fPIC -DPIC -o .libs/rxanal.o BUILDSTDERR: hashrexp.c:27:1: warning: 'rexp_node_equal' defined but not used [-Wunused-function] BUILDSTDERR: rexp_node_equal (void * va, void * vb) BUILDSTDERR: ^~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. hashrexp.c -o hashrexp.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rx.c -fPIC -DPIC -o .libs/rx.o BUILDSTDERR: rxanal.c: In function 'rx_posix_analyze_rexp': BUILDSTDERR: rxanal.c:54:35: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] BUILDSTDERR: *subexps = (struct rexp_node **)malloc (sizeof (struct rexp_node *) * *re_nsub); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxanal.c:54:35: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: rxanal.c:54:35: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxanal.c:23:1: BUILDSTDERR: +#include BUILDSTDERR: #include "rxbitset.h" BUILDSTDERR: rxanal.c:54:35: BUILDSTDERR: *subexps = (struct rexp_node **)malloc (sizeof (struct rexp_node *) * *re_nsub); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxanal.c:56:35: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] BUILDSTDERR: *subexps = (struct rexp_node **)realloc (*subexps, BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rxanal.c:56:35: warning: incompatible implicit declaration of built-in function 'realloc' BUILDSTDERR: rxanal.c:56:35: note: include '' or provide a declaration of 'realloc' BUILDSTDERR: rxanal.c: In function 'rx_start_superstate': BUILDSTDERR: rxanal.c:344:7: warning: implicit declaration of function 'rx_refresh_this_superstate'; did you mean 'rx_start_superstate'? [-Wimplicit-function-declaration] BUILDSTDERR: rx_refresh_this_superstate (frame->rx->cache, frame->state); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rx_start_superstate BUILDSTDERR: rxanal.c: In function 'rx_fit_p': BUILDSTDERR: rxanal.c:412:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: switch ((int)inx->inx) BUILDSTDERR: ^ BUILDSTDERR: rxanal.c:456:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: frame->final_tag = (int)inx->data_2; BUILDSTDERR: ^ BUILDSTDERR: rxanal.c: In function 'rx_advance': BUILDSTDERR: rxanal.c:512:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: switch ((int)inx->inx) BUILDSTDERR: ^ BUILDSTDERR: rxanal.c: In function 'rx_advance_to_final': BUILDSTDERR: rxanal.c:614:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: switch ((int)inx->inx) BUILDSTDERR: ^ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxbitset.c -o rxbitset.lo BUILDSTDERR: rx.c: In function 'rx_make_rx': BUILDSTDERR: rx.c:43:25: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] BUILDSTDERR: new_rx = (struct rx *)malloc (sizeof (*new_rx)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rx.c:43:25: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: rx.c:43:25: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rx.c:26:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: rx.c:43:25: BUILDSTDERR: new_rx = (struct rx *)malloc (sizeof (*new_rx)); BUILDSTDERR: ^~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxbasic.c -fPIC -DPIC -o .libs/rxbasic.o BUILDSTDERR: rx.c: In function 'rx_free_rx': BUILDSTDERR: rx.c:65:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] BUILDSTDERR: free (rx); BUILDSTDERR: ^~~~ BUILDSTDERR: rx.c:65:3: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: rx.c:65:3: note: include '' or provide a declaration of 'free' BUILDSTDERR: rxanal.c: In function 'rx_posix_analyze_rexp': BUILDSTDERR: rxanal.c:113:18: warning: 'this_subexp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: (*subexps)[this_subexp] = node; BUILDSTDERR: ^ BUILDSTDERR: rxbasic.c: In function 'rx_basic_make_solutions': BUILDSTDERR: rxbasic.c:87:40: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] BUILDSTDERR: closure = (struct rx_str_closure *)malloc (sizeof (*closure)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxbasic.c:87:40: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: rxbasic.c:87:40: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxbasic.c:24:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: rxbasic.c:87:40: BUILDSTDERR: closure = (struct rx_str_closure *)malloc (sizeof (*closure)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxbasic.c: In function 'rx_basic_free_solutions': BUILDSTDERR: rxbasic.c:115:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] BUILDSTDERR: free (solns->closure); BUILDSTDERR: ^~~~ BUILDSTDERR: rxbasic.c:115:5: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: rxbasic.c:115: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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rx.c -o rx.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxcset.c -o rxcset.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxbitset.c -fPIC -DPIC -o .libs/rxbitset.o BUILDSTDERR: rxbitset.c: In function 'rx_bitset_null': BUILDSTDERR: rxbitset.c:105:3: warning: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] BUILDSTDERR: rx_bzero ((char *)b, rx_sizeof_bitset(size)); BUILDSTDERR: ^~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxcset.c -fPIC -DPIC -o .libs/rxcset.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxbitset.c -o rxbitset.o >/dev/null 2>&1 BUILDSTDERR: rxcset.c: In function 'rx_cset': BUILDSTDERR: rxcset.c:40:19: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] BUILDSTDERR: b = (rx_Bitset) malloc (rx_sizeof_bitset (size)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxcset.c:40:19: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: rxcset.c:40:19: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxcset.c:28:1: BUILDSTDERR: +#include BUILDSTDERR: /* Utilities for manipulating bitset represntations of characters sets. */ BUILDSTDERR: rxcset.c:40:19: BUILDSTDERR: b = (rx_Bitset) malloc (rx_sizeof_bitset (size)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxcset.c: In function 'rx_free_cset': BUILDSTDERR: rxcset.c:77:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] BUILDSTDERR: free ((char *)c); BUILDSTDERR: ^~~~ BUILDSTDERR: rxcset.c:77:5: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxcset.c -o rxcset.o >/dev/null 2>&1 BUILDSTDERR: rxdbug.c: In function 'print_cset': BUILDSTDERR: rxdbug.c:64:10: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] BUILDSTDERR: if (isprint(x)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rxdbug.c: In function 'print_nfa_state': BUILDSTDERR: rxdbug.c:239:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: printf ("%d", (int)e->params.side_effect); BUILDSTDERR: ^ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxnfa.c -o rxnfa.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxgnucomp.c -fPIC -DPIC -o .libs/rxgnucomp.o BUILDSTDERR: rxgnucomp.c: In function 'init_syntax_once': BUILDSTDERR: rxgnucomp.c:53:4: warning: implicit declaration of function 'rx_bzero'; did you mean 'rx_cset'? [-Wimplicit-function-declaration] BUILDSTDERR: rx_bzero ((char *)re_syntax_table, sizeof re_syntax_table); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: rx_cset BUILDSTDERR: rxgnucomp.c: In function 'rx_parse': BUILDSTDERR: rxgnucomp.c:630:52: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] BUILDSTDERR: compile_stack.stack = (( compile_stack_elt_t *) malloc ((INIT_COMPILE_STACK_SIZE) * sizeof ( compile_stack_elt_t))); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxgnucomp.c:630:52: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: rxgnucomp.c:630:52: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxgnucomp.c:24:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: rxgnucomp.c:630:52: BUILDSTDERR: compile_stack.stack = (( compile_stack_elt_t *) malloc ((INIT_COMPILE_STACK_SIZE) * sizeof ( compile_stack_elt_t))); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxgnucomp.c:962:9: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] BUILDSTDERR: if (!strncmp (str, "cut", 3)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rxgnucomp.c:965:17: warning: implicit declaration of function 'sscanf' [-Wimplicit-function-declaration] BUILDSTDERR: if (1 != sscanf (str + 3, " %d", &val)) BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxgnucomp.c:965:17: warning: incompatible implicit declaration of built-in function 'sscanf' BUILDSTDERR: rxgnucomp.c:965:17: note: include '' or provide a declaration of 'sscanf' BUILDSTDERR: rxgnucomp.c:24:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: rxgnucomp.c:965:17: BUILDSTDERR: if (1 != sscanf (str + 3, " %d", &val)) BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxgnucomp.c:999:24: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] BUILDSTDERR: int is_alnum = !strcmp (str, "alnum"); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxgnucomp.c:1026:26: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] BUILDSTDERR: if ( (is_alnum && isalnum (ch)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rxgnucomp.c:1027:26: warning: implicit declaration of function 'isalpha' [-Wimplicit-function-declaration] BUILDSTDERR: || (is_alpha && isalpha (ch)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rxgnucomp.c:1029:26: warning: implicit declaration of function 'iscntrl' [-Wimplicit-function-declaration] BUILDSTDERR: || (is_cntrl && iscntrl (ch)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rxgnucomp.c:1030:26: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] BUILDSTDERR: || (is_digit && isdigit (ch)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rxgnucomp.c:1031:26: warning: implicit declaration of function 'isgraph' [-Wimplicit-function-declaration] BUILDSTDERR: || (is_graph && isgraph (ch)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rxgnucomp.c:1032:26: warning: implicit declaration of function 'islower' [-Wimplicit-function-declaration] BUILDSTDERR: || (is_lower && islower (ch)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rxgnucomp.c:1033:26: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] BUILDSTDERR: || (is_print && isprint (ch)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rxgnucomp.c:1034:26: warning: implicit declaration of function 'ispunct' [-Wimplicit-function-declaration] BUILDSTDERR: || (is_punct && ispunct (ch)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rxgnucomp.c:1035:26: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] BUILDSTDERR: || (is_space && isspace (ch)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rxgnucomp.c:1036:26: warning: implicit declaration of function 'isupper' [-Wimplicit-function-declaration] BUILDSTDERR: || (is_upper && isupper (ch)) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rxgnucomp.c:1037:26: warning: implicit declaration of function 'isxdigit' [-Wimplicit-function-declaration] BUILDSTDERR: || (is_xdigit && isxdigit (ch))) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: rxgnucomp.c:1175:10: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] BUILDSTDERR: realloc (compile_stack.stack, BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rxgnucomp.c:1175:10: warning: incompatible implicit declaration of built-in function 'realloc' BUILDSTDERR: rxgnucomp.c:1175:10: note: include '' or provide a declaration of 'realloc' BUILDSTDERR: rxgnucomp.c:1218:18: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (COMPILE_STACK_EMPTY) BUILDSTDERR: ^ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxhash.c -fPIC -DPIC -o .libs/rxhash.o BUILDSTDERR: rxgnucomp.c:1648:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] BUILDSTDERR: free (compile_stack.stack); BUILDSTDERR: ^~~~ BUILDSTDERR: rxgnucomp.c:1648:3: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: rxgnucomp.c:1648:3: note: include '' or provide a declaration of 'free' BUILDSTDERR: rxhash.c: In function 'default_hash_alloc': 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxnfa.c -fPIC -DPIC -o .libs/rxnfa.o BUILDSTDERR: rxhash.c:39:28: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] BUILDSTDERR: return (struct rx_hash *)malloc (sizeof (struct rx_hash)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxhash.c:39:28: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: rxhash.c:39:28: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxhash.c:27:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: rxhash.c:39:28: BUILDSTDERR: return (struct rx_hash *)malloc (sizeof (struct rx_hash)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxhash.c: In function 'default_hash_item_alloc': BUILDSTDERR: rxhash.c:54:31: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: it = (struct rx_hash_item *)malloc (sizeof (*it)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxhash.c:54:31: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxhash.c: In function 'default_free_hash': BUILDSTDERR: rxhash.c:75:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] BUILDSTDERR: free ((char *)tab); BUILDSTDERR: ^~~~ BUILDSTDERR: rxhash.c:75:3: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: rxhash.c:75:3: note: include '' or provide a declaration of 'free' BUILDSTDERR: rxhash.c: In function 'default_free_hash_item': BUILDSTDERR: rxhash.c:90:3: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: free ((char *)item); BUILDSTDERR: ^~~~ BUILDSTDERR: rxhash.c:90:3: note: include '' or provide a declaration of 'free' BUILDSTDERR: rxhash.c: In function 'rx_hash_store': BUILDSTDERR: rxhash.c:252:2: warning: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] BUILDSTDERR: rx_bzero ((char *)newtab, sizeof (*newtab)); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: rxnfa.c: In function 'rx_nfa_state': BUILDSTDERR: rxnfa.c:46:52: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] BUILDSTDERR: struct rx_nfa_state * n = (struct rx_nfa_state *)malloc (sizeof (*n)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxnfa.c:46:52: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: rxnfa.c:46:52: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxnfa.c:27:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: rxnfa.c:46:52: BUILDSTDERR: struct rx_nfa_state * n = (struct rx_nfa_state *)malloc (sizeof (*n)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxnfa.c:49:3: warning: implicit declaration of function 'rx_bzero'; did you mean 'rx_cset'? [-Wimplicit-function-declaration] BUILDSTDERR: rx_bzero ((char *)n, sizeof (*n)); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: rx_cset BUILDSTDERR: rxnfa.c: In function 'rx_free_nfa_state': BUILDSTDERR: rxnfa.c:65:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] BUILDSTDERR: free ((char *)n); BUILDSTDERR: ^~~~ BUILDSTDERR: rxnfa.c:65:3: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: rxnfa.c:65:3: note: include '' or provide a declaration of 'free' BUILDSTDERR: rxnfa.c: In function 'rx_nfa_edge': BUILDSTDERR: rxnfa.c:89:29: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: e = (struct rx_nfa_edge *)malloc (sizeof (*e)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxnfa.c:89:29: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxnfa.c: In function 'rx_free_nfa_edge': BUILDSTDERR: rxnfa.c:109:3: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: free ((char *)e); BUILDSTDERR: ^~~~ BUILDSTDERR: rxnfa.c:109:3: note: include '' or provide a declaration of 'free' BUILDSTDERR: rxnfa.c: In function 'rx_possible_future': BUILDSTDERR: rxnfa.c:129:38: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: ec = (struct rx_possible_future *) malloc (sizeof (*ec)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxnfa.c:129:38: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxnfa.c: In function 'rx_free_possible_future': BUILDSTDERR: rxnfa.c:148:3: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: free ((char *)pf); BUILDSTDERR: ^~~~ BUILDSTDERR: rxnfa.c:148:3: note: include '' or provide a declaration of 'free' BUILDSTDERR: rxnfa.c: In function 'rx_build_nfa': BUILDSTDERR: rxnfa.c:388:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: edge->params.side_effect = (void *)rexp->params.intval; BUILDSTDERR: ^ BUILDSTDERR: rxnfa.c: In function 'side_effect_cons': BUILDSTDERR: rxnfa.c:477:30: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: l = ((struct rx_se_list *) malloc (sizeof (*l))); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxnfa.c:477:30: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxnfa.c: In function 'hash_cons_se_prog': BUILDSTDERR: rxnfa.c:514:33: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: consed = (struct rx_se_list *) malloc (sizeof (*consed)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxnfa.c:514:33: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxnfa.c: In function 'nfa_set_cons': BUILDSTDERR: rxnfa.c:618:39: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: l = (struct rx_nfa_state_set *) malloc (sizeof (*l)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxnfa.c:618:39: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxnfa.c: In function 'eclose_node': BUILDSTDERR: rxnfa.c:767:8: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: free ((char *)dying); BUILDSTDERR: ^~~~ BUILDSTDERR: rxnfa.c:767:8: note: include '' or provide a declaration of 'free' BUILDSTDERR: rxnfa.c: In function 'se_memo_freer': BUILDSTDERR: rxnfa.c:823:3: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: free ((char *)node->data); BUILDSTDERR: ^~~~ BUILDSTDERR: rxnfa.c:823:3: note: include '' or provide a declaration of 'free' BUILDSTDERR: rxnfa.c: In function 'nfa_set_freer': BUILDSTDERR: rxnfa.c:836:3: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: free ((char *)node->data); BUILDSTDERR: ^~~~ BUILDSTDERR: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxnode.c -fPIC -DPIC -o .libs/rxnode.o BUILDSTDERR: rxnode.c: In function 'rx_init_string': 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxhash.c -o rxhash.o >/dev/null 2>&1 BUILDSTDERR: rxnode.c:43:18: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] BUILDSTDERR: tmp = (char *) malloc (INITSIZE); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxnode.c:43:18: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: rxnode.c:43:18: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxnode.c:25:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: rxnode.c:43:18: BUILDSTDERR: tmp = (char *) malloc (INITSIZE); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxnode.c:48:24: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: thisone->contents = tmp; BUILDSTDERR: ^ BUILDSTDERR: rxnode.c: In function 'rx_free_string': BUILDSTDERR: rxnode.c:64:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] BUILDSTDERR: free (junk->contents); BUILDSTDERR: ^~~~ BUILDSTDERR: rxnode.c:64:3: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: rxnode.c:64:3: note: include '' or provide a declaration of 'free' BUILDSTDERR: rxnode.c: In function 'rx_adjoin_string': BUILDSTDERR: rxnode.c:86:23: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] BUILDSTDERR: temp = (char *) realloc (str->contents, str->reallen + EXPANDSIZE); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rxnode.c:86:23: warning: incompatible implicit declaration of built-in function 'realloc' BUILDSTDERR: rxnode.c:86:23: note: include '' or provide a declaration of 'realloc' BUILDSTDERR: rxnode.c:91:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: str->contents = temp; BUILDSTDERR: ^ BUILDSTDERR: rxnode.c: In function 'rx_copy_string': BUILDSTDERR: rxnode.c:114:22: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: tmp = (char *) malloc (from->reallen); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxnode.c:114:22: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxnode.c:123:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: to->contents = tmp; BUILDSTDERR: ^ BUILDSTDERR: rxnode.c:125:3: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] BUILDSTDERR: memcpy (to->contents, from->contents, from->reallen); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxnode.c:125:3: warning: incompatible implicit declaration of built-in function 'memcpy' BUILDSTDERR: rxnode.c:125:3: note: include '' or provide a declaration of 'memcpy' BUILDSTDERR: rxnode.c:25:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: rxnode.c:125:3: BUILDSTDERR: memcpy (to->contents, from->contents, from->reallen); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxnode.c: In function 'rx_compare_rx_strings': BUILDSTDERR: rxnode.c:145:13: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] BUILDSTDERR: return !memcmp (a->contents, b->contents, a->len); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxnode.c: In function 'rx_string_hash': BUILDSTDERR: rxnode.c:167:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: string = str->contents; BUILDSTDERR: ^ BUILDSTDERR: rxnode.c: In function 'rexp_node': BUILDSTDERR: rxnode.c:194:28: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: n = (struct rexp_node *) malloc (sizeof (*n)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxnode.c:194:28: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxnode.c:195:3: warning: implicit declaration of function 'rx_bzero'; did you mean 'rx_cset'? [-Wimplicit-function-declaration] BUILDSTDERR: rx_bzero ((char *)n, sizeof (*n)); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: rx_cset BUILDSTDERR: rxnode.c: In function 'rx_free_rexp': BUILDSTDERR: rxnode.c:321:7: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: free ((char *)node); BUILDSTDERR: ^~~~ BUILDSTDERR: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxnfa.c -o rxnfa.o >/dev/null 2>&1 BUILDSTDERR: rxnode.c: In function 'rx_copy_string': BUILDSTDERR: rxnode.c:125:3: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: memcpy (to->contents, from->contents, from->reallen); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxposix.c -o rxposix.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxsimp.c -o rxsimp.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxspencer.c -o rxspencer.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxposix.c -fPIC -DPIC -o .libs/rxposix.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxsimp.c -fPIC -DPIC -o .libs/rxsimp.o BUILDSTDERR: rxposix.c: In function 'regncomp': BUILDSTDERR: rxposix.c:66:3: warning: implicit declaration of function 'rx_bzero'; did you mean 'rx_cset'? [-Wimplicit-function-declaration] BUILDSTDERR: rx_bzero ((char *)preg, sizeof (*preg)); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: rx_cset BUILDSTDERR: rxposix.c:77:43: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] BUILDSTDERR: preg->translate = (unsigned char *) malloc (256); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxposix.c:77:43: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: rxposix.c:77:43: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxposix.c:26:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: rxposix.c:77:43: BUILDSTDERR: preg->translate = (unsigned char *) malloc (256); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxposix.c:83:30: warning: implicit declaration of function 'isupper' [-Wimplicit-function-declaration] BUILDSTDERR: preg->translate[i] = isupper (i) ? tolower (i) : i; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rxposix.c:83:44: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] BUILDSTDERR: preg->translate[i] = isupper (i) ? tolower (i) : i; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rxposix.c: In function 'regcomp': BUILDSTDERR: rxposix.c:147:35: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] BUILDSTDERR: return regncomp (preg, pattern, strlen (pattern), cflags); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxposix.c:147:35: warning: incompatible implicit declaration of built-in function 'strlen' BUILDSTDERR: rxposix.c:147:35: note: include '' or provide a declaration of 'strlen' BUILDSTDERR: rxposix.c:26:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: rxposix.c:147:35: BUILDSTDERR: return regncomp (preg, pattern, strlen (pattern), cflags); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxposix.c: In function 'regerror': BUILDSTDERR: rxposix.c:173:14: warning: incompatible implicit declaration of built-in function 'strlen' BUILDSTDERR: msg_size = strlen (msg) + 1; /* Includes the 0. */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxposix.c:173:14: note: include '' or provide a declaration of 'strlen' BUILDSTDERR: rxposix.c:178:11: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] BUILDSTDERR: strncpy (errbuf, msg, errbuf_size - 1); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rxposix.c:178:11: warning: incompatible implicit declaration of built-in function 'strncpy' BUILDSTDERR: rxposix.c:178:11: note: include '' or provide a declaration of 'strncpy' BUILDSTDERR: rxposix.c:182:9: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] BUILDSTDERR: strcpy (errbuf, msg); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxposix.c:182:9: warning: incompatible implicit declaration of built-in function 'strcpy' BUILDSTDERR: rxposix.c:182:9: note: include '' or provide a declaration of 'strcpy' BUILDSTDERR: rxposix.c: In function 'rx_regmatch': BUILDSTDERR: rxposix.c:239:35: warning: pointer targets in passing argument 7 of 'rx_basic_make_solutions' differ in signedness [-Wpointer-sign] BUILDSTDERR: start, end, &local_rules, string); BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from rxposix.c:24: BUILDSTDERR: rxbasic.h:43:30: note: expected 'const unsigned char *' but argument is of type 'const char *' BUILDSTDERR: 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); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rxposix.c: In function 'rx_regexec': BUILDSTDERR: rxposix.c:326:52: warning: pointer targets in passing argument 2 of 'rx_advance_to_final' differ in signedness [-Wpointer-sign] BUILDSTDERR: amt = rx_advance_to_final (&machine, string + x, end - start - x); BUILDSTDERR: ~~~~~~~^~~ BUILDSTDERR: In file included from rxspencer.h:28, BUILDSTDERR: from rxposix.h:24, BUILDSTDERR: from rxposix.c:22: BUILDSTDERR: rxanal.h:60:12: note: expected 'const unsigned char *' but argument is of type 'const char *' BUILDSTDERR: extern int rx_advance_to_final (struct rx_classical_system * frame, unsigned const char * burst, int len); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rxposix.c:338:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (anchored) BUILDSTDERR: ^ BUILDSTDERR: rxposix.c: In function 'regnexec': BUILDSTDERR: rxposix.c:406:28: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: regs = (regmatch_t *)malloc (preg->re_nsub * sizeof (*regs)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxposix.c:406:28: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxposix.c:431:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] BUILDSTDERR: free (regs); BUILDSTDERR: ^~~~ BUILDSTDERR: rxposix.c:431:5: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: rxposix.c:431:5: note: include '' or provide a declaration of 'free' BUILDSTDERR: rxposix.c: In function 'regexec': BUILDSTDERR: rxposix.c:451:6: warning: incompatible implicit declaration of built-in function 'strlen' BUILDSTDERR: strlen (string), BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxposix.c:451:6: note: include '' or provide a declaration of 'strlen' BUILDSTDERR: rxposix.c: In function 'regfree': BUILDSTDERR: rxposix.c:476:7: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: free (preg->subexps); BUILDSTDERR: ^~~~ BUILDSTDERR: rxposix.c:476:7: note: include '' or provide a declaration of 'free' BUILDSTDERR: rxposix.c:481:7: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: free (preg->translate); BUILDSTDERR: ^~~~ BUILDSTDERR: rxposix.c:481:7: note: include '' or provide a declaration of 'free' BUILDSTDERR: rxsimp.c: In function 'rx_simple_rexp': BUILDSTDERR: rxsimp.c:81:11: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] BUILDSTDERR: if (isdigit (node->params.intval)) BUILDSTDERR: ^~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxgnucomp.c -o rxgnucomp.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxsimp.c -o rxsimp.o >/dev/null 2>&1 BUILDSTDERR: rxposix.c: In function 'rx_regmatch': BUILDSTDERR: rxposix.c:262:3: warning: 'answer' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: switch (answer) BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxspencer.c: In function 'rx_make_solutions': BUILDSTDERR: rxspencer.c:64:36: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] BUILDSTDERR: solns = (struct rx_solutions *)malloc (sizeof (*solns)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxspencer.c:64:36: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: rxspencer.c:64:36: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxspencer.c:25:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: rxspencer.c:64:36: BUILDSTDERR: solns = (struct rx_solutions *)malloc (sizeof (*solns)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxspencer.c:67:3: warning: implicit declaration of function 'rx_bzero'; did you mean 'rx_cset'? [-Wimplicit-function-declaration] BUILDSTDERR: rx_bzero ((char *)solns, sizeof (*solns)); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: rx_cset BUILDSTDERR: rxspencer.c:145:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] BUILDSTDERR: free (solns); BUILDSTDERR: ^~~~ BUILDSTDERR: rxspencer.c:145:3: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: rxspencer.c:145:3: note: include '' or provide a declaration of 'free' BUILDSTDERR: rxspencer.c: In function 'rx_free_solutions': BUILDSTDERR: rxspencer.c:201:5: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: free (solns); BUILDSTDERR: ^~~~ BUILDSTDERR: rxspencer.c:201:5: note: include '' or provide a declaration of 'free' BUILDSTDERR: rxspencer.c: In function 'rx_next_solution': BUILDSTDERR: rxspencer.c:1191:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxposix.c -o rxposix.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxstr.c -fPIC -DPIC -o .libs/rxstr.o BUILDSTDERR: rxstr.c: In function 'rx_str_contextfn': BUILDSTDERR: rxstr.c:84:14: warning: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration] BUILDSTDERR: cmp = strncasecmp (strc->str + start, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rxstr.c:88:14: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] BUILDSTDERR: cmp = strncmp (strc->str + start, BUILDSTDERR: ^~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxstr.c -o rxstr.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxsuper.c -o rxsuper.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxsuper.c -fPIC -DPIC -o .libs/rxsuper.o BUILDSTDERR: rxsuper.c: In function 'rx_cache_malloc': BUILDSTDERR: rxsuper.c:141:20: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] BUILDSTDERR: answer = (char *)malloc (size); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxsuper.c:141:20: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: rxsuper.c:141:20: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxsuper.c:25:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: rxsuper.c:141:20: BUILDSTDERR: answer = (char *)malloc (size); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxsuper.c: In function 'rx_cache_free': BUILDSTDERR: rxsuper.c:159:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] BUILDSTDERR: free (mem); BUILDSTDERR: ^~~~ BUILDSTDERR: rxsuper.c:159:3: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: rxsuper.c:159:3: note: include '' or provide a declaration of 'free' BUILDSTDERR: rxsuper.c: In function 'refresh_semifree_superstate': BUILDSTDERR: rxsuper.c:272:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: df->future_frame.data_2 = (void *)(super->contents->is_final); BUILDSTDERR: ^ BUILDSTDERR: rxsuper.c: In function 'rx_really_free_superstate': BUILDSTDERR: rxsuper.c:390:7: warning: unused variable 'locked_superstates' [-Wunused-variable] BUILDSTDERR: int locked_superstates = 0; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: rxsuper.c: At top level: BUILDSTDERR: rxsuper.c:658:1: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: { BUILDSTDERR: ^ BUILDSTDERR: rxsuper.c:681:5: BUILDSTDERR: 0, BUILDSTDERR: { BUILDSTDERR: rxsuper.c:683:3: BUILDSTDERR: } BUILDSTDERR: } BUILDSTDERR: rxsuper.c:658:1: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: { BUILDSTDERR: ^ BUILDSTDERR: rxsuper.c:681:5: BUILDSTDERR: 0, BUILDSTDERR: { BUILDSTDERR: rxsuper.c:683:3: BUILDSTDERR: } BUILDSTDERR: } BUILDSTDERR: rxsuper.c: In function 'rx_superset_cons': BUILDSTDERR: rxsuper.c:715:4: warning: implicit declaration of function 'rx_bzero'; did you mean 'rx_cset'? [-Wimplicit-function-declaration] BUILDSTDERR: rx_bzero ((char *)cache->empty_superset, sizeof (struct rx_superset)); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: rx_cset BUILDSTDERR: rxsuper.c: In function 'solve_destination': BUILDSTDERR: rxsuper.c:1107:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: dft->future_frame.data_2 = (void *) dest->contents->is_final; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: rxsuper.c:655:12: warning: 'rx_default_cache_got' defined but not used [-Wunused-variable] BUILDSTDERR: static int rx_default_cache_got = 0; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rxsuper.c:115:1: warning: 'check_cache' defined but not used [-Wunused-function] BUILDSTDERR: check_cache (struct rx_cache * cache) BUILDSTDERR: ^~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxunfa.c -fPIC -DPIC -o .libs/rxunfa.o BUILDSTDERR: rxunfa.c: In function 'canonical_unfa': BUILDSTDERR: rxunfa.c:67:37: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] BUILDSTDERR: cr = (struct rx_cached_rexp *)malloc (sizeof (*cr)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxunfa.c:67:37: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: rxunfa.c:67:37: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxunfa.c:27:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: rxunfa.c:67:37: BUILDSTDERR: cr = (struct rx_cached_rexp *)malloc (sizeof (*cr)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxunfa.c: In function 'rx_unfa_rx': BUILDSTDERR: rxunfa.c:106:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] BUILDSTDERR: free (new_rx); BUILDSTDERR: ^~~~ BUILDSTDERR: rxunfa.c:106:2: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: rxunfa.c:106:2: note: include '' or provide a declaration of 'free' BUILDSTDERR: rxunfa.c: In function 'rx_make_unfaniverse': BUILDSTDERR: rxunfa.c:137:33: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: it = (struct rx_unfaniverse *)malloc (sizeof (*it)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rxunfa.c:137:33: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rxunfa.c: In function 'rx_free_unfa': BUILDSTDERR: rxunfa.c:248:4: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: free (it); BUILDSTDERR: ^~~~ BUILDSTDERR: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.j9yvmJ + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/librx-1.5-31.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/librx-1.5-31.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/librx-1.5-31.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/librx-1.5-31.fc29.riscv64 + cd rx-1.5 + rm -rf /builddir/build/BUILDROOT/librx-1.5-31.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT/librx-1.5-31.fc29.riscv64/usr/share/info + mkdir -p /builddir/build/BUILDROOT/librx-1.5-31.fc29.riscv64/usr/lib64 + mkdir -p /builddir/build/BUILDROOT/librx-1.5-31.fc29.riscv64/usr/include + make install DESTDIR=/builddir/build/BUILDROOT/librx-1.5-31.fc29.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-31.fc29.riscv64/usr/include/rxposix.h libtool --mode=install /usr/bin/install -c -c librx.la /builddir/build/BUILDROOT/librx-1.5-31.fc29.riscv64/usr/lib libtool: install: /usr/bin/install -c -c .libs/librx.so.0.0.0 /builddir/build/BUILDROOT/librx-1.5-31.fc29.riscv64/usr/librx.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/librx-1.5-31.fc29.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-31.fc29.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-31.fc29.riscv64/usr/librx.la libtool: install: /usr/bin/install -c -c .libs/librx.a /builddir/build/BUILDROOT/librx-1.5-31.fc29.riscv64/usr/librx.a libtool: install: chmod 644 /builddir/build/BUILDROOT/librx-1.5-31.fc29.riscv64/usr/librx.a libtool: install: ranlib /builddir/build/BUILDROOT/librx-1.5-31.fc29.riscv64/usr/librx.a BUILDSTDERR: 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-31.fc29.riscv64/usr/share/info + rm -rf /builddir/build/BUILDROOT/librx-1.5-31.fc29.riscv64/usr/lib64/librx.la + rm -rf /builddir/build/BUILDROOT/librx-1.5-31.fc29.riscv64/usr/lib64/librx.a + chmod -x /builddir/build/BUILDROOT/librx-1.5-31.fc29.riscv64/usr/include/rxposix.h + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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 BUILDSTDERR: *** WARNING: ./usr/librx.la is executable but has empty or no shebang, removing executable bit Processing files: librx-1.5-31.fc29.riscv64 RPM build errors: BUILDSTDERR: error: File not found: /builddir/build/BUILDROOT/librx-1.5-31.fc29.riscv64/usr/lib64/*.so.* BUILDSTDERR: File not found: /builddir/build/BUILDROOT/librx-1.5-31.fc29.riscv64/usr/lib64/*.so.* Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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 --target riscv64 --nodeps /builddir/build/SPECS/librx.spec