+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/catdoc.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
warning: bogus date in %changelog: Sun Nov 03 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.94.2-2
warning: bogus date in %changelog: Thu Oct 20 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.94.2-1
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XOX2OV
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf catdoc-0.94.2
+ /usr/bin/gzip -dc /builddir/build/SOURCES/catdoc-0.94.2.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd catdoc-0.94.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (makefilefix.patch):'
Patch #0 (makefilefix.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .makefilefix --fuzz=0
patching file charsets/Makefile.in
patching file doc/Makefile.in
patching file src/Makefile.in
+ echo 'Patch #1 (catdoc-0.94.2-bufferoverflow-rh872390-rh872391.patch):'
Patch #1 (catdoc-0.94.2-bufferoverflow-rh872390-rh872391.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .bufferoverflow --fuzz=0
patching file src/xlsparse.c
+ echo 'Patch #2 (catdoc-0.94.2-cflags.patch):'
Patch #2 (catdoc-0.94.2-cflags.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cflags --fuzz=0
patching file configure.in
patching file configure
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RKYuq2
+ umask 022
+ cd /builddir/build/BUILD
+ cd catdoc-0.94.2
+ 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 '
+ export CFLAGS
+ CXXFLAGS='-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 '
+ export CXXFLAGS
+ FFLAGS='-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  -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-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  -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ '[' 1 = 1 ']'
+ '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']'
++ find . -name ltmain.sh
+ ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (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  -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes
checking whether the C compiler (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  -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether byte ordering is bigendian... no
checking for a BSD compatible install... /usr/bin/install -c
checking for wish... /usr/bin/wish
checking checking if wish version is 8.1 or above ... application-specific initialization failed: no display name and no $DISPLAY environment variable
yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for unistd.h... yes
checking for langinfo.h... yes
checking For nl_langinfo(CODESET)... yes
checking for working const... yes
checking whether setvbuf arguments are reversed... no
checking for strdup... yes
checking for strtol... yes
checking for strftime... yes
updating cache ./config.cache
creating ./config.status
creating doc/Makefile
creating charsets/Makefile
creating src/Makefile
creating Makefile
creating doc/catdoc.1
creating doc/xls2csv.1
creating doc/wordview.1
creating doc/catppt.1
creating src/config.h
+ make -j4
for i in src doc charsets; do\
   (cd $i; make all);\
done
make[1]: Entering directory '/builddir/build/BUILD/catdoc-0.94.2/src'
gcc -I. -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   -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H   -c -o catdoc.o catdoc.c
gcc -I. -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   -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H   -c -o reader.o reader.c
gcc -I. -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   -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H   -c -o writer.o writer.c
gcc -I. -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   -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H   -c -o analyze.o analyze.c
analyze.c: In function 'analyze_format':
analyze.c:42:14: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
  if (strncmp(buffer,write_sign,2)==0) {
              ^~~~~~
In file included from analyze.c:13:0:
/usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern int strncmp (const char *__s1, const char *__s2, size_t __n)
            ^~~~~~~
analyze.c:46:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
  } else if (strncmp(buffer,rtf_sign,4)==0) {
                     ^~~~~~
In file included from analyze.c:13:0:
/usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern int strncmp (const char *__s1, const char *__s2, size_t __n)
            ^~~~~~~
analyze.c:48:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
  } else if (strncmp(buffer,old_word_sign,2)==0) {
                     ^~~~~~
In file included from analyze.c:13:0:
/usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern int strncmp (const char *__s1, const char *__s2, size_t __n)
            ^~~~~~~
analyze.c:53:14: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
  if (strncmp(buffer,ole_sign,8)==0) {
              ^~~~~~
In file included from analyze.c:13:0:
/usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern int strncmp (const char *__s1, const char *__s2, size_t __n)
            ^~~~~~~
analyze.c:74:14: warning: pointer targets in passing argument 2 of 'copy_out' differ in signedness [-Wpointer-sign]
   copy_out(f,buffer);
              ^~~~~~
In file included from analyze.c:14:0:
catdoc.h:220:6: note: expected 'char *' but argument is of type 'unsigned char *'
 void copy_out(FILE *f, char *header);
      ^~~~~~~~
analyze.c:49:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
     fread(buffer+4,1,124,f);
     ^~~~~~~~~~~~~~~~~~~~~~~
analyze.c:52:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
  fread(buffer+4,1,4,f);
  ^~~~~~~~~~~~~~~~~~~~~
gcc -I. -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   -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H   -c -o rtfread.o rtfread.c
gcc -I. -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   -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H   -c -o charsets.o charsets.c
gcc -I. -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   -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H   -c -o substmap.o substmap.c
gcc -I. -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   -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H   -c -o fileutil.o fileutil.c
charsets.c: In function 'get_utf8':
charsets.c:166:6: warning: variable 'd' set but not used [-Wunused-but-set-variable]
  int d,c;
      ^
gcc -I. -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   -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H   -c -o confutil.o confutil.c
gcc -I. -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   -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H   -c -o numutils.o numutils.c
gcc -I. -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   -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H   -c -o ole.o ole.c
gcc -I. -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   -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H   -c -o xls2csv.o xls2csv.c
gcc -I. -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   -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H   -c -o sheet.o sheet.c
ole.c: In function 'ole_init':
ole.c:100:14: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
  if (strncmp(oleBuf,ole_sign,8) != 0) {
              ^~~~~~
In file included from ole.c:20:0:
/usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern int strncmp (const char *__s1, const char *__s2, size_t __n)
            ^~~~~~~
ole.c:100:21: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
  if (strncmp(oleBuf,ole_sign,8) != 0) {
                     ^~~~~~~~
In file included from ole.c:20:0:
/usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern int strncmp (const char *__s1, const char *__s2, size_t __n)
            ^~~~~~~
confutil.c: In function 'read_config_file':
confutil.c:34:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
   fgets(line,1024,f);
   ^~~~~~~~~~~~~~~~~~
ole.c:176:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
    fread(SBD+sbdLen*sectorSize, 1, sectorSize, newfile);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ole.c:212:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
    fread(properties+propLen*sectorSize,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       1, sectorSize, newfile);
       ~~~~~~~~~~~~~~~~~~~~~~~
sheet.c: In function 'print_value':
sheet.c:97:13: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness [-Wpointer-sign]
      strtod(value,&endptr);
             ^~~~~
In file included from sheet.c:10:0:
/usr/include/stdlib.h:117:15: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
 extern double strtod (const char *__restrict __nptr,
               ^~~~~~
gcc -I. -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   -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H   -c -o xlsparse.o xlsparse.c
gcc -I. -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   -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H   -c -o catppt.o catppt.c
gcc -I. -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   -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H   -c -o pptparse.o pptparse.c
echo "#! /usr/bin/wish" >wordview
echo set charset_lib "\"/usr/share/catdoc\"">>wordview
cat wordview.tcl >>wordview
xlsparse.c: In function 'do_table':
xlsparse.c:95:20: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   rectype=getshort(buffer,0);
                    ^~~~~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:101:19: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   reclen=getshort(buffer,0);
                   ^~~~~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:112:31: warning: pointer targets in passing argument 3 of 'process_item' differ in signedness [-Wpointer-sign]
   process_item(rectype,reclen,rec);
                               ^~~
In file included from xlsparse.c:13:0:
xls.h:37:6: note: expected 'char *' but argument is of type 'unsigned char *'
 void process_item (int rectype, int reclen, char *rec);
      ^~~~~~~~~~~~
xlsparse.c:37:27: warning: variable 'build_rel' set but not used [-Wunused-but-set-variable]
  long reclen,build_year=0,build_rel=0,offset=0;
                           ^~~~~~~~~
xlsparse.c: In function 'process_item':
xlsparse.c:138:13: warning: pointer targets in passing argument 1 of 'parse_sst' differ in signedness [-Wpointer-sign]
   parse_sst(sstBuffer,sstBytes);
             ^~~~~~~~~
In file included from xlsparse.c:13:0:
xls.h:36:6: note: expected 'char *' but argument is of type 'unsigned char *'
 void parse_sst(char *sstbuf,int bufsize);
      ^~~~~~~~~
xlsparse.c:153:21: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   codepage=getshort(rec,0);
                     ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:163:24: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   format_code=getshort(rec,0);
                        ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:194:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
   sstBuffer=(char*)malloc(reclen);
            ^
xlsparse.c:222:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   row = getshort(rec,0);
                  ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:223:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   col = getshort(rec,2);
                  ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:226:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
   *pcell=copy_unicode_string(&src);
         ^
xlsparse.c:230:19: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
    row = getshort(rec,0);
                   ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:231:19: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
    col = getshort(rec,2);
                   ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:239:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   row = getshort(rec,0);
                  ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:240:23: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   startcol = getshort(rec,2);
                       ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:241:19: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   endcol=getshort(rec,reclen-2);
                   ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:237:12: warning: variable 'startcol' set but not used [-Wunused-but-set-variable]
   int row, startcol,endcol;
            ^~~~~~~~
xlsparse.c:247:22: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   int row = getshort(rec,0);
                      ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:248:22: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   int col = getshort(rec,2);
                      ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:250:26: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   int string_no=getshort(rec,6);
                          ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:265:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
    len=strlen(sst[string_no]);
               ^~~
In file included from xlsparse.c:12:0:
/usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern size_t strlen (const char *__s)
               ^~~~~~
xlsparse.c:266:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
    outptr=*pcell=malloc(len+1);
          ^
xlsparse.c:267:18: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
    strcpy(outptr,sst[string_no]);
                  ^~~
In file included from /usr/include/features.h:428:0,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from xlsparse.c:11:
/usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
 __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
 ^
xlsparse.c:270:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
    strcpy(*pcell,"");
           ^
In file included from /usr/include/features.h:428:0,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from xlsparse.c:11:
/usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
 __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
 ^
xlsparse.c:282:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   row = getshort(rec,0)-startrow;
                  ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:283:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   col = getshort(rec,2);
                  ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:285:46: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   *pcell=strdup(format_double(rec,6,getshort(rec,4)));
                                              ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:285:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
   *pcell=strdup(format_double(rec,6,getshort(rec,4)));
         ^
xlsparse.c:292:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   row = getshort(rec,0)-startrow;
                  ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:293:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   col = getshort(rec,2);
                  ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:295:37: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4)));
                                     ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:295:53: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4)));
                                                     ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:295:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
   *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4)));
         ^
