Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2014 03:23:01 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 10amd64-default-ssp][textproc/ots] Failed for ots-0.5.0_4 in build
Message-ID:  <201410130323.s9D3N1fa068493@beefy4.isc.freebsd.org>

next in thread | raw e-mail | index | archive | help

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     ports@FreeBSD.org
Last committer: tijl@FreeBSD.org
Ident:          $FreeBSD: head/textproc/ots/Makefile 360263 2014-07-02 20:58:04Z tijl $
Log URL:        http://beefy4.isc.freebsd.org/data/10amd64-default-ssp/2014-10-12_14h21m47s/logs/ots-0.5.0_4.log
Build URL:      http://beefy4.isc.freebsd.org/build.html?mastername=10amd64-default-ssp&build=2014-10-12_14h21m47s
Log:

====>> Building textproc/ots
build started at Mon Oct 13 03:22:34 UTC 2014
port directory: /usr/ports/textproc/ots
building for: FreeBSD pkg.FreeBSD.org 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 amd64
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/textproc/ots/Makefile 360263 2014-07-02 20:58:04Z tijl $
Poudriere version: 3.1-pre
Host OSVERSION: 1100027
Jail OSVERSION: 1000510

---Begin Environment---
OSVERSION=1000510
UNAME_v=FreeBSD 10.0-RELEASE-p3
UNAME_r=10.0-RELEASE-p3
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/10amd64-default-ssp/ref
PKG_EXT=txz
FORCE_PACKAGE=yes
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=ots-0.5.0_4
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
OLDPWD=/root
PWD=/usr/local/poudriere/data/.m/10amd64-default-ssp/ref/.p/pool
MASTERNAME=10amd64-default-ssp
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=/.p/pkg-static version
PKG_BIN=/usr/local/sbin/pkg-static
---End Environment---

---Begin OPTIONS List---
---End OPTIONS List---

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/ots/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/ots/work  HOME=/wrkdirs/usr/ports/textproc/ots/work TMPDIR="/tmp" PKG_CONFIG=pkgconf SHELL=/bin/sh CONFIG_SHELL=/bin/sh AUTOMAKE=/usr/local/bin/automake-1.14  AUTOMAKE_DIR=/usr/local/share/automake-1.14  AUTOMAKE_VERSION=1.14  AUTOMAKE_APIVER=1.14  ACLOCAL=/usr/local/bin/aclocal-1.14  ACLOCAL_DIR=/usr/local/share/aclocal-1.14 AUTOCONF=/usr/local/bin/autoconf-2.69  AUTOCONF_DIR=/usr/local/share/autoconf-2.69  AUTOHEADER=/usr/local/bin/autoheader-2.69  AUTOIFNAMES=/usr/local/bin/ifnames-2.69  AUTOM4TE=/usr/local/bin/autom4te-2.69  AUTORECONF=/usr/local/bin/autoreconf-2.69  AUTOSCAN=/usr/local/bin/autoscan-2.69  AUTOUPDATE=/usr/local/bin/autoupdate-2.69  AUTOCONF_VERSION=2.69 LIBTOOLIZE=/usr/local/bin/libtoolize  LIBTOOL_LIBEXECDIR=/usr/local/libexec/libtool  LIBTOOL_SHAREDIR=/usr/local/share/libtool  LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4  LTMAIN=/usr/local/share/libtool/config/ltmai
 n.sh PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin CCACHE_DIR="/root/.ccache" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/ots/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/ots/work  HOME=/wrkdirs/usr/ports/textproc/ots/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES AUTOMAKE=/usr/local/bin/automake-1.14  AUTOMAKE_DIR=/usr/local/share/automake-1.14  AUTOMAKE_VERSION=1.14  AUTOMAKE_APIVER=1.14  ACLOCAL=/usr/local/bin/aclocal-1.14  ACLOCAL_DIR=/usr/local/share/aclocal-1.14 AUTOCONF=/usr/local/bin/autoconf-2.69  AUTOCONF_DIR=/usr/local/share/autoconf-2.69  AUTOHEADER=/usr/local/bin/autoheader-2.69  AUTOIFNAMES=/usr/local/bin/ifnames-2.69  AUTOM4TE=/usr/local/bin/autom4te-2.69  AUTORECONF=/usr/local/bin/autoreconf-2.69  AUTOSCAN=/usr/local/bin/autoscan-2.69  AUTOUPDATE=/usr/local/bin/autoupdate-2.69  AUTOCONF_VERSION=2.69 LIBTOOLIZE=/usr/local/bin/libtoolize  LIBTOOL_LIBEXECDIR=/usr/local/libexec/libtool  LIBTOOL_SHAREDIR=/usr/local/share/libtool  LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4  LTMAIN=/usr/local/share/libtool/config/ltmain.sh PREFIX=/usr/
 local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing"  MANPREFIX="/usr/local" PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 0644"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=10.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
