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/openvas-gsa.spec'], chrootPath='/var/lib/mock/f33-build-199965-47970/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/openvas-gsa.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=1551225600 Wrote: /builddir/build/SRPMS/openvas-gsa-7.0.3-10.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/openvas-gsa.spec'], chrootPath='/var/lib/mock/f33-build-199965-47970/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/openvas-gsa.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=1551225600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PPncfz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gsa-7.0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/v7.0.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gsa-7.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (openvas-gsa-pki.patch):' Patch #1 (openvas-gsa-pki.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pki --fuzz=0 patching file CMakeLists.txt Hunk #1 succeeded at 226 (offset -6 lines). Patch #2 (openvas-gsa-gsad_js-fr.patch): + echo 'Patch #2 (openvas-gsa-gsad_js-fr.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .syntax --fuzz=0 patching file src/po/gsad_js-fr.po Patch #3 (openvas-gsa-polib.patch): + echo 'Patch #3 (openvas-gsa-polib.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .polib --fuzz=0 patching file src/po/CMakeLists.txt + echo 'Patch #4 (openvas-gsa-doxygen_full.patch):' Patch #4 (openvas-gsa-doxygen_full.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .doxyfull --fuzz=0 patching file doc/Doxyfile_full.in + echo 'Patch #5 (openvas-gsa-strncpy.patch):' Patch #5 (openvas-gsa-strncpy.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .strncpy --fuzz=0 patching file src/gsad.c Hunk #1 succeeded at 5927 (offset 3342 lines). + iconv -f Windows-1250 -t utf-8 + touch -r CHANGES CHANGES.utf8 + mv CHANGES.utf8 CHANGES + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YkqE3A + umask 022 + cd /builddir/build/BUILD + cd gsa-7.0.3 + export '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 -Werror=unused-but-set-variable -lgpg-error -Wno-error=deprecated-declarations' + 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 -Werror=unused-but-set-variable -lgpg-error -Wno-error=deprecated-declarations' + 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 -Werror=unused-but-set-variable -lgpg-error -Wno-error=deprecated-declarations' + 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 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DLOCALSTATEDIR:PATH=/var -DSYSCONFDIR:PATH=/etc/ . -- Configuring greenbone-security-assistant... -- The C compiler identification is GNU 10.0.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done CMake Deprecation Warning at CMakeLists.txt:33 (cmake_policy): The OLD behavior for policy CMP0005 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.3") -- Checking for module 'libmicrohttpd>=0.9.0' -- Found libmicrohttpd, version 0.9.70 -- Checking for module 'libxml-2.0' -- Found libxml-2.0, version 2.9.10 -- Checking for module 'glib-2.0>=2.32' -- Found glib-2.0, version 2.64.2 -- Checking for module 'libexslt' -- Found libexslt, version 0.8.20 -- Checking for module 'libopenvas_omp>=9.0.0' -- Package 'libopenvas_omp', required by 'virtual:world', not found CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:467 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake/Modules/FindPkgConfig.cmake:647 (_pkg_check_modules_internal) CMakeLists.txt:83 (pkg_check_modules) -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/gsa-7.0.3/CMakeFiles/CMakeOutput.log". error: Bad exit status from /var/tmp/rpm-tmp.YkqE3A (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.YkqE3A (%build) 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/openvas-gsa.spec