Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/fscrypt.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-282990-27030/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.goyurzvd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.goyurzvd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'c76b2c5ab0e54bb08f9342c2519d162a', '-D', '/home/lib/mock/dist-ocs23-base-build-282990-27030/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.goyurzvd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/fscrypt.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 Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/fscrypt-0.3.5-1.1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/fscrypt.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-282990-27030/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.goyurzvd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.goyurzvd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'e182808b83ef4b93bab76a23b9dfa479', '-D', '/home/lib/mock/dist-ocs23-base-build-282990-27030/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.goyurzvd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/fscrypt.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 Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ootnqb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fscrypt-0.3.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fscrypt-0.3.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd fscrypt-0.3.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/vendor.tar.gz + STATUS=0 + '[' 0 -ne 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.pIsJZn + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 + export CC + CXX=g++ + export CXX + cd fscrypt-0.3.5 + cp -ra vendor/go.mod go.mod + cp -ra vendor/go.sum go.sum + /usr/bin/make -O -j32 V=1 VERBOSE=1 'GO_FLAGS=-mod=vendor -buildmode=pie' PAM_MODULE_DIR=/usr/lib64/security PREFIX=/usr fatal: not a git repository (or any of the parent directories): .git which: no protoc in (bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin) go build -mod=vendor -buildmode=pie --ldflags '-s -w -X "main.version=v0.3.5" -extldflags "-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1"' -trimpath -o bin/fscrypt ./cmd/fscrypt go build -mod=vendor -buildmode=pie --ldflags '-s -w -X "main.version=v0.3.5" -extldflags "-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1"' -trimpath -buildmode=c-shared -o bin/pam_fscrypt.so ./pam_fscrypt rm -f bin/pam_fscrypt.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XFAIai + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64 + cd fscrypt-0.3.5 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' 'GO_FLAGS=-mod=vendor -buildmode=pie' PAM_MODULE_DIR=/usr/lib64/security PREFIX=/usr fatal: not a git repository (or any of the parent directories): .git which: no protoc in (bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin) install -d /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/bin install bin/fscrypt /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/bin install -d /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/lib64/security install bin/pam_fscrypt.so /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/lib64/security m4 --define=PAM_INSTALL_PATH=/usr/lib64/security/pam_fscrypt.so < pam_fscrypt/config > bin/config install -d /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/share/pam-configs install bin/config /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/share/pam-configs/fscrypt install -Dm644 cmd/fscrypt/fscrypt_bash_completion /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/share/bash-completion/completions/fscrypt + rm -rvf /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/share/pam-configs removed '/builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/share/pam-configs/fscrypt' removed directory '/builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/share/pam-configs' + install -D -m 644 /builddir/build/SOURCES/fscrypt.pam /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/share/pam.d/fscrypt + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/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/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: fscrypt-0.3.5-1.1.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pU4gps + umask 022 + cd /builddir/build/BUILD + cd fscrypt-0.3.5 + DOCDIR=/builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/share/doc/fscrypt + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/share/doc/fscrypt + cp -pr README.md /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/share/doc/fscrypt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.mtS9fc + umask 022 + cd /builddir/build/BUILD + cd fscrypt-0.3.5 + LICENSEDIR=/builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/share/licenses/fscrypt + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/share/licenses/fscrypt + cp -pr LICENSE /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/share/licenses/fscrypt + RPM_EC=0 ++ jobs -p + exit 0 Provides: fscrypt = 0.3.5-1.1.ocs23 fscrypt(loongarch-64) = 0.3.5-1.1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libpam.so.0(LIBPAM_EXTENSION_1.0)(64bit) rtld(GNU_HASH) Processing files: pam-fscrypt-0.3.5-1.1.ocs23.loongarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xLu1S3 + umask 022 + cd /builddir/build/BUILD + cd fscrypt-0.3.5 + LICENSEDIR=/builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/share/licenses/pam-fscrypt + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/share/licenses/pam-fscrypt + cp -pr LICENSE /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64/usr/share/licenses/pam-fscrypt + RPM_EC=0 ++ jobs -p + exit 0 Provides: pam-fscrypt = 0.3.5-1.1.ocs23 pam-fscrypt(loongarch-64) = 0.3.5-1.1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): fscrypt = 0.3.5 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libpam.so.0(LIBPAM_EXTENSION_1.0)(64bit) libresolv.so.2()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/fscrypt-0.3.5-1.1.ocs23.loongarch64 Wrote: /builddir/build/RPMS/pam-fscrypt-0.3.5-1.1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/fscrypt-0.3.5-1.1.ocs23.loongarch64.rpm Child return code was: 0