Build of catdoc with vanilla toolchain

The build took 00h 00m 43s and was SUCCESSFUL.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
4,197 ansic
525 tcl
208 sh
4,930 total

The process tree of the build process is here.

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

CMD: sudo -u tuscan red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: catdoc 0.94.4-1 (Wed Aug 24 12:13:43 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# creating cache ./config.cache
# checking for gcc... gcc
# checking whether the C compiler (gcc ) works... yes
# checking whether the C compiler (gcc ) 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 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 desktop/Makefile
# 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
# src/config.h is unchanged
# for i in src doc charsets desktop; do\
# (cd $i; make all);\
# done
# make[1]: Entering directory '/tmp/catdoc/src/catdoc-0.94.4/src'
# gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/usr/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.4\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/usr/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.4\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/usr/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.4\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/usr/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o analyze.o analyze.c
# In file included from /usr/include/string.h:630:0,
# from analyze.c:13:
# analyze.c: In function 'analyze_format':
# analyze.c:43:14: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# In file included from /usr/include/string.h:630:0,
# from analyze.c:13:
# analyze.c:43:14: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# In file included from /usr/include/string.h:630:0,
# from analyze.c:13:
# analyze.c:43:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
# if (strncmp(buffer,write_sign,2)==0) {
# ^
# analyze.c:43:14: note: expected 'const char *' but argument is of type 'unsigned char *'
# analyze.c:43:14: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# In file included from /usr/include/string.h:630:0,
# from analyze.c:13:
# analyze.c:43:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
# if (strncmp(buffer,write_sign,2)==0) {
# ^
# analyze.c:43:14: note: expected 'const char *' but argument is of type 'unsigned char *'
# analyze.c:43:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
# if (strncmp(buffer,write_sign,2)==0) {
# ^
# analyze.c:43:14: note: expected 'const char *' but argument is of type 'unsigned char *'
# analyze.c:43:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
# if (strncmp(buffer,write_sign,2)==0) {
# ^
# analyze.c:43:14: note: expected 'const char *' but argument is of type 'unsigned char *'
# analyze.c:43:14: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
# if (strncmp(buffer,write_sign,2)==0) {
# ^
# In file included from analyze.c:13:0:
# /usr/include/string.h: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)
# ^~~~~~~
# In file included from /usr/include/string.h:630:0,
# from analyze.c:13:
# analyze.c:47:21: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# In file included from /usr/include/string.h:630:0,
# from analyze.c:13:
# analyze.c:47:21: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# In file included from /usr/include/string.h:630:0,
# from analyze.c:13:
# analyze.c:47:21: 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:47:21: note: expected 'const char *' but argument is of type 'unsigned char *'
# analyze.c:47:21: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# In file included from /usr/include/string.h:630:0,
# from analyze.c:13:
# analyze.c:47:21: 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:47:21: note: expected 'const char *' but argument is of type 'unsigned char *'
# analyze.c:47:21: 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:47:21: note: expected 'const char *' but argument is of type 'unsigned char *'
# analyze.c:47:21: 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:47:21: note: expected 'const char *' but argument is of type 'unsigned char *'
# analyze.c:47:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
# } else if (strncmp(buffer,rtf_sign,4)==0) {
# ^
# In file included from analyze.c:13:0:
# /usr/include/string.h: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)
# ^~~~~~~
# In file included from /usr/include/string.h:630:0,
# from analyze.c:13:
# analyze.c:49:21: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# In file included from /usr/include/string.h:630:0,
# from analyze.c:13:
# analyze.c:49:21: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# In file included from /usr/include/string.h:630:0,
# from analyze.c:13:
# analyze.c:49:21: 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:49:21: note: expected 'const char *' but argument is of type 'unsigned char *'
# analyze.c:49:21: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# In file included from /usr/include/string.h:630:0,
# from analyze.c:13:
# analyze.c:49:21: 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:49:21: note: expected 'const char *' but argument is of type 'unsigned char *'
# analyze.c:49:21: 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:49:21: note: expected 'const char *' but argument is of type 'unsigned char *'
# analyze.c:49:21: 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:49:21: note: expected 'const char *' but argument is of type 'unsigned char *'
# analyze.c:49:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
# } else if (strncmp(buffer,old_word_sign,2)==0) {
# ^
# In file included from analyze.c:13:0:
# /usr/include/string.h: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)
# ^~~~~~~
# In file included from /usr/include/string.h:630:0,
# from analyze.c:13:
# analyze.c:54:14: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# In file included from /usr/include/string.h:630:0,
# from analyze.c:13:
# analyze.c:54:14: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# In file included from /usr/include/string.h:630:0,
# from analyze.c:13:
# analyze.c:54:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
# if (strncmp(buffer,ole_sign,8)==0) {
# ^
# analyze.c:54:14: note: expected 'const char *' but argument is of type 'unsigned char *'
# analyze.c:54:14: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# In file included from /usr/include/string.h:630:0,
# from analyze.c:13:
# analyze.c:54:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
# if (strncmp(buffer,ole_sign,8)==0) {
# ^
# analyze.c:54:14: note: expected 'const char *' but argument is of type 'unsigned char *'
# analyze.c:54:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
# if (strncmp(buffer,ole_sign,8)==0) {
# ^
# analyze.c:54:14: note: expected 'const char *' but argument is of type 'unsigned char *'
# analyze.c:54:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
# if (strncmp(buffer,ole_sign,8)==0) {
# ^
# analyze.c:54:14: note: expected 'const char *' but argument is of type 'unsigned char *'
# analyze.c:54:14: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
# if (strncmp(buffer,ole_sign,8)==0) {
# ^
# In file included from analyze.c:13:0:
# /usr/include/string.h: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:75:14: warning: pointer targets in passing argument 2 of 'copy_out' differ in signedness [-Wpointer-sign]
# copy_out(f,buffer);
# ^~~~~~
# In file included from analyze.c:14:0:
# catdoc.h:220:6: note: expected 'char *' but argument is of type 'unsigned char *'
# void copy_out(FILE *f, char *header);
# ^~~~~~~~
# gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/usr/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.4\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/usr/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o charsets.o charsets.c
# charsets.c: In function 'get_utf8':
# charsets.c:202: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.4\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/usr/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.4\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/usr/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o fileutil.o fileutil.c
# gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/usr/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.4\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/usr/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.4\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/usr/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o ole.o ole.c
# In file included from /usr/include/string.h:630:0,
# from ole.c:20:
# ole.c: In function 'ole_init':
# ole.c:100:14: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# In file included from /usr/include/string.h:630:0,
# from ole.c:20:
# ole.c:100:21: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# In file included from /usr/include/string.h:630:0,
# from ole.c:20:
# ole.c:100:14: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# In file included from /usr/include/string.h:630:0,
# from ole.c:20:
# ole.c:100:21: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# In file included from /usr/include/string.h:630:0,
# from ole.c:20:
# ole.c:100:14: 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:14: note: expected 'const char *' but argument is of type 'unsigned char *'
# ole.c:100:21: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
# if (strncmp(oleBuf,ole_sign,8) != 0) {
# ^
# ole.c:100:21: note: expected 'const char *' but argument is of type 'unsigned char *'
# ole.c:100:14: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# In file included from /usr/include/string.h:630:0,
# from ole.c:20:
# ole.c:100:14: 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:14: note: expected 'const char *' but argument is of type 'unsigned char *'
# ole.c:100:21: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
# if (strncmp(oleBuf,ole_sign,8) != 0) {
# ^
# ole.c:100:21: note: expected 'const char *' but argument is of type 'unsigned char *'
# ole.c:100:21: 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:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# In file included from /usr/include/string.h:630:0,
# from ole.c:20:
# ole.c:100:14: 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:14: note: expected 'const char *' but argument is of type 'unsigned char *'
# ole.c:100:21: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
# if (strncmp(oleBuf,ole_sign,8) != 0) {
# ^
# ole.c:100:21: note: expected 'const char *' but argument is of type 'unsigned char *'
# ole.c:100:14: 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:14: note: expected 'const char *' but argument is of type 'unsigned char *'
# ole.c:100:21: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
# if (strncmp(oleBuf,ole_sign,8) != 0) {
# ^
# ole.c:100:21: note: expected 'const char *' but argument is of type 'unsigned char *'
# ole.c:100:14: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
# if (strncmp(oleBuf,ole_sign,8) != 0) {
# ^
# In file included from ole.c:20:0:
# /usr/include/string.h: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)
# ^~~~~~~
# In file included from /usr/include/string.h:630:0,
# from ole.c:20:
# ole.c:100:21: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
# if (strncmp(oleBuf,ole_sign,8) != 0) {
# ^
# In file included from ole.c:20:0:
# /usr/include/string.h: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)
# ^~~~~~~
# 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 -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/usr/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.4\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/usr/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o sheet.o sheet.c
# sheet.c: In function 'print_value':
# sheet.c:97:13: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness [-Wpointer-sign]
# strtod(value,&endptr);
# ^~~~~
# In file included from sheet.c:10:0:
# /usr/include/stdlib.h: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.4\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/usr/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o xlsparse.o xlsparse.c
# xlsparse.c: In function 'do_table':
# xlsparse.c:95:20: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# rectype=getshort(buffer,0);
# ^~~~~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:101:19: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# reclen=getshort(buffer,0);
# ^~~~~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:112:31: warning: pointer targets in passing argument 3 of 'process_item' differ in signedness [-Wpointer-sign]
# process_item(rectype,reclen,rec);
# ^~~
# In file included from xlsparse.c:13:0:
# xls.h:37:6: note: expected 'char *' but argument is of type 'unsigned char *'
# void process_item (int rectype, int reclen, char *rec);
# ^~~~~~~~~~~~
# xlsparse.c:37:27: warning: variable 'build_rel' set but not used [-Wunused-but-set-variable]
# long reclen,build_year=0,build_rel=0,offset=0;
# ^~~~~~~~~
# xlsparse.c: In function 'process_item':
# xlsparse.c:138:13: warning: pointer targets in passing argument 1 of 'parse_sst' differ in signedness [-Wpointer-sign]
# parse_sst(sstBuffer,sstBytes);
# ^~~~~~~~~
# In file included from xlsparse.c:13:0:
# xls.h:36:6: note: expected 'char *' but argument is of type 'unsigned char *'
# void parse_sst(char *sstbuf,int bufsize);
# ^~~~~~~~~
# xlsparse.c:153:21: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# codepage=getshort(rec,0);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:163:24: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# format_code=getshort(rec,0);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:194:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# sstBuffer=(char*)malloc(reclen);
# ^
# xlsparse.c:222:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# row = getshort(rec,0);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:223:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# col = getshort(rec,2);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:226:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# *pcell=copy_unicode_string(&src);
# ^
# xlsparse.c:230:19: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# row = getshort(rec,0);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:231:19: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# col = getshort(rec,2);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:239:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# row = getshort(rec,0);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:240:23: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# startcol = getshort(rec,2);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:241:19: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# endcol=getshort(rec,reclen-2);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:237:12: warning: variable 'startcol' set but not used [-Wunused-but-set-variable]
# int row, startcol,endcol;
# ^~~~~~~~
# xlsparse.c:247:22: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# int row = getshort(rec,0);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:248:22: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# int col = getshort(rec,2);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:250:26: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# int string_no=getshort(rec,6);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:265:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
# len=strlen(sst[string_no]);
# ^~~
# In file included from xlsparse.c:12:0:
# /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *'
# extern size_t strlen (const char *__s)
# ^~~~~~
# xlsparse.c:266:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# outptr=*pcell=malloc(len+1);
# ^
# xlsparse.c:267:18: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
# strcpy(outptr,sst[string_no]);
# ^~~
# In file included from 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:11: 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:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# row = getshort(rec,0)-startrow;
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:283:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# col = getshort(rec,2);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:285:46: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_double(rec,6,getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:285:46: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_double(rec,6,getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:285:46: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_double(rec,6,getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:285:46: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_double(rec,6,getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:285:46: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_double(rec,6,getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:285:46: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_double(rec,6,getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:285:46: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_double(rec,6,getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:285:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_double(rec,6,getshort(rec,4)));
# ^
# xlsparse.c:292:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# row = getshort(rec,0)-startrow;
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:293:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# col = getshort(rec,2);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:295:37: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:295:53: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:295:37: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:295:53: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:295:37: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:295:53: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:295:37: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:295:53: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:295:37: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:295:53: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:295:37: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:295:53: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:295:37: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# In file included from /usr/include/string.h:630:0,
# from xlsparse.c:12:
# xlsparse.c:295:53: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4)));
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:295:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_int(getshort(rec,7),getshort(rec,4)));
# ^
# xlsparse.c:304:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# row = getshort(rec,0)-startrow;
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:305:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# col = getshort(rec,2);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:307:26: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# format_code = getshort(rec,4);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:308:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_rk(rec+6,format_code));
# ^
# xlsparse.c:314:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# row = getshort(rec,0)-startrow;
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:315:23: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# startcol = getshort(rec,2);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:316:21: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# endcol = getshort(rec,reclen-2);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:321:25: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# format_code=getshort(rec,offset);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:322:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_rk(rec+offset+2,format_code));
# ^
# xlsparse.c:331:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# row = getshort(rec,0)-startrow;
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:332:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# col = getshort(rec,2);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:340:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# *pcell=strdup(buf);
# ^
# xlsparse.c:344:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# *pcell=strdup(buf);
# ^
# xlsparse.c:349:29: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# int format_code=getshort(rec,4);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:350:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# *pcell=strdup(format_double(rec,6,format_code));
# ^
# xlsparse.c:360:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# *saved_reference=copy_unicode_string(&src);
# ^
# xlsparse.c:373:37: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# short int formatIndex = getshort(rec,2);
# ^~~
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:392:16: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# if (getshort(rec, 0) == 1)
# ^~~
# 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:495:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# for (s=*src,d=dest,i=0;i
# ^
# xlsparse.c:507:31: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# u=(unsigned short)getshort(s,0);
# ^
# In file included from xlsparse.c:14:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# xlsparse.c:531:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# *src=s+to_skip;
# ^
# xlsparse.c: In function 'parse_sst':
# xlsparse.c:768:20: warning: pointer targets in passing argument 1 of 'getlong' differ in signedness [-Wpointer-sign]
# sstsize = getlong(sstbuf+4,0);
# ^~~~~~
# In file included from xlsparse.c:14:0:
# catdoc.h:233:10: note: expected 'unsigned char *' but argument is of type 'char *'
# long int getlong(unsigned char *buffer,int offset);
# ^~~~~~~
# xlsparse.c:776:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# for (i=0,parsedString=sst,curString=sstbuf+8;
# ^
# xlsparse.c:779:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# *parsedString = copy_unicode_string(&curString);
# ^
# gcc -o xls2csv xls2csv.o sheet.o xlsparse.o charsets.o substmap.o fileutil.o confutil.o numutils.o ole.o -lm
# gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.4\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/usr/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.4\" -DCHARSETPATH=\"/usr/share/catdoc\" -DSYSTEMRC=\"/usr/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o pptparse.o pptparse.c
# pptparse.c: In function 'process_item':
# pptparse.c:155:32: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign]
# u=(unsigned short)getshort(buf,0);
# ^~~
# In file included from pptparse.c:21:0:
# catdoc.h:235:14: note: expected 'unsigned char *' but argument is of type 'char *'
# unsigned int getshort(unsigned char *buffer,int offset);
# ^~~~~~~~
# gcc -o catppt catppt.o pptparse.o charsets.o substmap.o fileutil.o confutil.o numutils.o ole.o -lm
# echo "#! /usr/bin/wish" >wordview
# echo set charset_lib "\"/usr/share/catdoc\"">>wordview
# cat wordview.tcl >>wordview
# chmod 0755 wordview
# make[1]: Leaving directory '/tmp/catdoc/src/catdoc-0.94.4/src'
# make[1]: Entering directory '/tmp/catdoc/src/catdoc-0.94.4/doc'
# touch build
# make[1]: Leaving directory '/tmp/catdoc/src/catdoc-0.94.4/doc'
# make[1]: Entering directory '/tmp/catdoc/src/catdoc-0.94.4/charsets'
# make[1]: Nothing to be done for 'all'.
# make[1]: Leaving directory '/tmp/catdoc/src/catdoc-0.94.4/charsets'
# make[1]: Entering directory '/tmp/catdoc/src/catdoc-0.94.4/desktop'
# make[1]: Nothing to be done for 'all'.
# make[1]: Leaving directory '/tmp/catdoc/src/catdoc-0.94.4/desktop'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# for i in src doc charsets desktop; do\
# (cd $i; make install);\
# done
# make[1]: Entering directory '/tmp/catdoc/src/catdoc-0.94.4/src'
# ../mkinstalldirs /tmp/catdoc/pkg/catdoc/usr/bin
# mkdir /tmp/catdoc/pkg/catdoc/usr
# mkdir /tmp/catdoc/pkg/catdoc/usr/bin
# /usr/bin/install -c -m 755 catdoc /tmp/catdoc/pkg/catdoc/usr/bin/catdoc
# /usr/bin/install -c -m 755 xls2csv /tmp/catdoc/pkg/catdoc/usr/bin/xls2csv
# /usr/bin/install -c -m 755 catppt /tmp/catdoc/pkg/catdoc/usr/bin/catppt
# ../mkinstalldirs /tmp/catdoc/pkg/catdoc/usr/bin
# /usr/bin/install -c -m 755 wordview /tmp/catdoc/pkg/catdoc/usr/bin/wordview
# make[1]: Leaving directory '/tmp/catdoc/src/catdoc-0.94.4/src'
# make[1]: Entering directory '/tmp/catdoc/src/catdoc-0.94.4/doc'
# make[1]: *** No rule to make target 'install'. Stop.
# make[1]: Leaving directory '/tmp/catdoc/src/catdoc-0.94.4/doc'
# make[1]: Entering directory '/tmp/catdoc/src/catdoc-0.94.4/charsets'
# ../mkinstalldirs /tmp/catdoc/pkg/catdoc/usr/share/catdoc
# mkdir /tmp/catdoc/pkg/catdoc/usr/share
# mkdir /tmp/catdoc/pkg/catdoc/usr/share/catdoc
# /usr/bin/install -c -m 644 ascii.spc /tmp/catdoc/pkg/catdoc/usr/share/catdoc/ascii.specchars
# /usr/bin/install -c -m 644 tex.spc /tmp/catdoc/pkg/catdoc/usr/share/catdoc/tex.specchars
# /usr/bin/install -c -m 644 ascii.rpl /tmp/catdoc/pkg/catdoc/usr/share/catdoc/ascii.replchars
# /usr/bin/install -c -m 644 tex.rpl /tmp/catdoc/pkg/catdoc/usr/share/catdoc/tex.replchars
# for i in *.txt; do\
# /usr/bin/install -c -m 0644 $i /tmp/catdoc/pkg/catdoc/usr/share/catdoc;\
# done
# make[1]: Leaving directory '/tmp/catdoc/src/catdoc-0.94.4/charsets'
# make[1]: Entering directory '/tmp/catdoc/src/catdoc-0.94.4/desktop'
# ../mkinstalldirs /tmp/catdoc/pkg/catdoc/usr/share/applications
# mkdir /tmp/catdoc/pkg/catdoc/usr/share/applications
# ../mkinstalldirs /tmp/catdoc/pkg/catdoc/usr/share/pixmaps
# mkdir /tmp/catdoc/pkg/catdoc/usr/share/pixmaps
# /usr/bin/install -c -m 644 wordview.desktop /tmp/catdoc/pkg/catdoc/usr/share/applications/wordview.desktop
# /usr/bin/install -c -m 644 wordview.xpm /tmp/catdoc/pkg/catdoc/usr/share/pixmaps/wordview.xpm
# make[1]: Leaving directory '/tmp/catdoc/src/catdoc-0.94.4/desktop'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "catdoc"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: catdoc 0.94.4-1 (Wed Aug 24 12:13:49 UTC 2016)

