Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-crush.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1686466768.864096/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-crush.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-crush-1.0.35-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-crush.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1686466768.864096/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-crush.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-crush-1.0.35-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-crush.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1686466768.864096/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-crush.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kEx0h9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf crush-1.0.35 + /usr/bin/gzip -dc /builddir/build/SOURCES/crush-1.0.35.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd crush-1.0.35 + /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.pyPLl5 + umask 022 + cd /builddir/build/BUILD + cd crush-1.0.35 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib/python3.9/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'pre-hook.build_post_hook' will not be supported in future versions. Please use the underscore name 'pre_hook.build_post_hook' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'post-hook.build_post_hook' will not be supported in future versions. Please use the underscore name 'post_hook.build_post_hook' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. warnings.warn( WARNING: The wheel package is not available. WARNING: The wheel package is not available. /usr/lib/python3.9/site-packages/setuptools/dist.py:51: DistDeprecationWarning: Do not call this function warnings.warn("Do not call this function", DistDeprecationWarning) /usr/lib/python3.9/site-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'pre-hook.build_post_hook' will not be supported in future versions. Please use the underscore name 'pre_hook.build_post_hook' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'post-hook.build_post_hook' will not be supported in future versions. Please use the underscore name 'post_hook.build_post_hook' instead warnings.warn( running build running build_py creating build creating build/lib.linux-aarch64-3.9 creating build/lib.linux-aarch64-3.9/crush copying crush/compare.py -> build/lib.linux-aarch64-3.9/crush copying crush/optimize.py -> build/lib.linux-aarch64-3.9/crush copying crush/analyze.py -> build/lib.linux-aarch64-3.9/crush copying crush/__init__.py -> build/lib.linux-aarch64-3.9/crush copying crush/main.py -> build/lib.linux-aarch64-3.9/crush creating build/lib.linux-aarch64-3.9/crush/ceph copying crush/ceph/convert.py -> build/lib.linux-aarch64-3.9/crush/ceph copying crush/ceph/__init__.py -> build/lib.linux-aarch64-3.9/crush/ceph running egg_info writing crush.egg-info/PKG-INFO writing dependency_links to crush.egg-info/dependency_links.txt writing requirements to crush.egg-info/requires.txt writing top-level names to crush.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt creating build/lib.linux-aarch64-3.9/crush/libcrush copying crush/libcrush/CMakeLists.txt -> build/lib.linux-aarch64-3.9/crush/libcrush copying crush/libcrush/ceph_read_write.cc -> build/lib.linux-aarch64-3.9/crush/libcrush copying crush/libcrush/ceph_read_write.h -> build/lib.linux-aarch64-3.9/crush/libcrush copying crush/libcrush/config-h.in.cmake -> build/lib.linux-aarch64-3.9/crush/libcrush copying crush/libcrush/libcrush.c -> build/lib.linux-aarch64-3.9/crush/libcrush copying crush/libcrush/libcrush.h -> build/lib.linux-aarch64-3.9/crush/libcrush copying crush/libcrush/module.c -> build/lib.linux-aarch64-3.9/crush/libcrush creating build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/Formatter.cc -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/Formatter.h -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/HTMLFormatter.cc -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/HTMLFormatter.h -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/armor.c -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/armor.h -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/buffer.cc -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/compiler_extensions.h -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/debug.h -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/deleter.h -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/errno.cc -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/errno.h -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/escape.c -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/escape.h -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/likely.h -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/mempool.cc -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/page.cc -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/safe_io.c -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/safe_io.h -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/simple_spin.h -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/strtol.cc -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/strtol.h -> build/lib.linux-aarch64-3.9/crush/libcrush/common copying crush/libcrush/common/valgrind.h -> build/lib.linux-aarch64-3.9/crush/libcrush/common creating build/lib.linux-aarch64-3.9/crush/libcrush/crush copying crush/libcrush/crush/CrushCompiler.cc -> build/lib.linux-aarch64-3.9/crush/libcrush/crush copying crush/libcrush/crush/CrushCompiler.h -> build/lib.linux-aarch64-3.9/crush/libcrush/crush copying crush/libcrush/crush/CrushTreeDumper.h -> build/lib.linux-aarch64-3.9/crush/libcrush/crush copying crush/libcrush/crush/CrushWrapper.cc -> build/lib.linux-aarch64-3.9/crush/libcrush/crush copying crush/libcrush/crush/CrushWrapper.h -> build/lib.linux-aarch64-3.9/crush/libcrush/crush copying crush/libcrush/crush/CrushWrapper.i -> build/lib.linux-aarch64-3.9/crush/libcrush/crush copying crush/libcrush/crush/builder.c -> build/lib.linux-aarch64-3.9/crush/libcrush/crush copying crush/libcrush/crush/builder.h -> build/lib.linux-aarch64-3.9/crush/libcrush/crush copying crush/libcrush/crush/crush.c -> build/lib.linux-aarch64-3.9/crush/libcrush/crush copying crush/libcrush/crush/crush.h -> build/lib.linux-aarch64-3.9/crush/libcrush/crush copying crush/libcrush/crush/crush_compat.h -> build/lib.linux-aarch64-3.9/crush/libcrush/crush copying crush/libcrush/crush/crush_ln_table.h -> build/lib.linux-aarch64-3.9/crush/libcrush/crush copying crush/libcrush/crush/grammar.h -> build/lib.linux-aarch64-3.9/crush/libcrush/crush copying crush/libcrush/crush/hash.c -> build/lib.linux-aarch64-3.9/crush/libcrush/crush copying crush/libcrush/crush/hash.h -> build/lib.linux-aarch64-3.9/crush/libcrush/crush copying crush/libcrush/crush/mapper.c -> build/lib.linux-aarch64-3.9/crush/libcrush/crush copying crush/libcrush/crush/mapper.h -> build/lib.linux-aarch64-3.9/crush/libcrush/crush copying crush/libcrush/crush/types.h -> build/lib.linux-aarch64-3.9/crush/libcrush/crush creating build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/Spinlock.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/atomic.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/buffer.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/buffer_fwd.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/byteorder.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/ceph_features.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/compat.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/demangle.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/denc.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/encoding.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/err.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/hash.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/inline_memory.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/int_types.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/intarith.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/memory.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/mempool.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/page.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/stringify.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/types.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/unordered_map.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include copying crush/libcrush/include/unordered_set.h -> build/lib.linux-aarch64-3.9/crush/libcrush/include creating build/lib.linux-aarch64-3.9/crush/libcrush/placeholders copying crush/libcrush/placeholders/ceph_context.h -> build/lib.linux-aarch64-3.9/crush/libcrush/placeholders creating build/lib.linux-aarch64-3.9/crush/libcrush/placeholders/common copying crush/libcrush/placeholders/common/dout.h -> build/lib.linux-aarch64-3.9/crush/libcrush/placeholders/common creating build/lib.linux-aarch64-3.9/crush/libcrush/placeholders/include copying crush/libcrush/placeholders/include/assert.h -> build/lib.linux-aarch64-3.9/crush/libcrush/placeholders/include running build_ext running pre_hook setup._setup_hooks.build_pre_hook for command build_ext + rm -fr build/tmp + mkdir -p build/tmp + cd build/tmp + cmake ../../crush/libcrush sh: line 4: cmake: command not found building 'crush.libcrush' extension creating build/temp.linux-aarch64-3.9 creating build/temp.linux-aarch64-3.9/crush creating build/temp.linux-aarch64-3.9/crush/libcrush creating build/temp.linux-aarch64-3.9/crush/libcrush/common creating build/temp.linux-aarch64-3.9/crush/libcrush/crush gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D__STANDALONE_CRUSH__ -I/usr/include/boost148 -Icrush/libcrush -Icrush/libcrush/crush -Icrush/libcrush/placeholders -I/usr/include/python3.9 -c crush/libcrush/ceph_read_write.cc -o build/temp.linux-aarch64-3.9/crush/libcrush/ceph_read_write.o -std=c++11 In file included from crush/libcrush/common/Formatter.h:6, from crush/libcrush/ceph_read_write.cc:6: crush/libcrush/include/int_types.h:4:10: fatal error: acconfig.h: No such file or directory 4 | #include "acconfig.h" | ^~~~~~~~~~~~ compilation terminated. error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /var/tmp/rpm-tmp.pyPLl5 (%build) Bad exit status from /var/tmp/rpm-tmp.pyPLl5 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-crush.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 --target aarch64 --nodeps /builddir/build/SPECS/python-crush.spec