Mock Version: 2.6 Mock Version: 2.6 Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/pngcheck.spec'], chrootPath='/var/lib/mock/f31-build-24019862-2417399/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/pngcheck.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=1605225600 Wrote: /builddir/build/SRPMS/pngcheck-2.3.0-4.fc31.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/pngcheck.spec'], chrootPath='/var/lib/mock/f31-build-24019862-2417399/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/pngcheck.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=1605225600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7DCpiA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pngcheck-2.3.0 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/pngcheck-2.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pngcheck-2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/pngcheck-format-security.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/pngcheck-2.3.0-overflow-bz1897485.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BBPVez + umask 022 + cd /builddir/build/BUILD + cd pngcheck-2.3.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' + export LDFLAGS ++ pkg-config --cflags zlib ++ pkg-config --libs zlib + /usr/bin/make -O -j2 V=1 VERBOSE=1 -f Makefile.unx 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_ZLIB ' 'LIBS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lz ' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_ZLIB -o pngsplit gpl/pngsplit.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lz gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_ZLIB -o png-fix-IDAT-windowsize gpl/png-fix-IDAT-windowsize.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lz gpl/png-fix-IDAT-windowsize.c: In function 'png_fix_IDAT_windowsize': gpl/png-fix-IDAT-windowsize.c:219:10: warning: variable 'csize' set but not used [-Wunused-but-set-variable] 219 | long csize, csize_orig; | ^~~~~ gpl/png-fix-IDAT-windowsize.c:218:20: warning: variable 'numfilters' set but not used [-Wunused-but-set-variable] 218 | long chunklen, numfilters, ucsize; | ^~~~~~~~~~ gpl/png-fix-IDAT-windowsize.c:214:44: warning: variable 'filter_method' set but not used [-Wunused-but-set-variable] 214 | int depth, colortype, compress_method, filter_method, interlaced; | ^~~~~~~~~~~~~ gpl/png-fix-IDAT-windowsize.c:214:27: warning: variable 'compress_method' set but not used [-Wunused-but-set-variable] 214 | int depth, colortype, compress_method, filter_method, interlaced; | ^~~~~~~~~~~~~~~ gpl/png-fix-IDAT-windowsize.c:535:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 535 | fread(cbuf, 1, chunklen+12, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_ZLIB -o pngcheck pngcheck.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lz pngcheck.c: In function 'pngcheck': pngcheck.c:1432:13: warning: variable 'validtrans' set but not used [-Wunused-but-set-variable] 1432 | int validtrans = 0; | ^~~~~~~~~~ pngcheck.c:1026:7: warning: variable 'have_DHDR' set but not used [-Wunused-but-set-variable] 1026 | int have_DHDR = 0, have_PLTE = 0; | ^~~~~~~~~ pngcheck.c: In function 'check_ascii_float': pngcheck.c:5004:7: warning: variable 'have_sign' set but not used [-Wunused-but-set-variable] 5004 | int have_sign = 0, have_integer = 0, have_dot = 0, have_fraction = 0; | ^~~~~~~~~ + read -r bin + find . -maxdepth 1 -type f -perm /0111 + sed -r 's/; using zlib .*/./' ++ ././pngsplit -h ++ sed -r -e 's/^version +//' -e 's/( *of .*)?,$//' -e 's/ /-/g' ++ grep -Eio 'version [^,]+,' + help2man --no-discard-stderr --help-option=-h --version-string=0.60-BETA --no-info ././pngsplit + read -r bin + sed -r 's/; using zlib .*/./' ++ ././png-fix-IDAT-windowsize -h ++ grep -Eio 'version [^,]+,' ++ sed -r -e 's/^version +//' -e 's/( *of .*)?,$//' -e 's/ /-/g' + help2man --no-discard-stderr --help-option=-h --version-string=0.5 --no-info ././png-fix-IDAT-windowsize + read -r bin + sed -r 's/; using zlib .*/./' ++ sed -r -e 's/^version +//' -e 's/( *of .*)?,$//' -e 's/ /-/g' ++ grep -Eio 'version [^,]+,' ++ ././pngcheck -h + help2man --no-discard-stderr --help-option=-h --version-string=2.3.0 --no-info ././pngcheck + read -r bin + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2VV86w + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x ++ dirname /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x + cd pngcheck-2.3.0 + install -d /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/bin + install -d /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/share/man/man1 + find . -maxdepth 1 -type f -perm /0111 + read -r bin + install -t /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/bin -p ./pngsplit + install -t /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/share/man/man1 -m 0644 -p ./pngsplit.1 + read -r bin + install -t /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/bin -p ./png-fix-IDAT-windowsize + install -t /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/share/man/man1 -m 0644 -p ./png-fix-IDAT-windowsize.1 + read -r bin + install -t /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/bin -p ./pngcheck + install -t /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/share/man/man1 -m 0644 -p ./pngcheck.1 + read -r bin + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.3.0-4.fc31 --unique-debug-suffix -2.3.0-4.fc31.s390x --unique-debug-src-base pngcheck-2.3.0-4.fc31.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pngcheck-2.3.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/bin/pngcheck explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/bin/png-fix-IDAT-windowsize extracting debug info from /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/bin/pngcheck extracting debug info from /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/bin/png-fix-IDAT-windowsize explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/bin/pngsplit extracting debug info from /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/bin/pngsplit original debug info size: 416kB, size after compression: 412kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 414 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: pngcheck-2.3.0-4.fc31.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QTF0Lx + umask 022 + cd /builddir/build/BUILD + cd pngcheck-2.3.0 + DOCDIR=/builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/share/doc/pngcheck + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/share/doc/pngcheck + cp -pr CHANGELOG /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/share/doc/pngcheck + cp -pr README /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/share/doc/pngcheck + RPM_EC=0 ++ jobs -p + exit 0 Provides: pngcheck = 2.3.0-4.fc31 pngcheck(s390-64) = 2.3.0-4.fc31 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.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: pngcheck-extras-2.3.0-4.fc31.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bEDjCA + umask 022 + cd /builddir/build/BUILD + cd pngcheck-2.3.0 + DOCDIR=/builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/share/doc/pngcheck-extras + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/share/doc/pngcheck-extras + cp -pr CHANGELOG /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/share/doc/pngcheck-extras + cp -pr README /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/share/doc/pngcheck-extras + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ULz8my + umask 022 + cd /builddir/build/BUILD + cd pngcheck-2.3.0 + LICENSEDIR=/builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/share/licenses/pngcheck-extras + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/share/licenses/pngcheck-extras + cp -pr gpl/COPYING /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x/usr/share/licenses/pngcheck-extras + RPM_EC=0 ++ jobs -p + exit 0 Provides: pngcheck-extras = 2.3.0-4.fc31 pngcheck-extras(s390-64) = 2.3.0-4.fc31 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.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: pngcheck-debugsource-2.3.0-4.fc31.s390x Provides: pngcheck-debugsource = 2.3.0-4.fc31 pngcheck-debugsource(s390-64) = 2.3.0-4.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pngcheck-debuginfo-2.3.0-4.fc31.s390x Provides: debuginfo(build-id) = 970a4532128f2d892e33c030e3ca916f3f547689 pngcheck-debuginfo = 2.3.0-4.fc31 pngcheck-debuginfo(s390-64) = 2.3.0-4.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pngcheck-debugsource(s390-64) = 2.3.0-4.fc31 Processing files: pngcheck-extras-debuginfo-2.3.0-4.fc31.s390x Provides: debuginfo(build-id) = 8e9bda1789f0071ffe2dcb8455b4a7346d2f7e39 debuginfo(build-id) = dba44a3bdc4cdbd200f5b0422136ea232b893995 pngcheck-extras-debuginfo = 2.3.0-4.fc31 pngcheck-extras-debuginfo(s390-64) = 2.3.0-4.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pngcheck-debugsource(s390-64) = 2.3.0-4.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x Wrote: /builddir/build/RPMS/pngcheck-extras-2.3.0-4.fc31.s390x.rpm Wrote: /builddir/build/RPMS/pngcheck-2.3.0-4.fc31.s390x.rpm Wrote: /builddir/build/RPMS/pngcheck-debugsource-2.3.0-4.fc31.s390x.rpm Wrote: /builddir/build/RPMS/pngcheck-debuginfo-2.3.0-4.fc31.s390x.rpm Wrote: /builddir/build/RPMS/pngcheck-extras-debuginfo-2.3.0-4.fc31.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UaMv2y + umask 022 + cd /builddir/build/BUILD + cd pngcheck-2.3.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc31.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0