+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/tree.spec            --define "debug_package %{nil}"            --undefine _annotated_build            --define "_missing_doc_files_terminate_build %{nil}"            --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d"            --define "_emacs_sitelispdir /usr/share/emacs/site-lisp"            --nocheck   ' mockbuild
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.l9ctab
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf tree-1.7.0
+ /usr/bin/gzip -dc /builddir/build/SOURCES/tree-1.7.0.tgz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd tree-1.7.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /builddir/build/SOURCES/tree-preserve-timestamps.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /builddir/build/SOURCES/tree-args.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /builddir/build/SOURCES/tree-dircolors-ec.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /builddir/build/SOURCES/tree-size-field-len.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ sed -e s/LINUX/__linux__/ -i tree.c
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dzNa5g
+ umask 022
+ cd /builddir/build/BUILD
+ cd tree-1.7.0
++ getconf LFS_CFLAGS
+ make 'CFLAGS=-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  ' -j4
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   -c -o tree.o tree.c
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   -c -o unix.o unix.c
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   -c -o html.o html.c
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   -c -o xml.o xml.c
html.c: In function 'html_listdir':
html.c:169:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
       system(hcmd);
       ^~~~~~~~~~~~
html.c: In function 'htmlr_listdir':
html.c:335:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
       system(hcmd);
       ^~~~~~~~~~~~
tree.c: In function 'main':
tree.c:532:4: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
    chdir(curdir);
    ^~~~~~~~~~~~~
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   -c -o json.o json.c
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   -c -o hash.o hash.c
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   -c -o color.o color.c
color.c: In function 'cmd':
color.c:236:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   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'
     if (s[0] == '*') return DOT_EXTENSION;
     ^~
color.c: In function 'initlinedraw':
color.c:490:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
       for(s=linedraw->name;*s;++s)
       ^~~
color.c:492:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  return;
  ^~~~~~
gcc  -o tree tree.o unix.o html.o xml.o json.o hash.o color.o
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Q2kSPK
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/tree-1.7.0-11.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/tree-1.7.0-11.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/tree-1.7.0-11.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/tree-1.7.0-11.fc28.riscv64
+ cd tree-1.7.0
+ mkdir -p /builddir/build/BUILDROOT/tree-1.7.0-11.fc28.riscv64/usr/bin
+ make BINDIR=/builddir/build/BUILDROOT/tree-1.7.0-11.fc28.riscv64/usr/bin MANDIR=/builddir/build/BUILDROOT/tree-1.7.0-11.fc28.riscv64/usr/share/man/man1 install
install -d /builddir/build/BUILDROOT/tree-1.7.0-11.fc28.riscv64/usr/bin
install -d /builddir/build/BUILDROOT/tree-1.7.0-11.fc28.riscv64/usr/share/man/man1
if [ -e tree ]; then \
	install -p tree /builddir/build/BUILDROOT/tree-1.7.0-11.fc28.riscv64/usr/bin/tree; \
fi
install -p doc/tree.1 /builddir/build/BUILDROOT/tree-1.7.0-11.fc28.riscv64/usr/share/man/man1/tree.1
+ chmod -x /builddir/build/BUILDROOT/tree-1.7.0-11.fc28.riscv64/usr/share/man/man1/tree.1
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: tree-1.7.0-11.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7Cfs0l
+ umask 022
+ cd /builddir/build/BUILD
+ cd tree-1.7.0
+ DOCDIR=/builddir/build/BUILDROOT/tree-1.7.0-11.fc28.riscv64/usr/share/doc/tree
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/tree-1.7.0-11.fc28.riscv64/usr/share/doc/tree
+ cp -pr README /builddir/build/BUILDROOT/tree-1.7.0-11.fc28.riscv64/usr/share/doc/tree
+ cp -pr LICENSE /builddir/build/BUILDROOT/tree-1.7.0-11.fc28.riscv64/usr/share/doc/tree
+ exit 0
Provides: tree = 1.7.0-11.fc28 tree(riscv-64) = 1.7.0-11.fc28
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)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tree-1.7.0-11.fc28.riscv64
Wrote: /builddir/build/SRPMS/tree-1.7.0-11.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/tree-1.7.0-11.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QpICOk
+ umask 022
+ cd /builddir/build/BUILD
+ cd tree-1.7.0
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/tree-1.7.0-11.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff