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 x86_64 --nodeps /builddir/build/SPECS/fscryptctl.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-98853-6080/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=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/fscryptctl.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 warning: bogus date in %changelog: Tue Oct 02 2023 ConanYao 1.1.0 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/fscryptctl-1.1.0-1.ocs23.src.rpm RPM build warnings: bogus date in %changelog: Tue Oct 02 2023 ConanYao 1.1.0 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/fscryptctl.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-98853-6080/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=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/fscryptctl.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 warning: bogus date in %changelog: Tue Oct 02 2023 ConanYao 1.1.0 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hQpJ52 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fscryptctl-1.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fscryptctl-1.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd fscryptctl-1.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.6OnGuP + 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/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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc /builddir/build/BUILD/fscryptctl-1.1.0 + export CC + CXX=g++ + export CXX + cd fscryptctl-1.1.0 + pwd + ls -ll total 112 -rw-r--r--. 1 mockbuild mock 1876 Jan 31 2023 CONTRIBUTING.md -rw-r--r--. 1 mockbuild mock 11358 Jan 31 2023 LICENSE -rw-r--r--. 1 mockbuild mock 4471 Jan 31 2023 Makefile -rw-r--r--. 1 mockbuild mock 2517 Jan 31 2023 NEWS.md -rw-r--r--. 1 mockbuild mock 6912 Jan 31 2023 README.md -rw-r--r--. 1 mockbuild mock 6624 Jan 31 2023 fscrypt_uapi.h -rw-r--r--. 1 mockbuild mock 5813 Jan 31 2023 fscryptctl.1.md -rw-r--r--. 1 mockbuild mock 24525 Jan 31 2023 fscryptctl.c -rw-r--r--. 1 mockbuild mock 1601 Jan 31 2023 generate_test_key_identifiers.py -rwxr-xr-x. 1 mockbuild mock 355 Jan 31 2023 input_fail.py -rw-r--r--. 1 mockbuild mock 27573 Jan 31 2023 test.py + make fscryptctl gcc -o fscryptctl.o -c -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 fscryptctl.c gcc -o fscryptctl -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 fscryptctl.o + mkdir -p /builddir/build/BUILDROOT/fscryptctl-1.1.0-1.ocs23.x86_64/usr/bin/ + cp -p fscryptctl /builddir/build/BUILDROOT/fscryptctl-1.1.0-1.ocs23.x86_64/usr/bin/ + mkdir -p /builddir/build/BUILDROOT/fscryptctl-1.1.0-1.ocs23.x86_64/usr/local/bin/ + cp -p fscryptctl /builddir/build/BUILDROOT/fscryptctl-1.1.0-1.ocs23.x86_64/usr/local/bin/ + cd /builddir/build/BUILDROOT/fscryptctl-1.1.0-1.ocs23.x86_64/usr/bin/ /builddir/build/BUILDROOT/fscryptctl-1.1.0-1.ocs23.x86_64/usr/bin + pwd + ls -ll total 60 -rwxr-xr-x. 1 mockbuild mock 59600 Oct 9 13:01 fscryptctl /builddir/build/BUILDROOT/fscryptctl-1.1.0-1.ocs23.x86_64/usr/local/bin + cd /builddir/build/BUILDROOT/fscryptctl-1.1.0-1.ocs23.x86_64/usr/local/bin/ + pwd + ls -ll total 60 -rwxr-xr-x. 1 mockbuild mock 59600 Oct 9 13:01 fscryptctl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1jiAeI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fscryptctl-1.1.0-1.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fscryptctl-1.1.0-1.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/fscryptctl-1.1.0-1.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fscryptctl-1.1.0-1.ocs23.x86_64 + cd fscryptctl-1.1.0 /builddir/build/BUILD/fscryptctl-1.1.0 + pwd + make install-bin DESTDIR=/builddir/build/BUILDROOT/fscryptctl-1.1.0-1.ocs23.x86_64/usr/local/bin install -d /builddir/build/BUILDROOT/fscryptctl-1.1.0-1.ocs23.x86_64/usr/local/bin/usr/local/bin install -m755 fscryptctl /builddir/build/BUILDROOT/fscryptctl-1.1.0-1.ocs23.x86_64/usr/local/bin/usr/local/bin + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.1.0-1.ocs23 --unique-debug-suffix -1.1.0-1.ocs23.x86_64 --unique-debug-src-base fscryptctl-1.1.0-1.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/fscryptctl-1.1.0 extracting debug info from /builddir/build/BUILDROOT/fscryptctl-1.1.0-1.ocs23.x86_64/usr/local/bin/usr/local/bin/fscryptctl 61 blocks + /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 + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: fscryptctl-1.1.0-1.ocs23.x86_64 RPM build warnings: RPM build errors: error: File not found: /builddir/build/BUILDROOT/fscryptctl-1.1.0-1.ocs23.x86_64/usr/bin/fscryptctl bogus date in %changelog: Tue Oct 02 2023 ConanYao 1.1.0 File not found: /builddir/build/BUILDROOT/fscryptctl-1.1.0-1.ocs23.x86_64/usr/bin/fscryptctl Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/fscryptctl.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/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 x86_64 --nodeps /builddir/build/SPECS/fscryptctl.spec