Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/unzoo.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-78827-53109/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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 warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/unzoo-4.4-1.oc9.src.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/unzoo.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-78827-53109/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --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 warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4AhH07 + 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- Patch #0 (unzoo-convert-strcpy_strcat-to-strncpy_strncat.patch): + echo '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). Patch #2 (unzoo-warning-fixes.patch): + echo '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.BhWYID + umask 022 + cd /builddir/build/BUILD + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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.dn6gMI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/unzoo-4.4-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/unzoo-4.4-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/unzoo-4.4-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/unzoo-4.4-1.oc9.x86_64 + cd unzoo-4.4 + rm -rf /builddir/build/BUILDROOT/unzoo-4.4-1.oc9.x86_64 + install -Dpm 755 unzoo /builddir/build/BUILDROOT/unzoo-4.4-1.oc9.x86_64/usr/bin/unzoo + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 4.4-1.oc9 --unique-debug-suffix -4.4-1.oc9.x86_64 --unique-debug-src-base unzoo-4.4-1.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/unzoo-4.4 extracting debug info from /builddir/build/BUILDROOT/unzoo-4.4-1.oc9.x86_64/usr/bin/unzoo 228 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: unzoo-4.4-1.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pYs2qK + umask 022 + cd /builddir/build/BUILD + cd unzoo-4.4 + DOCDIR=/builddir/build/BUILDROOT/unzoo-4.4-1.oc9.x86_64/usr/share/doc/unzoo + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unzoo-4.4-1.oc9.x86_64/usr/share/doc/unzoo + cp -pr unzoo.txt /builddir/build/BUILDROOT/unzoo-4.4-1.oc9.x86_64/usr/share/doc/unzoo + RPM_EC=0 ++ jobs -p + exit 0 Provides: unzoo = 4.4-1.oc9 unzoo(x86-64) = 4.4-1.oc9 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.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: unzoo-debugsource-4.4-1.oc9.x86_64 Provides: unzoo-debugsource = 4.4-1.oc9 unzoo-debugsource(x86-64) = 4.4-1.oc9 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-1.oc9.x86_64 Provides: debuginfo(build-id) = 60c56906b8a78ca9f94674d0f8363555f8c1c597 unzoo-debuginfo = 4.4-1.oc9 unzoo-debuginfo(x86-64) = 4.4-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: unzoo-debugsource(x86-64) = 4.4-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/unzoo-4.4-1.oc9.x86_64 Wrote: /builddir/build/RPMS/unzoo-4.4-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/unzoo-debuginfo-4.4-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/unzoo-debugsource-4.4-1.oc9.x86_64.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0