GTK2_VERSION="2.10.0"
GTK3_VERSION="3.0.0"
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
WITH_CCACHE_BUILD=yes
CCACHE_DIR=/root/.ccache
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
WITH_PKGNG=yes
#WITH_PKGNG=devel
#### /usr/local/etc/poudriere.d/ssp-make.conf ####
WITH_SSP_PORTS=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   ots-0.5.0_4 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===>   Installing existing package /packages/All/pkg-1.3.8_3.txz
[pkg.FreeBSD.org] Installing pkg-1.3.8_3... done
Message for pkg-1.3.8_3:
 If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of ots-0.5.0_4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by ots-0.5.0_4 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by ots-0.5.0_4 for building
=> SHA256 Checksum OK for ots-0.5.0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by ots-0.5.0_4 for building
===>  Extracting for ots-0.5.0_4
=> SHA256 Checksum OK for ots-0.5.0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for ots-0.5.0_4
===========================================================================
=======================<phase: build-depends  >============================
===>   ots-0.5.0_4 depends on executable: pkgconf - not found
===>    Verifying install for pkgconf in /usr/ports/devel/pkgconf
===>   Installing existing package /packages/All/pkgconf-0.9.7.txz
[pkg.FreeBSD.org] Installing pkgconf-0.9.7... done
===>   Returning to build of ots-0.5.0_4
===>   ots-0.5.0_4 depends on file: /usr/local/bin/automake-1.14 - not found
===>    Verifying install for /usr/local/bin/automake-1.14 in /usr/ports/devel/automake
===>   Installing existing package /packages/All/automake-1.14_1.txz
[pkg.FreeBSD.org] Installing autoconf-wrapper-20131203... done
[pkg.FreeBSD.org] Installing indexinfo-0.2... done
[pkg.FreeBSD.org] Installing m4-1.4.17_1,1... done
[pkg.FreeBSD.org] Installing perl5-5.16.3_11... done
[pkg.FreeBSD.org] Installing autoconf-2.69... done
[pkg.FreeBSD.org] Installing automake-wrapper-20131203... done
[pkg.FreeBSD.org] Installing automake-1.14_1... done
===>   Returning to build of ots-0.5.0_4
===>   ots-0.5.0_4 depends on file: /usr/local/bin/autoconf-2.69 - found
===>   ots-0.5.0_4 depends on package: libtool>=2.4 - not found
===>    Verifying install for libtool>=2.4 in /usr/ports/devel/libtool
===>   Installing existing package /packages/All/libtool-2.4.2.418.txz
[pkg.FreeBSD.org] Installing libtool-2.4.2.418... done
===>   Returning to build of ots-0.5.0_4
===>   ots-0.5.0_4 depends on file: /usr/local/bin/ccache - not found
===>    Verifying install for /usr/local/bin/ccache in /usr/ports/devel/ccache
===>   Installing existing package /packages/All/ccache-3.1.9_8.txz
[pkg.FreeBSD.org] Installing ccache-3.1.9_8... done
Create compiler links...
create symlink for cc
create symlink for cc (world)
create symlink for c++
create symlink for c++ (world)
create symlink for CC
create symlink for CC (world)
Message for ccache-3.1.9_8:
 NOTE:
Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for 
information on using ccache with FreeBSD ports and src.
===>   Returning to build of ots-0.5.0_4
===========================================================================
=======================<phase: lib-depends    >============================
===>   ots-0.5.0_4 depends on shared library: libpopt.so - not found
===>    Verifying for libpopt.so in /usr/ports/devel/popt
===>   Installing existing package /packages/All/popt-1.16_1.txz
[pkg.FreeBSD.org] Installing gettext-0.18.3.1_1... done
[pkg.FreeBSD.org] Installing popt-1.16_1... done
===>   Returning to build of ots-0.5.0_4
===>   ots-0.5.0_4 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so.9)
===>   ots-0.5.0_4 depends on shared library: libglib-2.0.so - not found
===>    Verifying for libglib-2.0.so in /usr/ports/devel/glib20
===>   Installing existing package /packages/All/glib-2.36.3_4.txz
[pkg.FreeBSD.org] Installing libffi-3.0.13_2... done
[pkg.FreeBSD.org] Installing libiconv-1.14_4... done
[pkg.FreeBSD.org] Installing pcre-8.35_1... done
[pkg.FreeBSD.org] Installing python27-2.7.8_5... done
[pkg.FreeBSD.org] Installing glib-2.36.3_4... done
No schema files found: doing nothing.
Message for python27-2.7.8_5:
 =====================================================================

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
<snip>
stemmer.c:71:80: note: passing argument to parameter 'part_b' here
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: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      rep = ots_stem_remove_pre (normWord, prefix, newfix);
                                           ^~~~~~
