Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mod_security3.spec'], chrootPath='/var/lib/mock/f37-build-668893-74816/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mod_security3.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: line 42: Possible unexpanded macro in: Requires: httpd-mmn = %{_httpd_mmn} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.src.rpm RPM build warnings: line 42: Possible unexpanded macro in: Requires: httpd-mmn = %{_httpd_mmn} Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mod_security3.spec'], chrootPath='/var/lib/mock/f37-build-668893-74816/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mod_security3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NWji2a + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ModSecurity-apache-0488c77f69669584324b70460614a382224b4883 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ModSecurity-apache-0488c77.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ModSecurity-apache-0488c77f69669584324b70460614a382224b4883 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'mod_security3-0.0.9 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7T2vEk + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ModSecurity-apache-0488c77f69669584324b70460614a382224b4883 + ./autogen.sh configure.ac:10: installing './compile' configure.ac:8: installing './install-sh' configure.ac:8: installing './missing' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes configure: looking for Apache module support via DSO through APXS configure: found APXS at /usr/bin/apxs checking whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes configure: looking for libmodsecurity checking for msc_init in -lmodsecurity... yes checking for modsecurity/modsecurity.h... yes checking if apache is wanted... yes checking for httpd... /usr/sbin/httpd checking apache modules... in /etc/httpd/modules checking for perl... /usr/bin/perl AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::489:3ece:ec84:b647%eth0. Set the 'ServerName' directive globally to suppress this message AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::489:3ece:ec84:b647%eth0. Set the 'ServerName' directive globally to suppress this message Found Apache with MPM event, shared. checking for riscv64-redhat-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating build/apxs-wrapper config.status: creating tests/regression/server_root/conf/httpd.conf config.status: creating tests/regression/misc/40-secRemoteRules.t config.status: creating tests/regression/misc/60-pmfromfile-external.t config.status: creating tests/regression/misc/50-ipmatchfromfile-external.t config.status: creating tests/run-regression-tests.pl config.status: executing depfiles commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 chmod +x build/apxs-wrapper build/apxs-wrapper /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -Wall -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -fPIC -O0 -I-L -c -o src/mod_security3.lo src/mod_security3.c && touch src/mod_security3.slo src/mod_security3.c: In function 'hook_request_early': src/mod_security3.c:294:9: warning: unused variable 'client_port' [-Wunused-variable] 294 | int client_port = r->connection->client_addr->port; | ^~~~~~~~~~~ src/mod_security3.c:293:17: warning: unused variable 'client_ip' [-Wunused-variable] 293 | const char *client_ip = r->connection->client_ip; | ^~~~~~~~~ src/mod_security3.c:287:12: warning: unused variable 'msr' [-Wunused-variable] 287 | msc_t *msr = NULL; | ^~~ src/mod_security3.c: In function 'hook_log_transaction': src/mod_security3.c:420:18: warning: unused variable 'origr' [-Wunused-variable] 420 | request_rec *origr = NULL; | ^~~~~ src/mod_security3.c:419:31: warning: unused variable 'arr' [-Wunused-variable] 419 | const apr_array_header_t *arr = NULL; | ^~~ src/mod_security3.c: In function 'process_request_headers': src/mod_security3.c:503:44: warning: pointer targets in passing argument 2 of 'msc_add_request_header' differ in signedness [-Wpointer-sign] 503 | msc_add_request_header(msr->t, key, val); | ^~~ | | | const char * In file included from /usr/include/modsecurity/modsecurity.h:175, from src/mod_security3.h:5, from src/mod_security3.c:4: /usr/include/modsecurity/transaction.h:617:75: note: expected 'const unsigned char *' but argument is of type 'const char *' 617 | int msc_add_request_header(Transaction *transaction, const unsigned char *key, | ~~~~~~~~~~~~~~~~~~~~~^~~ src/mod_security3.c:503:49: warning: pointer targets in passing argument 3 of 'msc_add_request_header' differ in signedness [-Wpointer-sign] 503 | msc_add_request_header(msr->t, key, val); | ^~~ | | | const char * /usr/include/modsecurity/transaction.h:618:26: note: expected 'const unsigned char *' but argument is of type 'const char *' 618 | const unsigned char *value); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from src/mod_security3.c:6: src/msc_config.h: At top level: src/msc_config.h:5:20: warning: 'msc_config_modsec_state' declared 'static' but never defined [-Wunused-function] 5 | static const char *msc_config_modsec_state(cmd_parms *cmd, void *_dcfg, | ^~~~~~~~~~~~~~~~~~~~~~~ src/msc_config.h:8:20: warning: 'msc_config_load_rules' declared 'static' but never defined [-Wunused-function] 8 | static const char *msc_config_load_rules(cmd_parms *cmd, void *_dcfg, | ^~~~~~~~~~~~~~~~~~~~~ src/msc_config.h:11:20: warning: 'msc_config_load_rules_file' declared 'static' but never defined [-Wunused-function] 11 | static const char *msc_config_load_rules_file(cmd_parms *cmd, void *_dcfg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/msc_config.h:14:20: warning: 'msc_config_load_rules_remote' declared 'static' but never defined [-Wunused-function] 14 | static const char *msc_config_load_rules_remote(cmd_parms *cmd, void *_dcfg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mod_security3.c: In function 'msc_apache_cleanup': src/mod_security3.c:109:1: warning: control reaches end of non-void function [-Wreturn-type] 109 | } | ^ /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -Wall -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -fPIC -O0 -I-L -c -o src/msc_config.lo src/msc_config.c && touch src/msc_config.slo In file included from src/msc_filters.h:17, from src/mod_security3.h:37, from src/msc_config.c:2: src/mod_security3.h:78:21: warning: 'msc_module_cleanup' declared 'static' but never defined [-Wunused-function] 78 | static apr_status_t msc_module_cleanup(void *data); | ^~~~~~~~~~~~~~~~~~ src/mod_security3.h:99:12: warning: 'process_request_headers' declared 'static' but never defined [-Wunused-function] 99 | static int process_request_headers(request_rec *r, msc_t *msr); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -Wall -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -fPIC -O0 -I-L -c -o src/msc_filters.lo src/msc_filters.c && touch src/msc_filters.slo src/msc_filters.c: In function 'input_filter': src/msc_filters.c:57:41: warning: pointer targets in passing argument 2 of 'msc_append_request_body' differ in signedness [-Wpointer-sign] 57 | msc_append_request_body(msr->t, data, len); | ^~~~ | | | const char * In file included from /usr/include/modsecurity/modsecurity.h:175, from src/msc_filters.h:2, from src/msc_filters.c:2: /usr/include/modsecurity/transaction.h:630:26: note: expected 'const unsigned char *' but argument is of type 'const char *' 630 | const unsigned char *body, size_t size); | ~~~~~~~~~~~~~~~~~~~~~^~~~ src/msc_filters.c:41:20: warning: unused variable 'n' [-Wunused-variable] 41 | apr_size_t n; | ^ src/msc_filters.c: In function 'output_filter': src/msc_filters.c:102:45: warning: pointer targets in passing argument 2 of 'msc_add_response_header' differ in signedness [-Wpointer-sign] 102 | msc_add_response_header(msr->t, key, val); | ^~~ | | | const char * /usr/include/modsecurity/transaction.h:641:26: note: expected 'const unsigned char *' but argument is of type 'const char *' 641 | const unsigned char *key, const unsigned char *value); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/msc_filters.c:102:50: warning: pointer targets in passing argument 3 of 'msc_add_response_header' differ in signedness [-Wpointer-sign] 102 | msc_add_response_header(msr->t, key, val); | ^~~ | | | const char * /usr/include/modsecurity/transaction.h:641:52: note: expected 'const unsigned char *' but argument is of type 'const char *' 641 | const unsigned char *key, const unsigned char *value); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ src/msc_filters.c:111:45: warning: pointer targets in passing argument 2 of 'msc_add_response_header' differ in signedness [-Wpointer-sign] 111 | msc_add_response_header(msr->t, key, val); | ^~~ | | | const char * /usr/include/modsecurity/transaction.h:641:26: note: expected 'const unsigned char *' but argument is of type 'const char *' 641 | const unsigned char *key, const unsigned char *value); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/msc_filters.c:111:50: warning: pointer targets in passing argument 3 of 'msc_add_response_header' differ in signedness [-Wpointer-sign] 111 | msc_add_response_header(msr->t, key, val); | ^~~ | | | const char * /usr/include/modsecurity/transaction.h:641:52: note: expected 'const unsigned char *' but argument is of type 'const char *' 641 | const unsigned char *key, const unsigned char *value); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ src/msc_filters.c:136:46: warning: pointer targets in passing argument 2 of 'msc_append_response_body' differ in signedness [-Wpointer-sign] 136 | msc_append_response_body(msr->t, data, len); | ^~~~ | | | const char * /usr/include/modsecurity/transaction.h:653:26: note: expected 'const unsigned char *' but argument is of type 'const char *' 653 | const unsigned char *body, size_t size); | ~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from src/msc_filters.h:17: src/mod_security3.h: At top level: src/mod_security3.h:78:21: warning: 'msc_module_cleanup' declared 'static' but never defined [-Wunused-function] 78 | static apr_status_t msc_module_cleanup(void *data); | ^~~~~~~~~~~~~~~~~~ src/mod_security3.h:99:12: warning: 'process_request_headers' declared 'static' but never defined [-Wunused-function] 99 | static int process_request_headers(request_rec *r, msc_t *msr); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -Wall -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -fPIC -O0 -I-L -c -o src/msc_utils.lo src/msc_utils.c && touch src/msc_utils.slo In file included from src/msc_filters.h:17, from src/mod_security3.h:37, from src/msc_utils.h:17, from src/msc_utils.c:2: src/mod_security3.h:78:21: warning: 'msc_module_cleanup' declared 'static' but never defined [-Wunused-function] 78 | static apr_status_t msc_module_cleanup(void *data); | ^~~~~~~~~~~~~~~~~~ src/mod_security3.h:99:12: warning: 'process_request_headers' declared 'static' but never defined [-Wunused-function] 99 | static int process_request_headers(request_rec *r, msc_t *msr); | ^~~~~~~~~~~~~~~~~~~~~~~ src/msc_utils.c: In function 'id': src/msc_utils.c:13:1: warning: control reaches end of non-void function [-Wreturn-type] 13 | } | ^ /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -o src/mod_security3.la -lmodsecurity -rpath /usr/lib64/httpd/modules -module -avoid-version src/msc_utils.lo src/msc_filters.lo src/msc_config.lo src/mod_security3.lo Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LzCosE + RPM_EC=0 ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64 ++ dirname /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ModSecurity-apache-0488c77f69669584324b70460614a382224b4883 + mkdir -p /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64/etc/httpd/conf.d + mkdir -p /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64/usr/lib64/httpd/modules + install -m 700 -d /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64/var/lib/mod_security3 + install -d /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64/etc/httpd/modsecurity.d/ + install -d /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64/etc/httpd/modsecurity.d/activated_rules + install -d /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64/etc/httpd/modsecurity.d/local_rules + install -Dp -m0644 /builddir/build/SOURCES/10-mod_security3.conf /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64/etc/httpd/conf.modules.d/10-mod_security3.conf + install -Dp -m0644 /builddir/build/SOURCES/mod_security3.conf /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64/etc/httpd/conf.d/mod_security3.conf + install -m 755 src/.libs/mod_security3.so /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64/usr/lib64/httpd/modules + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.0.9-0.20210819git0488c77.1.fc37.2 --unique-debug-suffix -0.0.9-0.20210819git0488c77.1.fc37.2.riscv64 --unique-debug-src-base mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ModSecurity-apache-0488c77f69669584324b70460614a382224b4883 extracting debug info from /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64/usr/lib64/httpd/modules/mod_security3.so original debug info size: 92kB, size after compression: 80kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 57 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GUlIGn + umask 022 + cd /builddir/build/BUILD + cd ModSecurity-apache-0488c77f69669584324b70460614a382224b4883 + DOCDIR=/builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64/usr/share/doc/mod_security3 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64/usr/share/doc/mod_security3 + cp -pr README.md /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64/usr/share/doc/mod_security3 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PRIpGC + umask 022 + cd /builddir/build/BUILD + cd ModSecurity-apache-0488c77f69669584324b70460614a382224b4883 + LICENSEDIR=/builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64/usr/share/licenses/mod_security3 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64/usr/share/licenses/mod_security3 + cp -pr LICENSE /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64/usr/share/licenses/mod_security3 + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(mod_security3) = 0.0.9-0.20210819git0488c77.1.fc37.2 mod_security3 = 0.0.9-0.20210819git0488c77.1.fc37.2 mod_security3(riscv-64) = 0.0.9-0.20210819git0488c77.1.fc37.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libmodsecurity.so.3()(64bit) rtld(GNU_HASH) Processing files: mod_security3-debugsource-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64 Provides: mod_security3-debugsource = 0.0.9-0.20210819git0488c77.1.fc37.2 mod_security3-debugsource(riscv-64) = 0.0.9-0.20210819git0488c77.1.fc37.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mod_security3-debuginfo-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64 Provides: debuginfo(build-id) = 4fb25f4b5f6c8004ec0b1cfea8e0e8cf4d53bc1b mod_security3-debuginfo = 0.0.9-0.20210819git0488c77.1.fc37.2 mod_security3-debuginfo(riscv-64) = 0.0.9-0.20210819git0488c77.1.fc37.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mod_security3-debugsource(riscv-64) = 0.0.9-0.20210819git0488c77.1.fc37.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64 Wrote: /builddir/build/RPMS/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64.rpm Wrote: /builddir/build/RPMS/mod_security3-debugsource-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64.rpm Wrote: /builddir/build/RPMS/mod_security3-debuginfo-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LOaMaf + umask 022 + cd /builddir/build/BUILD + cd ModSecurity-apache-0488c77f69669584324b70460614a382224b4883 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc37.2.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.wZHFqm + umask 022 + cd /builddir/build/BUILD + rm -rf ModSecurity-apache-0488c77f69669584324b70460614a382224b4883 ModSecurity-apache-0488c77f69669584324b70460614a382224b4883.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0