Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/scaleway-ecosystem.spec'], chrootPath='/var/lib/mock/centos-stream-9-x86_64-1643791263.520777/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9g0sxou2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9g0sxou2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '138c2d02d81747be9970eb27ec2245b2', '-D', '/var/lib/mock/centos-stream-9-x86_64-1643791263.520777/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9g0sxou2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/scaleway-ecosystem.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False sh: line 1: /usr/bin/python3: No such file or directory Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1642636800 Wrote: /builddir/build/SRPMS/scaleway-ecosystem-0.0.5-3.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/scaleway-ecosystem.spec'], chrootPath='/var/lib/mock/centos-stream-9-x86_64-1643791263.520777/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9g0sxou2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9g0sxou2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '44ae46a9638045bbb5ea7074665a69d4', '-D', '/var/lib/mock/centos-stream-9-x86_64-1643791263.520777/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9g0sxou2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/scaleway-ecosystem.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1642636800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xcuztd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scaleway-ecosystem-0.0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/scaleway-ecosystem-0.0.5.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd scaleway-ecosystem-0.0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (scaleway-ecosystem-vpc-force-scw-vpc-ifup-to-run-after-cloud-init-to-us.patch):' Patch #0 (scaleway-ecosystem-vpc-force-scw-vpc-ifup-to-run-after-cloud-init-to-us.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 patching file etc/NetworkManager/dispatcher.d/scw-metadata patching file lib/systemd/system/scw-vpc-iface@.service patching file usr/bin/scw-vpc-ifup.ifupdown patching file usr/bin/scw-vpc-ifup.netplan + echo 'Patch #1 (scaleway-ecosystem-vpc-Use-add-move-udev-hook-for-all-distros.patch):' Patch #1 (scaleway-ecosystem-vpc-Use-add-move-udev-hook-for-all-distros.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 patching file lib/udev/rules.d/72-scw-vpc-iface.rules (renamed from lib/udev/rules.d/72-scw-vpc-iface.rules.bullseye) patching file lib/udev/rules.d/72-scw-vpc-iface.rules.all + echo 'Patch #2 (scaleway-ecosystem-vpc-Let-netplan-complete-before-setting-route.patch):' Patch #2 (scaleway-ecosystem-vpc-Let-netplan-complete-before-setting-route.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 patching file usr/bin/scw-vpc-ifup.netplan + echo 'Patch #3 (scaleway-ecosystem-vpc-Drop-the-use-of-scw-metadata-in-scripts.patch):' Patch #3 (scaleway-ecosystem-vpc-Drop-the-use-of-scw-metadata-in-scripts.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 patching file etc/NetworkManager/dispatcher.d/scw-metadata patching file usr/bin/scw-vpc-ifup.ifupdown patching file usr/bin/scw-vpc-ifup.netplan + echo 'Patch #4 (scaleway-ecosystem-run_vpc_iface_service_after_NM.patch):' Patch #4 (scaleway-ecosystem-run_vpc_iface_service_after_NM.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 patching file lib/systemd/system/scw-vpc-iface@.service + echo 'Patch #5 (scaleway-ecosystem-vpc-remove-bindto-in-systemd-unit.patch):' Patch #5 (scaleway-ecosystem-vpc-remove-bindto-in-systemd-unit.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 patching file lib/systemd/system/scw-vpc-iface@.service + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sd6DeS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/scaleway-ecosystem-0.0.5-3.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/scaleway-ecosystem-0.0.5-3.x86_64 ++ dirname /builddir/build/BUILDROOT/scaleway-ecosystem-0.0.5-3.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/scaleway-ecosystem-0.0.5-3.x86_64 + cd scaleway-ecosystem-0.0.5 + cp -pr etc /builddir/build/BUILDROOT/scaleway-ecosystem-0.0.5-3.x86_64 + cp -pr usr /builddir/build/BUILDROOT/scaleway-ecosystem-0.0.5-3.x86_64 + cp -pr lib /builddir/build/BUILDROOT/scaleway-ecosystem-0.0.5-3.x86_64 + mv /builddir/build/BUILDROOT/scaleway-ecosystem-0.0.5-3.x86_64/usr/bin/scw-vpc-ifup.sysconfig /builddir/build/BUILDROOT/scaleway-ecosystem-0.0.5-3.x86_64/usr/bin/scw-vpc-ifup + mv /builddir/build/BUILDROOT/scaleway-ecosystem-0.0.5-3.x86_64/usr/bin/scw-vpc-ifdown.sysconfig /builddir/build/BUILDROOT/scaleway-ecosystem-0.0.5-3.x86_64/usr/bin/scw-vpc-ifdown + rm /builddir/build/BUILDROOT/scaleway-ecosystem-0.0.5-3.x86_64/usr/bin/scw-vpc-ifup.ifupdown /builddir/build/BUILDROOT/scaleway-ecosystem-0.0.5-3.x86_64/usr/bin/scw-vpc-ifup.netplan + rm /builddir/build/BUILDROOT/scaleway-ecosystem-0.0.5-3.x86_64/usr/bin/scw-vpc-ifdown.ifupdown /builddir/build/BUILDROOT/scaleway-ecosystem-0.0.5-3.x86_64/usr/bin/scw-vpc-ifdown.netplan + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/scw-vpc-ifdown from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/scw-vpc-ifup from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/scw-check-kernel from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/scw-metadata-json from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/scw-metadata from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/scw-update-scripts from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/scw-set-hostname from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/sbin/scw-sync-connect-extra-volumes from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/scw-fetch-ssh-keys from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/scw-nbd-disconnect-root from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/scw-sync-kernel-headers from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/scw-image-unit from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/scw-swapfile from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/scw-userdata from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/scw-nbd-disconnect-extra from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/scw-generate-ssh-keys from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/scw-signal-state from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/scw-server-tags from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/scw-sync-kernel-modules from /bin/bash to #!/usr/bin/bash mangling shebang in /etc/NetworkManager/dispatcher.d/scw-metadata from /bin/bash to #!/usr/bin/bash Processing files: scaleway-ecosystem-0.0.5-3.noarch Provides: scaleway-ecosystem = 0.0.5-3 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires: /usr/bin/bash /usr/bin/sh Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/scaleway-ecosystem-0.0.5-3.x86_64 Wrote: /builddir/build/RPMS/scaleway-ecosystem-0.0.5-3.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QTBQWz + umask 022 + cd /builddir/build/BUILD + cd scaleway-ecosystem-0.0.5 + rm -rf /builddir/build/BUILDROOT/scaleway-ecosystem-0.0.5-3.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0