stemmer.c:107:70: note: passing argument to parameter 'pre' here
ots_stem_remove_pre (unsigned const char *aWord,unsigned const char *pre,unsigned const char *new)
                                                                     ^
stemmer.c:208:52: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      rep = ots_stem_remove_pre (normWord, prefix, newfix);
                                                   ^~~~~~
stemmer.c:107:95: note: passing argument to parameter 'new' here
ots_stem_remove_pre (unsigned const char *aWord,unsigned const char *pre,unsigned const char *new)
                                                                                              ^
stemmer.c:220:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ots_stem_break (li->data, prefix, newfix);
                                ^~~~~~
stemmer.c:71:58: note: passing argument to parameter 'part_a' here
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: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ots_stem_break (li->data, prefix, newfix);
                                        ^~~~~~
stemmer.c:71:80: note: passing argument to parameter 'part_b' here
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: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      rep = ots_stem_remove_post(normWord, prefix, newfix);
                                           ^~~~~~
stemmer.c:136:71: note: passing argument to parameter 'post' here
ots_stem_remove_post (unsigned const char *aWord,unsigned const char *post,unsigned const char *new)
                                                                      ^
stemmer.c:221:52: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      rep = ots_stem_remove_post(normWord, prefix, newfix);
                                                   ^~~~~~
stemmer.c:136:97: note: passing argument to parameter 'new' here
ots_stem_remove_post (unsigned const char *aWord,unsigned const char *post,unsigned const char *new)
                                                                                                ^
stemmer.c:253:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  prefix = g_new0 (char, MAX_PREFIX_SIZE);
         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stemmer.c:254:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  newfix = g_new0 (char, MAX_PREFIX_SIZE);
         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stemmer.c:324:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (strlen(normWord)<3)  /*stem is two letter long. thats not right. N(eed)==N(ation) ?*/
             ^~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
26 warnings generated.
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/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -O2 -pipe -fstack-protector -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/include -I/usr/local/include/libxml2 -Wall  -I/usr/local/include   -O2 -pipe -fstack-protector -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/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -MT highlighter.lo -MD -MP -MF .deps/highlighter.Tpo -c highlighter.c  -o .libs/highlighter.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/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -O2 -pipe -fstack-protector -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/include -I/usr/local/include/libxml2 -Wall  -I/usr/local/include   -O2 -pipe -fstack-protector -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/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -MT wordlist.lo -MD -MP -MF .deps/wordlist.Tpo -c wordlist.c  -o .libs/wordlist.o
wordlist.c:35:15: warning: assigning to 'gchar *' (aka 'char *') from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  aWord->word = ots_stem_format(wordString,rule);  
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wordlist.c:36:15: warning: assigning to 'gchar *' (aka 'char *') from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  aWord->stem = ots_stem_strip(wordString,rule);
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wordlist.c:45:27: warning: passing 'const unsigned char *' to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  aWord->word = g_strdup (wordString);  
                          ^~~~~~~~~~
/usr/local/include/glib-2.0/glib/gstrfuncs.h:216:52: note: passing argument to parameter 'str' here
gchar*                g_strdup         (const gchar *str) G_GNUC_MALLOC;
                                                     ^
wordlist.c:46:27: warning: passing 'const unsigned char *' to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  aWord->stem = g_strdup (wordString);
                          ^~~~~~~~~~
/usr/local/include/glib-2.0/glib/gstrfuncs.h:216:52: note: passing argument to parameter 'str' here
gchar*                g_strdup         (const gchar *str) G_GNUC_MALLOC;
                                                     ^
