Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/cpdup.spec'], chrootPath='/var/lib/mock/f36-build-32495385-4399758/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/cpdup.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1642550400 Wrote: /builddir/build/SRPMS/cpdup-1.18-11.fc36.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/cpdup.spec'], chrootPath='/var/lib/mock/f36-build-32495385-4399758/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/cpdup.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1642550400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qV7b4i + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cpdup + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/cpdup-1.18.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd cpdup + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv md5.c md5.c.off + chmod -x scripts/crontab scripts/do_cleanup scripts/do_mirror scripts/do_mirror_host scripts/do_remote scripts/do_remote_host scripts/params + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tfhZZh + umask 022 + cd /builddir/build/BUILD + '[' -f /builddir/build/BUILD/.package_note-cpdup-1.18-11.fc36.s390x.ld ']' + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh cpdup 1.18-11.fc36 s390x + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/.package_note-cpdup-1.18-11.fc36.s390x.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cpdup + make -j2 '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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' -f /builddir/build/SOURCES/Makefile.linux 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -D__sun -D_GNU_SOURCE -D__USE_FILE_OFFSET64 \ -DNOMD5 -c *.c cpdup.c: In function 'checkHLPath': cpdup.c:595:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 595 | asprintf(&hpath, "%s%s", UseHLPath, dpath + DstBaseLen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hcproto.c: In function 'hc_readdir': hcproto.c:471:9: warning: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration] 471 | strlcpy(denbuf.d_name, sysden->d_name, MAXNAMLEN + 1); | ^~~~~~~ | strncpy hcproto.c: At top level: hcproto.c:86:12: warning: 'chflags_warning' defined but not used [-Wunused-variable] 86 | static int chflags_warning; | ^~~~~~~~~~~~~~~ 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -D__sun -D_GNU_SOURCE -D__USE_FILE_OFFSET64 \ -DNOMD5 *.o -o cpdup hcproto.c:471:9: warning: type of 'strlcpy' does not match original declaration [-Wlto-type-mismatch] 471 | strlcpy(denbuf.d_name, sysden->d_name, MAXNAMLEN + 1); | ^ compat_linux.c:8:1: note: return value type mismatch 8 | strlcpy(char *dst, const char *src, size_t size) | ^ compat_linux.c:8:1: note: type 'size_t' should match type 'int' compat_linux.c:8:1: note: 'strlcpy' was previously declared here compat_linux.c:8:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EGM0ey + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cpdup-1.18-11.fc36.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cpdup-1.18-11.fc36.s390x ++ dirname /builddir/build/BUILDROOT/cpdup-1.18-11.fc36.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cpdup-1.18-11.fc36.s390x + '[' -f /builddir/build/BUILD/.package_note-cpdup-1.18-11.fc36.s390x.ld ']' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/.package_note-cpdup-1.18-11.fc36.s390x.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cpdup + make install DESTDIR=/builddir/build/BUILDROOT/cpdup-1.18-11.fc36.s390x -f /builddir/build/SOURCES/Makefile.linux mkdir -p /builddir/build/BUILDROOT/cpdup-1.18-11.fc36.s390x/usr/bin /builddir/build/BUILDROOT/cpdup-1.18-11.fc36.s390x/usr/share/man/man1 cp -p cpdup /builddir/build/BUILDROOT/cpdup-1.18-11.fc36.s390x/usr/bin/ cp -p cpdup.1 /builddir/build/BUILDROOT/cpdup-1.18-11.fc36.s390x/usr/share/man/man1/ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.18-11.fc36 --unique-debug-suffix -1.18-11.fc36.s390x --unique-debug-src-base cpdup-1.18-11.fc36.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cpdup extracting debug info from /builddir/build/BUILDROOT/cpdup-1.18-11.fc36.s390x/usr/bin/cpdup original debug info size: 228kB, size after compression: 216kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 232 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: cpdup-1.18-11.fc36.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8PMBIB + umask 022 + cd /builddir/build/BUILD + cd cpdup + DOCDIR=/builddir/build/BUILDROOT/cpdup-1.18-11.fc36.s390x/usr/share/doc/cpdup + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cpdup-1.18-11.fc36.s390x/usr/share/doc/cpdup + cp -pr BACKUPS /builddir/build/BUILDROOT/cpdup-1.18-11.fc36.s390x/usr/share/doc/cpdup + cp -pr PORTING /builddir/build/BUILDROOT/cpdup-1.18-11.fc36.s390x/usr/share/doc/cpdup + cp -pr scripts /builddir/build/BUILDROOT/cpdup-1.18-11.fc36.s390x/usr/share/doc/cpdup + RPM_EC=0 ++ jobs -p + exit 0 Provides: cpdup = 1.18-11.fc36 cpdup(s390-64) = 1.18-11.fc36 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.2)(64bit) libc.so.6(GLIBC_2.2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) rtld(GNU_HASH) Processing files: cpdup-debugsource-1.18-11.fc36.s390x Provides: cpdup-debugsource = 1.18-11.fc36 cpdup-debugsource(s390-64) = 1.18-11.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cpdup-debuginfo-1.18-11.fc36.s390x Provides: cpdup-debuginfo = 1.18-11.fc36 cpdup-debuginfo(s390-64) = 1.18-11.fc36 debuginfo(build-id) = 3c35b28c5741ee6b1acd01ffe3fb4b6752d91a4b Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cpdup-debugsource(s390-64) = 1.18-11.fc36 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cpdup-1.18-11.fc36.s390x Wrote: /builddir/build/RPMS/cpdup-debuginfo-1.18-11.fc36.s390x.rpm Wrote: /builddir/build/RPMS/cpdup-1.18-11.fc36.s390x.rpm Wrote: /builddir/build/RPMS/cpdup-debugsource-1.18-11.fc36.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.L3YhGB + umask 022 + cd /builddir/build/BUILD + cd cpdup + /usr/bin/rm -rf /builddir/build/BUILDROOT/cpdup-1.18-11.fc36.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0