Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sscg.spec'], chrootPath='/var/lib/mock/f31-build-115041-34481/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sscg.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=1564185600 Wrote: /builddir/build/SRPMS/sscg-2.5.1-3.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sscg.spec'], chrootPath='/var/lib/mock/f31-build-115041-34481/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sscg.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=1564185600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PTNoDx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sscg-2.5.1 + /usr/bin/xz -dc /builddir/build/SOURCES/sscg-2.5.1.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sscg-2.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.c2YHOz + umask 022 + cd /builddir/build/BUILD + cd sscg-2.5.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . riscv64-redhat-linux-gnu The Meson build system Version: 0.51.1 Source dir: /builddir/build/BUILD/sscg-2.5.1 Build dir: /builddir/build/BUILD/sscg-2.5.1/riscv64-redhat-linux-gnu Build type: native build Project name: sscg Project version: 2.5.1 Appending CFLAGS from environment: '-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' Appending LDFLAGS from environment: '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' C compiler for the build machine: cc (gcc 9.2.1 "cc (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1)") Appending CFLAGS from environment: '-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' Appending LDFLAGS from environment: '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' C compiler for the host machine: cc (gcc 9.2.1 "cc (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1)") Build machine cpu family: riscv64 Build machine cpu: riscv64 Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wuninitialized: YES Compiler for C supports arguments -Werror=implicit: YES Compiler for C supports arguments -Werror=init-self: YES Compiler for C supports arguments -Werror=main: YES Compiler for C supports arguments -Werror=missing-braces: YES Compiler for C supports arguments -Werror=return-type: YES Compiler for C supports arguments -Werror=array-bounds: YES Compiler for C supports arguments -Werror=write-strings: YES Compiler for C supports arguments -DG_LOG_USE_STRUCTURED: YES Found pkg-config: /usr/bin/pkg-config (1.6.3) Run-time dependency libcrypto found: YES 1.1.1c Run-time dependency libssl found: YES 1.1.1c Run-time dependency path_utils found: YES 0.2.1 Run-time dependency talloc found: YES 2.2.0 Run-time dependency popt found: YES 1.16 Checking for function "SSL_CTX_get_security_level" with dependency libssl: YES Program clang-format found: YES (/usr/bin/clang-format) Configuring config.h using configuration Program help2man found: YES (/usr/bin/help2man) Build targets in project: 8 Option buildtype is: plain [default: debugoptimized] Found ninja-1.9.0 at /usr/bin/ninja + /usr/bin/ninja -v -j4 -C riscv64-redhat-linux-gnu ninja: Entering directory `riscv64-redhat-linux-gnu' [1/19] cc -Isscg@sta -I. -I.. -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wuninitialized -Werror=implicit -Werror=init-self -Werror=main -Werror=missing-braces -Werror=return-type -Werror=array-bounds -Werror=write-strings -DG_LOG_USE_STRUCTURED -O2 -g -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MQ 'sscg@sta/src_key.c.o' -MF 'sscg@sta/src_key.c.o.d' -o 'sscg@sta/src_key.c.o' -c ../src/key.c [2/19] cc -Isscg@sta -I. -I.. -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wuninitialized -Werror=implicit -Werror=init-self -Werror=main -Werror=missing-braces -Werror=return-type -Werror=array-bounds -Werror=write-strings -DG_LOG_USE_STRUCTURED -O2 -g -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MQ 'sscg@sta/src_bignum.c.o' -MF 'sscg@sta/src_bignum.c.o.d' -o 'sscg@sta/src_bignum.c.o' -c ../src/bignum.c [3/19] cc -Isscg@sta -I. -I.. -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wuninitialized -Werror=implicit -Werror=init-self -Werror=main -Werror=missing-braces -Werror=return-type -Werror=array-bounds -Werror=write-strings -DG_LOG_USE_STRUCTURED -O2 -g -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MQ 'sscg@sta/src_service.c.o' -MF 'sscg@sta/src_service.c.o.d' -o 'sscg@sta/src_service.c.o' -c ../src/service.c [4/19] cc -Isscg@sta -I. -I.. -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wuninitialized -Werror=implicit -Werror=init-self -Werror=main -Werror=missing-braces -Werror=return-type -Werror=array-bounds -Werror=write-strings -DG_LOG_USE_STRUCTURED -O2 -g -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MQ 'sscg@sta/src_authority.c.o' -MF 'sscg@sta/src_authority.c.o.d' -o 'sscg@sta/src_authority.c.o' -c ../src/authority.c [5/19] cc -Icreate_ca_test@exe -I. -I.. -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wuninitialized -Werror=implicit -Werror=init-self -Werror=main -Werror=missing-braces -Werror=return-type -Werror=array-bounds -Werror=write-strings -DG_LOG_USE_STRUCTURED -O2 -g -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -MD -MQ 'create_ca_test@exe/test_create_ca_test.c.o' -MF 'create_ca_test@exe/test_create_ca_test.c.o.d' -o 'create_ca_test@exe/test_create_ca_test.c.o' -c ../test/create_ca_test.c [6/19] cc -Icreate_csr_test@exe -I. -I.. -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wuninitialized -Werror=implicit -Werror=init-self -Werror=main -Werror=missing-braces -Werror=return-type -Werror=array-bounds -Werror=write-strings -DG_LOG_USE_STRUCTURED -O2 -g -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -MD -MQ 'create_csr_test@exe/test_create_csr_test.c.o' -MF 'create_csr_test@exe/test_create_csr_test.c.o.d' -o 'create_csr_test@exe/test_create_csr_test.c.o' -c ../test/create_csr_test.c [7/19] cc -Isscg@sta -I. -I.. -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wuninitialized -Werror=implicit -Werror=init-self -Werror=main -Werror=missing-braces -Werror=return-type -Werror=array-bounds -Werror=write-strings -DG_LOG_USE_STRUCTURED -O2 -g -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MQ 'sscg@sta/src_x509.c.o' -MF 'sscg@sta/src_x509.c.o.d' -o 'sscg@sta/src_x509.c.o' -c ../src/x509.c [8/19] rm -f libsscg.a && gcc-ar csrD libsscg.a 'sscg@sta/src_authority.c.o' 'sscg@sta/src_bignum.c.o' 'sscg@sta/src_key.c.o' 'sscg@sta/src_service.c.o' 'sscg@sta/src_x509.c.o' [9/19] cc -o create_ca_test 'create_ca_test@exe/test_create_ca_test.c.o' -Wl,--no-undefined -Wl,--as-needed -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--start-group libsscg.a /usr/lib64/libcrypto.so /usr/lib64/libssl.so /usr/lib64/libtalloc.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/sscg-2.5.1/riscv64-redhat-linux-gnu/ [10/19] cc -o create_csr_test 'create_csr_test@exe/test_create_csr_test.c.o' -Wl,--no-undefined -Wl,--as-needed -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--start-group libsscg.a /usr/lib64/libcrypto.so /usr/lib64/libssl.so /usr/lib64/libtalloc.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/sscg-2.5.1/riscv64-redhat-linux-gnu/ [11/19] cc -Isscg@exe -I. -I.. -I../ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wuninitialized -Werror=implicit -Werror=init-self -Werror=main -Werror=missing-braces -Werror=return-type -Werror=array-bounds -Werror=write-strings -DG_LOG_USE_STRUCTURED -O2 -g -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -MD -MQ 'sscg@exe/src_sscg.c.o' -MF 'sscg@exe/src_sscg.c.o.d' -o 'sscg@exe/src_sscg.c.o' -c ../src/sscg.c [12/19] cc -Igenerate_rsa_key_test@exe -I. -I.. -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wuninitialized -Werror=implicit -Werror=init-self -Werror=main -Werror=missing-braces -Werror=return-type -Werror=array-bounds -Werror=write-strings -DG_LOG_USE_STRUCTURED -O2 -g -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -MD -MQ 'generate_rsa_key_test@exe/test_generate_rsa_key_test.c.o' -MF 'generate_rsa_key_test@exe/test_generate_rsa_key_test.c.o.d' -o 'generate_rsa_key_test@exe/test_generate_rsa_key_test.c.o' -c ../test/generate_rsa_key_test.c [13/19] cc -o sscg 'sscg@exe/src_sscg.c.o' -Wl,--no-undefined -Wl,--as-needed -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--start-group libsscg.a /usr/lib64/libpath_utils.so -lpopt /usr/lib64/libtalloc.so /usr/lib64/libcrypto.so /usr/lib64/libssl.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/sscg-2.5.1/riscv64-redhat-linux-gnu/ [14/19] cc -Igenerate_serial_test@exe -I. -I.. -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wuninitialized -Werror=implicit -Werror=init-self -Werror=main -Werror=missing-braces -Werror=return-type -Werror=array-bounds -Werror=write-strings -DG_LOG_USE_STRUCTURED -O2 -g -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -MD -MQ 'generate_serial_test@exe/test_generate_serial_test.c.o' -MF 'generate_serial_test@exe/test_generate_serial_test.c.o.d' -o 'generate_serial_test@exe/test_generate_serial_test.c.o' -c ../test/generate_serial_test.c [15/19] cc -o generate_rsa_key_test 'generate_rsa_key_test@exe/test_generate_rsa_key_test.c.o' -Wl,--no-undefined -Wl,--as-needed -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--start-group libsscg.a /usr/lib64/libcrypto.so /usr/lib64/libssl.so /usr/lib64/libtalloc.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/sscg-2.5.1/riscv64-redhat-linux-gnu/ [16/19] cc -o generate_serial_test 'generate_serial_test@exe/test_generate_serial_test.c.o' -Wl,--no-undefined -Wl,--as-needed -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--start-group libsscg.a /usr/lib64/libcrypto.so /usr/lib64/libssl.so /usr/lib64/libtalloc.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/sscg-2.5.1/riscv64-redhat-linux-gnu/ [17/19] cc -Iinit_bignum_test@exe -I. -I.. -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wuninitialized -Werror=implicit -Werror=init-self -Werror=main -Werror=missing-braces -Werror=return-type -Werror=array-bounds -Werror=write-strings -DG_LOG_USE_STRUCTURED -O2 -g -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -MD -MQ 'init_bignum_test@exe/test_init_bignum_test.c.o' -MF 'init_bignum_test@exe/test_init_bignum_test.c.o.d' -o 'init_bignum_test@exe/test_init_bignum_test.c.o' -c ../test/init_bignum_test.c [18/19] cc -o init_bignum_test 'init_bignum_test@exe/test_init_bignum_test.c.o' -Wl,--no-undefined -Wl,--as-needed -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--start-group libsscg.a /usr/lib64/libcrypto.so /usr/lib64/libssl.so /usr/lib64/libtalloc.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/sscg-2.5.1/riscv64-redhat-linux-gnu/ [19/19] /usr/bin/meson --internal exe /builddir/build/BUILD/sscg-2.5.1/riscv64-redhat-linux-gnu/meson-private/meson_exe_help2man_3545787afe0cad658221b2f2002a3fb172e4d799.dat + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pebD7w + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sscg-2.5.1-3.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sscg-2.5.1-3.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/sscg-2.5.1-3.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sscg-2.5.1-3.fc31.riscv64 + cd sscg-2.5.1 + DESTDIR=/builddir/build/BUILDROOT/sscg-2.5.1-3.fc31.riscv64 + /usr/bin/ninja install -v -j4 -C riscv64-redhat-linux-gnu ninja: Entering directory `riscv64-redhat-linux-gnu' [0/1] /usr/bin/meson install --no-rebuild Installing sscg to /builddir/build/BUILDROOT/sscg-2.5.1-3.fc31.riscv64/usr/bin Installing sscg.8 to /builddir/build/BUILDROOT/sscg-2.5.1-3.fc31.riscv64/usr/share/man/man8 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.5.1-3.fc31 --unique-debug-suffix -2.5.1-3.fc31.riscv64 --unique-debug-src-base sscg-2.5.1-3.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sscg-2.5.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sscg-2.5.1-3.fc31.riscv64/usr/bin/sscg extracting debug info from /builddir/build/BUILDROOT/sscg-2.5.1-3.fc31.riscv64/usr/bin/sscg original debug info size: 148kB, size after compression: 132kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 128 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.UI3doz + umask 022 + cd /builddir/build/BUILD + cd sscg-2.5.1 + /usr/bin/meson test -C riscv64-redhat-linux-gnu --num-processes 4 --print-errorlogs ninja: Entering directory `/builddir/build/BUILD/sscg-2.5.1/riscv64-redhat-linux-gnu' ninja: no work to do. 1/6 test_clang_format OK 11.84 s 2/6 create_ca_test OK 22.93 s 3/6 create_csr_test TIMEOUT 30.81 s 4/6 generate_rsa_key_test TIMEOUT 30.90 s 5/6 generate_serial_test OK 0.63 s 6/6 init_bignum_test OK 0.59 s Ok: 4 Expected Fail: 0 Fail: 0 Unexpected Pass: 0 Skipped: 0 Timeout: 2 The output from the failed tests: 3/6 create_csr_test TIMEOUT 30.81 s --- command --- /builddir/build/BUILD/sscg-2.5.1/riscv64-redhat-linux-gnu/create_csr_test ------- 4/6 generate_rsa_key_test TIMEOUT 30.90 s --- command --- /builddir/build/BUILD/sscg-2.5.1/riscv64-redhat-linux-gnu/generate_rsa_key_test ------- Full log written to /builddir/build/BUILD/sscg-2.5.1/riscv64-redhat-linux-gnu/meson-logs/testlog.txt BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.UI3doz (%check) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.UI3doz (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sscg.spec