Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pngcheck.spec'], chrootPath='/var/lib/mock/f33-build-367270-60949/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1605225600 Wrote: /builddir/build/SRPMS/pngcheck-2.3.0-4.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pngcheck.spec'], chrootPath='/var/lib/mock/f33-build-367270-60949/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1605225600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eK1evm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pngcheck-2.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/pngcheck-2.3.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pngcheck-2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /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 + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FfgYin + umask 022 + cd /builddir/build/BUILD + cd pngcheck-2.3.0 + 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 -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 -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 -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 -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 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX ++ pkg-config --cflags zlib ++ pkg-config --libs zlib + /usr/bin/make -O -j4 V=1 VERBOSE=1 -f Makefile.unx '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 -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 -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 -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 -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 -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 -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 -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; | ^~~~~~~~~ + find . -maxdepth 1 -type f -perm /0111 + read -r bin + sed -r 's/; using zlib .*/./' ++ ././pngsplit -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.60-BETA --no-info ././pngsplit + read -r bin + sed -r 's/; using zlib .*/./' ++ grep -Eio 'version [^,]+,' ++ ././png-fix-IDAT-windowsize -h ++ 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 .*/./' ++ ././pngcheck -h ++ grep -Eio 'version [^,]+,' ++ sed -r -e 's/^version +//' -e 's/( *of .*)?,$//' -e 's/ /-/g' + 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.w6oRfk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64 + cd pngcheck-2.3.0 + install -d /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/usr/bin + install -d /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/usr/share/man/man1 + find . -maxdepth 1 -type f -perm /0111 + read -r bin + install -t /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/usr/bin -p ./pngsplit + install -t /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/usr/share/man/man1 -m 0644 -p ./pngsplit.1 + read -r bin + install -t /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/usr/bin -p ./png-fix-IDAT-windowsize + install -t /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/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.fc33.riscv64/usr/bin -p ./pngcheck + install -t /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/usr/share/man/man1 -m 0644 -p ./pngcheck.1 + read -r bin + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.3.0-4.fc33 --unique-debug-suffix -2.3.0-4.fc33.riscv64 --unique-debug-src-base pngcheck-2.3.0-4.fc33.riscv64 --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.fc33.riscv64/usr/bin/pngcheck explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/usr/bin/png-fix-IDAT-windowsize explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/usr/bin/pngsplit extracting debug info from /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/usr/bin/png-fix-IDAT-windowsize extracting debug info from /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/usr/bin/pngcheck extracting debug info from /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/usr/bin/pngsplit original debug info size: 1080kB, size after compression: 1076kB /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/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: pngcheck-2.3.0-4.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5bYW7m + umask 022 + cd /builddir/build/BUILD + cd pngcheck-2.3.0 + DOCDIR=/builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/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.fc33.riscv64/usr/share/doc/pngcheck + cp -pr CHANGELOG /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/usr/share/doc/pngcheck + cp -pr README /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/usr/share/doc/pngcheck + RPM_EC=0 ++ jobs -p + exit 0 Provides: pngcheck = 2.3.0-4.fc33 pngcheck(riscv-64) = 2.3.0-4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: pngcheck-extras-2.3.0-4.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mODTjl + umask 022 + cd /builddir/build/BUILD + cd pngcheck-2.3.0 + DOCDIR=/builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/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.fc33.riscv64/usr/share/doc/pngcheck-extras + cp -pr CHANGELOG /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/usr/share/doc/pngcheck-extras + cp -pr README /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/usr/share/doc/pngcheck-extras + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.wqydCm + umask 022 + cd /builddir/build/BUILD + cd pngcheck-2.3.0 + LICENSEDIR=/builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/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.fc33.riscv64/usr/share/licenses/pngcheck-extras + cp -pr gpl/COPYING /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64/usr/share/licenses/pngcheck-extras + RPM_EC=0 ++ jobs -p + exit 0 Provides: pngcheck-extras = 2.3.0-4.fc33 pngcheck-extras(riscv-64) = 2.3.0-4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: pngcheck-debugsource-2.3.0-4.fc33.riscv64 Provides: pngcheck-debugsource = 2.3.0-4.fc33 pngcheck-debugsource(riscv-64) = 2.3.0-4.fc33 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.fc33.riscv64 Provides: debuginfo(build-id) = c12464cc97361b0ebb648dacc4975f52971df43b pngcheck-debuginfo = 2.3.0-4.fc33 pngcheck-debuginfo(riscv-64) = 2.3.0-4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pngcheck-debugsource(riscv-64) = 2.3.0-4.fc33 Processing files: pngcheck-extras-debuginfo-2.3.0-4.fc33.riscv64 Provides: debuginfo(build-id) = 0e0bfff12e7aebc8683f259ee47c06d3c3030da1 debuginfo(build-id) = 7959c9a136afb474a7b538a0ec66cb565ae13b06 pngcheck-extras-debuginfo = 2.3.0-4.fc33 pngcheck-extras-debuginfo(riscv-64) = 2.3.0-4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pngcheck-debugsource(riscv-64) = 2.3.0-4.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64 Wrote: /builddir/build/RPMS/pngcheck-2.3.0-4.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/pngcheck-extras-debuginfo-2.3.0-4.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/pngcheck-debugsource-2.3.0-4.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/pngcheck-debuginfo-2.3.0-4.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/pngcheck-extras-2.3.0-4.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1u5Stl + umask 022 + cd /builddir/build/BUILD + cd pngcheck-2.3.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pngcheck-2.3.0-4.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0