wordlist.c:117:15: warning: 'g_strncasecmp' is deprecated [-Wdeprecated-declarations]
            if (0 == g_strncasecmp ((((OtsWordEntery *) li->data)->word), /*fix me: unicode issue?*/
                     ^
/usr/local/include/glib-2.0/glib/gstrfuncs.h:203:23: note: 'g_strncasecmp' declared here
gint                  g_strncasecmp    (const gchar *s1,
                      ^
wordlist.c:174:17: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (0==strlen(wordString)) return;
                ^~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
wordlist.c:175:17: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (0==strcmp(wordString," ")) return;
                ^~~~~~~~~~
/usr/include/string.h:80:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
wordlist.c:176:17: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (0==strcmp(wordString,"\n")) return;
                ^~~~~~~~~~
/usr/include/string.h:80:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
wordlist.c:177:17: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (0==strcmp(wordString,"\t")) return;
                ^~~~~~~~~~
/usr/include/string.h:80:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
wordlist.c:180:7: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  tmp = ots_stem_strip (wordString, rule);
      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 warnings generated.
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/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -O2 -pipe -fstack-protector -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/include -I/usr/local/include/libxml2 -Wall  -I/usr/local/include   -O2 -pipe -fstack-protector -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/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -MT relations.lo -MD -MP -MF .deps/relations.Tpo -c relations.c  -o .libs/relations.o
relations.c:83:47: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (text!=NULL) ots_parse_stream (text,strlen(text), Art);   /* read text , put it in struct Article */
                                              ^~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
relations.c:89:4: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
tmp=ots_word_in_list(Art->ImpWords,i);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
relations.c:90:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if ((tmp!=NULL)&&(strlen(tmp)>0)) {g_string_append(word,tmp);
                         ^~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
relations.c:90:57: warning: passing 'unsigned char *' to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types with different sign [-Wpointer-sign]
if ((tmp!=NULL)&&(strlen(tmp)>0)) {g_string_append(word,tmp);
                                                        ^~~
/usr/local/include/glib-2.0/glib/gstring.h:83:59: note: passing argument to parameter 'val' here
                                         const gchar     *val);
                                                          ^
relations.c:95:4: warning: assigning to 'unsigned char *' from 'gchar *' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign]
str=word->str;
   ^~~~~~~~~~
relations.c:99:8: warning: returning 'unsigned char *' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
return str;
       ^~~
relations.c:117:47: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (text!=NULL) ots_parse_stream (text,strlen(text), Art);   
                                              ^~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
relations.c:123:4: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
tmp=ots_stem_in_list(Art->ImpWords,i);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
relations.c:124:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if ((tmp)&&(strlen(tmp)>0))
                   ^~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
relations.c:125:38: warning: passing 'unsigned char *' to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types with different sign [-Wpointer-sign]
topics=g_list_append(topics,g_strdup(tmp));
                                     ^~~
/usr/local/include/glib-2.0/glib/gstrfuncs.h:216:52: note: passing argument to parameter 'str' here
gchar*                g_strdup         (const gchar *str) G_GNUC_MALLOC;
                                                     ^
relations.c:145:26: warning: passing 'const GList *' (aka 'const struct _GList *') to parameter of type 'GList *' (aka 'struct _GList *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        tmplist1 = g_list_first(topic_list1);
                                ^~~~~~~~~~~
/usr/local/include/glib-2.0/glib/glist.h:130:60: note: passing argument to parameter 'list' here
GList*   g_list_first                   (GList            *list);
                                                           ^
relations.c:148:26: warning: passing 'const GList *' (aka 'const struct _GList *') to parameter of type 'GList *' (aka 'struct _GList *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        tmplist2 = g_list_first(topic_list2);
                                ^~~~~~~~~~~
/usr/local/include/glib-2.0/glib/glist.h:130:60: note: passing argument to parameter 'list' here
GList*   g_list_first                   (GList            *list);
                                                           ^
12 warnings generated.
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/include -I/usr/local/include/libxml2 -Wall -I/usr/local/include -O2 -pipe -fstack-protector -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  -O2 -pipe -fstack-protector -fno-strict-aliasing  -version-info 5:0:5  -L/usr/local/lib -fstack-protector -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 -lglib-2.0 -lintl -L/usr/local/lib -lxml2 
libtool: link: cc -shared   .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    -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lglib-2.0 /usr/local/lib/libintl.so /usr/local/lib/libxml2.so  -O2   -Wl,-soname -Wl,libots-1.so.0 -o .libs/libots-1.so.0.5.0
/usr/bin/ld: .libs/article.o: relocation R_X86_64_32 against `g_free' can not be used when making a shared object; recompile with -fPIC
.libs/article.o: could not read symbols: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/textproc/ots/work/ots-0.5.0/src
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/textproc/ots/work/ots-0.5.0
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/textproc/ots/work/ots-0.5.0
*** Error code 1

Stop.
make: stopped in /usr/ports/textproc/ots



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410130323.s9D3N1fa068493>