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 aarch64 --nodeps /builddir/build/SPECS/lockfile-progs.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-76475-52510/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/lockfile-progs.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/lockfile-progs-0.1.17-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/lockfile-progs.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-76475-52510/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/lockfile-progs.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4Gj1PP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lockfile-progs-0.1.17 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lockfile-progs_0.1.17.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lockfile-progs-0.1.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/\(cd bin && ln \)/\1 -sf /' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vAeh6S + 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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 lockfile-progs-0.1.17 + make -j8 '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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' gcc -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o lockfile-progs.o lockfile-progs.c lockfile-progs.c: In function 'main': lockfile-progs.c:334:44: warning: '%s' directive argument is null [-Wformat-overflow=] 334 | msg(stderr, "lockfile creation failed: %s\n", rc_str); | ^~ gcc -o lockfile-create -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 lockfile-progs.o -llockfile rm -rf bin mkdir -p bin cp -a lockfile-create bin cp -a lockfile-create bin/mail-lock cd bin && ln -sf lockfile-create lockfile-remove cd bin && ln -sf lockfile-create lockfile-touch cd bin && ln -sf lockfile-create lockfile-check cd bin && ln -sf mail-lock mail-unlock cd bin && ln -sf mail-lock mail-touchlock mkdir -p man cp -a lockfile-progs.1 man (cd man && ln -sf lockfile-progs.1 lockfile-create.1 && \ ln -sf lockfile-progs.1 lockfile-remove.1 && \ ln -sf lockfile-progs.1 lockfile-touch.1 && \ ln -sf lockfile-progs.1 lockfile-check.1 && \ ln -sf lockfile-progs.1 mail-lock.1 && \ ln -sf lockfile-progs.1 mail-unlock.1 && \ ln -sf lockfile-progs.1 mail-touchlock.1) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xhWVct + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64 + cd lockfile-progs-0.1.17 + mkdir -p /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64/usr/bin + cp -r --preserve=all bin/lockfile-check bin/lockfile-create bin/lockfile-remove bin/lockfile-touch bin/mail-lock bin/mail-touchlock bin/mail-unlock /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64/usr/bin + mkdir -p /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64/usr/share/man/man1 + cp -r --preserve=all man/lockfile-check.1 man/lockfile-create.1 man/lockfile-progs.1 man/lockfile-remove.1 man/lockfile-touch.1 man/mail-lock.1 man/mail-touchlock.1 man/mail-unlock.1 /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64/usr/share/man/man1/ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.1.17-1.oc9 --unique-debug-suffix -0.1.17-1.oc9.aarch64 --unique-debug-src-base lockfile-progs-0.1.17-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/lockfile-progs-0.1.17 extracting debug info from /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64/usr/bin/lockfile-create extracting debug info from /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64/usr/bin/mail-lock 18 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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.mM0aU3 + 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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 lockfile-progs-0.1.17 + make check rm -rf bin mkdir -p bin cp -a lockfile-create bin cp -a lockfile-create bin/mail-lock cd bin && ln -sf lockfile-create lockfile-remove cd bin && ln -sf lockfile-create lockfile-touch cd bin && ln -sf lockfile-create lockfile-check cd bin && ln -sf mail-lock mail-unlock cd bin && ln -sf mail-lock mail-touchlock mkdir -p man cp -a lockfile-progs.1 man (cd man && ln -sf lockfile-progs.1 lockfile-create.1 && \ ln -sf lockfile-progs.1 lockfile-remove.1 && \ ln -sf lockfile-progs.1 lockfile-touch.1 && \ ln -sf lockfile-progs.1 lockfile-check.1 && \ ln -sf lockfile-progs.1 mail-lock.1 && \ ln -sf lockfile-progs.1 mail-unlock.1 && \ ln -sf lockfile-progs.1 mail-touchlock.1) rm -rf check mkdir check bin/lockfile-create check/file bin/lockfile-touch --oneshot check/file bin/lockfile-check check/file bin/lockfile-remove check/file ! test -e check/file.lock bin/lockfile-create --lock-name check/file.lock bin/lockfile-touch --oneshot --lock-name check/file.lock bin/lockfile-check --lock-name check/file.lock bin/lockfile-remove --lock-name check/file.lock ! test -e check/file.lock bin/lockfile-create --use-pid --lock-name check/file.lock bin/lockfile-touch --oneshot --lock-name check/file.lock bin/lockfile-check --use-pid --lock-name check/file.lock bin/lockfile-remove --lock-name check/file.lock ! test -e check/file.lock bin/lockfile-create --use-pid --lock-name check/lockfile.no-pid + RPM_EC=0 ++ jobs -p + exit 0 Processing files: lockfile-progs-0.1.17-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.aI0qu4 + umask 022 + cd /builddir/build/BUILD + cd lockfile-progs-0.1.17 + DOCDIR=/builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64/usr/share/doc/lockfile-progs + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64/usr/share/doc/lockfile-progs + cp -pr COPYING /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64/usr/share/doc/lockfile-progs + RPM_EC=0 ++ jobs -p + exit 0 warning: Duplicate build-ids /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64/usr/bin/lockfile-create and /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64/usr/bin/mail-lock Provides: lockfile-progs = 0.1.17-1.oc9 lockfile-progs(aarch-64) = 0.1.17-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) liblockfile.so.1()(64bit) rtld(GNU_HASH) Processing files: lockfile-progs-debugsource-0.1.17-1.oc9.aarch64 Provides: lockfile-progs-debugsource = 0.1.17-1.oc9 lockfile-progs-debugsource(aarch-64) = 0.1.17-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lockfile-progs-debuginfo-0.1.17-1.oc9.aarch64 warning: Duplicate build-ids /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64/usr/lib/debug/usr/bin/lockfile-create-0.1.17-1.oc9.aarch64.debug and /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64/usr/lib/debug/usr/bin/mail-lock-0.1.17-1.oc9.aarch64.debug Provides: debuginfo(build-id) = c8960799fe5ea3c2252792f4e91008c5f9cc21b7 debuginfo(build-id) = nilnil lockfile-progs-debuginfo = 0.1.17-1.oc9 lockfile-progs-debuginfo(aarch-64) = 0.1.17-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lockfile-progs-debugsource(aarch-64) = 0.1.17-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64 Wrote: /builddir/build/RPMS/lockfile-progs-debugsource-0.1.17-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/lockfile-progs-debuginfo-0.1.17-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/lockfile-progs-0.1.17-1.oc9.aarch64.rpm RPM build warnings: Duplicate build-ids /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64/usr/bin/lockfile-create and /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64/usr/bin/mail-lock Duplicate build-ids /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64/usr/lib/debug/usr/bin/lockfile-create-0.1.17-1.oc9.aarch64.debug and /builddir/build/BUILDROOT/lockfile-progs-0.1.17-1.oc9.aarch64/usr/lib/debug/usr/bin/mail-lock-0.1.17-1.oc9.aarch64.debug Child return code was: 0