Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/gdcm.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-375684-71674/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1714262400 Wrote: /builddir/build/SRPMS/gdcm-3.0.23-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/gdcm.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-375684-71674/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1714262400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.W2isU8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf GDCM-3.0.23 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gdcm-3.0.23.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd GDCM-3.0.23 + /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 config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'gdcm-3.0.23 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /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/lib/rpm/rpmuncompress /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 ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/171.patch + /usr/bin/git apply --index --reject - Checking patch Wrapping/Python/gdcmswig.i... Checking patch Wrapping/SWIGCommon/gdcmcommon.i... Applied patch Wrapping/Python/gdcmswig.i cleanly. Applied patch Wrapping/SWIGCommon/gdcmcommon.i cleanly. + /usr/bin/git commit -q -m 171.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/TALOS-2024-1924.patch + /usr/bin/git apply --index --reject - Checking patch Source/DataStructureAndEncodingDefinition/gdcmElement.h... Checking patch Source/MediaStorageAndFileFormat/gdcmLookupTable.cxx... Checking patch Source/MediaStorageAndFileFormat/gdcmPixmapReader.cxx... Applied patch Source/DataStructureAndEncodingDefinition/gdcmElement.h cleanly. Applied patch Source/MediaStorageAndFileFormat/gdcmLookupTable.cxx cleanly. Applied patch Source/MediaStorageAndFileFormat/gdcmPixmapReader.cxx cleanly. + /usr/bin/git commit -q -m TALOS-2024-1924.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/TALOS-2024-1935.patch + /usr/bin/git apply --index --reject - Checking patch Source/MediaStorageAndFileFormat/gdcmImageChangeTransferSyntax.cxx... Checking patch Source/MediaStorageAndFileFormat/gdcmJPEG2000Codec.cxx... Applied patch Source/MediaStorageAndFileFormat/gdcmImageChangeTransferSyntax.cxx cleanly. Applied patch Source/MediaStorageAndFileFormat/gdcmJPEG2000Codec.cxx cleanly. + /usr/bin/git commit -q -m TALOS-2024-1935.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/TALOS-2024-1944.patch + /usr/bin/git apply --index --reject - Checking patch Source/MediaStorageAndFileFormat/gdcmRAWCodec.cxx... Applied patch Source/MediaStorageAndFileFormat/gdcmRAWCodec.cxx cleanly. + /usr/bin/git commit -q -m TALOS-2024-1944.patch --author 'rpm-build ' + cd /builddir/build/BUILD + cd GDCM-3.0.23 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gdcmData.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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.dXzE0o + umask 022 + cd /builddir/build/BUILD + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd GDCM-3.0.23 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + 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 anolis-linux-build -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_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_FULL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_FULL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=/var/lib -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -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=ON -DGDCM_DOCUMENTATION:BOOL=OFF -DGDCM_WRAP_PYTHON:BOOL=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 -DGDCM_INSTALL_PYTHONMODULE_DIR=/usr/lib64/python3.10/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 12.2.1 -- The C compiler identification is GNU 12.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 -- Found POPPLER: /usr/lib64/libpoppler.so -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.11.5") CMake Error at CMakeLists.txt:355 (find_package): By not providing "Findcharls.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "charls", but CMake did not find one. Could not find a package configuration file provided by "charls" (requested version 2.2.0) with any of the following names: charlsConfig.cmake charls-config.cmake Add the installation prefix of "charls" to CMAKE_PREFIX_PATH or set "charls_DIR" to a directory containing one of the above files. If "charls" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! error: Bad exit status from /var/tmp/rpm-tmp.dXzE0o (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.dXzE0o (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/gdcm.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, 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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/gdcm.spec