Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/ts-bootc.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-362222-43455/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/ts-bootc.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 Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/ts-bootc-0.1.0-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/ts-bootc.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-362222-43455/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/ts-bootc.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 Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7oyzSr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ts-bootc-0.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ts-bootc-0.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ts-bootc-0.1.0 + /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.47aSuQ + umask 022 + cd /builddir/build/BUILD + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ts-bootc-0.1.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sHloKo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch + cd ts-bootc-0.1.0 + rm -rf /builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch + install -D -m 0755 ts-bootc /builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch/usr/bin/ts-bootc + install -D -m 0644 ts-bootc-lib.sh /builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch/usr/lib/ts-bootc/ts-bootc-lib.sh + install -d /builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch/usr/libexec/ts-bootc + install -m 0755 ts-bootc-install.sh /builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch/usr/libexec/ts-bootc/ts-bootc-install.sh + install -m 0755 ts-bootc-upgrade.sh /builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch/usr/libexec/ts-bootc/ts-bootc-upgrade.sh + install -m 0755 ts-bootc-rollback.sh /builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch/usr/libexec/ts-bootc/ts-bootc-rollback.sh + install -m 0755 ts-bootc-status.sh /builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch/usr/libexec/ts-bootc/ts-bootc-status.sh + install -m 0755 ts-bootc-health-monitor.sh /builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch/usr/libexec/ts-bootc/ts-bootc-health-monitor.sh + install -m 0755 ts-bootc-setup-etc-overlay.sh /builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch/usr/libexec/ts-bootc/ts-bootc-setup-etc-overlay.sh + install -m 0755 ts-bootc-install-to-qcow2.sh /builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch/usr/libexec/ts-bootc/ts-bootc-install-to-qcow2.sh + install -m 0755 ts-bootc-install-to-iso.sh /builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch/usr/libexec/ts-bootc/ts-bootc-install-to-iso.sh + install -D -m 0644 ts-bootc-readonly-root.service '/builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch%{_unitdir}/ts-bootc-readonly-root.service' + install -D -m 0644 ts-bootc-health-monitor.service '/builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch%{_unitdir}/ts-bootc-health-monitor.service' + install -D -m 0644 ts-bootc.conf.example /builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch/etc/ts-bootc.conf.example + install -d /builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch/var/etc-overlay/upper + install -d /builddir/build/BUILDROOT/ts-bootc-0.1.0-1.ocs23.noarch/var/etc-overlay/work + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.1.0-1.ocs23 --unique-debug-suffix -0.1.0-1.ocs23.noarch --unique-debug-src-base ts-bootc-0.1.0-1.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/ts-bootc-0.1.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/bin/ts-bootc from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/libexec/ts-bootc/ts-bootc-install-to-iso.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/libexec/ts-bootc/ts-bootc-setup-etc-overlay.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/libexec/ts-bootc/ts-bootc-rollback.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/libexec/ts-bootc/ts-bootc-install-to-qcow2.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/libexec/ts-bootc/ts-bootc-install.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/libexec/ts-bootc/ts-bootc-status.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/libexec/ts-bootc/ts-bootc-upgrade.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/libexec/ts-bootc/ts-bootc-health-monitor.sh from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: ts-bootc-0.1.0-1.ocs23.noarch RPM build errors: error: File must begin with "/": %{_unitdir}/ts-bootc-readonly-root.service error: File must begin with "/": %{_unitdir}/ts-bootc-health-monitor.service File must begin with "/": %{_unitdir}/ts-bootc-readonly-root.service File must begin with "/": %{_unitdir}/ts-bootc-health-monitor.service Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/ts-bootc.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 597, 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 --noclean --target noarch --nodeps /builddir/build/SPECS/ts-bootc.spec