Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/catdoc.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-90575-59078/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/catdoc-0.95-1.oc9.src.rpm RPM build warnings: %patchN is deprecated (1 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 aarch64 --nodeps /builddir/build/SPECS/catdoc.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-90575-59078/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FP0tIF + 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.VJUS4B + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd catdoc-0.95 + '[' '-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 23:13:38.000000000 +0800 +++ ./configure 2024-08-05 10:52:18.155804982 +0800 @@ -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/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-opencloudos-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 aarch64-opencloudos-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 -j8 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 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; | ^ 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); | ^ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 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); | ^~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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 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); | ^ echo "#! /usr/bin/wish" >wordview 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 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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 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.V6XvuI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64 + cd catdoc-0.95 + make install DESTDIR=/builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64 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-1.oc9.aarch64/usr/bin mkdir /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr mkdir /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/bin /usr/bin/install -c -p -m 755 catdoc /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/bin/catdoc /usr/bin/install -c -p -m 755 xls2csv /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/bin/xls2csv /usr/bin/install -c -p -m 755 catppt /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/bin/catppt ../mkinstalldirs /usr/bin /usr/bin/install -c -p -m 755 wordview /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/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-1.oc9.aarch64/usr/share/man/man1/ mkdir /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share mkdir /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share/man mkdir /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share/man/man1 /usr/bin/install -c -m 644 catdoc.1 /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share/man/man1/catdoc.1 /usr/bin/install -c -m 644 xls2csv.1 /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share/man/man1/xls2csv.1 /usr/bin/install -c -m 644 catppt.1 /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share/man/man1/catppt.1 ../mkinstalldirs /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share/man /usr/bin/install -c -m 644 wordview.1 /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/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-1.oc9.aarch64/usr/share/catdoc mkdir /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share/catdoc /usr/bin/install -c -p -m 644 ascii.spc /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share/catdoc/ascii.specchars /usr/bin/install -c -p -m 644 tex.spc /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share/catdoc/tex.specchars /usr/bin/install -c -p -m 644 ascii.rpl /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share/catdoc/ascii.replchars /usr/bin/install -c -p -m 644 tex.rpl /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share/catdoc/tex.replchars for i in *.txt; do\ /usr/bin/install -c -p -m 0644 $i /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share/catdoc;\ done make[1]: Leaving directory '/builddir/build/BUILD/catdoc-0.95/charsets' + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.95-1.oc9 --unique-debug-suffix -0.95-1.oc9.aarch64 --unique-debug-src-base catdoc-0.95-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/catdoc-0.95 extracting debug info from /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/bin/catdoc extracting debug info from /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/bin/catppt extracting debug info from /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/bin/xls2csv 244 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: catdoc-0.95-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nUnoEO + umask 022 + cd /builddir/build/BUILD + cd catdoc-0.95 + DOCDIR=/builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share/doc/catdoc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share/doc/catdoc + cp -pr README /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share/doc/catdoc + cp -pr NEWS /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share/doc/catdoc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.tlS3Ap + umask 022 + cd /builddir/build/BUILD + cd catdoc-0.95 + LICENSEDIR=/builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share/licenses/catdoc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share/licenses/catdoc + cp -pr COPYING /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64/usr/share/licenses/catdoc + RPM_EC=0 ++ jobs -p + exit 0 Provides: catdoc = 0.95-1.oc9 catdoc(aarch-64) = 0.95-1.oc9 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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: catdoc-debugsource-0.95-1.oc9.aarch64 Provides: catdoc-debugsource = 0.95-1.oc9 catdoc-debugsource(aarch-64) = 0.95-1.oc9 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-1.oc9.aarch64 Provides: catdoc-debuginfo = 0.95-1.oc9 catdoc-debuginfo(aarch-64) = 0.95-1.oc9 debuginfo(build-id) = 325d7f71f4f4d46802ccac6de7d7910591c0cc90 debuginfo(build-id) = 95e076d4fcb2d895efcb45bfe9d75b4d75da9070 debuginfo(build-id) = ce3ee16351d0c062d06f35a22b56ab103ad7bb8e Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: catdoc-debugsource(aarch-64) = 0.95-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/catdoc-0.95-1.oc9.aarch64 Wrote: /builddir/build/RPMS/catdoc-debugsource-0.95-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/catdoc-debuginfo-0.95-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/catdoc-0.95-1.oc9.aarch64.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0