Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-rdiff-backup.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1683314134.130530/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-rdiff-backup.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-rdiff-backup-2.2.4-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-rdiff-backup.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1683314134.130530/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-rdiff-backup.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-rdiff-backup-2.2.4-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-rdiff-backup.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1683314134.130530/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-rdiff-backup.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.1aBKU2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rdiff-backup-2.2.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/rdiff-backup-2.2.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rdiff-backup-2.2.4 + /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.N6FUMC + umask 022 + cd /builddir/build/BUILD + cd rdiff-backup-2.2.4 + 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/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. WARNING: The wheel package is not available. WARNING: The wheel package is not available. running build running build_py running pre_build_exec running pre_build_templates templating tools/rdiff-backup.spec.template -> build/rdiff-backup.spec creating build templating tools/rdiff-backup.spec.template-fedora -> build/rdiff-backup.fedora.spec creating build/lib.linux-aarch64-3.9 creating build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/SetConnections.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/FilenameMapping.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/manage.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/eas_acls.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/__init__.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/restore.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/longname.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/connection.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/hash.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/selection.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/compare.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/Security.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/regress.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/backup.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/user_group.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/log.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/rorpiter.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/run_stats.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/Rdiff.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/Main.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/Time.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/run_delete.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/win_acls.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/iterfile.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/rpath.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/increment.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/Globals.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/statistics.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/Hardlink.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/robust.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/librsync.py -> build/lib.linux-aarch64-3.9/rdiff_backup copying src/rdiff_backup/fs_abilities.py -> build/lib.linux-aarch64-3.9/rdiff_backup creating build/lib.linux-aarch64-3.9/rdiffbackup copying src/rdiffbackup/__init__.py -> build/lib.linux-aarch64-3.9/rdiffbackup copying src/rdiffbackup/actions_mgr.py -> build/lib.linux-aarch64-3.9/rdiffbackup copying src/rdiffbackup/arguments.py -> build/lib.linux-aarch64-3.9/rdiffbackup copying src/rdiffbackup/run.py -> build/lib.linux-aarch64-3.9/rdiffbackup copying src/rdiffbackup/meta_mgr.py -> build/lib.linux-aarch64-3.9/rdiffbackup creating build/lib.linux-aarch64-3.9/rdiffbackup/actions copying src/rdiffbackup/actions/list_.py -> build/lib.linux-aarch64-3.9/rdiffbackup/actions copying src/rdiffbackup/actions/__init__.py -> build/lib.linux-aarch64-3.9/rdiffbackup/actions copying src/rdiffbackup/actions/restore.py -> build/lib.linux-aarch64-3.9/rdiffbackup/actions copying src/rdiffbackup/actions/compare.py -> build/lib.linux-aarch64-3.9/rdiffbackup/actions copying src/rdiffbackup/actions/verify.py -> build/lib.linux-aarch64-3.9/rdiffbackup/actions copying src/rdiffbackup/actions/regress.py -> build/lib.linux-aarch64-3.9/rdiffbackup/actions copying src/rdiffbackup/actions/server.py -> build/lib.linux-aarch64-3.9/rdiffbackup/actions copying src/rdiffbackup/actions/backup.py -> build/lib.linux-aarch64-3.9/rdiffbackup/actions copying src/rdiffbackup/actions/remove.py -> build/lib.linux-aarch64-3.9/rdiffbackup/actions copying src/rdiffbackup/actions/test.py -> build/lib.linux-aarch64-3.9/rdiffbackup/actions copying src/rdiffbackup/actions/calculate.py -> build/lib.linux-aarch64-3.9/rdiffbackup/actions copying src/rdiffbackup/actions/info.py -> build/lib.linux-aarch64-3.9/rdiffbackup/actions copying src/rdiffbackup/actions/complete.py -> build/lib.linux-aarch64-3.9/rdiffbackup/actions creating build/lib.linux-aarch64-3.9/rdiffbackup/utils copying src/rdiffbackup/utils/simpleps.py -> build/lib.linux-aarch64-3.9/rdiffbackup/utils copying src/rdiffbackup/utils/__init__.py -> build/lib.linux-aarch64-3.9/rdiffbackup/utils copying src/rdiffbackup/utils/plugins.py -> build/lib.linux-aarch64-3.9/rdiffbackup/utils copying src/rdiffbackup/utils/locking.py -> build/lib.linux-aarch64-3.9/rdiffbackup/utils copying src/rdiffbackup/utils/quoting.py -> build/lib.linux-aarch64-3.9/rdiffbackup/utils copying src/rdiffbackup/utils/usrgrp.py -> build/lib.linux-aarch64-3.9/rdiffbackup/utils copying src/rdiffbackup/utils/safestr.py -> build/lib.linux-aarch64-3.9/rdiffbackup/utils copying src/rdiffbackup/utils/argopts.py -> build/lib.linux-aarch64-3.9/rdiffbackup/utils creating build/lib.linux-aarch64-3.9/rdiffbackup/meta copying src/rdiffbackup/meta/acl_posix.py -> build/lib.linux-aarch64-3.9/rdiffbackup/meta copying src/rdiffbackup/meta/__init__.py -> build/lib.linux-aarch64-3.9/rdiffbackup/meta copying src/rdiffbackup/meta/ea.py -> build/lib.linux-aarch64-3.9/rdiffbackup/meta copying src/rdiffbackup/meta/acl_win.py -> build/lib.linux-aarch64-3.9/rdiffbackup/meta copying src/rdiffbackup/meta/stdattr.py -> build/lib.linux-aarch64-3.9/rdiffbackup/meta creating build/lib.linux-aarch64-3.9/rdiffbackup/locations copying src/rdiffbackup/locations/_repo_shadow.py -> build/lib.linux-aarch64-3.9/rdiffbackup/locations copying src/rdiffbackup/locations/__init__.py -> build/lib.linux-aarch64-3.9/rdiffbackup/locations copying src/rdiffbackup/locations/directory.py -> build/lib.linux-aarch64-3.9/rdiffbackup/locations copying src/rdiffbackup/locations/repository.py -> build/lib.linux-aarch64-3.9/rdiffbackup/locations copying src/rdiffbackup/locations/_dir_shadow.py -> build/lib.linux-aarch64-3.9/rdiffbackup/locations copying src/rdiffbackup/locations/fs_abilities.py -> build/lib.linux-aarch64-3.9/rdiffbackup/locations creating build/lib.linux-aarch64-3.9/rdiffbackup/locations/map copying src/rdiffbackup/locations/map/__init__.py -> build/lib.linux-aarch64-3.9/rdiffbackup/locations/map copying src/rdiffbackup/locations/map/owners.py -> build/lib.linux-aarch64-3.9/rdiffbackup/locations/map copying src/rdiffbackup/locations/map/filenames.py -> build/lib.linux-aarch64-3.9/rdiffbackup/locations/map copying src/rdiffbackup/locations/map/hardlinks.py -> build/lib.linux-aarch64-3.9/rdiffbackup/locations/map copying src/rdiffbackup/locations/map/longnames.py -> build/lib.linux-aarch64-3.9/rdiffbackup/locations/map running egg_info writing src/rdiff_backup.egg-info/PKG-INFO writing dependency_links to src/rdiff_backup.egg-info/dependency_links.txt writing entry points to src/rdiff_backup.egg-info/entry_points.txt writing requirements to src/rdiff_backup.egg-info/requires.txt writing top-level names to src/rdiff_backup.egg-info/top_level.txt reading manifest file 'src/rdiff_backup.egg-info/SOURCES.txt' adding license file 'COPYING' writing manifest file 'src/rdiff_backup.egg-info/SOURCES.txt' running build_ext building 'rdiff_backup.C' extension creating build/temp.linux-aarch64-3.9 creating build/temp.linux-aarch64-3.9/src 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 -I/usr/include/python3.9 -c src/cmodule.c -o build/temp.linux-aarch64-3.9/src/cmodule.o gcc -shared -g -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -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 build/temp.linux-aarch64-3.9/src/cmodule.o -L/usr/lib64 -o build/lib.linux-aarch64-3.9/rdiff_backup/C.cpython-39-aarch64-linux-gnu.so building 'rdiff_backup._librsync' extension 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 -I/usr/include/python3.9 -c src/_librsyncmodule.c -o build/temp.linux-aarch64-3.9/src/_librsyncmodule.o src/_librsyncmodule.c:25:10: fatal error: librsync.h: No such file or directory 25 | #include | ^~~~~~~~~~~~ compilation terminated. error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /var/tmp/rpm-tmp.N6FUMC (%build) Bad exit status from /var/tmp/rpm-tmp.N6FUMC (%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-rdiff-backup.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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-rdiff-backup.spec