Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/openvas-libraries.spec'], chrootPath='/var/lib/mock/f29-build-25245-13168/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/openvas-libraries.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 BUILDSTDERR: warning: Macro expanded in comment on line 18: %{name}-%{version}.tar.gz BUILDSTDERR: warning: Macro expanded in comment on line 140: %{_libdir}/libopenvas_hg.so.* BUILDSTDERR: warning: Macro expanded in comment on line 144: %{_datadir}/openvas/openvas-services BUILDSTDERR: warning: Macro expanded in comment on line 151: %{_libdir}/libopenvas_hg.so Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/openvas-libraries-9.0.2-3.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/openvas-libraries.spec'], chrootPath='/var/lib/mock/f29-build-25245-13168/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/openvas-libraries.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 BUILDSTDERR: warning: Macro expanded in comment on line 18: %{name}-%{version}.tar.gz BUILDSTDERR: warning: Macro expanded in comment on line 140: %{_libdir}/libopenvas_hg.so.* BUILDSTDERR: warning: Macro expanded in comment on line 144: %{_datadir}/openvas/openvas-services BUILDSTDERR: warning: Macro expanded in comment on line 151: %{_libdir}/libopenvas_hg.so Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cLKHQF + umask 022 + cd /builddir/build/BUILD + gpgv2 --keyring /builddir/build/SOURCES/gpgkey-C3B468D2288C68B9D526452248479FF648DB4530.gpg /builddir/build/SOURCES/openvas-libraries-9.0.2.tar.gz.sig /builddir/build/SOURCES/openvas-libraries-9.0.2.tar.gz BUILDSTDERR: gpgv: Signature made Mon Mar 12 10:49:06 2018 UTC BUILDSTDERR: gpgv: using DSA key 48479FF648DB4530 BUILDSTDERR: gpgv: Good signature from "OpenVAS Transfer Integrity" + cd /builddir/build/BUILD + rm -rf gvm-libs-9.0.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/openvas-libraries-9.0.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gvm-libs-9.0.2 + /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 add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'openvas-libraries-9.0.2 base' + /usr/bin/cat /builddir/build/SOURCES/openvas-libraries-libssh.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m openvas-libraries-libssh.patch --author 'rpm-build ' + iconv -f LATIN1 -t UTF8 + mv ChangeLog1 ChangeLog + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZSv6OH + umask 022 + cd /builddir/build/BUILD + cd gvm-libs-9.0.2 + 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 -Wno-format-truncation' + 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 -Wno-format-truncation' + 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 -Wno-format-truncation -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 -Wno-format-truncation -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 -Wno-format-truncation -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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /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 -DBUILD_WITH_LDAP=ON BUILDSTDERR: -- Configuring the Libraries... -- The C compiler identification is GNU 8.2.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 BUILDSTDERR: CMake Deprecation Warning at CMakeLists.txt:35 (cmake_policy): BUILDSTDERR: The OLD behavior for policy CMP0005 will be removed from a future version BUILDSTDERR: of CMake. BUILDSTDERR: The cmake-policies(7) manual explains that the OLD behaviors of all BUILDSTDERR: policies are deprecated and that a policy should be set to OLD only under BUILDSTDERR: specific short-term circumstances. Projects should be ported to the NEW BUILDSTDERR: behavior and not rely on setting a policy to OLD. -- Found PkgConfig: /usr/bin/pkg-config (found version "1.5.3") BUILDSTDERR: -- Install prefix: /usr -- Checking for module 'gnutls>=3.2.15' -- Found gnutls, version 3.6.3 -- Checking for module 'glib-2.0>=2.32' -- Found glib-2.0, version 2.57.2 -- Checking for module 'libopenvas_wmiclient>=1.0.1' -- Package 'libopenvas_wmiclient', required by 'virtual:world', not found -- Checking for module 'libopenvas_wincmd>=1.0.1' -- Package 'libopenvas_wincmd', required by 'virtual:world', not found -- Checking for module 'libssh>=0.5.0' -- Package dependency requirement 'libssh >= 0.5.0' could not be satisfied. Package 'libssh' has version '', required version is '>= 0.5.0' BUILDSTDERR: CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:436 (message): BUILDSTDERR: A required package was not found BUILDSTDERR: Call Stack (most recent call first): BUILDSTDERR: /usr/share/cmake/Modules/FindPkgConfig.cmake:602 (_pkg_check_modules_internal) BUILDSTDERR: CMakeLists.txt:195 (pkg_check_modules) -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/gvm-libs-9.0.2/CMakeFiles/CMakeOutput.log". RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.ZSv6OH (%build) BUILDSTDERR: Macro expanded in comment on line 18: %{name}-%{version}.tar.gz BUILDSTDERR: Macro expanded in comment on line 140: %{_libdir}/libopenvas_hg.so.* BUILDSTDERR: Macro expanded in comment on line 144: %{_datadir}/openvas/openvas-services BUILDSTDERR: Macro expanded in comment on line 151: %{_libdir}/libopenvas_hg.so BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.ZSv6OH (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/openvas-libraries.spec