Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/unzoo.spec'], chrootPath='/var/lib/mock/f31-build-60273-28700/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=345600uid=986gid=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=1549152000 Wrote: /builddir/build/SRPMS/unzoo-4.4-24.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/unzoo.spec'], chrootPath='/var/lib/mock/f31-build-60273-28700/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=345600uid=986gid=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=1549152000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2Fk5Kv + 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 + cut -c5- + sed -e '/SYNTAX/,/\*\//!d' + echo 'Patch #0 (unzoo-convert-strcpy_strcat-to-strncpy_strncat.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .strncpy --fuzz=0 + echo 'Patch #1 (unzoo-directory-points-backward.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .revdir --fuzz=0 + echo 'Patch #2 (unzoo-warning-fixes.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .warnings --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (unzoo-convert-strcpy_strcat-to-strncpy_strncat.patch): patching file unzoo.c Patch #1 (unzoo-directory-points-backward.patch): 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): patching file unzoo.c Hunk #3 succeeded at 1474 (offset 4 lines). Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AL6OAw + 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 BUILDSTDERR: unzoo.c:954:39: warning: trigraph ??' ignored, use -trigraphs to enable [-Wtrigraphs] BUILDSTDERR: 954 | fndrInfo.ioFlFndrInfo.fdCreator = '????'; BUILDSTDERR: | BUILDSTDERR: unzoo.c: In function 'MakeDirs': BUILDSTDERR: 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] BUILDSTDERR: 1236 | strncat( patl, dirl, sizeof( dirl ) ); BUILDSTDERR: | ^ BUILDSTDERR: 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] BUILDSTDERR: 1239 | strncat( patl, naml, sizeof(naml) ); BUILDSTDERR: | ^ BUILDSTDERR: unzoo.c: In function 'IsMatchName': BUILDSTDERR: unzoo.c:1281:41: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1281 | else if ( *pat=='?' && ! IsSpec[*str] ) { pat++; str++; } BUILDSTDERR: | ^~~~ BUILDSTDERR: unzoo.c:1284:41: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1284 | else if ( tmp != 0 && ! IsSpec[*tmp] ) { pat = pos; str = ++tmp; } BUILDSTDERR: | ^~~~ BUILDSTDERR: unzoo.c: In function 'EntrReadArch': BUILDSTDERR: 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] BUILDSTDERR: 1603 | strncat( Entry.patl, Entry.naml, sizeof( Entry.naml ) ); BUILDSTDERR: | ^ BUILDSTDERR: unzoo.c: In function 'ExtrArch': BUILDSTDERR: 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] BUILDSTDERR: 2604 | strncat( patl, Entry.patl, sizeof( Entry.patl ) ); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from unzoo.c:251: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'ConvDire' at unzoo.c:795:9: BUILDSTDERR: /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] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unzoo.c: In function 'MakeDirs': BUILDSTDERR: unzoo.c:592:41: warning: '%s' directive writing up to 1023 bytes into a region of size 245 [-Wformat-overflow=] BUILDSTDERR: 592 | #define MAKE_DIRE(patl) (sprintf(Cmd,"/bin/mkdir %s",(patl)),!system(Cmd)) BUILDSTDERR: | ^~~~~~~~~~~~~~~ ~~~~~~ BUILDSTDERR: unzoo.c:1242:9: note: in expansion of macro 'MAKE_DIRE' BUILDSTDERR: 1242 | MAKE_DIRE( patl ); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: unzoo.c:592:53: note: format string is defined here BUILDSTDERR: 592 | #define MAKE_DIRE(patl) (sprintf(Cmd,"/bin/mkdir %s",(patl)),!system(Cmd)) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from unzoo.c:249: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 1035 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from unzoo.c:251: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'MakeDirs' at unzoo.c:1232:9: BUILDSTDERR: /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] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'EntrReadArch' at unzoo.c:1596:9, BUILDSTDERR: inlined from 'EntrReadArch' at unzoo.c:1547:17: BUILDSTDERR: /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] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'EntrReadArch' at unzoo.c:1597:9, BUILDSTDERR: inlined from 'EntrReadArch' at unzoo.c:1547:17: BUILDSTDERR: /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] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'EntrReadArch' at unzoo.c:1593:9, BUILDSTDERR: inlined from 'EntrReadArch' at unzoo.c:1547:17: BUILDSTDERR: /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] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'EntrReadArch' at unzoo.c:1606:5, BUILDSTDERR: inlined from 'EntrReadArch' at unzoo.c:1547:17: BUILDSTDERR: /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] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.niMb5t + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/unzoo-4.4-24.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/unzoo-4.4-24.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/unzoo-4.4-24.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/unzoo-4.4-24.fc31.riscv64 + cd unzoo-4.4 + rm -rf /builddir/build/BUILDROOT/unzoo-4.4-24.fc31.riscv64 + install -Dpm 755 unzoo /builddir/build/BUILDROOT/unzoo-4.4-24.fc31.riscv64/usr/bin/unzoo + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 4.4-24.fc31 --unique-debug-suffix -4.4-24.fc31.riscv64 --unique-debug-src-base unzoo-4.4-24.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/unzoo-4.4 BUILDSTDERR: 228 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/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/unzoo-4.4-24.fc31.riscv64/usr/bin/unzoo extracting debug info from /builddir/build/BUILDROOT/unzoo-4.4-24.fc31.riscv64/usr/bin/unzoo original debug info size: 112kB, size after compression: 112kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: unzoo-4.4-24.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kgQRIv + umask 022 + cd /builddir/build/BUILD + cd unzoo-4.4 + DOCDIR=/builddir/build/BUILDROOT/unzoo-4.4-24.fc31.riscv64/usr/share/doc/unzoo + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unzoo-4.4-24.fc31.riscv64/usr/share/doc/unzoo + cp -pr unzoo.txt /builddir/build/BUILDROOT/unzoo-4.4-24.fc31.riscv64/usr/share/doc/unzoo + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: unzoo = 4.4-24.fc31 unzoo(riscv-64) = 4.4-24.fc31 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-24.fc31.riscv64 Provides: unzoo-debugsource = 4.4-24.fc31 unzoo-debugsource(riscv-64) = 4.4-24.fc31 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-24.fc31.riscv64 Provides: debuginfo(build-id) = 1cd632907808ae095dc3d83678293d5bfadc1360 unzoo-debuginfo = 4.4-24.fc31 unzoo-debuginfo(riscv-64) = 4.4-24.fc31 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-24.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/unzoo-4.4-24.fc31.riscv64 Wrote: /builddir/build/RPMS/unzoo-4.4-24.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/unzoo-debuginfo-4.4-24.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/unzoo-debugsource-4.4-24.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PArgWt + umask 022 + cd /builddir/build/BUILD + cd unzoo-4.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/unzoo-4.4-24.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0