CMD: pacman --query --file catdoc-0.94.4-1-x86_64.pkg.tar.xz
# catdoc 0.94.4-1

Creating hybrid package for 'catdoc'

Trying to find vanilla package 'catdoc'...

CMD: pacman --query --file /mirror/catdoc-0.94.4-1.pkg.tar.xz
# catdoc 0.94.4-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/wordview
# /usr/bin/catdoc
# /usr/bin/xls2csv
# /usr/bin/catppt
# /usr/share/catdoc/ascii.specchars
# /usr/share/catdoc/tex.specchars
# /usr/share/catdoc/ascii.replchars
# /usr/share/catdoc/tex.replchars
# /usr/share/catdoc/8859-1.txt
# /usr/share/catdoc/8859-10.txt
# /usr/share/catdoc/8859-11.txt
# /usr/share/catdoc/8859-13.txt
# /usr/share/catdoc/8859-14.txt
# /usr/share/catdoc/8859-15.txt
# /usr/share/catdoc/8859-2.txt
# /usr/share/catdoc/8859-3.txt
# /usr/share/catdoc/8859-4.txt
# /usr/share/catdoc/8859-5.txt
# /usr/share/catdoc/8859-6.txt
# /usr/share/catdoc/8859-7.txt
# /usr/share/catdoc/8859-8.txt
# /usr/share/catdoc/8859-9.txt
# /usr/share/catdoc/big5.txt
# /usr/share/catdoc/cns11643.txt
# /usr/share/catdoc/cp1250.txt
# /usr/share/catdoc/cp1251.txt
# /usr/share/catdoc/cp1252.txt
# /usr/share/catdoc/cp1253.txt
# /usr/share/catdoc/cp1254.txt
# /usr/share/catdoc/cp1255.txt
# /usr/share/catdoc/cp1256.txt
# /usr/share/catdoc/cp1257.txt
# /usr/share/catdoc/cp1258.txt
# /usr/share/catdoc/cp437.txt
# /usr/share/catdoc/cp850.txt
# /usr/share/catdoc/cp852.txt
# /usr/share/catdoc/cp855.txt
# /usr/share/catdoc/cp857.txt
# /usr/share/catdoc/cp860.txt
# /usr/share/catdoc/cp861.txt
# /usr/share/catdoc/cp862.txt
# /usr/share/catdoc/cp863.txt
# /usr/share/catdoc/cp864.txt
# /usr/share/catdoc/cp865.txt
# /usr/share/catdoc/cp866.txt
# /usr/share/catdoc/cp869.txt
# /usr/share/catdoc/cp874.txt
# /usr/share/catdoc/hangul.txt
# /usr/share/catdoc/jis0201.txt
# /usr/share/catdoc/jis0208.txt
# /usr/share/catdoc/jis0212.txt
# /usr/share/catdoc/koi8-r.txt
# /usr/share/catdoc/koi8-u.txt
# /usr/share/catdoc/mac-arabic.txt
# /usr/share/catdoc/mac-centeuro.txt
# /usr/share/catdoc/mac-cyrillic.txt
# /usr/share/catdoc/mac-greek.txt
# /usr/share/catdoc/mac-hebrew.txt
# /usr/share/catdoc/mac-roman.txt
# /usr/share/catdoc/shiftjis.txt
# /usr/share/catdoc/us-ascii.txt
# /usr/share/applications/wordview.desktop
# /usr/share/pixmaps/wordview.xpm
# /usr/share/man/man1/catdoc.1.gz
# /usr/share/man/man1/catppt.1.gz
# /usr/share/man/man1/wordview.1.gz
# /usr/share/man/man1/xls2csv.1.gz

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO usr

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO usr .MTREE | xz -c -z

