Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cloud-init-vmware-guestinfo.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1651816601.881173/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.4llslt_o:/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.4llslt_o:/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', '994aafd760c84c52a040540d57d247a5', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1651816601.881173/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4llslt_o:/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/cloud-init-vmware-guestinfo.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', 'SYSTEMD_SECCOMP': '0'} and shell False basename: missing operand Try 'basename --help' for more information. Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/cloud-init-vmware-guestinfo-1.4.1-1.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/cloud-init-vmware-guestinfo.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1651816601.881173/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.4llslt_o:/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.4llslt_o:/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', '65f11713e24c48309028c9bf9c0f3b85', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1651816601.881173/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4llslt_o:/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/cloud-init-vmware-guestinfo.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', 'SYSTEMD_SECCOMP': '0'} and shell False basename: missing operand Try 'basename --help' for more information. Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AbuQJu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cloud-init-vmware-guestinfo-1.4.1 + /usr/bin/mkdir -p cloud-init-vmware-guestinfo-1.4.1 + cd cloud-init-vmware-guestinfo-1.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cp /builddir/build/SOURCES/LICENSE /builddir/build/SOURCES/README.md . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rfAY8s + umask 022 + cd /builddir/build/BUILD + cd cloud-init-vmware-guestinfo-1.4.1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kM2PLt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cloud-init-vmware-guestinfo-1.4.1-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cloud-init-vmware-guestinfo-1.4.1-1.x86_64 ++ dirname /builddir/build/BUILDROOT/cloud-init-vmware-guestinfo-1.4.1-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cloud-init-vmware-guestinfo-1.4.1-1.x86_64 + cd cloud-init-vmware-guestinfo-1.4.1 + rm -rf /builddir/build/BUILDROOT/cloud-init-vmware-guestinfo-1.4.1-1.x86_64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cloud-init-vmware-guestinfo-1.4.1-1.x86_64/etc/cloud/cloud.cfg.d /builddir/build/BUILDROOT/cloud-init-vmware-guestinfo-1.4.1-1.x86_64/usr/lib/python2.7/site-packages/cloudinit/sources /builddir/build/BUILDROOT/cloud-init-vmware-guestinfo-1.4.1-1.x86_64/usr/bin + /usr/bin/install /builddir/build/SOURCES/99-DataSourceVMwareGuestInfo.cfg /builddir/build/BUILDROOT/cloud-init-vmware-guestinfo-1.4.1-1.x86_64/etc/cloud/cloud.cfg.d/ + /usr/bin/install /builddir/build/SOURCES/DataSourceVMwareGuestInfo.py /builddir/build/BUILDROOT/cloud-init-vmware-guestinfo-1.4.1-1.x86_64/usr/lib/python2.7/site-packages/cloudinit/sources/ + /usr/bin/install /builddir/build/SOURCES/dscheck_VMwareGuestInfo.sh /builddir/build/BUILDROOT/cloud-init-vmware-guestinfo-1.4.1-1.x86_64/usr/bin/dscheck_VMwareGuestInfo + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.4.1-1 --unique-debug-suffix -1.4.1-1.x86_64 --unique-debug-src-base cloud-init-vmware-guestinfo-1.4.1-1.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/cloud-init-vmware-guestinfo-1.4.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/cloud-init-vmware-guestinfo-1.4.1-1.x86_64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/cloud-init-vmware-guestinfo-1.4.1-1.x86_64/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/lib/python2.7/site-packages/cloudinit/sources/DataSourceVMwareGuestInfo.py is executable but has no shebang, removing executable bit *** WARNING: ./etc/cloud/cloud.cfg.d/99-DataSourceVMwareGuestInfo.cfg is executable but has no shebang, removing executable bit Processing files: cloud-init-vmware-guestinfo-1.4.1-1.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xvGnkv + umask 022 + cd /builddir/build/BUILD + cd cloud-init-vmware-guestinfo-1.4.1 + DOCDIR=/builddir/build/BUILDROOT/cloud-init-vmware-guestinfo-1.4.1-1.x86_64/usr/share/doc/cloud-init-vmware-guestinfo + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cloud-init-vmware-guestinfo-1.4.1-1.x86_64/usr/share/doc/cloud-init-vmware-guestinfo + cp -pr README.md /builddir/build/BUILDROOT/cloud-init-vmware-guestinfo-1.4.1-1.x86_64/usr/share/doc/cloud-init-vmware-guestinfo + exit 0 Provides: cloud-init-vmware-guestinfo = 0:1.4.1-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cloud-init-vmware-guestinfo-1.4.1-1.x86_64 Wrote: /builddir/build/RPMS/cloud-init-vmware-guestinfo-1.4.1-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0g8viv + umask 022 + cd /builddir/build/BUILD + cd cloud-init-vmware-guestinfo-1.4.1 + rm -rf /builddir/build/BUILDROOT/cloud-init-vmware-guestinfo-1.4.1-1.x86_64 + exit 0 Child return code was: 0