Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/tree.spec'], chrootPath='/var/lib/mock/dist-an23-build-319982-67886/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=990gid=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/tree.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 (5 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1390521600 Wrote: /builddir/build/SRPMS/tree-1.6.0-10.an23.src.rpm RPM build warnings: %patchN is deprecated (5 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/tree.spec'], chrootPath='/var/lib/mock/dist-an23-build-319982-67886/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=990gid=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/tree.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 (5 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1390521600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UIRU4x + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tree-1.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tree-1.6.0.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd tree-1.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (tree-no-strip.patch):' Patch #1 (tree-no-strip.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .no-strip --fuzz=0 patching file Makefile Patch #2 (tree-preserve-timestamps.patch): + echo 'Patch #2 (tree-preserve-timestamps.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .preserve-timestamps --fuzz=0 patching file Makefile Patch #3 (tree-no-color-by-default.patch): + echo 'Patch #3 (tree-no-color-by-default.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .no-color-by-default --fuzz=0 patching file tree.c Patch #4 (tree-args.patch): + echo 'Patch #4 (tree-args.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .args --fuzz=0 patching file tree.c Patch #5 (tree-fixbufsiz.patch): + echo 'Patch #5 (tree-fixbufsiz.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fixbufsiz --fuzz=0 patching file hash.c patching file tree.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.w3bFOP + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 tree-1.6.0 ++ getconf LFS_CFLAGS + make '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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' -j80 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o tree.o tree.c 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o unix.o unix.c 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o html.o html.c 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o xml.o xml.c 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o hash.o hash.c 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o color.o color.c color.c: In function 'cmd': color.c:236:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 236 | for(i=0;cmds[i].cmdnum;i++) | ^~~ color.c:238:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 238 | if (s[0] == '*') return DOT_EXTENSION; | ^~ xml.c: In function 'xml_fillinfo': xml.c:301:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] 301 | if (sflag) fprintf(outfile, " size=\"%lld\"", ent->size); | ~~~^ ~~~~~~~~~ | | | | | off_t {aka long int} | long long int | %ld tree.c: In function 'main': tree.c:482:49: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] 482 | if (duflag) fprintf(outfile," %lld\n", size); | ~~~^ ~~~~ | | | | | off_t {aka long int} | long long int | %ld color.c: In function 'initlinedraw': color.c:490:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 490 | for(s=linedraw->name;*s;++s) | ^~~ color.c:492:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 492 | return; | ^~~~~~ html.c: In function 'html_listdir': html.c:166:7: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 166 | system(hcmd); | ^~~~~~~~~~~~ html.c: In function 'htmlr_listdir': html.c:332:7: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 332 | system(hcmd); | ^~~~~~~~~~~~ tree.c: In function 'psize': tree.c:1110:73: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] 1110 | } else return sprintf(buf, sizeof(off_t) == sizeof(long long)? " %11lld" : " %9ld", size); | ~~~~~^ ~~~~ | | | | long long int off_t {aka long int} | %11ld tree.c: In function 'main': tree.c:458:11: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 458 | chdir(curdir); | ^~~~~~~~~~~~~ gcc -o tree tree.o unix.o html.o xml.o hash.o color.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bsJrq9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tree-1.6.0-10.an23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tree-1.6.0-10.an23.x86_64 ++ dirname /builddir/build/BUILDROOT/tree-1.6.0-10.an23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tree-1.6.0-10.an23.x86_64 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 tree-1.6.0 + rm -rf /builddir/build/BUILDROOT/tree-1.6.0-10.an23.x86_64 + mkdir -p /builddir/build/BUILDROOT/tree-1.6.0-10.an23.x86_64/usr/bin + make BINDIR=/builddir/build/BUILDROOT/tree-1.6.0-10.an23.x86_64/usr/bin MANDIR=/builddir/build/BUILDROOT/tree-1.6.0-10.an23.x86_64/usr/share/man/man1 install install -d /builddir/build/BUILDROOT/tree-1.6.0-10.an23.x86_64/usr/bin install -d /builddir/build/BUILDROOT/tree-1.6.0-10.an23.x86_64/usr/share/man/man1 if [ -e tree ]; then \ install -p tree /builddir/build/BUILDROOT/tree-1.6.0-10.an23.x86_64/usr/bin/tree; \ fi install -p doc/tree.1 /builddir/build/BUILDROOT/tree-1.6.0-10.an23.x86_64/usr/share/man/man1/tree.1 + chmod -x /builddir/build/BUILDROOT/tree-1.6.0-10.an23.x86_64/usr/share/man/man1/tree.1 + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 1.6.0-10.an23 --unique-debug-suffix -1.6.0-10.an23.x86_64 --unique-debug-src-base tree-1.6.0-10.an23.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/tree-1.6.0 extracting debug info from /builddir/build/BUILDROOT/tree-1.6.0-10.an23.x86_64/usr/bin/tree Support for debuginfod is not compiled into GDB. original debug info size: 176kB, size after compression: 164kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 170 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/anolis/brp-python-hardlink Processing files: tree-1.6.0-10.an23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TjxBVe + umask 022 + cd /builddir/build/BUILD + cd tree-1.6.0 + DOCDIR=/builddir/build/BUILDROOT/tree-1.6.0-10.an23.x86_64/usr/share/doc/tree + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tree-1.6.0-10.an23.x86_64/usr/share/doc/tree + cp -pr README /builddir/build/BUILDROOT/tree-1.6.0-10.an23.x86_64/usr/share/doc/tree + cp -pr LICENSE /builddir/build/BUILDROOT/tree-1.6.0-10.an23.x86_64/usr/share/doc/tree + RPM_EC=0 ++ jobs -p + exit 0 Provides: tree = 1.6.0-10.an23 tree(x86-64) = 1.6.0-10.an23 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.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: tree-debugsource-1.6.0-10.an23.x86_64 Provides: tree-debugsource = 1.6.0-10.an23 tree-debugsource(x86-64) = 1.6.0-10.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tree-debuginfo-1.6.0-10.an23.x86_64 Provides: debuginfo(build-id) = b9795e177783659e29ee4ab38ded5ab4089a6634 tree-debuginfo = 1.6.0-10.an23 tree-debuginfo(x86-64) = 1.6.0-10.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tree-debugsource(x86-64) = 1.6.0-10.an23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tree-1.6.0-10.an23.x86_64 Wrote: /builddir/build/RPMS/tree-1.6.0-10.an23.x86_64.rpm Wrote: /builddir/build/RPMS/tree-debugsource-1.6.0-10.an23.x86_64.rpm Wrote: /builddir/build/RPMS/tree-debuginfo-1.6.0-10.an23.x86_64.rpm RPM build warnings: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Child return code was: 0