Mock Version: 1.2.13 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/catdoc.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-2eddef1dd19d92a60627787eb0a6ae72e625652f/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/catdoc.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: bogus date in %changelog: Sun Nov 03 2007 Adel Gadllah 0.94.2-2 warning: bogus date in %changelog: Thu Oct 20 2007 Adel Gadllah 0.94.2-1 Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/catdoc-0.94.2-10.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/catdoc.spec '], chrootPath='/var/lib/mock/epel-1-armhfp-2eddef1dd19d92a60627787eb0a6ae72e625652f/root'shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/catdoc.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: bogus date in %changelog: Sun Nov 03 2007 Adel Gadllah 0.94.2-2 warning: bogus date in %changelog: Thu Oct 20 2007 Adel Gadllah 0.94.2-1 Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mF47jk + 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 -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd catdoc-0.94.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (makefilefix.patch): + echo 'Patch #0 (makefilefix.patch):' + /usr/bin/cat /builddir/build/SOURCES/makefilefix.patch + /usr/bin/patch -p1 -b --suffix .makefilefix --fuzz=0 patching file charsets/Makefile.in patching file doc/Makefile.in patching file src/Makefile.in Patch #1 (catdoc-0.94.2-bufferoverflow-rh872390-rh872391.patch): + echo 'Patch #1 (catdoc-0.94.2-bufferoverflow-rh872390-rh872391.patch):' + /usr/bin/patch -p1 -b --suffix .bufferoverflow --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/catdoc-0.94.2-bufferoverflow-rh872390-rh872391.patch patching file src/xlsparse.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.A9DxRC + umask 022 + cd /builddir/build/BUILD + cd catdoc-0.94.2 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-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/lib --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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z,relro ) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z,relro ) 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 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. -g -O2 -Wall -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. -g -O2 -Wall -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. -g -O2 -Wall -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. -g -O2 -Wall -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:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(buffer,write_sign,2)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ analyze.c:42:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(buffer,write_sign,2)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ analyze.c:42:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(buffer,write_sign,2)==0) { ^ analyze.c:42:2: note: expected 'const char *' but argument is of type 'unsigned char *' analyze.c:42:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from analyze.c:13:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ analyze.c:42:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(buffer,write_sign,2)==0) { ^ analyze.c:42:2: note: expected 'const char *' but argument is of type 'unsigned char *' analyze.c:42:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] analyze.c:42:2: note: expected 'const char *' but argument is of type 'unsigned char *' analyze.c:42:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] analyze.c:42:2: note: expected 'const char *' but argument is of type 'unsigned char *' analyze.c:42:2: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from analyze.c:13:0: /usr/include/string.h:143: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:2: warning: pointer targets in passing argument 1 of 'strlen' 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:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ analyze.c:46:2: warning: pointer targets in passing argument 1 of 'strlen' 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:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ analyze.c:46:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,rtf_sign,4)==0) { ^ analyze.c:46:2: note: expected 'const char *' but argument is of type 'unsigned char *' analyze.c:46:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from analyze.c:13:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ analyze.c:46:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,rtf_sign,4)==0) { ^ analyze.c:46:2: note: expected 'const char *' but argument is of type 'unsigned char *' analyze.c:46:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] analyze.c:46:2: note: expected 'const char *' but argument is of type 'unsigned char *' analyze.c:46:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] analyze.c:46:2: note: expected 'const char *' but argument is of type 'unsigned char *' analyze.c:46:2: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from analyze.c:13:0: /usr/include/string.h:143: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:2: warning: pointer targets in passing argument 1 of 'strlen' 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:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ analyze.c:48:2: warning: pointer targets in passing argument 1 of 'strlen' 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:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ analyze.c:48:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,old_word_sign,2)==0) { ^ analyze.c:48:2: note: expected 'const char *' but argument is of type 'unsigned char *' analyze.c:48:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from analyze.c:13:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ analyze.c:48:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strncmp(buffer,old_word_sign,2)==0) { ^ analyze.c:48:2: note: expected 'const char *' but argument is of type 'unsigned char *' analyze.c:48:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] analyze.c:48:2: note: expected 'const char *' but argument is of type 'unsigned char *' analyze.c:48:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] analyze.c:48:2: note: expected 'const char *' but argument is of type 'unsigned char *' analyze.c:48:2: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from analyze.c:13:0: /usr/include/string.h:143: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:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(buffer,ole_sign,8)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ analyze.c:53:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(buffer,ole_sign,8)==0) { ^ In file included from analyze.c:13:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ analyze.c:53:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(buffer,ole_sign,8)==0) { ^ analyze.c:53:2: note: expected 'const char *' but argument is of type 'unsigned char *' analyze.c:53:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from analyze.c:13:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ analyze.c:53:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(buffer,ole_sign,8)==0) { ^ analyze.c:53:2: note: expected 'const char *' but argument is of type 'unsigned char *' analyze.c:53:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] analyze.c:53:2: note: expected 'const char *' but argument is of type 'unsigned char *' analyze.c:53:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] analyze.c:53:2: note: expected 'const char *' but argument is of type 'unsigned char *' analyze.c:53:2: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from analyze.c:13:0: /usr/include/string.h:143: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:3: 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); ^ gcc -I. -g -O2 -Wall -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. -g -O2 -Wall -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. -g -O2 -Wall -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. -g -O2 -Wall -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. -g -O2 -Wall -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. -g -O2 -Wall -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. -g -O2 -Wall -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. -g -O2 -Wall -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. -g -O2 -Wall -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:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ In file included from ole.c:20:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ole.c:100:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ In file included from ole.c:20:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ole.c:100:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ In file included from ole.c:20:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ole.c:100:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ In file included from ole.c:20:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ole.c:100:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ ole.c:100:2: note: expected 'const char *' but argument is of type 'unsigned char *' ole.c:100:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ole.c:100:2: note: expected 'const char *' but argument is of type 'unsigned char *' ole.c:100:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ole.c:20:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ole.c:100:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ ole.c:100:2: note: expected 'const char *' but argument is of type 'unsigned char *' ole.c:100:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ole.c:100:2: note: expected 'const char *' but argument is of type 'unsigned char *' ole.c:100:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ole.c:20:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ole.c:100:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(oleBuf,ole_sign,8) != 0) { ^ ole.c:100:2: note: expected 'const char *' but argument is of type 'unsigned char *' ole.c:100:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ole.c:100:2: note: expected 'const char *' but argument is of type 'unsigned char *' ole.c:100:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ole.c:100:2: note: expected 'const char *' but argument is of type 'unsigned char *' ole.c:100:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] ole.c:100:2: note: expected 'const char *' but argument is of type 'unsigned char *' ole.c:100:2: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ole.c:20:0: /usr/include/string.h:143: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:2: 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:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ sheet.c: In function 'print_value': sheet.c:97:6: 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:164:15: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern double strtod (const char *__restrict __nptr, ^ gcc -I. -g -O2 -Wall -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. -g -O2 -Wall -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. -g -O2 -Wall -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 xlsparse.c: In function 'do_table': xlsparse.c:95:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:4: 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:4: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:4: 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:395: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:4: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(outptr,sst[string_no]); ^ In file included from xlsparse.c:12:0: /usr/include/string.h:125:14: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ xlsparse.c:270:4: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(*pcell,""); ^ In file included from xlsparse.c:12:0: /usr/include/string.h:125:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ xlsparse.c:282:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:3: 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:321:4: 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:3: 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:3: 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:4: 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:4: 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); ^ 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>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:2: 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:5: 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); ^ 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 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.HonIXs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm ++ dirname /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm + cd catdoc-0.94.2 + rm -rf /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm + make install DESTDIR=/builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm 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-10.el7.arm/usr/bin mkdir /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm mkdir /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr mkdir /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/bin /usr/bin/install -c -p -m 755 catdoc /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/bin/catdoc /usr/bin/install -c -p -m 755 xls2csv /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/bin/xls2csv /usr/bin/install -c -p -m 755 catppt /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/bin/catppt ../mkinstalldirs /usr/bin /usr/bin/install -c -p -m 755 wordview /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/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-10.el7.arm/usr/share/man/man1/ mkdir /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/share mkdir /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/share/man mkdir /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/share/man/man1 /usr/bin/install -c -p -m 644 catdoc.1 /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/share/man/man1/catdoc.1 /usr/bin/install -c -p -m 644 xls2csv.1 /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/share/man/man1/xls2csv.1 /usr/bin/install -c -p -m 644 catppt.1 /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/share/man//man1/catppt.1 ../mkinstalldirs /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/share/man /usr/bin/install -c -p -m 644 wordview.1 /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/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-10.el7.arm/usr/share/catdoc mkdir /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/share/catdoc /usr/bin/install -c -p -m 644 ascii.spc /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/share/catdoc/ascii.specchars /usr/bin/install -c -p -m 644 tex.spc /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/share/catdoc/tex.specchars /usr/bin/install -c -p -m 644 ascii.rpl /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/share/catdoc/ascii.replchars /usr/bin/install -c -p -m 644 tex.rpl /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/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-10.el7.arm/usr/share/catdoc;\ done make[1]: Leaving directory `/builddir/build/BUILD/catdoc-0.94.2/charsets' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/catdoc-0.94.2 extracting debug info from /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/bin/catppt extracting debug info from /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/bin/xls2csv extracting debug info from /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/bin/catdoc /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 238 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: catdoc-0.94.2-10.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gYk8Cw + umask 022 + cd /builddir/build/BUILD + cd catdoc-0.94.2 + DOCDIR=/builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/share/doc/catdoc-0.94.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/share/doc/catdoc-0.94.2 + cp -pr COPYING /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/share/doc/catdoc-0.94.2 + cp -pr README /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/share/doc/catdoc-0.94.2 + cp -pr NEWS /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm/usr/share/doc/catdoc-0.94.2 + exit 0 Provides: catdoc = 0.94.2-10.el7 catdoc(armv7hl-32) = 0.94.2-10.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/wish libc.so.6 libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libm.so.6 libm.so.6(GLIBC_2.4) rtld(GNU_HASH) Processing files: catdoc-debuginfo-0.94.2-10.el7.armv7hl Provides: catdoc-debuginfo = 0.94.2-10.el7 catdoc-debuginfo(armv7hl-32) = 0.94.2-10.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm Wrote: /builddir/build/RPMS/catdoc-0.94.2-10.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/catdoc-debuginfo-0.94.2-10.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0Kgw1F + umask 022 + cd /builddir/build/BUILD + cd catdoc-0.94.2 + rm -rf /builddir/build/BUILDROOT/catdoc-0.94.2-10.el7.arm + exit 0 Child return code was: 0 LEAVE do -->