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/gdcm.spec'], chrootPath='/var/lib/mock/f33-build-309924-57254/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/gdcm.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 warning: Macro expanded in comment on line 226: %{_docdir}/%{name}/html/ Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1594771200 Wrote: /builddir/build/SRPMS/gdcm-3.0.7-1.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/gdcm.spec'], chrootPath='/var/lib/mock/f33-build-309924-57254/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/gdcm.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 warning: Macro expanded in comment on line 226: %{_docdir}/%{name}/html/ Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1594771200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1lw71Z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf GDCM-3.0.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/gdcm-3.0.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd GDCM-3.0.7 + /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 --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'gdcm-3.0.7 base' + /usr/bin/cat /builddir/build/SOURCES/0001-3.0.1-Use-copyright.patch + /usr/bin/git apply --index --reject - Checking patch CMake/UseCopyright.cmake... Applied patch CMake/UseCopyright.cmake cleanly. + /usr/bin/git commit -q -m 0001-3.0.1-Use-copyright.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0002-Fix-export-variables.patch + /usr/bin/git apply --index --reject - Checking patch CMake/ExportConfiguration/GDCMConfig.cmake.in... Applied patch CMake/ExportConfiguration/GDCMConfig.cmake.in cleanly. + /usr/bin/git commit -q -m 0002-Fix-export-variables.patch --author 'rpm-build ' + cd /builddir/build/BUILD + cd GDCM-3.0.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/gdcmData.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i.backup s/add_dependency/add_dependencies/ Utilities/doxygen/CMakeLists.txt + sed -i.backup 's/^GENERATE_LATEX.*=.*YES/GENERATE_LATEX = NO/' Utilities/doxygen/doxyfile.in + rm -rf Utilities/gdcmexpat + rm -rf Utilities/gdcmopenjpeg-v1 + rm -rf Utilities/gdcmopenjpeg-v2 + rm -rf Utilities/gdcmzlib + rm -rf Utilities/gdcmuuid + rm -rf Utilities/gdcmcharls + rm -rf Utilities/getopt + rm -rf Utilities/pvrg + rm -rf Utilities/rle + rm -rf Utilities/wxWidgets + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zb0blY + umask 022 + cd /builddir/build/BUILD + cd GDCM-3.0.7 + mkdir -p riscv64-redhat-linux-gnu + pushd riscv64-redhat-linux-gnu ~/build/BUILD/GDCM-3.0.7/riscv64-redhat-linux-gnu ~/build/BUILD/GDCM-3.0.7 + 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 + /usr/bin/cmake -S . -B riscv64-redhat-linux-gnu -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 .. -DCMAKE_VERBOSE_MAKEFILE=ON -DGDCM_INSTALL_PACKAGE_DIR=/usr/lib64/cmake/gdcm -DGDCM_INSTALL_INCLUDE_DIR=/usr/include/gdcm -DGDCM_INSTALL_DOC_DIR=/usr/share/doc/gdcm -DGDCM_INSTALL_MAN_DIR=/usr/share/man -DGDCM_INSTALL_LIB_DIR=/usr/lib64 -DGDCM_BUILD_TESTING:BOOL=ON -DGDCM_DATA_ROOT=../gdcmData/ -DGDCM_BUILD_EXAMPLES:BOOL=OFF -DGDCM_DOCUMENTATION:BOOL=OFF -DGDCM_WRAP_PYTHON:BOOL=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 -DGDCM_INSTALL_PYTHONMODULE_DIR=/usr/lib64/python3.9/site-packages -DGDCM_WRAP_JAVA:BOOL=OFF -DGDCM_WRAP_CSHARP:BOOL=OFF -DGDCM_BUILD_SHARED_LIBS:BOOL=ON -DGDCM_BUILD_APPLICATIONS:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DGDCM_USE_VTK:BOOL=OFF -DGDCM_USE_SYSTEM_CHARLS:BOOL=ON -DGDCM_USE_SYSTEM_EXPAT:BOOL=ON -DGDCM_USE_SYSTEM_OPENJPEG:BOOL=ON -DGDCM_USE_SYSTEM_ZLIB:BOOL=ON -DGDCM_USE_SYSTEM_UUID:BOOL=ON -DGDCM_USE_SYSTEM_LJPEG:BOOL=OFF -DGDCM_USE_SYSTEM_OPENSSL:BOOL=ON -DGDCM_USE_JPEGLS:BOOL=ON -DGDCM_USE_SYSTEM_LIBXML2:BOOL=ON -DGDCM_USE_SYSTEM_JSON:BOOL=ON -DGDCM_USE_SYSTEM_POPPLER:BOOL=ON -- The CXX compiler identification is GNU 10.2.1 -- The C compiler identification is GNU 10.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Found POPPLER: /usr/lib64/libpoppler.so -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.10") -- Found CHARLS: /usr/lib64/libCharLS.so -- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3") -- Checking for module 'libopenjp2' -- Found libopenjp2, version 2.3.1 -- Found OpenJPEG: openjp2 (found suitable version "2.3.1", minimum required is "2.0.0") -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so -- Found UUID: /usr/lib64/libuuid.so -- Found EXPAT: /usr/lib64/libexpat.so (found version "2.2.8") -- Found JSON: /usr/lib64/libjson-c.so -- Looking for pthread.h -- Looking for pthread.h - found -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Searching 16 bit integer - Using unsigned short -- Check if the system is big endian - little endian -- Found DCMTK: /usr/include/dcmtk/config -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.9", minimum required is "3.2") -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for strsignal -- Looking for strsignal - found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include files sys/time.h, winsock.h -- Looking for include files sys/time.h, winsock.h - not found -- Looking for include files sys/time.h, byteswap.h -- Looking for include files sys/time.h, byteswap.h - found -- Performing Test GDCM_HAVE_BYTESWAP_H -- Performing Test GDCM_HAVE_BYTESWAP_H - Success -- Looking for rpc.h -- Looking for rpc.h - not found -- Looking for langinfo.h -- Looking for langinfo.h - found -- Looking for nl_langinfo -- Looking for nl_langinfo - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for strncasecmp -- Looking for strncasecmp - found -- Looking for strptime -- Looking for strptime - found -- Looking for _stricmp -- Looking for _stricmp - not found -- Looking for _strnicmp -- Looking for _strnicmp - not found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for json_object_object_get_ex -- Looking for json_object_object_get_ex - found -- Performing Test GDCM_CXX_HAS_FUNCTION -- Performing Test GDCM_CXX_HAS_FUNCTION - Success -- Performing Test GDCM_HAVE_WCHAR_IFSTREAM -- Performing Test GDCM_HAVE_WCHAR_IFSTREAM - Failed -- Performing Test GDCM_HAVE_CMS_RECIPIENT_PASSWORD -- Performing Test GDCM_HAVE_CMS_RECIPIENT_PASSWORD - Success -- Found SWIG: /usr/bin/swig (found suitable version "4.0.0", minimum required is "3.0.7") -- Found PythonLibs: /usr/lib64/libpython3.9.so (found suitable version "3.9.0rc1", minimum required is "3.2") CMake Warning (dev) at /usr/share/cmake/Modules/UseSWIG.cmake:486 (message): Policy CMP0086 is not set: UseSWIG honors SWIG_MODULE_NAME via -module flag. Run "cmake --help-policy CMP0086" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/share/cmake/Modules/UseSWIG.cmake:728 (SWIG_ADD_SOURCE_TO_MODULE) Wrapping/Python/CMakeLists.txt:96 (SWIG_ADD_LIBRARY) This warning is for project developers. Use -Wno-dev to suppress it. -- Will NOT use pyd extension -- Performing Test LIBPOPPLER_GLOBALPARAMS_CSTOR_HAS_PARAM -- Performing Test LIBPOPPLER_GLOBALPARAMS_CSTOR_HAS_PARAM - Failed -- Performing Test LIBPOPPLER_GLOBALPARAMS_HAS_RESET -- Performing Test LIBPOPPLER_GLOBALPARAMS_HAS_RESET - Success -- Performing Test LIBPOPPLER_PDFDOC_HAS_PDFVERSION -- Performing Test LIBPOPPLER_PDFDOC_HAS_PDFVERSION - Failed -- Performing Test LIBPOPPLER_CATALOG_HAS_STRUCTTREEROOT -- Performing Test LIBPOPPLER_CATALOG_HAS_STRUCTTREEROOT - Success -- Performing Test LIBPOPPLER_NEW_OBJECT_API -- Performing Test LIBPOPPLER_NEW_OBJECT_API - Success -- Performing Test LIBPOPPLER_GOOSTRING_HAS_CONSTGETCHAR -- Performing Test LIBPOPPLER_GOOSTRING_HAS_CONSTGETCHAR - Success -- Performing Test LIBPOPPLER_GOOSTRING_HAS_GETCSTRING -- Performing Test LIBPOPPLER_GOOSTRING_HAS_GETCSTRING - Failed -- Performing Test LIBPOPPLER_UNICODEMAP_HAS_CONSTMAPUNICODE -- Performing Test LIBPOPPLER_UNICODEMAP_HAS_CONSTMAPUNICODE - Success -- Found LibXslt: /usr/lib64/libxslt.so (found version "1.1.34") CMake Warning at Utilities/doxygen/CMakeLists.txt:281 (message): Could not find the location of your docbook-xsl-ns installation. Please make sure your internet connection works. Or skip man pages generation: GDCM_BUILD_DOCBOOK_MANPAGES:BOOL=OFF. -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/GDCM-3.0.7/riscv64-redhat-linux-gnu/riscv64-redhat-linux-gnu + popd ~/build/BUILD/GDCM-3.0.7 + /usr/bin/make -O -j4 V=1 VERBOSE=1 -C riscv64-redhat-linux-gnu make: *** No targets specified and no makefile found. Stop. error: Bad exit status from /var/tmp/rpm-tmp.zb0blY (%build) RPM build errors: Macro expanded in comment on line 226: %{_docdir}/%{name}/html/ Bad exit status from /var/tmp/rpm-tmp.zb0blY (%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/gdcm.spec