CMD: bsdtar -tqf catdoc.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/catdoc.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/catdoc.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/catdoc.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'

Printing config logfiles

CMD: config logfiles '/tmp/catdoc/src/catdoc-0.94.4/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# configure:549: checking for gcc
# configure:662: checking whether the C compiler (gcc ) works
# configure:678: gcc -o conftest conftest.c 1>&5
# configure:675:1: warning: return type defaults to 'int' [-Wimplicit-int]
# main(){return(0);}
# ^~~~
# configure:704: checking whether the C compiler (gcc ) is a cross-compiler
# configure:709: checking whether we are using GNU C
# configure:718: gcc -E conftest.c
# configure:737: checking whether gcc accepts -g
# configure:776: checking whether byte ordering is bigendian
# configure:794: gcc -c conftest.c 1>&5
# configure:809: gcc -c conftest.c 1>&5
# configure: In function 'main':
# configure:804:2: error: unknown type name 'not'
# not big endian
# ^~~
# configure:804:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
# not big endian
# ^~~~~~
# configure: failed program was:
# #line 798 "configure"
# #include "confdefs.h"
# #include
# #include
# int main() {
#
# #if BYTE_ORDER != BIG_ENDIAN
# not big endian
# #endif
# ; return 0; }
# configure:896: checking for a BSD compatible install
# configure:1080: checking how to run the C preprocessor
# configure:1101: gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1160: checking for ANSI C header files
# configure:1173: gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1240: gcc -o conftest conftest.c 1>&5
# configure: In function 'main':
# configure:1235:67: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
# if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
# ^~~~
# configure:1235:67: warning: incompatible implicit declaration of built-in function 'exit'
# configure:1235:67: note: include '' or provide a declaration of 'exit'
# configure:1236:1: warning: incompatible implicit declaration of built-in function 'exit'
# exit (0); }
# ^~~~
# configure:1236:1: note: include '' or provide a declaration of 'exit'
# configure:1267: checking for unistd.h
# configure:1277: gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1314: checking for langinfo.h
# configure:1324: gcc -E conftest.c >/dev/null 2>conftest.out
# configure:1342: checking For nl_langinfo(CODESET)
# configure:1351: gcc -c conftest.c 1>&5
# configure:1381: checking for working const
# configure:1435: gcc -c conftest.c 1>&5
# configure:1457: checking whether setvbuf arguments are reversed
# configure:1479: gcc -o conftest conftest.c 1>&5
# configure:1468:1: warning: return type defaults to 'int' [-Wimplicit-int]
# main () {
# ^~~~
# configure: In function 'main':
# configure:1472:23: warning: passing argument 2 of 'setvbuf' makes pointer from integer without a cast [-Wint-conversion]
# if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0)
# ^~~~~~
# In file included from configure:1466:0:
# /usr/include/stdio.h:336:12: note: expected 'char * restrict' but argument is of type 'int'
# extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
# ^~~~~~~
# configure:1472:31: warning: passing argument 3 of 'setvbuf' makes integer from pointer without a cast [-Wint-conversion]
# if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0)
# ^
# In file included from configure:1466:0:
# /usr/include/stdio.h:336:12: note: expected 'int' but argument is of type 'char *'
# extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
# ^~~~~~~
# configure:1473:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
# exit(1);
# ^~~~
# configure:1473:5: warning: incompatible implicit declaration of built-in function 'exit'
# configure:1473:5: note: include '' or provide a declaration of 'exit'
# configure:1475:3: warning: incompatible implicit declaration of built-in function 'exit'
# exit(0); /* Non-reversed systems segv here. */
# ^~~~
# configure:1475:3: note: include '' or provide a declaration of 'exit'
# configure: failed program was:
# #line 1465 "configure"
# #include "confdefs.h"
# #include
# /* If setvbuf has the reversed format, exit 0. */
# main () {
# /* This call has the arguments reversed.
# A reversed system may check and see that the address of main
# is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
# if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0)
# exit(1);
# putc('\r', stdout);
# exit(0); /* Non-reversed systems segv here. */
# }
# configure:1530: checking for strdup
# configure:1558: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
# configure:1542:6: warning: conflicting types for built-in function 'strdup'
# char $ac_func();
# ^~~~~~
# configure:1530: checking for strtol
# configure:1558: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
# configure:1585: checking for strftime
# configure:1613: gcc -o conftest -g -O2 -Wall conftest.c 1>&5
# configure:1597:6: warning: conflicting types for built-in function 'strftime'
# char $ac_func();
# ^~~~~~~~