Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mod_auth_openidc.spec'], chrootPath='/var/lib/mock/f33-build-312304-57542/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mod_auth_openidc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False cat: /usr/include/httpd/.mmn: No such file or directory Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1596240000 Wrote: /builddir/build/SRPMS/mod_auth_openidc-2.4.3-3.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mod_auth_openidc.spec'], chrootPath='/var/lib/mock/f33-build-312304-57542/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mod_auth_openidc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1596240000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.byWY9F + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mod_auth_openidc-2.4.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/v2.4.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mod_auth_openidc-2.4.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8HJHSG + umask 022 + cd /builddir/build/BUILD + cd mod_auth_openidc-2.4.3 + export MODULES_DIR=/usr/lib64/httpd/modules + MODULES_DIR=/usr/lib64/httpd/modules + export 'APXS2_OPTS=-S LIBEXECDIR=${MODULES_DIR}' + APXS2_OPTS='-S LIBEXECDIR=${MODULES_DIR}' + autoreconf + 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' + 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 --with-jq=/usr/lib64/ --without-hiredis configure: WARNING: unrecognized options: --disable-dependency-tracking checking for apxs2... no checking for apxs... /usr/bin/apxs checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for CURL... yes checking for OPENSSL... yes checking for APR... yes 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking apr_memcache.h usability... yes checking apr_memcache.h presence... yes checking for apr_memcache.h... yes checking for JANSSON... yes checking for CJOSE... yes checking for PCRE... yes checking jq.h usability... yes checking jq.h presence... yes checking for jq.h... yes checking for jq_init in -ljq... yes configure: creating ./config.status config.status: creating Makefile configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/apxs -S LIBEXECDIR=/usr/lib64/httpd/modules -Wc,"-DNAMEVER=\"mod_auth_openidc-2.4.3\" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include" -Wl,"-lssl -lcrypto -lcurl -ljansson -lcjose -ljansson -lcrypto -lpcre -L/usr/lib64//lib -ljq" -Wc,-Wall -Wc,-g -c src/mod_auth_openidc.c src/cache/file.c src/cache/shm.c src/cache/common.c src/oauth.c src/proto.c src/config.c src/util.c src/authz.c src/session.c src/metadata.c src/jose.c src/parse.c src/pcre_subst.c src/cache/memcache.c /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -DNAMEVER="mod_auth_openidc-2.4.3" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include -Wall -g -c -o src/mod_auth_openidc.lo src/mod_auth_openidc.c && touch src/mod_auth_openidc.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -DNAMEVER="mod_auth_openidc-2.4.3" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include -Wall -g -c -o src/cache/file.lo src/cache/file.c && touch src/cache/file.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -DNAMEVER="mod_auth_openidc-2.4.3" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include -Wall -g -c -o src/cache/shm.lo src/cache/shm.c && touch src/cache/shm.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -DNAMEVER="mod_auth_openidc-2.4.3" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include -Wall -g -c -o src/cache/common.lo src/cache/common.c && touch src/cache/common.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -DNAMEVER="mod_auth_openidc-2.4.3" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include -Wall -g -c -o src/oauth.lo src/oauth.c && touch src/oauth.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -DNAMEVER="mod_auth_openidc-2.4.3" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include -Wall -g -c -o src/proto.lo src/proto.c && touch src/proto.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -DNAMEVER="mod_auth_openidc-2.4.3" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include -Wall -g -c -o src/config.lo src/config.c && touch src/config.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -DNAMEVER="mod_auth_openidc-2.4.3" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include -Wall -g -c -o src/util.lo src/util.c && touch src/util.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -DNAMEVER="mod_auth_openidc-2.4.3" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include -Wall -g -c -o src/authz.lo src/authz.c && touch src/authz.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -DNAMEVER="mod_auth_openidc-2.4.3" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include -Wall -g -c -o src/session.lo src/session.c && touch src/session.slo In file included from /usr/include/string.h:519, from /usr/include/apr-1/apr_want.h:63, from /usr/include/apr-1/apr_pools.h:47, from /usr/include/apr-1/apr_general.h:29, from /usr/include/apr-1/apr_base64.h:28, from src/session.c:52: In function 'strncpy', inlined from 'oidc_session_load_cache_by_uuid' at src/session.c:141:4: /usr/include/bits/string_fortified.h:106:10: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/session.c: In function 'oidc_session_load_cache_by_uuid': src/session.c:141:4: note: length computed here 141 | strncpy(z->uuid, uuid, strlen(uuid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -DNAMEVER="mod_auth_openidc-2.4.3" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include -Wall -g -c -o src/metadata.lo src/metadata.c && touch src/metadata.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -DNAMEVER="mod_auth_openidc-2.4.3" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include -Wall -g -c -o src/jose.lo src/jose.c && touch src/jose.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -DNAMEVER="mod_auth_openidc-2.4.3" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include -Wall -g -c -o src/parse.lo src/parse.c && touch src/parse.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -DNAMEVER="mod_auth_openidc-2.4.3" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include -Wall -g -c -o src/pcre_subst.lo src/pcre_subst.c && touch src/pcre_subst.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -DNAMEVER="mod_auth_openidc-2.4.3" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include -Wall -g -c -o src/cache/memcache.lo src/cache/memcache.c && touch src/cache/memcache.slo /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -Wl,-z,relro,-z,now -o src/mod_auth_openidc.la -lssl -lcrypto -lcurl -ljansson -lcjose -ljansson -lcrypto -lpcre -L/usr/lib64//lib -ljq -rpath /usr/lib64/httpd/modules -module -avoid-version src/cache/memcache.lo src/pcre_subst.lo src/parse.lo src/jose.lo src/metadata.lo src/session.lo src/authz.lo src/util.lo src/config.lo src/proto.lo src/oauth.lo src/cache/common.lo src/cache/shm.lo src/cache/file.lo src/mod_auth_openidc.lo In function 'strncpy', inlined from 'oidc_session_load_cache_by_uuid' at src/session.c:141:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ src/session.c: In function 'oidc_session_load_cache_by_uuid': src/session.c:141:4: note: length computed here 141 | strncpy(z->uuid, uuid, strlen(uuid)); | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nLxdrF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64 + cd mod_auth_openidc-2.4.3 + mkdir -p /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/usr/lib64/httpd/modules + make install MODULES_DIR=/builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/usr/lib64/httpd/modules /usr/bin/apxs -S LIBEXECDIR=/builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/usr/lib64/httpd/modules -i -n mod_auth_openidc src/mod_auth_openidc.la /usr/lib64/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib64/apr-1/build/libtool' src/mod_auth_openidc.la /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/usr/lib64/httpd/modules /usr/lib64/apr-1/build/libtool --mode=install install src/mod_auth_openidc.la /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/usr/lib64/httpd/modules/ libtool: install: install src/.libs/mod_auth_openidc.so /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/usr/lib64/httpd/modules/mod_auth_openidc.so libtool: install: install src/.libs/mod_auth_openidc.lai /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/usr/lib64/httpd/modules/mod_auth_openidc.la libtool: install: install src/.libs/mod_auth_openidc.a /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/usr/lib64/httpd/modules/mod_auth_openidc.a libtool: install: chmod 644 /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/usr/lib64/httpd/modules/mod_auth_openidc.a libtool: install: ranlib /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/usr/lib64/httpd/modules/mod_auth_openidc.a libtool: warning: remember to run 'libtool --finish /usr/lib64/httpd/modules' chmod 755 /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/usr/lib64/httpd/modules/mod_auth_openidc.so + install -m 755 -d /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/etc/httpd/conf.modules.d + echo 'LoadModule auth_openidc_module modules/mod_auth_openidc.so' + install -m 755 -d /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/etc/httpd/conf.d + install -m 644 auth_openidc.conf /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/etc/httpd/conf.d + sed -i 's!/var/cache/apache2/!/var/cache/httpd/!' /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/etc/httpd/conf.d/auth_openidc.conf + install -m 700 -d /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/var/cache/httpd/mod_auth_openidc + install -m 700 -d /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/var/cache/httpd/mod_auth_openidc/metadata + install -m 700 -d /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/var/cache/httpd/mod_auth_openidc/cache + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.4.3-3.fc33 --unique-debug-suffix -2.4.3-3.fc33.riscv64 --unique-debug-src-base mod_auth_openidc-2.4.3-3.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mod_auth_openidc-2.4.3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/usr/lib64/httpd/modules/mod_auth_openidc.so extracting debug info from /builddir/build/BUILDROOT/mod_auth_openidc-2.4.3-3.fc33.riscv64/usr/lib64/httpd/modules/mod_auth_openidc.so original debug info size: 3084kB, size after compression: 2928kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1530 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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.pG9xmF + umask 022 + cd /builddir/build/BUILD + cd mod_auth_openidc-2.4.3 + export MODULES_DIR=/usr/lib64/httpd/modules + MODULES_DIR=/usr/lib64/httpd/modules + export 'APXS2_OPTS=-S LIBEXECDIR=${MODULES_DIR}' + APXS2_OPTS='-S LIBEXECDIR=${MODULES_DIR}' + /usr/bin/make -O -j4 V=1 VERBOSE=1 test /usr/bin/apxs -S LIBEXECDIR=/usr/lib64/httpd/modules -Wc,"-DNAMEVER=\"mod_auth_openidc-2.4.3\" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include" -Wl,"-lssl -lcrypto -lcurl -ljansson -lcjose -ljansson -lcrypto -lpcre -L/usr/lib64//lib -ljq" -Isrc -Wc,-Wall -Wc,-g -c -o test/test-cmd test/test-cmd.c test/stub.c src/mod_auth_openidc.lo src/cache/file.lo src/cache/shm.lo src/cache/common.lo src/oauth.lo src/proto.lo src/config.lo src/util.lo src/authz.lo src/session.lo src/metadata.lo src/jose.lo src/parse.lo src/pcre_subst.lo src/cache/memcache.lo -laprutil-1 -lldap_r -llber -lapr-1 -lpthread -ldl /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -DNAMEVER="mod_auth_openidc-2.4.3" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include -Wall -g -Isrc -c -o test/test-cmd.lo test/test-cmd.c && touch test/test-cmd.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -DNAMEVER="mod_auth_openidc-2.4.3" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include -Wall -g -Isrc -c -o test/stub.lo test/stub.c && touch test/stub.slo /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -Wl,-z,relro,-z,now -o test/test-cmd -lssl -lcrypto -lcurl -ljansson -lcjose -ljansson -lcrypto -lpcre -L/usr/lib64//lib -ljq -rpath /usr/lib64/httpd/modules -module -avoid-version test/stub.lo test/test-cmd.lo src/mod_auth_openidc.lo src/cache/file.lo src/cache/shm.lo src/cache/common.lo src/oauth.lo src/proto.lo src/config.lo src/util.lo src/authz.lo src/session.lo src/metadata.lo src/jose.lo src/parse.lo src/pcre_subst.lo src/cache/memcache.lo -laprutil-1 -lldap_r -llber -lapr-1 -lpthread -ldl libtool: error: 'test/stub.lo' is not a valid libtool object apxs:Error: Command failed with rc=65536 . make: *** [Makefile:77: test/test-cmd] Error 1 make: *** Waiting for unfinished jobs.... /usr/bin/apxs -S LIBEXECDIR=/usr/lib64/httpd/modules -Wc,"-DNAMEVER=\"mod_auth_openidc-2.4.3\" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include" -Wl,"-lssl -lcrypto -lcurl -ljansson -lcjose -ljansson -lcrypto -lpcre -L/usr/lib64//lib -ljq" -Isrc -Wc,-Wall -Wc,-g -c -o test/test test/test.c test/stub.c src/mod_auth_openidc.lo src/cache/file.lo src/cache/shm.lo src/cache/common.lo src/oauth.lo src/proto.lo src/config.lo src/util.lo src/authz.lo src/session.lo src/metadata.lo src/jose.lo src/parse.lo src/pcre_subst.lo src/cache/memcache.lo -laprutil-1 -lldap_r -llber -lapr-1 -lpthread -ldl RPM build errors: /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -DNAMEVER="mod_auth_openidc-2.4.3" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include -Wall -g -Isrc -c -o test/test.lo test/test.c && touch test/test.slo test/test.c: In function 'test_public_key_parse': test/test.c:74:3: warning: '%s' directive writing 1429 bytes into a region of size between 401 and 407 [-Wformat-overflow=] 74 | " # %s: error in %s: result \"" fmt "\" != expected \"" fmt "\"" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from test/test.c:53: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 1536 or more bytes (assuming 1542) into a destination of size 512 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/test.c:74:3: warning: '%s' directive writing 425 bytes into a region of size between 402 and 408 [-Wformat-overflow=] 74 | " # %s: error in %s: result \"" fmt "\" != expected \"" fmt "\"" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from test/test.c:53: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 531 or more bytes (assuming 537) into a destination of size 512 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -DNAMEVER="mod_auth_openidc-2.4.3" -DUSE_MEMCACHE -DUSE_LIBJQ -I/usr/lib64//include -Wall -g -Isrc -c -o test/stub.lo test/stub.c && touch test/stub.slo /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -Wl,-z,relro,-z,now -o test/test -lssl -lcrypto -lcurl -ljansson -lcjose -ljansson -lcrypto -lpcre -L/usr/lib64//lib -ljq -rpath /usr/lib64/httpd/modules -module -avoid-version test/stub.lo test/test.lo src/mod_auth_openidc.lo src/cache/file.lo src/cache/shm.lo src/cache/common.lo src/oauth.lo src/proto.lo src/config.lo src/util.lo src/authz.lo src/session.lo src/metadata.lo src/jose.lo src/parse.lo src/pcre_subst.lo src/cache/memcache.lo -laprutil-1 -lldap_r -llber -lapr-1 -lpthread -ldl /usr/include/httpd/http_request.h:546:1: warning: type of 'ap_hook_insert_filter' does not match original declaration [-Wlto-type-mismatch] 546 | AP_DECLARE_HOOK(void,insert_filter,(request_rec *r)) | ^ test/stub.c:147:17: note: return value type mismatch 147 | AP_DECLARE(int) ap_hook_insert_filter(request_rec *r) { | ^ test/stub.c:147:17: note: type 'int' should match type 'void' test/stub.c:147:17: note: 'ap_hook_insert_filter' was previously declared here In function 'strncpy', inlined from 'oidc_session_load_cache_by_uuid.constprop' at src/session.c:141:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ src/session.c: In function 'oidc_session_load_cache_by_uuid.constprop': src/session.c:141:4: note: length computed here 141 | strncpy(z->uuid, uuid, strlen(uuid)); | ^ error: Bad exit status from /var/tmp/rpm-tmp.pG9xmF (%check) Bad exit status from /var/tmp/rpm-tmp.pG9xmF (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mod_auth_openidc.spec