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/catdoc.spec'], chrootPath='/var/lib/mock/f37-build-671872-75320/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/catdoc.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=1658275200 Wrote: /builddir/build/SRPMS/catdoc-0.95-13.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/catdoc.spec'], chrootPath='/var/lib/mock/f37-build-671872-75320/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/catdoc.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=1658275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.l9fRIu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf catdoc-0.95 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/catdoc-0.95.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd catdoc-0.95 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (makefilefix.patch): + echo 'Patch #0 (makefilefix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .makefilefix --fuzz=0 patching file charsets/Makefile.in patching file doc/Makefile.in patching file src/Makefile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GRH8Ex + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 catdoc-0.95 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2016-04-26 11:13:38.000000000 -0400 +++ ./configure 2022-11-10 08:58:08.087379247 -0500 @@ -1737,7 +1737,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... 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 for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking for stdint.h... (cached) yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking For nl_langinfo(CODESET)... yes checking for an ANSI C-conforming const... yes checking for strdup... yes checking for strtol... yes checking for strftime... yes configure: creating ./config.status config.status: creating doc/Makefile config.status: creating charsets/Makefile config.status: creating src/Makefile config.status: creating Makefile config.status: creating doc/catdoc.1 config.status: creating doc/xls2csv.1 config.status: creating doc/wordview.1 config.status: creating doc/catppt.1 config.status: creating src/config.h config.status: src/config.h is unchanged configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 for i in src doc charsets; do\ (cd $i; make all);\ done make[1]: Entering directory '/builddir/build/BUILD/catdoc-0.95/src' gcc -I. -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.95\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o catdoc.o catdoc.c gcc -I. -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.95\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o reader.o reader.c gcc -I. -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.95\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o writer.o writer.c gcc -I. -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.95\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o analyze.o analyze.c catdoc.c: In function 'main': catdoc.c:115:29: warning: pointer targets in assignment from 'uint16_t *' {aka 'short unsigned int *'} to 'short int *' differ in signedness [-Wpointer-sign] 115 | tmp_charset = read_charset(dest_csname); | ^ analyze.c: In function 'parse_word_header': analyze.c:150:74: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int32_t' {aka 'int'} [-Wformat=] 150 | fprintf(stderr,"[File is encrypted. Encryption key = %08lx]\n", | ~~~~^ | | | long unsigned int | %08x 151 | getlong(buffer,14)); | ~~~~~~~~~~~~~~~~~~ | | | int32_t {aka int} analyze.c: In function 'analyze_format': analyze.c:53:12: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 53 | fread(buffer+4,1,124,f); | ^~~~~~~~~~~~~~~~~~~~~~~ analyze.c:56:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 56 | fread(buffer+4,1,4,f); | ^~~~~~~~~~~~~~~~~~~~~ gcc -I. -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.95\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o rtfread.o rtfread.c rtfread.c: In function 'parse_rtf': rtfread.c:199:24: warning: pointer targets in assignment from 'uint16_t *' {aka 'short unsigned int *'} to 'short int *' differ in signedness [-Wpointer-sign] 199 | current_charset=source_charset; | ^ gcc -I. -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.95\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o charsets.o charsets.c rtfread.c: In function 'rtf_to_unicode': rtfread.c:439:40: warning: pointer targets in passing argument 1 of 'to_unicode' differ in signedness [-Wpointer-sign] 439 | if (code < 0 || (cc=to_unicode(current_charset, code)) < 0 ) return 0xFEFF; | ^~~~~~~~~~~~~~~ | | | short int * In file included from rtfread.c:15: catdoc.h:211:34: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'short int *' 211 | extern int to_unicode (uint16_t *charset, int c) ; | ~~~~~~~~~~^~~~~~~ rtfread.c: In function 'rtfSetCharset': rtfread.c:492:22: warning: pointer targets in assignment from 'uint16_t *' {aka 'short unsigned int *'} to 'short int *' differ in signedness [-Wpointer-sign] 492 | *charset_ptr = read_charset(source_csname); | ^ gcc -I. -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.95\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o substmap.o substmap.c gcc -I. -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.95\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o fileutil.o fileutil.c gcc -I. -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.95\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o confutil.o confutil.c gcc -I. -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.95\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o numutils.o numutils.c gcc -I. -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.95\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o ole.o ole.c confutil.c: In function 'read_config_file': confutil.c:34:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 34 | fgets(line,1024,f); | ^~~~~~~~~~~~~~~~~~ gcc -I. -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.95\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o xls2csv.o xls2csv.c gcc -I. -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.95\" -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:191:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 191 | fread(SBD+sbdLen*sectorSize, 1, sectorSize, newfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xls2csv.c: In function 'main': xls2csv.c:122:28: warning: pointer targets in assignment from 'uint16_t *' {aka 'short unsigned int *'} to 'short int *' differ in signedness [-Wpointer-sign] 122 | tmp_charset=read_charset(dest_csname); | ^ gcc -I. -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.95\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o xlsparse.o xlsparse.c gcc -I. -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.95\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o catppt.o catppt.c gcc -I. -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.95\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o pptparse.o pptparse.c catppt.c: In function 'main': catppt.c:103:28: warning: pointer targets in assignment from 'uint16_t *' {aka 'short unsigned int *'} to 'short int *' differ in signedness [-Wpointer-sign] 103 | tmp_charset=read_charset(dest_csname); | ^ echo "#! /usr/bin/wish" >wordview echo set charset_lib "\"/usr/share/catdoc\"">>wordview cat wordview.tcl >>wordview chmod 0755 wordview 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 -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 gcc -o catppt catppt.o pptparse.o charsets.o substmap.o fileutil.o confutil.o numutils.o ole.o -lm -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 gcc -o xls2csv xls2csv.o sheet.o xlsparse.o charsets.o substmap.o fileutil.o confutil.o numutils.o ole.o -lm -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 make[1]: Leaving directory '/builddir/build/BUILD/catdoc-0.95/src' make[1]: Entering directory '/builddir/build/BUILD/catdoc-0.95/doc' touch build make[1]: Leaving directory '/builddir/build/BUILD/catdoc-0.95/doc' make[1]: Entering directory '/builddir/build/BUILD/catdoc-0.95/charsets' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/catdoc-0.95/charsets' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EgQz9J + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 catdoc-0.95 + make install DESTDIR=/builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64 for i in src doc charsets; do\ (cd $i; make install);\ done make[1]: Entering directory '/builddir/build/BUILD/catdoc-0.95/src' ../mkinstalldirs /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/bin mkdir /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr mkdir /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/bin /usr/bin/install -c -p -m 755 catdoc /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/bin/catdoc /usr/bin/install -c -p -m 755 xls2csv /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/bin/xls2csv /usr/bin/install -c -p -m 755 catppt /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/bin/catppt ../mkinstalldirs /usr/bin /usr/bin/install -c -p -m 755 wordview /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/bin/wordview make[1]: Leaving directory '/builddir/build/BUILD/catdoc-0.95/src' make[1]: Entering directory '/builddir/build/BUILD/catdoc-0.95/doc' ../mkinstalldirs /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/man/man1/ mkdir /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share mkdir /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/man mkdir /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/man/man1 /usr/bin/install -c -m 644 catdoc.1 /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/man/man1/catdoc.1 /usr/bin/install -c -m 644 xls2csv.1 /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/man/man1/xls2csv.1 /usr/bin/install -c -m 644 catppt.1 /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/man/man1/catppt.1 ../mkinstalldirs /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/man /usr/bin/install -c -m 644 wordview.1 /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/man/man1/wordview.1 make[1]: Leaving directory '/builddir/build/BUILD/catdoc-0.95/doc' make[1]: Entering directory '/builddir/build/BUILD/catdoc-0.95/charsets' ../mkinstalldirs /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/catdoc mkdir /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/catdoc /usr/bin/install -c -p -m 644 ascii.spc /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/catdoc/ascii.specchars /usr/bin/install -c -p -m 644 tex.spc /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/catdoc/tex.specchars /usr/bin/install -c -p -m 644 ascii.rpl /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/catdoc/ascii.replchars /usr/bin/install -c -p -m 644 tex.rpl /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/catdoc/tex.replchars for i in *.txt; do\ /usr/bin/install -c -p -m 0644 $i /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/catdoc;\ done make[1]: Leaving directory '/builddir/build/BUILD/catdoc-0.95/charsets' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.95-13.fc37 --unique-debug-suffix -0.95-13.fc37.riscv64 --unique-debug-src-base catdoc-0.95-13.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/catdoc-0.95 extracting debug info from /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/bin/catppt extracting debug info from /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/bin/catdoc extracting debug info from /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/bin/xls2csv original debug info size: 1108kB, size after compression: 1044kB /usr/bin/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 244 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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: catdoc-0.95-13.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TUOqjt + umask 022 + cd /builddir/build/BUILD + cd catdoc-0.95 + DOCDIR=/builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/doc/catdoc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/doc/catdoc + cp -pr README /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/doc/catdoc + cp -pr NEWS /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/doc/catdoc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yk4oOC + umask 022 + cd /builddir/build/BUILD + cd catdoc-0.95 + LICENSEDIR=/builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/licenses/catdoc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/licenses/catdoc + cp -pr COPYING /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64/usr/share/licenses/catdoc + RPM_EC=0 ++ jobs -p + exit 0 Provides: catdoc = 0.95-13.fc37 catdoc(riscv-64) = 0.95-13.fc37 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) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: catdoc-debugsource-0.95-13.fc37.riscv64 Provides: catdoc-debugsource = 0.95-13.fc37 catdoc-debugsource(riscv-64) = 0.95-13.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: catdoc-debuginfo-0.95-13.fc37.riscv64 Provides: catdoc-debuginfo = 0.95-13.fc37 catdoc-debuginfo(riscv-64) = 0.95-13.fc37 debuginfo(build-id) = 0b4c5e0374ea37480200a42b6ec108dcee7528b1 debuginfo(build-id) = 4500223aa5470386fa4fe55045a392f1f07f883d debuginfo(build-id) = c0a1ba4f4e40e2b7309c6d5e4cbe8f007152b11a Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: catdoc-debugsource(riscv-64) = 0.95-13.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64 Wrote: /builddir/build/RPMS/catdoc-debugsource-0.95-13.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/catdoc-debuginfo-0.95-13.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/catdoc-0.95-13.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fZRDR9 + umask 022 + cd /builddir/build/BUILD + cd catdoc-0.95 + /usr/bin/rm -rf /builddir/build/BUILDROOT/catdoc-0.95-13.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.ankM4f + umask 022 + cd /builddir/build/BUILD + rm -rf catdoc-0.95 catdoc-0.95.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0