Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/librx.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1722917550.590826/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/librx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/librx-1.5-39.src.rpm RPM build warnings: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/librx.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1722917550.590826/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/librx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/librx-1.5-39.src.rpm RPM build warnings: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/librx.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1722917550.590826/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/librx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Tgsj2T + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rx-1.5 + /usr/lib/rpm/rpmuncompress -x /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 -f -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 -f -p1 -b --suffix .texipatch --fuzz=0 patching file doc/rx.texi Patch #2 (librx-1.5-libdir64.patch): + echo 'Patch #2 (librx-1.5-libdir64.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .64bit --fuzz=0 patching file rx/Makefile.in Patch #3 (rx-1.5-libtoolmode.patch): + echo 'Patch #3 (rx-1.5-libtoolmode.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .libtoolmode --fuzz=0 patching file rx/Makefile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uoWP21 + umask 022 + cd /builddir/build/BUILD + cd rx-1.5 + CFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions' + export CXXFLAGS + FFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-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/openEuler/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/openEuler/config.sub ./config.sub '/usr/lib/rpm/openEuler/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/openEuler/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/openEuler/config.guess ./config.guess '/usr/lib/rpm/openEuler/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-openEuler-linux-gnu --host=aarch64-openEuler-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=aarch64-openEuler-linux-gnu --host=aarch64-openEuler-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 -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-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 -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-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 -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-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 -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-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 -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rx.c -fPIC -DPIC -o .libs/rx.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxanal.c -fPIC -DPIC -o .libs/rxanal.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxbasic.c -fPIC -DPIC -o .libs/rxbasic.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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] 27 | rexp_node_equal (void * va, void * vb) | ^~~~~~~~~~~~~~~ rx.c: In function 'rx_make_rx': rxanal.c: In function 'rx_posix_analyze_rexp': rx.c:43:25: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 43 | new_rx = (struct rx *)malloc (sizeof (*new_rx)); | ^~~~~~ rx.c:26:1: note: include '' or provide a declaration of 'malloc' 25 | #include "rxsuper.h" +++ |+#include 26 | rxanal.c:54:49: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 54 | *subexps = (struct rexp_node **)malloc (sizeof (struct rexp_node *) * *re_nsub); | ^~~~~~ rx.c:43:25: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 43 | new_rx = (struct rx *)malloc (sizeof (*new_rx)); | ^~~~~~ rx.c:43:25: note: include '' or provide a declaration of 'malloc' rxanal.c:23:1: note: include '' or provide a declaration of 'malloc' 22 | #include "rxanal.h" +++ |+#include 23 | #include "rxbitset.h" rxanal.c:54:49: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 54 | *subexps = (struct rexp_node **)malloc (sizeof (struct rexp_node *) * *re_nsub); | ^~~~~~ rxanal.c:54:49: note: include '' or provide a declaration of 'malloc' rxanal.c:56:49: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 56 | *subexps = (struct rexp_node **)realloc (*subexps, | ^~~~~~~ rxanal.c:56:49: note: include '' or provide a declaration of 'realloc' rxanal.c:56:49: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] rxanal.c:56:49: note: include '' or provide a declaration of 'realloc' rx.c: In function 'rx_free_rx': rx.c:65:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 65 | free (rx); | ^~~~ rx.c:65:3: note: include '' or provide a declaration of 'free' rx.c:65:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rx.c:65:3: note: include '' or provide a declaration of 'free' rxanal.c: In function 'rx_start_superstate': rxanal.c:344:7: warning: implicit declaration of function 'rx_refresh_this_superstate' [-Wimplicit-function-declaration] 344 | rx_refresh_this_superstate (frame->rx->cache, frame->state); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rxanal.c: In function 'rx_fit_p': rxanal.c:412:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 412 | switch ((int)inx->inx) | ^ rxanal.c:456:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 456 | frame->final_tag = (int)inx->data_2; | ^ rxanal.c: In function 'rx_advance': rxanal.c:512:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 512 | switch ((int)inx->inx) | ^ rxanal.c: In function 'rx_advance_to_final': rxanal.c:614:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 614 | switch ((int)inx->inx) | ^ rxbasic.c: In function 'rx_basic_make_solutions': rxbasic.c:87:40: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 87 | closure = (struct rx_str_closure *)malloc (sizeof (*closure)); | ^~~~~~ rxbasic.c:24:1: note: include '' or provide a declaration of 'malloc' 23 | #include "rxstr.h" +++ |+#include 24 | rxbasic.c:87:40: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 87 | closure = (struct rx_str_closure *)malloc (sizeof (*closure)); | ^~~~~~ rxbasic.c:87:40: note: include '' or provide a declaration of 'malloc' rxbasic.c: In function 'rx_basic_free_solutions': rxbasic.c:115:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 115 | free (solns->closure); | ^~~~ rxbasic.c:115:5: note: include '' or provide a declaration of 'free' rxbasic.c:115:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxbasic.c:115:5: note: include '' or provide a declaration of 'free' libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-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 -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rx.c -o rx.o >/dev/null 2>&1 rxanal.c: In function 'rx_posix_analyze_rexp': rxanal.c:113:25: warning: 'this_subexp' may be used uninitialized [-Wmaybe-uninitialized] 113 | (*subexps)[this_subexp] = node; | ^ rxanal.c:46:14: note: 'this_subexp' was declared here 46 | size_t this_subexp; | ^~~~~~~~~~~ libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-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 -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxbitset.c -o rxbitset.lo libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxcset.c -o rxcset.lo libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-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 -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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] 105 | rx_bzero ((char *)b, rx_sizeof_bitset(size)); | ^~~~~~~~ libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-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 -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxdbug.c -fPIC -DPIC -o .libs/rxdbug.o rxcset.c: In function 'rx_cset': rxcset.c:40:19: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 40 | b = (rx_Bitset) malloc (rx_sizeof_bitset (size)); | ^~~~~~ rxcset.c:28:1: note: include '' or provide a declaration of 'malloc' 27 | #include "rxcset.h" +++ |+#include 28 | /* Utilities for manipulating bitset represntations of characters sets. */ rxcset.c:40:19: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 40 | b = (rx_Bitset) malloc (rx_sizeof_bitset (size)); | ^~~~~~ rxcset.c:40:19: note: include '' or provide a declaration of 'malloc' rxcset.c: In function 'rx_free_cset': rxcset.c:77:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 77 | free ((char *)c); | ^~~~ rxcset.c:77:5: note: include '' or provide a declaration of 'free' rxcset.c:77:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxcset.c:77:5: note: include '' or provide a declaration of 'free' rxdbug.c: In function 'print_cset': rxdbug.c:64:17: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] 64 | if (isprint(x)) | ^~~~~~~ rxdbug.c:25:1: note: include '' or provide a declaration of 'isprint' 24 | #include "rxnfa.h" +++ |+#include 25 | rxdbug.c: In function 'print_nfa_state': rxdbug.c:239:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 239 | printf ("%d", (int)e->params.side_effect); | ^ libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxcset.c -o rxcset.o >/dev/null 2>&1 libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxanal.c -o rxanal.o >/dev/null 2>&1 libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxgnucomp.c -o rxgnucomp.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxbitset.c -o rxbitset.o >/dev/null 2>&1 libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxdbug.c -o rxdbug.o >/dev/null 2>&1 libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxgnucomp.c -fPIC -DPIC -o .libs/rxgnucomp.o rxgnucomp.c: In function 'init_syntax_once': rxgnucomp.c:53:4: warning: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] 53 | rx_bzero ((char *)re_syntax_table, sizeof re_syntax_table); | ^~~~~~~~ rxgnucomp.c: In function 'rx_parse': rxgnucomp.c:630:52: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 630 | compile_stack.stack = (( compile_stack_elt_t *) malloc ((INIT_COMPILE_STACK_SIZE) * sizeof ( compile_stack_elt_t))); | ^~~~~~ rxgnucomp.c:24:1: note: include '' or provide a declaration of 'malloc' 23 | #include "inst-rxposix.h" +++ |+#include 24 | rxgnucomp.c:630:52: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 630 | compile_stack.stack = (( compile_stack_elt_t *) malloc ((INIT_COMPILE_STACK_SIZE) * sizeof ( compile_stack_elt_t))); | ^~~~~~ rxgnucomp.c:630:52: note: include '' or provide a declaration of 'malloc' rxgnucomp.c:962:30: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 962 | if (!strncmp (str, "cut", 3)) | ^~~~~~~ rxgnucomp.c:24:1: note: include '' or provide a declaration of 'strncmp' 23 | #include "inst-rxposix.h" +++ |+#include 24 | rxgnucomp.c:962:51: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 962 | if (!strncmp (str, "cut", 3)) | ^ : note: built-in 'strncmp' declared here rxgnucomp.c:965:38: warning: implicit declaration of function 'sscanf' [-Wimplicit-function-declaration] 965 | if (1 != sscanf (str + 3, " %d", &val)) | ^~~~~~ rxgnucomp.c:24:1: note: include '' or provide a declaration of 'sscanf' 23 | #include "inst-rxposix.h" +++ |+#include 24 | rxgnucomp.c:965:38: warning: incompatible implicit declaration of built-in function 'sscanf' [-Wbuiltin-declaration-mismatch] 965 | if (1 != sscanf (str + 3, " %d", &val)) | ^~~~~~ rxgnucomp.c:965:38: note: include '' or provide a declaration of 'sscanf' rxgnucomp.c:980:54: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 980 | else if (!strncmp (str, "(", 1)) | ^ : note: built-in 'strncmp' declared here rxgnucomp.c:988:54: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 988 | else if (!strncmp (str, ")", 1)) | ^ : note: built-in 'strncmp' declared here rxgnucomp.c:999:45: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 999 | int is_alnum = !strcmp (str, "alnum"); | ^~~~~~ rxgnucomp.c:999:45: note: include '' or provide a declaration of 'strcmp' rxgnucomp.c:1026:54: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] 1026 | if ( (is_alnum && isalnum (ch)) | ^~~~~~~ rxgnucomp.c:24:1: note: include '' or provide a declaration of 'isalnum' 23 | #include "inst-rxposix.h" +++ |+#include 24 | rxgnucomp.c:1027:54: warning: implicit declaration of function 'isalpha' [-Wimplicit-function-declaration] 1027 | || (is_alpha && isalpha (ch)) | ^~~~~~~ rxgnucomp.c:1027:54: note: include '' or provide a declaration of 'isalpha' rxgnucomp.c:1029:54: warning: implicit declaration of function 'iscntrl' [-Wimplicit-function-declaration] 1029 | || (is_cntrl && iscntrl (ch)) | ^~~~~~~ rxgnucomp.c:1029:54: note: include '' or provide a declaration of 'iscntrl' rxgnucomp.c:1030:54: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] 1030 | || (is_digit && isdigit (ch)) | ^~~~~~~ rxgnucomp.c:1030:54: note: include '' or provide a declaration of 'isdigit' rxgnucomp.c:1031:54: warning: implicit declaration of function 'isgraph' [-Wimplicit-function-declaration] 1031 | || (is_graph && isgraph (ch)) | ^~~~~~~ rxgnucomp.c:1031:54: note: include '' or provide a declaration of 'isgraph' rxgnucomp.c:1032:54: warning: implicit declaration of function 'islower' [-Wimplicit-function-declaration] 1032 | || (is_lower && islower (ch)) | ^~~~~~~ rxgnucomp.c:1032:54: note: include '' or provide a declaration of 'islower' rxgnucomp.c:1033:54: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] 1033 | || (is_print && isprint (ch)) | ^~~~~~~ rxgnucomp.c:1033:54: note: include '' or provide a declaration of 'isprint' rxgnucomp.c:1034:54: warning: implicit declaration of function 'ispunct' [-Wimplicit-function-declaration] 1034 | || (is_punct && ispunct (ch)) | ^~~~~~~ rxgnucomp.c:1034:54: note: include '' or provide a declaration of 'ispunct' rxgnucomp.c:1035:54: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 1035 | || (is_space && isspace (ch)) | ^~~~~~~ rxgnucomp.c:1035:54: note: include '' or provide a declaration of 'isspace' rxgnucomp.c:1036:54: warning: implicit declaration of function 'isupper' [-Wimplicit-function-declaration] 1036 | || (is_upper && isupper (ch)) | ^~~~~~~ rxgnucomp.c:1036:54: note: include '' or provide a declaration of 'isupper' rxgnucomp.c:1037:54: warning: implicit declaration of function 'isxdigit' [-Wimplicit-function-declaration] 1037 | || (is_xdigit && isxdigit (ch))) | ^~~~~~~~ rxgnucomp.c:1037:54: note: include '' or provide a declaration of 'isxdigit' rxgnucomp.c:1175:24: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 1175 | realloc (compile_stack.stack, | ^~~~~~~ rxgnucomp.c:1175:24: note: include '' or provide a declaration of 'realloc' rxgnucomp.c:1175:24: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] rxgnucomp.c:1175:24: note: include '' or provide a declaration of 'realloc' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxhash.c -o rxhash.lo rxgnucomp.c:1218:18: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1218 | if (COMPILE_STACK_EMPTY) | ^ rxgnucomp.c:1648:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 1648 | free (compile_stack.stack); | ^~~~ rxgnucomp.c:1648:3: note: include '' or provide a declaration of 'free' rxgnucomp.c:1648:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxgnucomp.c:1648:3: note: include '' or provide a declaration of 'free' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-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 -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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] 39 | return (struct rx_hash *)malloc (sizeof (struct rx_hash)); | ^~~~~~ rxhash.c:27:1: note: include '' or provide a declaration of 'malloc' 26 | #include "rxhash.h" +++ |+#include 27 | rxhash.c:39:28: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 39 | return (struct rx_hash *)malloc (sizeof (struct rx_hash)); | ^~~~~~ rxhash.c:39:28: note: include '' or provide a declaration of 'malloc' rxhash.c: In function 'default_hash_item_alloc': rxhash.c:54:31: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 54 | it = (struct rx_hash_item *)malloc (sizeof (*it)); | ^~~~~~ rxhash.c:54:31: note: include '' or provide a declaration of 'malloc' rxhash.c: In function 'default_free_hash': rxhash.c:75:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 75 | free ((char *)tab); | ^~~~ rxhash.c:75:3: note: include '' or provide a declaration of 'free' rxhash.c:75:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxhash.c:75:3: note: include '' or provide a declaration of 'free' rxhash.c: In function 'default_free_hash_item': rxhash.c:90:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 90 | free ((char *)item); | ^~~~ rxhash.c:90:3: note: include '' or provide a declaration of 'free' libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxnfa.c -fPIC -DPIC -o .libs/rxnfa.o rxhash.c: In function 'rx_hash_store': rxhash.c:252:9: warning: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] 252 | rx_bzero ((char *)newtab, sizeof (*newtab)); | ^~~~~~~~ libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxnode.c -o rxnode.lo rxnfa.c: In function 'rx_nfa_state': rxnfa.c:46:52: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 46 | struct rx_nfa_state * n = (struct rx_nfa_state *)malloc (sizeof (*n)); | ^~~~~~ rxnfa.c:27:1: note: include '' or provide a declaration of 'malloc' 26 | #include "rxnfa.h" +++ |+#include 27 | rxnfa.c:46:52: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 46 | struct rx_nfa_state * n = (struct rx_nfa_state *)malloc (sizeof (*n)); | ^~~~~~ rxnfa.c:46:52: note: include '' or provide a declaration of 'malloc' rxnfa.c:49:3: warning: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] 49 | rx_bzero ((char *)n, sizeof (*n)); | ^~~~~~~~ rxnfa.c: In function 'rx_free_nfa_state': rxnfa.c:65:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 65 | free ((char *)n); | ^~~~ rxnfa.c:65:3: note: include '' or provide a declaration of 'free' rxnfa.c:65:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxnfa.c:65:3: note: include '' or provide a declaration of 'free' rxnfa.c: In function 'rx_nfa_edge': rxnfa.c:89:29: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 89 | e = (struct rx_nfa_edge *)malloc (sizeof (*e)); | ^~~~~~ rxnfa.c:89:29: note: include '' or provide a declaration of 'malloc' rxnfa.c: In function 'rx_free_nfa_edge': rxnfa.c:109:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 109 | free ((char *)e); | ^~~~ rxnfa.c:109:3: note: include '' or provide a declaration of 'free' rxnfa.c: In function 'rx_possible_future': rxnfa.c:129:38: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 129 | ec = (struct rx_possible_future *) malloc (sizeof (*ec)); | ^~~~~~ rxnfa.c:129:38: note: include '' or provide a declaration of 'malloc' rxnfa.c: In function 'rx_free_possible_future': rxnfa.c:148:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 148 | free ((char *)pf); | ^~~~ rxnfa.c:148:3: note: include '' or provide a declaration of 'free' rxnfa.c: In function 'rx_build_nfa': rxnfa.c:388:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 388 | edge->params.side_effect = (void *)rexp->params.intval; | ^ rxnfa.c: In function 'side_effect_cons': rxnfa.c:477:30: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 477 | l = ((struct rx_se_list *) malloc (sizeof (*l))); | ^~~~~~ rxnfa.c:477:30: note: include '' or provide a declaration of 'malloc' rxnfa.c: In function 'hash_cons_se_prog': rxnfa.c:514:40: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 514 | consed = (struct rx_se_list *) malloc (sizeof (*consed)); | ^~~~~~ rxnfa.c:514:40: note: include '' or provide a declaration of 'malloc' rxnfa.c: In function 'nfa_set_cons': rxnfa.c:618:39: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 618 | l = (struct rx_nfa_state_set *) malloc (sizeof (*l)); | ^~~~~~ rxnfa.c:618:39: note: include '' or provide a declaration of 'malloc' rxnfa.c: In function 'eclose_node': rxnfa.c:767:15: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 767 | free ((char *)dying); | ^~~~ rxnfa.c:767:15: note: include '' or provide a declaration of 'free' rxnfa.c: In function 'se_memo_freer': rxnfa.c:823:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 823 | free ((char *)node->data); | ^~~~ rxnfa.c:823:3: note: include '' or provide a declaration of 'free' rxnfa.c: In function 'nfa_set_freer': rxnfa.c:836:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 836 | free ((char *)node->data); | ^~~~ rxnfa.c:836:3: note: include '' or provide a declaration of 'free' libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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] 43 | tmp = (char *) malloc (INITSIZE); | ^~~~~~ rxnode.c:25:1: note: include '' or provide a declaration of 'malloc' 24 | #include "rxnode.h" +++ |+#include 25 | rxnode.c:43:18: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 43 | tmp = (char *) malloc (INITSIZE); | ^~~~~~ rxnode.c:43:18: note: include '' or provide a declaration of 'malloc' rxnode.c:48:24: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 48 | thisone->contents = tmp; | ^ rxnode.c: In function 'rx_free_string': rxnode.c:64:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 64 | free (junk->contents); | ^~~~ rxnode.c:64:3: note: include '' or provide a declaration of 'free' rxnode.c:64:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxnode.c:64:3: note: include '' or provide a declaration of 'free' rxnode.c: In function 'rx_adjoin_string': rxnode.c:86:23: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 86 | temp = (char *) realloc (str->contents, str->reallen + EXPANDSIZE); | ^~~~~~~ rxnode.c:86:23: note: include '' or provide a declaration of 'realloc' rxnode.c:86:23: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] rxnode.c:86:23: note: include '' or provide a declaration of 'realloc' rxnode.c:91:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 91 | str->contents = temp; | ^ rxnode.c: In function 'rx_copy_string': rxnode.c:114:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 114 | tmp = (char *) malloc (from->reallen); | ^~~~~~ rxnode.c:114:22: note: include '' or provide a declaration of 'malloc' rxnode.c:123:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 123 | to->contents = tmp; | ^ rxnode.c:125:3: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 125 | memcpy (to->contents, from->contents, from->reallen); | ^~~~~~ rxnode.c:25:1: note: include '' or provide a declaration of 'memcpy' 24 | #include "rxnode.h" +++ |+#include 25 | rxnode.c:125:3: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 125 | memcpy (to->contents, from->contents, from->reallen); | ^~~~~~ rxnode.c:125:3: note: include '' or provide a declaration of 'memcpy' rxnode.c: In function 'rx_compare_rx_strings': rxnode.c:145:13: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] 145 | return !memcmp (a->contents, b->contents, a->len); | ^~~~~~ rxnode.c:145:13: note: include '' or provide a declaration of 'memcmp' rxnode.c: In function 'rx_string_hash': rxnode.c:167:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 167 | string = str->contents; | ^ rxnode.c: In function 'rexp_node': rxnode.c:194:28: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 194 | n = (struct rexp_node *) malloc (sizeof (*n)); | ^~~~~~ rxnode.c:194:28: note: include '' or provide a declaration of 'malloc' rxnode.c:195:3: warning: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] 195 | rx_bzero ((char *)n, sizeof (*n)); | ^~~~~~~~ rxnode.c: In function 'rx_free_rexp': rxnode.c:321:7: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 321 | free ((char *)node); | ^~~~ rxnode.c:321:7: note: include '' or provide a declaration of 'free' rxnode.c: In function 'rx_copy_string': rxnode.c:125:3: warning: 'tmp' may be used uninitialized [-Wmaybe-uninitialized] 125 | memcpy (to->contents, from->contents, from->reallen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rxnode.c:110:9: note: 'tmp' was declared here 110 | char *tmp; | ^~~ libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxhash.c -o rxhash.o >/dev/null 2>&1 libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxnfa.c -o rxnfa.o >/dev/null 2>&1 libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-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 -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-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 -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxsimp.c -o rxsimp.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxposix.c -fPIC -DPIC -o .libs/rxposix.o rxposix.c: In function 'regncomp': rxposix.c:66:3: warning: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] 66 | rx_bzero ((char *)preg, sizeof (*preg)); | ^~~~~~~~ rxposix.c:77:43: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 77 | preg->translate = (unsigned char *) malloc (256); | ^~~~~~ rxposix.c:26:1: note: include '' or provide a declaration of 'malloc' 25 | #include "rxsimp.h" +++ |+#include 26 | rxposix.c:77:43: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 77 | preg->translate = (unsigned char *) malloc (256); | ^~~~~~ rxposix.c:77:43: note: include '' or provide a declaration of 'malloc' rxposix.c:83:30: warning: implicit declaration of function 'isupper' [-Wimplicit-function-declaration] 83 | preg->translate[i] = isupper (i) ? tolower (i) : i; | ^~~~~~~ rxposix.c:26:1: note: include '' or provide a declaration of 'isupper' 25 | #include "rxsimp.h" +++ |+#include 26 | rxposix.c:83:39: warning: 'isupper' argument 1 type is 'unsigned int' where 'int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 83 | preg->translate[i] = isupper (i) ? tolower (i) : i; | ^ : note: built-in 'isupper' declared here rxposix.c:83:44: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] 83 | preg->translate[i] = isupper (i) ? tolower (i) : i; | ^~~~~~~ rxposix.c:83:44: note: include '' or provide a declaration of 'tolower' rxposix.c:83:53: warning: 'tolower' argument 1 type is 'unsigned int' where 'int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 83 | preg->translate[i] = isupper (i) ? tolower (i) : i; | ^ : note: built-in 'tolower' declared here rxposix.c: In function 'regcomp': rxposix.c:147:35: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 147 | return regncomp (preg, pattern, strlen (pattern), cflags); | ^~~~~~ rxposix.c:26:1: note: include '' or provide a declaration of 'strlen' 25 | #include "rxsimp.h" +++ |+#include 26 | rxposix.c:147:35: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 147 | return regncomp (preg, pattern, strlen (pattern), cflags); | ^~~~~~ rxposix.c:147:35: note: include '' or provide a declaration of 'strlen' rxposix.c: In function 'regerror': rxposix.c:173:14: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 173 | msg_size = strlen (msg) + 1; /* Includes the 0. */ | ^~~~~~ rxposix.c:173:14: note: include '' or provide a declaration of 'strlen' rxposix.c:178:11: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 178 | strncpy (errbuf, msg, errbuf_size - 1); | ^~~~~~~ rxposix.c:178:11: note: include '' or provide a declaration of 'strncpy' rxposix.c:178:11: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] rxposix.c:178:11: note: include '' or provide a declaration of 'strncpy' rxposix.c:182:9: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 182 | strcpy (errbuf, msg); | ^~~~~~ rxposix.c:182:9: note: include '' or provide a declaration of 'strcpy' rxposix.c:182:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] rxposix.c:182:9: note: include '' or provide a declaration of 'strcpy' rxposix.c: In function 'rx_regmatch': rxposix.c:239:70: warning: pointer targets in passing argument 7 of 'rx_basic_make_solutions' differ in signedness [-Wpointer-sign] 239 | start, end, &local_rules, string); | ^~~~~~ | | | const char * In file included from rxposix.c:24: rxbasic.h:43:218: note: expected 'const unsigned char *' but argument is of type 'const char *' 43 | 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:59: warning: pointer targets in passing argument 2 of 'rx_advance_to_final' differ in signedness [-Wpointer-sign] 326 | amt = rx_advance_to_final (&machine, string + x, end - start - x); | ~~~~~~~^~~ | | | const char * In file included from rxspencer.h:28, from rxposix.h:24, from rxposix.c:22: rxanal.h:60:91: note: expected 'const unsigned char *' but argument is of type 'const char *' 60 | 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] 338 | if (anchored) | ^ rxposix.c: In function 'regnexec': rxposix.c:406:28: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 406 | regs = (regmatch_t *)malloc (preg->re_nsub * sizeof (*regs)); | ^~~~~~ rxposix.c:406:28: note: include '' or provide a declaration of 'malloc' rxposix.c:431:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 431 | free (regs); | ^~~~ rxposix.c:431:5: note: include '' or provide a declaration of 'free' rxposix.c:431:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxposix.c:431:5: note: include '' or provide a declaration of 'free' rxposix.c: In function 'regexec': rxposix.c:451:20: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 451 | strlen (string), | ^~~~~~ rxposix.c:451:20: note: include '' or provide a declaration of 'strlen' rxposix.c: In function 'regfree': rxposix.c:476:7: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 476 | free (preg->subexps); | ^~~~ rxposix.c:476:7: note: include '' or provide a declaration of 'free' rxposix.c:481:7: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 481 | free (preg->translate); | ^~~~ rxposix.c:481:7: note: include '' or provide a declaration of 'free' libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-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 -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxsimp.c -fPIC -DPIC -o .libs/rxsimp.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxgnucomp.c -o rxgnucomp.o >/dev/null 2>&1 rxsimp.c: In function 'rx_simple_rexp': rxsimp.c:81:11: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] 81 | if (isdigit (node->params.intval)) | ^~~~~~~ rxsimp.c:23:1: note: include '' or provide a declaration of 'isdigit' 22 | #include "rxsimp.h" +++ |+#include 23 | rxposix.c: In function 'rx_regmatch': rxposix.c:262:3: warning: 'answer' may be used uninitialized [-Wmaybe-uninitialized] 262 | switch (answer) | ^~~~~~ rxposix.c:204:19: note: 'answer' was declared here 204 | enum rx_answers answer; | ^~~~~~ libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-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 -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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] 64 | solns = (struct rx_solutions *)malloc (sizeof (*solns)); | ^~~~~~ rxspencer.c:25:1: note: include '' or provide a declaration of 'malloc' 24 | #include "rxsimp.h" +++ |+#include 25 | rxspencer.c:64:36: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 64 | solns = (struct rx_solutions *)malloc (sizeof (*solns)); | ^~~~~~ rxspencer.c:64:36: note: include '' or provide a declaration of 'malloc' rxspencer.c:67:3: warning: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] 67 | rx_bzero ((char *)solns, sizeof (*solns)); | ^~~~~~~~ rxspencer.c:145:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 145 | free (solns); | ^~~~ rxspencer.c:145:3: note: include '' or provide a declaration of 'free' rxspencer.c:145:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxspencer.c:145:3: note: include '' or provide a declaration of 'free' rxspencer.c: In function 'rx_free_solutions': rxspencer.c:201:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 201 | free (solns); | ^~~~ rxspencer.c:201:5: note: include '' or provide a declaration of 'free' rxspencer.c: In function 'rx_next_solution': rxspencer.c:1191:1: warning: control reaches end of non-void function [-Wreturn-type] 1191 | } | ^ libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxposix.c -o rxposix.o >/dev/null 2>&1 libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-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 -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxstr.c -fPIC -DPIC -o .libs/rxstr.o rxstr.c: In function 'rx_str_contextfn': rxstr.c:84:21: warning: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration] 84 | cmp = strncasecmp (strc->str + start, | ^~~~~~~~~~~ rxstr.c:84:44: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 84 | cmp = strncasecmp (strc->str + start, | ~~~~~~~~~~^~~~~~~ | | | const unsigned char * rxstr.c:84:44: note: expected 'const char *' but argument is of type 'const unsigned char *' rxstr.c:85:44: warning: pointer targets in passing argument 2 of 'strncasecmp' differ in signedness [-Wpointer-sign] 85 | strc->str + regs[regn].rm_so, | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | const unsigned char * rxstr.c:85:44: note: expected 'const char *' but argument is of type 'const unsigned char *' rxstr.c:86:38: warning: 'strncasecmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 86 | end - start); | ~~~~^~~~~~~ : note: built-in 'strncasecmp' declared here rxstr.c:88:21: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 88 | cmp = strncmp (strc->str + start, | ^~~~~~~ rxstr.c:23:1: note: include '' or provide a declaration of 'strncmp' 22 | #include "rxstr.h" +++ |+#include 23 | rxstr.c:88:40: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 88 | cmp = strncmp (strc->str + start, | ~~~~~~~~~~^~~~~~~ | | | const unsigned char * rxstr.c:88:40: note: expected 'const char *' but argument is of type 'const unsigned char *' rxstr.c:89:40: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 89 | strc->str + regs[regn].rm_so, | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | const unsigned char * rxstr.c:89:40: note: expected 'const char *' but argument is of type 'const unsigned char *' rxstr.c:90:34: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 90 | end - start); | ~~~~^~~~~~~ : note: built-in 'strncmp' declared here libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxstr.c -o rxstr.o >/dev/null 2>&1 libtool --mode=compile gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxsuper.c -o rxsuper.lo libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-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 -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-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 -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxsuper.c -fPIC -DPIC -o .libs/rxsuper.o libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTDC_HEADERS=1 -I. rxunfa.c -fPIC -DPIC -o .libs/rxunfa.o rxsuper.c: In function 'rx_cache_malloc': rxsuper.c:141:20: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 141 | answer = (char *)malloc (size); | ^~~~~~ rxsuper.c:25:1: note: include '' or provide a declaration of 'malloc' 24 | #include "rxsuper.h" +++ |+#include 25 | rxsuper.c:141:20: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 141 | answer = (char *)malloc (size); | ^~~~~~ rxsuper.c:141:20: note: include '' or provide a declaration of 'malloc' rxsuper.c: In function 'rx_cache_free': rxsuper.c:159:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 159 | free (mem); | ^~~~ rxsuper.c:159:3: note: include '' or provide a declaration of 'free' rxsuper.c:159:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxsuper.c:159:3: note: include '' or provide a declaration of 'free' rxsuper.c: In function 'refresh_semifree_superstate': rxsuper.c:272:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 272 | df->future_frame.data_2 = (void *)(super->contents->is_final); | ^ rxsuper.c: In function 'rx_really_free_superstate': rxsuper.c:390:7: warning: unused variable 'locked_superstates' [-Wunused-variable] 390 | int locked_superstates = 0; | ^~~~~~~~~~~~~~~~~~ rxsuper.c: At top level: rxsuper.c:658:1: warning: missing braces around initializer [-Wmissing-braces] 658 | { | ^ ...... 681 | 0, | { 682 | 0 683 | } | } rxsuper.c:658:1: warning: missing braces around initializer [-Wmissing-braces] 658 | { | ^ ...... 681 | 0, | { 682 | 0 683 | } | } rxsuper.c: In function 'rx_superset_cons': rxsuper.c:715:11: warning: implicit declaration of function 'rx_bzero' [-Wimplicit-function-declaration] 715 | rx_bzero ((char *)cache->empty_superset, sizeof (struct rx_superset)); | ^~~~~~~~ rxsuper.c: In function 'solve_destination': rxsuper.c:1107:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1107 | dft->future_frame.data_2 = (void *) dest->contents->is_final; | ^ rxunfa.c: In function 'canonical_unfa': rxunfa.c:67:37: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 67 | cr = (struct rx_cached_rexp *)malloc (sizeof (*cr)); | ^~~~~~ rxunfa.c:27:1: note: include '' or provide a declaration of 'malloc' 26 | #include "rxnfa.h" +++ |+#include 27 | rxunfa.c:67:37: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 67 | cr = (struct rx_cached_rexp *)malloc (sizeof (*cr)); | ^~~~~~ rxunfa.c:67:37: note: include '' or provide a declaration of 'malloc' rxunfa.c: In function 'rx_unfa_rx': rxunfa.c:106:9: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 106 | free (new_rx); | ^~~~ rxunfa.c:106:9: note: include '' or provide a declaration of 'free' rxunfa.c:106:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] rxunfa.c:106:9: note: include '' or provide a declaration of 'free' rxunfa.c: In function 'rx_make_unfaniverse': rxunfa.c:137:33: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 137 | it = (struct rx_unfaniverse *)malloc (sizeof (*it)); | ^~~~~~ rxunfa.c:137:33: note: include '' or provide a declaration of 'malloc' rxunfa.c: In function 'rx_free_unfa': rxunfa.c:248:11: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 248 | free (it); | ^~~~ rxunfa.c:248:11: note: include '' or provide a declaration of 'free' rxsuper.c: At top level: rxsuper.c:655:12: warning: 'rx_default_cache_got' defined but not used [-Wunused-variable] 655 | static int rx_default_cache_got = 0; | ^~~~~~~~~~~~~~~~~~~~ rxsuper.c:115:1: warning: 'check_cache' defined but not used [-Wunused-function] 115 | check_cache (struct rx_cache * cache) | ^~~~~~~~~~~ libtool: compile: gcc -c -I. -I. -I./../libsystas -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-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 -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-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 -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-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/lib64 libtool: link: gcc -shared -fPIC -DPIC .libs/hashrexp.o .libs/rx.o .libs/rxanal.o .libs/rxbasic.o .libs/rxbitset.o .libs/rxcset.o .libs/rxdbug.o .libs/rxgnucomp.o .libs/rxhash.o .libs/rxnfa.o .libs/rxnode.o .libs/rxposix.o .libs/rxsimp.o .libs/rxspencer.o .libs/rxstr.o .libs/rxsuper.o .libs/rxunfa.o -O2 -g -grecord-gcc-switches -fstack-protector-strong -specs=/usr/lib/rpm/generic-hardened-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 cr .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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6zwUT0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/librx-1.5-39.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/librx-1.5-39.aarch64 ++ dirname /builddir/build/BUILDROOT/librx-1.5-39.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/librx-1.5-39.aarch64 + cd rx-1.5 + rm -rf /builddir/build/BUILDROOT/librx-1.5-39.aarch64 + mkdir -p /builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/share/info + mkdir -p /builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/lib64 + mkdir -p /builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/include + make install DESTDIR=/builddir/build/BUILDROOT/librx-1.5-39.aarch64 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-39.aarch64/usr/include/rxposix.h libtool --mode=install /usr/bin/install -c -c librx.la /builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/lib64 libtool: install: /usr/bin/install -c -c .libs/librx.so.0.0.0 /builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/lib64/librx.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/lib64 && { 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-39.aarch64/usr/lib64 && { 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-39.aarch64/usr/lib64/librx.la libtool: install: /usr/bin/install -c -c .libs/librx.a /builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/lib64/librx.a libtool: install: chmod 644 /builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/lib64/librx.a libtool: install: ranlib /builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/lib64/librx.a libtool: warning: remember to run 'libtool --finish /usr/lib64' 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-39.aarch64/usr/share/info + rm -rf /builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/lib64/librx.la + rm -rf /builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/lib64/librx.a + chmod -x /builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/include/rxposix.h + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 1.5-39 --unique-debug-suffix -1.5-39.aarch64 --unique-debug-src-base librx-1.5-39.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/rx-1.5 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/lib64/librx.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/lib64/librx.so.0.0.0 533 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink Processing files: librx-1.5-39.aarch64 Provides: librx = 1.5-39 librx(aarch-64) = 1.5-39 librx.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: librx-devel-1.5-39.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QdFnFw + umask 022 + cd /builddir/build/BUILD + cd rx-1.5 + DOCDIR=/builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/share/doc/librx-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/share/doc/librx-devel + cp -pr ANNOUNCE /builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/share/doc/librx-devel + cp -pr BUILDING /builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/share/doc/librx-devel + cp -pr COOKOFF /builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/share/doc/librx-devel + cp -pr rx/ChangeLog /builddir/build/BUILDROOT/librx-1.5-39.aarch64/usr/share/doc/librx-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: librx-devel = 1.5-39 librx-devel(aarch-64) = 1.5-39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: librx-debuginfo-1.5-39.aarch64 Provides: librx-debuginfo = 1.5-39 librx-debuginfo(aarch-64) = 1.5-39 librx.so.0.0.0-1.5-39.aarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: librx-debugsource(aarch-64) = 1.5-39 Processing files: librx-debugsource-1.5-39.aarch64 Provides: librx-debugsource = 1.5-39 librx-debugsource(aarch-64) = 1.5-39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/librx-1.5-39.aarch64 Wrote: /builddir/build/RPMS/librx-devel-1.5-39.aarch64.rpm Wrote: /builddir/build/RPMS/librx-1.5-39.aarch64.rpm Wrote: /builddir/build/RPMS/librx-debuginfo-1.5-39.aarch64.rpm Wrote: /builddir/build/RPMS/librx-debugsource-1.5-39.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HVI6Iu + umask 022 + cd /builddir/build/BUILD + cd rx-1.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/librx-1.5-39.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.II5VQU + umask 022 + cd /builddir/build/BUILD + rm -rf rx-1.5 rx-1.5.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Child return code was: 0