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/cryptsetup.spec'], chrootPath='/var/lib/mock/dist-an23-build-351645-70932/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/cryptsetup.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=1706572800 Wrote: /builddir/build/SRPMS/cryptsetup-2.7.0-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/cryptsetup.spec'], chrootPath='/var/lib/mock/dist-an23-build-351645-70932/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/cryptsetup.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=1706572800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LyxD9B + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cryptsetup-2.7.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cryptsetup-2.7.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd cryptsetup-2.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8eDtcY + 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 cryptsetup-2.7.0 + 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/meson setup --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 . anolis-linux-build -Dcrypto-backend=openssl -Dfips=true -Dpwquality=true Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mesonbuild/dependencies/detect.py", line 113, in find_external_dependency d = c() File "/usr/lib/python3.10/site-packages/mesonbuild/dependencies/misc.py", line 600, in cmake_class=lambda name, env, kwargs: CMakeDependency('OpenSSL', env, dict(kwargs, modules=['OpenSSL::Crypto'])), File "/usr/lib/python3.10/site-packages/mesonbuild/dependencies/cmake.py", line 127, in __init__ raise DependencyException(msg) mesonbuild.dependencies.base.DependencyException: CMake binary for machine 1 not found. Giving up. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mesonbuild/mesonmain.py", line 194, in run return options.run_func(options) File "/usr/lib/python3.10/site-packages/mesonbuild/msetup.py", line 318, in run app.generate() File "/usr/lib/python3.10/site-packages/mesonbuild/msetup.py", line 194, in generate self._generate(env) File "/usr/lib/python3.10/site-packages/mesonbuild/msetup.py", line 239, in _generate intr.run() File "/usr/lib/python3.10/site-packages/mesonbuild/interpreter/interpreter.py", line 2971, in run super().run() File "/usr/lib/python3.10/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 164, in run self.evaluate_codeblock(self.ast, start=1) File "/usr/lib/python3.10/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 190, in evaluate_codeblock raise e File "/usr/lib/python3.10/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 182, in evaluate_codeblock self.evaluate_statement(cur) File "/usr/lib/python3.10/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 206, in evaluate_statement return self.evaluate_if(cur) File "/usr/lib/python3.10/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 301, in evaluate_if self.evaluate_codeblock(i.block) File "/usr/lib/python3.10/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 190, in evaluate_codeblock raise e File "/usr/lib/python3.10/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 182, in evaluate_codeblock self.evaluate_statement(cur) File "/usr/lib/python3.10/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 198, in evaluate_statement self.assignment(cur) File "/usr/lib/python3.10/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 635, in assignment value = self.evaluate_statement(node.value) File "/usr/lib/python3.10/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 196, in evaluate_statement return self.function_call(cur) File "/usr/lib/python3.10/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 521, in function_call res = func(node, func_args, kwargs) File "/usr/lib/python3.10/site-packages/mesonbuild/interpreterbase/decorators.py", line 791, in wrapped return f(*wrapped_args, **wrapped_kwargs) File "/usr/lib/python3.10/site-packages/mesonbuild/interpreterbase/decorators.py", line 791, in wrapped return f(*wrapped_args, **wrapped_kwargs) File "/usr/lib/python3.10/site-packages/mesonbuild/interpreterbase/decorators.py", line 791, in wrapped return f(*wrapped_args, **wrapped_kwargs) [Previous line repeated 5 more times] File "/usr/lib/python3.10/site-packages/mesonbuild/interpreterbase/decorators.py", line 109, in wrapped ret = f(*wrapped_args, **wrapped_kwargs) File "/usr/lib/python3.10/site-packages/mesonbuild/interpreterbase/decorators.py", line 127, in wrapped return f(*wrapped_args, **wrapped_kwargs) File "/usr/lib/python3.10/site-packages/mesonbuild/interpreterbase/decorators.py", line 277, in wrapper return f(*nargs, **wrapped_kwargs) File "/usr/lib/python3.10/site-packages/mesonbuild/interpreter/interpreter.py", line 1756, in func_dependency d = df.lookup(kwargs) File "/usr/lib/python3.10/site-packages/mesonbuild/interpreter/dependencyfallbacks.py", line 354, in lookup dep = func(kwargs, func_args, func_kwargs) File "/usr/lib/python3.10/site-packages/mesonbuild/interpreter/dependencyfallbacks.py", line 87, in _do_dependency dep = dependencies.find_external_dependency(name, self.environment, kwargs) File "/usr/lib/python3.10/site-packages/mesonbuild/dependencies/detect.py", line 118, in find_external_dependency bettermsg = f'Dependency lookup for {name} with method {c.func.log_tried()!r} failed: {e}' AttributeError: 'function' object has no attribute 'log_tried' The Meson build system Version: 1.1.1 Source dir: /builddir/build/BUILD/cryptsetup-2.7.0 Build dir: /builddir/build/BUILD/cryptsetup-2.7.0/anolis-linux-build Build type: native build Project name: cryptsetup Project version: 2.7.0 C compiler for the host machine: gcc (gcc 12.2.1 "gcc (GCC) 12.2.1 20221121 (Anolis OS 12.2.1-7)") C linker for the host machine: gcc ld.bfd 2.40-3 Host machine cpu family: aarch64 Host machine cpu: aarch64 meson.build:16: WARNING: meson build system support for cryptsetup is considered experimental at the moment Program echo found: YES (/usr/bin/echo) Has header "byteswap.h" : YES Has header "ctype.h" : YES Has header "endian.h" : YES Has header "fcntl.h" : YES Has header "inttypes.h" : YES Has header "locale.h" : YES Has header "malloc.h" : YES Has header "stdint.h" : YES Has header "sys/ioctl.h" : YES Has header "sys/mman.h" : YES Has header "sys/statvfs.h" : YES Has header "sys/sysmacros.h" : YES Has header "uchar.h" : YES Has header "unistd.h" : YES Header "fcntl.h" has symbol "O_CLOEXEC" : YES Program asciidoctor found: YES (/usr/bin/asciidoctor) Has header "linux/keyctl.h" : YES Header "syscall.h" has symbol "__NR_add_key" : YES Header "syscall.h" has symbol "__NR_keyctl" : YES Header "syscall.h" has symbol "__NR_request_key" : YES Found pkg-config: /usr/bin/pkg-config (1.8.1) Run-time dependency uuid found: YES 2.38.1 Checking for function "uuid_clear" with dependency uuid: YES Checking for function "clock_gettime" : YES Checking for function "posix_memalign" : YES Checking for function "posix_fallocate" : YES Checking for function "explicit_bzero" : YES Checking for function "dlsym" : YES Checking for function "dlvsym" : YES Library popt found: YES Checking for function "poptConfigFileToString" with dependency -lpopt: YES Run-time dependency pwquality found: YES 1.4.5 Run-time dependency devmapper found: YES 1.02.195 Checking for function "dm_device_get_name" with dependency devmapper: YES Checking for function "dm_device_has_holders" with dependency devmapper: YES Checking for function "dm_device_has_mounted_fs" with dependency devmapper: YES Checking for function "dm_task_deferred_remove" with dependency devmapper: YES Checking for function "dm_task_retry_remove" with dependency devmapper: YES Checking for function "dm_task_secure_data" with dependency devmapper: YES Header "libdevmapper.h" has symbol "DM_DEVICE_GET_TARGET_VERSION" with dependency devmapper: YES Header "libdevmapper.h" has symbol "DM_UDEV_DISABLE_DISK_RULES_FLAG" with dependency devmapper: YES Header "libdevmapper.h" has symbol "DM_UDEV_DISABLE_DISK_RULES_FLAG" with dependency devmapper: YES (cached) Run-time dependency json-c found: YES 0.16 Checking for function "json_object_object_add_ex" with dependency json-c: YES Checking for function "json_object_deep_copy" with dependency json-c: YES Checking for function "argp_parse" : YES Run-time dependency libssh found: YES 0.10.6 Checking for function "ssh_session_is_known_server" with dependency libssh: YES Has header "linux/if_alg.h" : YES Did not find CMake 'cmake' Found CMake: NO meson.build:506:29: ERROR: Unhandled python exception This is a Meson bug and should be reported! error: Bad exit status from /var/tmp/rpm-tmp.8eDtcY (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.8eDtcY (%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/cryptsetup.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/cryptsetup.spec