=> Building textproc/ots build started at Wed Oct 5 17:55:18 PDT 2016 port directory: /usr/ports/textproc/ots building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: ports@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../07//usr/ports/textproc/ots/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=ots-0.5.0_5 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/textproc/ots XDG_CONFIG_HOME=/wrkdirs/textproc/ots HOME=/wrkdirs/textproc/ots TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/textproc/ots XDG_CONFIG_HOME=/wrkdirs/textproc/ots HOME=/wrkdirs/textproc/ots TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib -lm" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/ots" EXAMPLESDIR="share/examples/ots" DATADIR="share/ots" WWWDIR="www/ots" ETCDIR="etc/ots" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ots DOCSDIR=/usr/local/share/doc/ots EXAMPLESDIR=/usr/local/share/examples/ots WWWDIR=/usr/local/www/ots ETCDIR=/usr/local/etc/ots --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> NOTICE: The ots port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2+ accepted by the user =========================================================================== =================================================== ===> ots-0.5.0_5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> ots-0.5.0_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ots-0.5.0_5 =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The ots port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by ots-0.5.0_5 for building =========================================================================== =================================================== ===> NOTICE: The ots port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by ots-0.5.0_5 for building => SHA256 Checksum OK for ots-0.5.0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The ots port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by ots-0.5.0_5 for building ===> Extracting for ots-0.5.0_5 ===> NOTICE: The ots port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by ots-0.5.0_5 for building => SHA256 Checksum OK for ots-0.5.0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for ots-0.5.0_5 =========================================================================== =================================================== ===> ots-0.5.0_5 depends on executable: autoconf-2.69 - not found ===> Installing existing package /packages/All/autoconf-2.69_1.txz Installing autoconf-2.69_1... `-- Installing indexinfo-0.2.5... `-- Extracting indexinfo-0.2.5: .... done `-- Installing autoconf-wrapper-20131203... `-- Extracting autoconf-wrapper-20131203: ........ done `-- Installing perl5-5.20.3_15... `-- Extracting perl5-5.20.3_15: .......... done `-- Installing m4-1.4.17_1,1... `-- Extracting m4-1.4.17_1,1: .......... done Extracting autoconf-2.69_1: .......... done Message from perl5-5.20.3_15: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> ots-0.5.0_5 depends on executable: autoconf-2.69 - found ===> Returning to build of ots-0.5.0_5 ===> ots-0.5.0_5 depends on executable: autoheader-2.69 - found ===> ots-0.5.0_5 depends on executable: autoreconf-2.69 - found ===> ots-0.5.0_5 depends on executable: aclocal-1.15 - not found ===> Installing existing package /packages/All/automake-1.15_1.txz Installing automake-1.15_1... `-- Installing automake-wrapper-20131203... `-- Extracting automake-wrapper-20131203: ... done Extracting automake-1.15_1: .......... done ===> ots-0.5.0_5 depends on executable: aclocal-1.15 - found ===> Returning to build of ots-0.5.0_5 ===> ots-0.5.0_5 depends on executable: automake-1.15 - found ===> ots-0.5.0_5 depends on executable: libtoolize - not found ===> Installing existing package /packages/All/libtool-2.4.6.txz Installing libtool-2.4.6... Extracting libtool-2.4.6: .......... done ===> ots-0.5.0_5 depends on executable: libtoolize - found ===> Returning to build of ots-0.5.0_5 ===> ots-0.5.0_5 depends on executable: msgfmt - not found ===> Installing existing package /packages/All/gettext-tools-0.19.8.1.txz Installing gettext-tools-0.19.8.1... `-- Installing gettext-runtime-0.19.8.1... `-- Extracting gettext-runtime-0.19.8.1: .......... done Extracting gettext-tools-0.19.8.1: .......... done ===> ots-0.5.0_5 depends on executable: msgfmt - found ===> Returning to build of ots-0.5.0_5 ===> ots-0.5.0_5 depends on package: pkgconf>=0.9.10 - not found ===> Installing existing package /packages/All/pkgconf-1.0.1.txz Installing pkgconf-1.0.1... Extracting pkgconf-1.0.1: .......... done ===> ots-0.5.0_5 depends on package: pkgconf>=0.9.10 - found ===> Returning to build of ots-0.5.0_5 =========================================================================== =================================================== ===> ots-0.5.0_5 depends on shared library: libpopt.so - not found ===> Installing existing package /packages/All/popt-1.16_1.txz Installing popt-1.16_1... Extracting popt-1.16_1: .......... done ===> ots-0.5.0_5 depends on shared library: libpopt.so - found (/usr/local/lib/libpopt.so) ===> Returning to build of ots-0.5.0_5 ===> ots-0.5.0_5 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> ots-0.5.0_5 depends on shared library: libglib-2.0.so - not found ===> Installing existing package /packages/All/glib-2.46.2_3.txz Installing glib-2.46.2_3... `-- Installing libiconv-1.14_9... `-- Extracting libiconv-1.14_9: .......... done `-- Installing python27-2.7.12... | `-- Installing expat-2.2.0... | `-- Extracting expat-2.2.0: .......... done | `-- Installing readline-6.3.8... | | `-- Installing ncurses-6.0_5... | | `-- Extracting ncurses-6.0_5: .......... done | `-- Extracting readline-6.3.8: .......... done | `-- Installing libffi-3.2.1... | `-- Extracting libffi-3.2.1: .......... done | `-- Installing libressl-2.4.3... | `-- Extracting libressl-2.4.3: .......... done `-- Extracting python27-2.7.12: .......... done `-- Installing pcre-8.39... `-- Extracting pcre-8.39: .......... done Extracting glib-2.46.2_3: .......... done No schema files found: doing nothing. Message from ncurses-6.0_5: ===> NOTICE: The ncurses port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Message from python27-2.7.12: =========================================================================== Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter =========================================================================== ===> ots-0.5.0_5 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> Returning to build of ots-0.5.0_5 ===> ots-0.5.0_5 depends on shared library: libxml2.so - not found ===> Installing existing package /packages/All/libxml2-2.9.4.txz Installing libxml2-2.9.4... Extracting libxml2-2.9.4: .......... done ===> ots-0.5.0_5 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so) ===> Returning to build of ots-0.5.0_5 =========================================================================== =================================================== ===> Configuring for ots-0.5.0_5 aclocal-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in' libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. aclocal-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:38: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:38: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:43: installing './compile' configure.in:38: installing './missing' automake-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/Makefile.am:19: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am: installing './depcomp' configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-portbld-dragonfly4.7 checking host system type... x86_64-portbld-dragonfly4.7 checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking how to convert x86_64-portbld-dragonfly4.7 file names to x86_64-portbld-dragonfly4.7 format... func_convert_file_noop checking how to convert x86_64-portbld-dragonfly4.7 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... dragonfly4.7 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ANSI C header files... (cached) yes checking for an ANSI C-conforming const... yes checking pkg-config is at least version 0.9.0... yes checking for OTS... yes checking for poptParseArgvString in -lpopt... yes checking for native Win32... no checking for Win32 platform in general... no checking for gtkdoc-mkdb... false checking for db2html... false checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libots-1.pc config.status: creating ots.spec config.status: creating src/Makefile config.status: creating dic/Makefile config.status: creating articles/Makefile config.status: creating ots-config.h config.status: executing depfiles commands config.status: executing libtool commands ots-0.5.0 prefix: /usr/local compiler: cc =========================================================================== =================================================== ===> Building for ots-0.5.0_5 /usr/bin/make all-recursive Making all in src /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT article.lo -MD -MP -MF .deps/article.Tpo -c -o article.lo article.c libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT article.lo -MD -MP -MF .deps/article.Tpo -c article.c -fPIC -DPIC -o .libs/article.o article.c: In function 'ots_append_word': article.c:107:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((aWord == NULL) || (0==strlen(aWord)) ||(NULL==aLine)) return; ^ In file included from article.c:23:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *) __pure; ^ article.c:109:68: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] aLine->words = g_list_append (aLine->words, (gpointer) g_strdup (aWord)); ^ In file included from /usr/local/include/glib-2.0/glib.h:79:0, from libots.h:24, from article.c:25: /usr/local/include/glib-2.0/glib/gstrfuncs.h:216:22: note: expected 'const gchar * {aka const char *}' but argument is of type 'const unsigned char *' gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; ^ libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT article.lo -MD -MP -MF .deps/article.Tpo -c article.c -o article.o >/dev/null 2>&1 mv -f .deps/article.Tpo .deps/article.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT dictionary.lo -MD -MP -MF .deps/dictionary.Tpo -c -o dictionary.lo dictionary.c libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT dictionary.lo -MD -MP -MF .deps/dictionary.Tpo -c dictionary.c -fPIC -DPIC -o .libs/dictionary.o dictionary.c: In function 'ots_load_xml_dictionary': dictionary.c:321:33: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] idf_key=xmlGetProp(tf_words,"idf"); ^ In file included from /usr/local/include/libxml2/libxml/parser.h:16:0, from /usr/local/include/libxml2/libxml/globals.h:18, from /usr/local/include/libxml2/libxml/threads.h:35, from /usr/local/include/libxml2/libxml/xmlmemory.h:218, from dictionary.c:28: /usr/local/include/libxml2/libxml/tree.h:1029:3: note: expected 'const xmlChar * {aka const unsigned char *}' but argument is of type 'char *' xmlGetProp (const xmlNode *node, ^ dictionary.c:322:77: warning: pointer targets in passing argument 1 of 'atof' differ in signedness [-Wpointer-sign] Doc->tf_terms = g_list_append (Doc->tf_terms,ots_new_OtsWordTF(key,atof(idf_key))); ^ In file included from dictionary.c:22:0: /usr/include/stdlib.h:88:9: note: expected 'const char *' but argument is of type 'xmlChar * {aka unsigned char *}' double atof(const char *); ^ dictionary.c:322:68: warning: pointer targets in passing argument 1 of 'ots_new_OtsWordTF' differ in signedness [-Wpointer-sign] Doc->tf_terms = g_list_append (Doc->tf_terms,ots_new_OtsWordTF(key,atof(idf_key))); ^ In file included from dictionary.c:25:0: libots.h:114:13: note: expected 'const char *' but argument is of type 'xmlChar * {aka unsigned char *}' OtsWordTF* ots_new_OtsWordTF(const char* word,const double idf); ^ libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT dictionary.lo -MD -MP -MF .deps/dictionary.Tpo -c dictionary.c -o dictionary.o >/dev/null 2>&1 mv -f .deps/dictionary.Tpo .deps/dictionary.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT grader.lo -MD -MP -MF .deps/grader.Tpo -c -o grader.lo grader.c libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT grader.lo -MD -MP -MF .deps/grader.Tpo -c grader.c -fPIC -DPIC -o .libs/grader.o libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT grader.lo -MD -MP -MF .deps/grader.Tpo -c grader.c -o grader.o >/dev/null 2>&1 mv -f .deps/grader.Tpo .deps/grader.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT grader-tf.lo -MD -MP -MF .deps/grader-tf.Tpo -c -o grader-tf.lo grader-tf.c libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT grader-tf.lo -MD -MP -MF .deps/grader-tf.Tpo -c grader-tf.c -fPIC -DPIC -o .libs/grader-tf.o grader-tf.c: In function 'ots_calc_idf': grader-tf.c:108:9: warning: implicit declaration of function 'log' [-Wimplicit-function-declaration] return -log(doc_word_count/term_count); ^ grader-tf.c:108:9: warning: incompatible implicit declaration of built-in function 'log' grader-tf.c:108:9: note: include '' or provide a declaration of 'log' libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT grader-tf.lo -MD -MP -MF .deps/grader-tf.Tpo -c grader-tf.c -o grader-tf.o >/dev/null 2>&1 mv -f .deps/grader-tf.Tpo .deps/grader-tf.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT grader-tc.lo -MD -MP -MF .deps/grader-tc.Tpo -c -o grader-tc.lo grader-tc.c libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT grader-tc.lo -MD -MP -MF .deps/grader-tc.Tpo -c grader-tc.c -fPIC -DPIC -o .libs/grader-tc.o grader-tc.c: In function 'ots_line_add_wordlist': grader-tc.c:65:62: warning: pointer targets in passing argument 2 of 'ots_add_wordstat' differ in signedness [-Wpointer-sign] if (li->data && strlen (li->data)) ots_add_wordstat (Doc, (char *)li->data); ^ In file included from grader-tc.c:27:0: grader-tc.h:53:6: note: expected 'const unsigned char *' but argument is of type 'char *' void ots_add_wordstat (OtsArticle * Doc,unsigned const char *wordString); ^ grader-tc.c: In function 'ots_grade_line': grader-tc.c:112:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] tmp_stem = ots_stem_strip ((unsigned char *) li->data, rule); ^ libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT grader-tc.lo -MD -MP -MF .deps/grader-tc.Tpo -c grader-tc.c -o grader-tc.o >/dev/null 2>&1 mv -f .deps/grader-tc.Tpo .deps/grader-tc.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT html.lo -MD -MP -MF .deps/html.Tpo -c -o html.lo html.c libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT html.lo -MD -MP -MF .deps/html.Tpo -c html.c -fPIC -DPIC -o .libs/html.o html.c: In function 'ots_get_line_HTML': html.c:62:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] utf8_data = text->str; ^ html.c: In function 'ots_get_doc_HTML': html.c:105:34: warning: pointer targets in passing argument 2 of 'g_string_append_len' differ in signedness [-Wpointer-sign] g_string_append_len (text, utf8_data, line_len); ^ In file included from /usr/local/include/glib-2.0/glib/giochannel.h:34:0, from /usr/local/include/glib-2.0/glib.h:54, from libots.h:24, from html.c:24: /usr/local/include/glib-2.0/glib/gstring.h:83:14: note: expected 'const gchar * {aka const char *}' but argument is of type 'unsigned char *' GString* g_string_append_len (GString *string, ^ html.c:112:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] utf8_data = text->str; ^ libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT html.lo -MD -MP -MF .deps/html.Tpo -c html.c -o html.o >/dev/null 2>&1 mv -f .deps/html.Tpo .deps/html.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c -o parser.lo parser.c libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c parser.c -fPIC -DPIC -o .libs/parser.o parser.c: In function 'ots_parse_file': parser.c:68:16: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (buffer + total_read, fread_buffer, nread); ^ In file included from parser.c:23:0: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ parser.c:68:37: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (buffer + total_read, fread_buffer, nread); ^ In file included from parser.c:23:0: /usr/include/string.h:113:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ parser.c: In function 'ots_parse_stream': parser.c:141:31: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] ots_append_word (tmpLine, word_buffer->str); ^ In file included from parser.c:25:0: libots.h:96:6: note: expected 'const unsigned char *' but argument is of type 'gchar * {aka char *}' void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); ^ parser.c:151:43: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] if (uc=='\n') {ots_append_word (tmpLine,"\n");} ^ In file included from parser.c:25:0: libots.h:96:6: note: expected 'const unsigned char *' but argument is of type 'char *' void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); ^ parser.c:153:29: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] {ots_append_word (tmpLine," ");} ^ In file included from parser.c:25:0: libots.h:96:6: note: expected 'const unsigned char *' but argument is of type 'char *' void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); ^ parser.c:166:31: warning: pointer targets in passing argument 2 of 'ots_append_word' differ in signedness [-Wpointer-sign] ots_append_word (tmpLine, word_buffer->str); ^ In file included from parser.c:25:0: libots.h:96:6: note: expected 'const unsigned char *' but argument is of type 'gchar * {aka char *}' void ots_append_word (OtsSentence * aLine,unsigned const char *aWord); ^ libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c parser.c -o parser.o >/dev/null 2>&1 mv -f .deps/parser.Tpo .deps/parser.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT text.lo -MD -MP -MF .deps/text.Tpo -c -o text.lo text.c libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT text.lo -MD -MP -MF .deps/text.Tpo -c text.c -fPIC -DPIC -o .libs/text.o text.c: In function 'ots_get_line_text': text.c:50:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] utf8_data = text->str; ^ text.c: In function 'ots_get_doc_text': text.c:79:34: warning: pointer targets in passing argument 2 of 'g_string_append_len' differ in signedness [-Wpointer-sign] g_string_append_len (text, utf8_data, line_len); ^ In file included from /usr/local/include/glib-2.0/glib/giochannel.h:34:0, from /usr/local/include/glib-2.0/glib.h:54, from libots.h:24, from text.c:25: /usr/local/include/glib-2.0/glib/gstring.h:83:14: note: expected 'const gchar * {aka const char *}' but argument is of type 'unsigned char *' GString* g_string_append_len (GString *string, ^ text.c:85:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] utf8_data = text->str; ^ libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT text.lo -MD -MP -MF .deps/text.Tpo -c text.c -o text.o >/dev/null 2>&1 mv -f .deps/text.Tpo .deps/text.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT stemmer.lo -MD -MP -MF .deps/stemmer.Tpo -c -o stemmer.lo stemmer.c libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT stemmer.lo -MD -MP -MF .deps/stemmer.Tpo -c stemmer.c -fPIC -DPIC -o .libs/stemmer.o stemmer.c: In function 'ots_stem_break': stemmer.c:81:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] clen = strlen (comp); ^ In file included from stemmer.c:24:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *) __pure; ^ stemmer.c: In function 'ots_stem_remove_pre': stemmer.c:114:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] plen = strlen (pre); ^ In file included from stemmer.c:24:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *) __pure; ^ stemmer.c:115:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] wlen = strlen (aWord); ^ In file included from stemmer.c:24:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *) __pure; ^ stemmer.c:116:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] nlen = strlen (new); ^ In file included from stemmer.c:24:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *) __pure; ^ stemmer.c:122:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] new_str = g_new0 (char, wlen + nlen +5); ^ stemmer.c: In function 'ots_stem_remove_post': stemmer.c:143:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] wlen = strlen (aWord); ^ In file included from stemmer.c:24:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *) __pure; ^ stemmer.c:144:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] plen = strlen (post); ^ In file included from stemmer.c:24:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *) __pure; ^ stemmer.c:145:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] nlen = strlen (new); ^ In file included from stemmer.c:24:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *) __pure; ^ stemmer.c:154:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] new_str = g_new0 (char, wlen + nlen +5); ^ stemmer.c: In function 'ots_stem_replace_word': stemmer.c:173:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if ((aWord)&&(0 == strcmp (aWord, old))) ^ In file included from stemmer.c:24:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'const unsigned char *' int strcmp(const char *, const char *) __pure; ^ stemmer.c:173:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if ((aWord)&&(0 == strcmp (aWord, old))) ^ In file included from stemmer.c:24:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'const unsigned char *' int strcmp(const char *, const char *) __pure; ^ stemmer.c:175:24: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] return g_strdup (new); ^ In file included from /usr/local/include/glib-2.0/glib.h:79:0, from libots.h:24, from stemmer.c:25: /usr/local/include/glib-2.0/glib/gstrfuncs.h:216:22: note: expected 'const gchar * {aka const char *}' but argument is of type 'const unsigned char *' gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; ^ stemmer.c:175:14: warning: pointer targets in return differ in signedness [-Wpointer-sign] return g_strdup (new); ^ stemmer.c: In function 'ots_stem_format': stemmer.c:197:30: warning: pointer targets in passing argument 1 of 'g_utf8_strdown' differ in signedness [-Wpointer-sign] normWord = g_utf8_strdown (aWord, -1); /*lowercase the word */ ^ In file included from /usr/local/include/glib-2.0/glib/gstring.h:33:0, from /usr/local/include/glib-2.0/glib/giochannel.h:34, from /usr/local/include/glib-2.0/glib.h:54, from libots.h:24, from stemmer.c:25: /usr/local/include/glib-2.0/glib/gunicode.h:798:8: note: expected 'const gchar * {aka const char *}' but argument is of type 'const unsigned char *' gchar *g_utf8_strdown (const gchar *str, ^ stemmer.c:197:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] normWord = g_utf8_strdown (aWord, -1); /*lowercase the word */ ^ stemmer.c:207:33: warning: pointer targets in passing argument 2 of 'ots_stem_break' differ in signedness [-Wpointer-sign] ots_stem_break (li->data, prefix, newfix); ^ stemmer.c:71:1: note: expected 'unsigned char *' but argument is of type 'char *' ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ ^ stemmer.c:207:41: warning: pointer targets in passing argument 3 of 'ots_stem_break' differ in signedness [-Wpointer-sign] ots_stem_break (li->data, prefix, newfix); ^ stemmer.c:71:1: note: expected 'unsigned char *' but argument is of type 'char *' ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ ^ stemmer.c:208:44: warning: pointer targets in passing argument 2 of 'ots_stem_remove_pre' differ in signedness [-Wpointer-sign] rep = ots_stem_remove_pre (normWord, prefix, newfix); ^ stemmer.c:107:1: note: expected 'const unsigned char *' but argument is of type 'char *' ots_stem_remove_pre (unsigned const char *aWord,unsigned const char *pre,unsigned const char *new) ^ stemmer.c:208:52: warning: pointer targets in passing argument 3 of 'ots_stem_remove_pre' differ in signedness [-Wpointer-sign] rep = ots_stem_remove_pre (normWord, prefix, newfix); ^ stemmer.c:107:1: note: expected 'const unsigned char *' but argument is of type 'char *' ots_stem_remove_pre (unsigned const char *aWord,unsigned const char *pre,unsigned const char *new) ^ stemmer.c:220:33: warning: pointer targets in passing argument 2 of 'ots_stem_break' differ in signedness [-Wpointer-sign] ots_stem_break (li->data, prefix, newfix); ^ stemmer.c:71:1: note: expected 'unsigned char *' but argument is of type 'char *' ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ ^ stemmer.c:220:41: warning: pointer targets in passing argument 3 of 'ots_stem_break' differ in signedness [-Wpointer-sign] ots_stem_break (li->data, prefix, newfix); ^ stemmer.c:71:1: note: expected 'unsigned char *' but argument is of type 'char *' ots_stem_break (unsigned const char *comp,unsigned char *part_a,unsigned char *part_b) /*given already alocated part_a and b */ ^ stemmer.c:221:44: warning: pointer targets in passing argument 2 of 'ots_stem_remove_post' differ in signedness [-Wpointer-sign] rep = ots_stem_remove_post(normWord, prefix, newfix); ^ stemmer.c:136:1: note: expected 'const unsigned char *' but argument is of type 'char *' ots_stem_remove_post (unsigned const char *aWord,unsigned const char *post,unsigned const char *new) ^ stemmer.c:221:52: warning: pointer targets in passing argument 3 of 'ots_stem_remove_post' differ in signedness [-Wpointer-sign] rep = ots_stem_remove_post(normWord, prefix, newfix); ^ stemmer.c:136:1: note: expected 'const unsigned char *' but argument is of type 'char *' ots_stem_remove_post (unsigned const char *aWord,unsigned const char *post,unsigned const char *new) ^ stemmer.c: In function 'ots_stem_strip': stemmer.c:253:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] prefix = g_new0 (char, MAX_PREFIX_SIZE); ^ stemmer.c:254:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] newfix = g_new0 (char, MAX_PREFIX_SIZE); ^ stemmer.c:324:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(normWord)<3) /*stem is two letter long. thats not right. N(eed)==N(ation) ?*/ ^ In file included from stemmer.c:24:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT stemmer.lo -MD -MP -MF .deps/stemmer.Tpo -c stemmer.c -o stemmer.o >/dev/null 2>&1 mv -f .deps/stemmer.Tpo .deps/stemmer.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT highlighter.lo -MD -MP -MF .deps/highlighter.Tpo -c -o highlighter.lo highlighter.c libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT highlighter.lo -MD -MP -MF .deps/highlighter.Tpo -c highlighter.c -fPIC -DPIC -o .libs/highlighter.o highlighter.c: In function 'ots_highlight_doc_lines': highlighter.c:100:7: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] int tmp; ^ libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT highlighter.lo -MD -MP -MF .deps/highlighter.Tpo -c highlighter.c -o highlighter.o >/dev/null 2>&1 mv -f .deps/highlighter.Tpo .deps/highlighter.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT wordlist.lo -MD -MP -MF .deps/wordlist.Tpo -c -o wordlist.lo wordlist.c libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT wordlist.lo -MD -MP -MF .deps/wordlist.Tpo -c wordlist.c -fPIC -DPIC -o .libs/wordlist.o wordlist.c: In function 'ots_new_wordEntery_strip': wordlist.c:35:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] aWord->word = ots_stem_format(wordString,rule); ^ wordlist.c:36:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] aWord->stem = ots_stem_strip(wordString,rule); ^ wordlist.c: In function 'ots_new_wordEntery': wordlist.c:45:27: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] aWord->word = g_strdup (wordString); ^ In file included from /usr/local/include/glib-2.0/glib.h:79:0, from libots.h:24, from wordlist.c:25: /usr/local/include/glib-2.0/glib/gstrfuncs.h:216:22: note: expected 'const gchar * {aka const char *}' but argument is of type 'const unsigned char *' gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; ^ wordlist.c:46:27: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] aWord->stem = g_strdup (wordString); ^ In file included from /usr/local/include/glib-2.0/glib.h:79:0, from libots.h:24, from wordlist.c:25: /usr/local/include/glib-2.0/glib/gstrfuncs.h:216:22: note: expected 'const gchar * {aka const char *}' but argument is of type 'const unsigned char *' gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; ^ wordlist.c: In function 'ots_union_list': wordlist.c:117:6: warning: 'g_strncasecmp' is deprecated [-Wdeprecated-declarations] if (0 == g_strncasecmp ((((OtsWordEntery *) li->data)->word), /*fix me: unicode issue?*/ ^ In file included from /usr/local/include/glib-2.0/glib.h:79:0, from libots.h:24, from wordlist.c:25: /usr/local/include/glib-2.0/glib/gstrfuncs.h:203:23: note: declared here gint g_strncasecmp (const gchar *s1, ^ wordlist.c: In function 'ots_add_wordstat': wordlist.c:174:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (0==strlen(wordString)) return; ^ In file included from wordlist.c:23:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *) __pure; ^ wordlist.c:175:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (0==strcmp(wordString," ")) return; ^ In file included from wordlist.c:23:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'const unsigned char *' int strcmp(const char *, const char *) __pure; ^ wordlist.c:176:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (0==strcmp(wordString,"\n")) return; ^ In file included from wordlist.c:23:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'const unsigned char *' int strcmp(const char *, const char *) __pure; ^ wordlist.c:177:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (0==strcmp(wordString,"\t")) return; ^ In file included from wordlist.c:23:0: /usr/include/string.h:83:6: note: expected 'const char *' but argument is of type 'const unsigned char *' int strcmp(const char *, const char *) __pure; ^ wordlist.c:180:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] tmp = ots_stem_strip (wordString, rule); ^ libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT wordlist.lo -MD -MP -MF .deps/wordlist.Tpo -c wordlist.c -o wordlist.o >/dev/null 2>&1 mv -f .deps/wordlist.Tpo .deps/wordlist.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT relations.lo -MD -MP -MF .deps/relations.Tpo -c -o relations.lo relations.c libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT relations.lo -MD -MP -MF .deps/relations.Tpo -c relations.c -fPIC -DPIC -o .libs/relations.o relations.c: In function 'ots_text_topics': relations.c:83:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (text!=NULL) ots_parse_stream (text,strlen(text), Art); /* read text , put it in struct Article */ ^ In file included from relations.c:23:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *) __pure; ^ relations.c:89:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] tmp=ots_word_in_list(Art->ImpWords,i); ^ relations.c:90:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((tmp!=NULL)&&(strlen(tmp)>0)) {g_string_append(word,tmp); ^ In file included from relations.c:23:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ relations.c:90:57: warning: pointer targets in passing argument 2 of 'g_string_append' differ in signedness [-Wpointer-sign] if ((tmp!=NULL)&&(strlen(tmp)>0)) {g_string_append(word,tmp); ^ In file included from /usr/local/include/glib-2.0/glib/giochannel.h:34:0, from /usr/local/include/glib-2.0/glib.h:54, from grader-tc.h:25, from relations.c:24: /usr/local/include/glib-2.0/glib/gstring.h:80:14: note: expected 'const gchar * {aka const char *}' but argument is of type 'unsigned char *' GString* g_string_append (GString *string, ^ relations.c:95:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] str=word->str; ^ relations.c:99:8: warning: pointer targets in return differ in signedness [-Wpointer-sign] return str; ^ relations.c: In function 'ots_text_stem_list': relations.c:117:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (text!=NULL) ots_parse_stream (text,strlen(text), Art); ^ In file included from relations.c:23:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'const unsigned char *' size_t strlen(const char *) __pure; ^ relations.c:123:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] tmp=ots_stem_in_list(Art->ImpWords,i); ^ relations.c:124:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((tmp)&&(strlen(tmp)>0)) ^ In file included from relations.c:23:0: /usr/include/string.h:105:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^ relations.c:125:38: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness [-Wpointer-sign] topics=g_list_append(topics,g_strdup(tmp)); ^ In file included from /usr/local/include/glib-2.0/glib.h:79:0, from grader-tc.h:25, from relations.c:24: /usr/local/include/glib-2.0/glib/gstrfuncs.h:216:22: note: expected 'const gchar * {aka const char *}' but argument is of type 'unsigned char *' gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; ^ relations.c: In function 'ots_topic_list_score': relations.c:145:26: warning: passing argument 1 of 'g_list_first' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] tmplist1 = g_list_first(topic_list1); ^ In file included from /usr/local/include/glib-2.0/glib/ghash.h:33:0, from /usr/local/include/glib-2.0/glib.h:50, from grader-tc.h:25, from relations.c:24: /usr/local/include/glib-2.0/glib/glist.h:128:10: note: expected 'GList * {aka struct _GList *}' but argument is of type 'const GList * {aka const struct _GList *}' GList* g_list_first (GList *list); ^ relations.c:148:26: warning: passing argument 1 of 'g_list_first' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] tmplist2 = g_list_first(topic_list2); ^ In file included from /usr/local/include/glib-2.0/glib/ghash.h:33:0, from /usr/local/include/glib-2.0/glib.h:50, from grader-tc.h:25, from relations.c:24: /usr/local/include/glib-2.0/glib/glist.h:128:10: note: expected 'GList * {aka struct _GList *}' but argument is of type 'const GList * {aka const struct _GList *}' GList* g_list_first (GList *list); ^ libtool: compile: cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT relations.lo -MD -MP -MF .deps/relations.Tpo -c relations.c -o relations.o >/dev/null 2>&1 mv -f .deps/relations.Tpo .deps/relations.Plo /bin/sh ../libtool --tag=CC --mode=link cc -pipe -O2 -fno-strict-aliasing -version-info 5:0:5 -L/usr/local/lib -lm -o libots-1.la -rpath /usr/local/lib article.lo dictionary.lo grader.lo grader-tf.lo grader-tc.lo html.lo parser.lo text.lo stemmer.lo highlighter.lo wordlist.lo relations.lo -L/usr/local/lib -lglib-2.0 -lintl -lxml2 libtool: link: cc -shared -fPIC -DPIC .libs/article.o .libs/dictionary.o .libs/grader.o .libs/grader-tf.o .libs/grader-tc.o .libs/html.o .libs/parser.o .libs/text.o .libs/stemmer.o .libs/highlighter.o .libs/wordlist.o .libs/relations.o -L/usr/local/lib -lm -lglib-2.0 -lintl -lxml2 -O2 -Wl,-soname -Wl,libots-1.so.0 -o .libs/libots-1.so.0.5.0 libtool: link: (cd ".libs" && rm -f "libots-1.so.0" && ln -s "libots-1.so.0.5.0" "libots-1.so.0") libtool: link: (cd ".libs" && rm -f "libots-1.so" && ln -s "libots-1.so.0.5.0" "libots-1.so") libtool: link: ar cru .libs/libots-1.a article.o dictionary.o grader.o grader-tf.o grader-tc.o html.o parser.o text.o stemmer.o highlighter.o wordlist.o relations.o libtool: link: ranlib .libs/libots-1.a libtool: link: ( cd ".libs" && rm -f "libots-1.la" && ln -s "../libots-1.la" "libots-1.la" ) cc -DHAVE_CONFIG_H -DVERSION=\"0.5.0\" -DDICTIONARY_DIR=\"/usr/local/share/ots/\" -I. -I.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -pipe -O2 -fno-strict-aliasing -MT ots.o -MD -MP -MF .deps/ots.Tpo -c -o ots.o ots.c ots.c: In function 'main': ots.c:130:38: warning: pointer targets in passing argument 2 of 'ots_load_xml_dictionary' differ in signedness [-Wpointer-sign] if (!ots_load_xml_dictionary (Art, dictionary_file)) ^ In file included from ots.c:28:0: libots.h:101:10: note: expected 'const unsigned char *' but argument is of type 'char *' gboolean ots_load_xml_dictionary (OtsArticle * Doc,unsigned const char *name); ^ ots.c:46:7: warning: unused variable 'c' [-Wunused-variable] int c,n_args=0; ^ mv -f .deps/ots.Tpo .deps/ots.Po /bin/sh ../libtool --tag=CC --mode=link cc -pipe -O2 -fno-strict-aliasing -L/usr/local/lib -lm -o ots ots.o ../src/libots-1.la -L/usr/local/lib -lglib-2.0 -lintl -lxml2 -lpopt libtool: link: cc -pipe -O2 -fno-strict-aliasing -o .libs/ots ots.o -L/usr/local/lib ../src/.libs/libots-1.so -lpopt -lm -lglib-2.0 -lintl -lxml2 -Wl,-rpath -Wl,/usr/local/lib Making all in dic =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for ots-0.5.0_5 ===> Generating temporary packing list if test -z 'strip'; then /usr/bin/make INSTALL_PROGRAM="/bin/sh /wrkdirs/textproc/ots/ots-0.5.0/install-sh -c -s" install_sh_PROGRAM="/bin/sh /wrkdirs/textproc/ots/ots-0.5.0/install-sh -c -s" INSTALL_STRIP_FLAG=-s install; else /usr/bin/make INSTALL_PROGRAM="/bin/sh /wrkdirs/textproc/ots/ots-0.5.0/install-sh -c -s" install_sh_PROGRAM="/bin/sh /wrkdirs/textproc/ots/ots-0.5.0/install-sh -c -s" INSTALL_STRIP_FLAG=-s "INSTALL_PROGRAM_ENV=STRIPPROG='strip'" install; fi Making install in src /bin/mkdir -p '/wrkdirs/textproc/ots/stage/usr/local/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c -s libots-1.la '/wrkdirs/textproc/ots/stage/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libots-1.so.0.5.0 /wrkdirs/textproc/ots/stage/usr/local/lib/libots-1.so.0.5.0 libtool: install: strip --strip-unneeded /wrkdirs/textproc/ots/stage/usr/local/lib/libots-1.so.0.5.0 libtool: install: (cd /wrkdirs/textproc/ots/stage/usr/local/lib && { ln -s -f libots-1.so.0.5.0 libots-1.so.0 || { rm -f libots-1.so.0 && ln -s libots-1.so.0.5.0 libots-1.so.0; }; }) libtool: install: (cd /wrkdirs/textproc/ots/stage/usr/local/lib && { ln -s -f libots-1.so.0.5.0 libots-1.so || { rm -f libots-1.so && ln -s libots-1.so.0.5.0 libots-1.so; }; }) libtool: install: /usr/bin/install -c .libs/libots-1.lai /wrkdirs/textproc/ots/stage/usr/local/lib/libots-1.la libtool: install: /usr/bin/install -c .libs/libots-1.a /wrkdirs/textproc/ots/stage/usr/local/lib/libots-1.a libtool: install: strip --strip-debug /wrkdirs/textproc/ots/stage/usr/local/lib/libots-1.a libtool: install: chmod 644 /wrkdirs/textproc/ots/stage/usr/local/lib/libots-1.a libtool: install: ranlib /wrkdirs/textproc/ots/stage/usr/local/lib/libots-1.a libtool: warning: remember to run 'libtool --finish /usr/local/lib' /bin/mkdir -p '/wrkdirs/textproc/ots/stage/usr/local/bin' STRIPPROG='strip' /bin/sh ../libtool --mode=install /bin/sh /wrkdirs/textproc/ots/ots-0.5.0/install-sh -c -s ots '/wrkdirs/textproc/ots/stage/usr/local/bin' libtool: warning: '../src/libots-1.la' has not been installed in '/usr/local/lib' libtool: install: /bin/sh /wrkdirs/textproc/ots/ots-0.5.0/install-sh -c -s .libs/ots /wrkdirs/textproc/ots/stage/usr/local/bin/ots /bin/mkdir -p '/wrkdirs/textproc/ots/stage/usr/local/include/libots-1/ots' install -m 0644 libots.h '/wrkdirs/textproc/ots/stage/usr/local/include/libots-1/ots' Making install in dic /bin/mkdir -p '/wrkdirs/textproc/ots/stage/usr/local/share/ots' install -m 0644 bg.xml ca.xml cs.xml cy.xml da.xml de.xml el.xml en.xml eo.xml es.xml et.xml eu.xml fi.xml fr.xml ga.xml gl.xml he.xml hu.xml ia.xml id.xml is.xml it.xml lv.xml mi.xml ms.xml mt.xml nl.xml nn.xml pl.xml pt.xml ro.xml ru.xml sv.xml tl.xml tr.xml uk.xml yi.xml en.xml '/wrkdirs/textproc/ots/stage/usr/local/share/ots' /bin/mkdir -p '/wrkdirs/textproc/ots/stage/usr/local/libdata/pkgconfig' install -m 0644 libots-1.pc '/wrkdirs/textproc/ots/stage/usr/local/libdata/pkgconfig' ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for ots-0.5.0_5 file sizes/checksums [47]: . done packing files [47]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for ots-0.5.0_5 build of textproc/ots ended at Wed Oct 5 17:55:56 PDT 2016 build time: 00:00:38