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/unzoo.spec'], chrootPath='/var/lib/mock/f33-build-132565-41208/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/unzoo.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=1580428800 Wrote: /builddir/build/SRPMS/unzoo-4.4-26.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/unzoo.spec'], chrootPath='/var/lib/mock/f33-build-132565-41208/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/unzoo.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=1580428800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NWGyCF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf unzoo-4.4 + /usr/bin/mkdir -p unzoo-4.4 + cd unzoo-4.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -a /builddir/build/SOURCES/unzoo.c . + cat /builddir/build/SOURCES/unzoo.c + sed -e '/SYNTAX/,/\*\//!d' + cut -c5- + echo 'Patch #0 (unzoo-convert-strcpy_strcat-to-strncpy_strncat.patch):' Patch #0 (unzoo-convert-strcpy_strcat-to-strncpy_strncat.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .strncpy --fuzz=0 patching file unzoo.c Patch #1 (unzoo-directory-points-backward.patch): + echo 'Patch #1 (unzoo-directory-points-backward.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .revdir --fuzz=0 patching file unzoo.c Hunk #1 succeeded at 2405 (offset 7 lines). Hunk #2 succeeded at 2563 (offset 8 lines). Patch #2 (unzoo-warning-fixes.patch): + echo 'Patch #2 (unzoo-warning-fixes.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .warnings --fuzz=0 patching file unzoo.c Hunk #3 succeeded at 1474 (offset 4 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SVHHWE + umask 022 + cd /builddir/build/BUILD + cd unzoo-4.4 + 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 -fasynchronous-unwind-tables -fstack-clash-protection -o unzoo -DSYS_IS_UNIX unzoo.c unzoo.c:954:39: warning: trigraph ??' ignored, use -trigraphs to enable [-Wtrigraphs] 954 | fndrInfo.ioFlFndrInfo.fdCreator = '????'; | unzoo.c: In function 'MakeDirs': unzoo.c:1236:40: warning: argument to 'sizeof' in 'strncat' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 1236 | strncat( patl, dirl, sizeof( dirl ) ); | ^ unzoo.c:1239:40: warning: argument to 'sizeof' in 'strncat' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 1239 | strncat( patl, naml, sizeof(naml) ); | ^ unzoo.c: In function 'IsMatchName': unzoo.c:1281:41: warning: array subscript has type 'char' [-Wchar-subscripts] 1281 | else if ( *pat=='?' && ! IsSpec[*str] ) { pat++; str++; } | ^~~~ unzoo.c:1284:41: warning: array subscript has type 'char' [-Wchar-subscripts] 1284 | else if ( tmp != 0 && ! IsSpec[*tmp] ) { pat = pos; str = ++tmp; } | ^~~~ unzoo.c: In function 'EntrReadArch': unzoo.c:1603:48: warning: argument to 'sizeof' in 'strncat' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 1603 | strncat( Entry.patl, Entry.naml, sizeof( Entry.naml ) ); | ^ unzoo.c: In function 'ExtrArch': unzoo.c:2604:46: warning: argument to 'sizeof' in 'strncat' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 2604 | strncat( patl, Entry.patl, sizeof( Entry.patl ) ); | ^ In file included from /usr/include/string.h:495, from unzoo.c:251: In function 'strncpy', inlined from 'ConvDire' at unzoo.c:795:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'MakeDirs' at unzoo.c:1232:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'EntrReadArch.part.0' at unzoo.c:1596:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'EntrReadArch.part.0' at unzoo.c:1597:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'EntrReadArch.part.0' at unzoo.c:1593:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'EntrReadArch.part.0' at unzoo.c:1606:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PXfjFC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/unzoo-4.4-26.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/unzoo-4.4-26.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/unzoo-4.4-26.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/unzoo-4.4-26.fc33.riscv64 + cd unzoo-4.4 + rm -rf /builddir/build/BUILDROOT/unzoo-4.4-26.fc33.riscv64 + install -Dpm 755 unzoo /builddir/build/BUILDROOT/unzoo-4.4-26.fc33.riscv64/usr/bin/unzoo + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 4.4-26.fc33 --unique-debug-suffix -4.4-26.fc33.riscv64 --unique-debug-src-base unzoo-4.4-26.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/unzoo-4.4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/unzoo-4.4-26.fc33.riscv64/usr/bin/unzoo extracting debug info from /builddir/build/BUILDROOT/unzoo-4.4-26.fc33.riscv64/usr/bin/unzoo original debug info size: 120kB, size after compression: 120kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 228 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 /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: unzoo-4.4-26.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RjYgoE + umask 022 + cd /builddir/build/BUILD + cd unzoo-4.4 + DOCDIR=/builddir/build/BUILDROOT/unzoo-4.4-26.fc33.riscv64/usr/share/doc/unzoo + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unzoo-4.4-26.fc33.riscv64/usr/share/doc/unzoo + cp -pr unzoo.txt /builddir/build/BUILDROOT/unzoo-4.4-26.fc33.riscv64/usr/share/doc/unzoo + RPM_EC=0 ++ jobs -p + exit 0 Provides: unzoo = 4.4-26.fc33 unzoo(riscv-64) = 4.4-26.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) rtld(GNU_HASH) Processing files: unzoo-debugsource-4.4-26.fc33.riscv64 Provides: unzoo-debugsource = 4.4-26.fc33 unzoo-debugsource(riscv-64) = 4.4-26.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: unzoo-debuginfo-4.4-26.fc33.riscv64 Provides: debuginfo(build-id) = d8d431048ff87a02e257a4bf9be41186880cffbb unzoo-debuginfo = 4.4-26.fc33 unzoo-debuginfo(riscv-64) = 4.4-26.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: unzoo-debugsource(riscv-64) = 4.4-26.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/unzoo-4.4-26.fc33.riscv64 Wrote: /builddir/build/RPMS/unzoo-4.4-26.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/unzoo-debuginfo-4.4-26.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/unzoo-debugsource-4.4-26.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Tnrz8C + umask 022 + cd /builddir/build/BUILD + cd unzoo-4.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/unzoo-4.4-26.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0