xlsparse.c:304:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   row = getshort(rec,0)-startrow;
                  ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:305:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   col = getshort(rec,2);
                  ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:307:26: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   format_code = getshort(rec,4);
                          ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:308:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
   *pcell=strdup(format_rk(rec+6,format_code));
         ^
xlsparse.c:314:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   row = getshort(rec,0)-startrow;
                  ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:315:23: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   startcol = getshort(rec,2);
                       ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:316:21: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   endcol = getshort(rec,reclen-2);
                     ^~~
chmod 0755 wordview
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:321:25: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
    format_code=getshort(rec,offset);
                         ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:322:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
    *pcell=strdup(format_rk(rec+offset+2,format_code));
          ^
xlsparse.c:331:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   row = getshort(rec,0)-startrow;
                  ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:332:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
   col = getshort(rec,2);
                  ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:340:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     *pcell=strdup(buf);
           ^
xlsparse.c:344:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
     *pcell=strdup(buf);
           ^
xlsparse.c:349:29: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
    int format_code=getshort(rec,4);
                             ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:350:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
    *pcell=strdup(format_double(rec,6,format_code));
          ^
xlsparse.c:360:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
   *saved_reference=copy_unicode_string(&src);
                   ^
xlsparse.c:373:37: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
    short int formatIndex = getshort(rec,2);
                                     ^~~
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
gcc  -o catdoc  catdoc.o reader.o writer.o analyze.o rtfread.o charsets.o substmap.o fileutil.o confutil.o numutils.o ole.o 
xlsparse.c: In function 'copy_unicode_string':
xlsparse.c:490:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
  for (s=*src,d=dest,i=0;i<count;i++,s+=charsize) {
        ^
xlsparse.c:502:31: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
    u=(unsigned short)getshort(s,0);
                               ^
In file included from xlsparse.c:14:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
xlsparse.c:526:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
  *src=s+to_skip;
      ^
xlsparse.c: In function 'format_rk':
xlsparse.c:717:26: warning: pointer targets in passing argument 1 of 'getlong' differ in signedness [-Wpointer-sign]
   value=(double)(getlong(rec,0)>>2);
                          ^~~
In file included from xlsparse.c:14:0:
catdoc.h:233:10: note: expected 'unsigned char *' but argument is of type 'char *'
 long int getlong(unsigned char *buffer,int offset);
          ^~~~~~~
xlsparse.c: In function 'parse_sst':
xlsparse.c:763:20: warning: pointer targets in passing argument 1 of 'getlong' differ in signedness [-Wpointer-sign]
  sstsize = getlong(sstbuf+4,0);
                    ^~~~~~
In file included from xlsparse.c:14:0:
catdoc.h:233:10: note: expected 'unsigned char *' but argument is of type 'char *'
 long int getlong(unsigned char *buffer,int offset);
          ^~~~~~~
xlsparse.c:771:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
  for (i=0,parsedString=sst,curString=sstbuf+8;
                                     ^
xlsparse.c:774:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
   *parsedString = copy_unicode_string(&curString);
                 ^
pptparse.c: In function 'process_item':
pptparse.c:155:32: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
     u=(unsigned short)getshort(buf,0);
                                ^~~
In file included from pptparse.c:21:0:
catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
 unsigned int getshort(unsigned char *buffer,int offset);
              ^~~~~~~~
gcc -o catppt catppt.o pptparse.o charsets.o substmap.o fileutil.o confutil.o numutils.o ole.o  -lm
gcc -o xls2csv xls2csv.o sheet.o xlsparse.o charsets.o substmap.o fileutil.o confutil.o numutils.o ole.o  -lm
make[1]: Leaving directory '/builddir/build/BUILD/catdoc-0.94.2/src'
make[1]: Entering directory '/builddir/build/BUILD/catdoc-0.94.2/doc'
touch build
make[1]: Leaving directory '/builddir/build/BUILD/catdoc-0.94.2/doc'
make[1]: Entering directory '/builddir/build/BUILD/catdoc-0.94.2/charsets'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/builddir/build/BUILD/catdoc-0.94.2/charsets'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cY24dA
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64
+ cd catdoc-0.94.2
+ rm -rf /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64
+ make install DESTDIR=/builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64
for i in src doc charsets; do\
   (cd $i; make install);\
done
make[1]: Entering directory '/builddir/build/BUILD/catdoc-0.94.2/src'
../mkinstalldirs /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/bin
mkdir /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64
mkdir /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr
mkdir /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/bin
/usr/bin/install -c -p -m 755 catdoc /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/bin/catdoc
/usr/bin/install -c -p -m 755 xls2csv /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/bin/xls2csv
/usr/bin/install -c -p -m 755 catppt /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/bin/catppt
../mkinstalldirs /usr/bin
/usr/bin/install -c -p -m 755 wordview /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/bin/wordview
make[1]: Leaving directory '/builddir/build/BUILD/catdoc-0.94.2/src'
make[1]: Entering directory '/builddir/build/BUILD/catdoc-0.94.2/doc'
../mkinstalldirs /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/man/man1/
mkdir /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share
mkdir /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/man
mkdir /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/man/man1
/usr/bin/install -c -p -m 644 catdoc.1 /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/man/man1/catdoc.1 
/usr/bin/install -c -p -m 644 xls2csv.1 /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/man/man1/xls2csv.1 
/usr/bin/install -c -p -m 644 catppt.1 /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/man//man1/catppt.1 
../mkinstalldirs /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/man
/usr/bin/install -c -p -m 644 wordview.1 /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/man/man1/wordview.1 
make[1]: Leaving directory '/builddir/build/BUILD/catdoc-0.94.2/doc'
make[1]: Entering directory '/builddir/build/BUILD/catdoc-0.94.2/charsets'
../mkinstalldirs /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/catdoc
mkdir /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/catdoc
/usr/bin/install -c -p -m 644 ascii.spc /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/catdoc/ascii.specchars 
/usr/bin/install -c -p -m 644 tex.spc /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/catdoc/tex.specchars 
/usr/bin/install -c -p -m 644 ascii.rpl /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/catdoc/ascii.replchars
/usr/bin/install -c -p -m 644 tex.rpl /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/catdoc/tex.replchars
for i in *.txt; do\
   /usr/bin/install -c -p -m 0644 $i /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/catdoc;\
done
make[1]: Leaving directory '/builddir/build/BUILD/catdoc-0.94.2/charsets'
+ /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
mangling shebang in ./usr/bin/wordview from #! /usr/bin/wish to #!/usr/bin/wish
Processing files: catdoc-0.94.2-17.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.l1Pwf2
+ umask 022
+ cd /builddir/build/BUILD
+ cd catdoc-0.94.2
+ DOCDIR=/builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/doc/catdoc
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/doc/catdoc
+ cp -pr COPYING /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/doc/catdoc
+ cp -pr README /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/doc/catdoc
+ cp -pr NEWS /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64/usr/share/doc/catdoc
+ exit 0
Provides: catdoc = 0.94.2-17.fc28 catdoc(riscv-64) = 0.94.2-17.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/wish 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) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/catdoc-0.94.2-17.fc28.riscv64
Wrote: /builddir/build/SRPMS/catdoc-0.94.2-17.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/catdoc-0.94.2-17.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.aCIxgS
+ umask 022
+ cd /builddir/build/BUILD
+ cd catdoc-0.94.2
+ rm -rf /builddir/build/BUILDROOT/catdoc-0.94.2-17.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