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/fedora-rawhide-x86_64-1643791262.818978/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.q84ek2wd:/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.q84ek2wd:/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', '051d1e6060a14ab09bfd120d1748b5e3', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1643791262.818978/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q84ek2wd:/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/fedora-rawhide-x86_64-1643791262.818978/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.q84ek2wd:/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.q84ek2wd:/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', '50790df1286e413e80a4c4e4eb249507', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1643791262.818978/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q84ek2wd:/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.0xqXfB + 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 . Patch #0 (scaleway-ecosystem-vpc-force-scw-vpc-ifup-to-run-after-cloud-init-to-us.patch): + echo 'Patch #0 (scaleway-ecosystem-vpc-force-scw-vpc-ifup-to-run-after-cloud-init-to-us.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 Patch #1 (scaleway-ecosystem-vpc-Use-add-move-udev-hook-for-all-distros.patch): + echo 'Patch #1 (scaleway-ecosystem-vpc-Use-add-move-udev-hook-for-all-distros.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 Patch #2 (scaleway-ecosystem-vpc-Let-netplan-complete-before-setting-route.patch): + echo 'Patch #2 (scaleway-ecosystem-vpc-Let-netplan-complete-before-setting-route.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file usr/bin/scw-vpc-ifup.netplan Patch #3 (scaleway-ecosystem-vpc-Drop-the-use-of-scw-metadata-in-scripts.patch): + echo 'Patch #3 (scaleway-ecosystem-vpc-Drop-the-use-of-scw-metadata-in-scripts.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 Patch #4 (scaleway-ecosystem-run_vpc_iface_service_after_NM.patch): + echo 'Patch #4 (scaleway-ecosystem-run_vpc_iface_service_after_NM.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file lib/systemd/system/scw-vpc-iface@.service Patch #5 (scaleway-ecosystem-vpc-remove-bindto-in-systemd-unit.patch): + echo 'Patch #5 (scaleway-ecosystem-vpc-remove-bindto-in-systemd-unit.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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.kQs02C + 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 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/scaleway-ecosystem-0.0.5/.package_note-scaleway-ecosystem-0.0.5-3.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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/check-rpaths + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink 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.URiI8F + 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