Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/unzoo.spec'], chrootPath='/var/lib/mock/f38-build-693169-84671/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=604800uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674259200 Wrote: /builddir/build/SRPMS/unzoo-4.4-32.fc38.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/f38-build-693169-84671/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=604800uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674259200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kMsEYD + 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 -f -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 -f -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). + echo 'Patch #2 (unzoo-warning-fixes.patch):' Patch #2 (unzoo-warning-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -f -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.udpfMn + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd unzoo-4.4 + gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -o unzoo -DSYS_IS_UNIX unzoo.c unzoo.c:954:46: 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 ) ); | ^ unzoo.c: In function 'ConvDire': unzoo.c:517:33: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 517 | #define CONV_NAME(naml,namu) strncpy( (naml), (namu), sizeof((naml)) - 1 ) | ^~~~~~~ unzoo.c: In function 'MakeDirs': unzoo.c:517:33: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 517 | #define CONV_NAME(naml,namu) strncpy( (naml), (namu), sizeof((naml)) - 1 ) | ^~~~~~~ unzoo.c: In function 'EntrReadArch.part.0': unzoo.c:1596:9: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 1596 | strncpy( Entry.dirl, Entry.diru, sizeof(Entry.dirl) - 1 ); | ^ unzoo.c:1597:9: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 1597 | strncpy( Entry.naml, (Entry.lnamu ? Entry.namu : Entry.nams), | ^ unzoo.c:517:33: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 517 | #define CONV_NAME(naml,namu) strncpy( (naml), (namu), sizeof((naml)) - 1 ) | ^~~~~~~ unzoo.c:1606:5: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] 1606 | strncpy( Entry.patv, Entry.patl, sizeof(Entry.patv) - 1 ); | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Whb6zg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/unzoo-4.4-32.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/unzoo-4.4-32.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/unzoo-4.4-32.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/unzoo-4.4-32.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd unzoo-4.4 + rm -rf /builddir/build/BUILDROOT/unzoo-4.4-32.fc38.riscv64 + install -Dpm 755 unzoo /builddir/build/BUILDROOT/unzoo-4.4-32.fc38.riscv64/usr/bin/unzoo + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 4.4-32.fc38 --unique-debug-suffix -4.4-32.fc38.riscv64 --unique-debug-src-base unzoo-4.4-32.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/unzoo-4.4 extracting debug info from /builddir/build/BUILDROOT/unzoo-4.4-32.fc38.riscv64/usr/bin/unzoo original debug info size: 272kB, size after compression: 276kB /usr/bin/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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: unzoo-4.4-32.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AezQCo + umask 022 + cd /builddir/build/BUILD + cd unzoo-4.4 + DOCDIR=/builddir/build/BUILDROOT/unzoo-4.4-32.fc38.riscv64/usr/share/doc/unzoo + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unzoo-4.4-32.fc38.riscv64/usr/share/doc/unzoo + cp -pr unzoo.txt /builddir/build/BUILDROOT/unzoo-4.4-32.fc38.riscv64/usr/share/doc/unzoo + RPM_EC=0 ++ jobs -p + exit 0 Provides: unzoo = 4.4-32.fc38 unzoo(riscv-64) = 4.4-32.fc38 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) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: unzoo-debugsource-4.4-32.fc38.riscv64 Provides: unzoo-debugsource = 4.4-32.fc38 unzoo-debugsource(riscv-64) = 4.4-32.fc38 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-32.fc38.riscv64 Provides: debuginfo(build-id) = ebd1dec28dc56df93f4fcf6ba7e89419686d47b2 unzoo-debuginfo = 4.4-32.fc38 unzoo-debuginfo(riscv-64) = 4.4-32.fc38 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-32.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/unzoo-4.4-32.fc38.riscv64 Wrote: /builddir/build/RPMS/unzoo-4.4-32.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/unzoo-debuginfo-4.4-32.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/unzoo-debugsource-4.4-32.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.H72Vkr + umask 022 + cd /builddir/build/BUILD + cd unzoo-4.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/unzoo-4.4-32.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.FUv7oh + umask 022 + cd /builddir/build/BUILD + rm -rf unzoo-4.4 unzoo-4.4.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0