[package - head-i386-default][print/freetype-tools] Failed for freetype-tools-1.3.1_9 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Fri Aug 1 17:03:47 UTC 2014
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 at FreeBSD.org
Last committer: bapt at FreeBSD.org
Ident: $FreeBSD: head/print/freetype-tools/Makefile 362828 2014-07-24 16:33:10Z bapt $
Log URL: http://beefy1.isc.freebsd.org/data/head-i386-default/2014-08-01_04h18m19s/logs/freetype-tools-1.3.1_9.log
Build URL: http://beefy1.isc.freebsd.org/build.html?mastername=head-i386-default&build=2014-08-01_04h18m19s
Log:
====>> Building print/freetype-tools
build started at Fri Aug 1 17:02:02 UTC 2014
port directory: /usr/ports/print/freetype-tools
building for: FreeBSD head-i386-default-job-17 11.0-CURRENT FreeBSD 11.0-CURRENT r269282 i386
maintained by: ports at FreeBSD.org
Makefile ident: $FreeBSD: head/print/freetype-tools/Makefile 362828 2014-07-24 16:33:10Z bapt $
Poudriere version: 3.1-pre
Host OSVERSION: 1100027
Jail OSVERSION: 1100028
!!! Jail is newer than host. (Jail: 1100028, Host: 1100027) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1100028
UNAME_v=FreeBSD 11.0-CURRENT r269282
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
PKG_EXT=txz
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=freetype-tools-1.3.1_9
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/head-i386-default/ref/.p/pool
MASTERNAME=head-i386-default
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--
--disable-nls --enable-static --enable-shared --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/print/freetype-tools/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/print/freetype-tools/work HOME=/wrkdirs/usr/ports/print/freetype-tools/work TMPDIR="/tmp" MAKE=gmake SHELL=/bin/sh CONFIG_SHELL=/bin/sh LIBTOOL=/usr/local/bin/libtool 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 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/print/freetype-tools/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/print/freetype-tools/work HOME=/wrkdirs/usr/ports/print/freetype-tools/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES LIBTOOL=/usr/local/bin/libtool 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 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing " MANPREFIX="/usr/local" 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 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444"
--End MAKE_ENV--
--PLIST_SUB--
TEXMFDIR="share/texmf"
TEXMFDISTDIR="share/texmf-dist"
TEXMFLOCALDIR="share/texmf-local"
TEXMFVARDIR="share/texmf-var"
TEXMFCONFIGDIR="share/texmf-config"
FMTUTIL_CNF="share/texmf-config/web2c/fmtutil.cnf"
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
PORTDATA=""
LIB32DIR=lib
DOCSDIR="share/doc/freetype-tools"
EXAMPLESDIR="share/examples/freetype-tools"
DATADIR="share/freetype-tools"
WWWDIR="www/freetype-tools"
ETCDIR="etc/freetype-tools"
--End PLIST_SUB--
--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/freetype-tools
DOCSDIR=/usr/local/share/doc/freetype-tools
EXAMPLESDIR=/usr/local/share/examples/freetype-tools
WWWDIR=/usr/local/www/freetype-tools
ETCDIR=/usr/local/etc/freetype-tools
--End SUB_LIST--
---Begin make.conf---
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
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
# clean-restricted via poudriere.conf NO_RESTRICTED
#NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity >============================
===> NOTICE:
This port is deprecated; you may wish to reconsider installing it:
Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html.
It is scheduled to be removed on or after 2014-08-31.
===========================================================================
=======================<phase: pkg-depends >============================
===> freetype-tools-1.3.1_9 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.3.txz
Message for pkg-1.3.3:
If you are upgrading from the old package format, first run:
# pkg2ng
===> Returning to build of freetype-tools-1.3.1_9
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> NOTICE:
This port is deprecated; you may wish to reconsider installing it:
Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html.
It is scheduled to be removed on or after 2014-08-31.
===> Fetching all distfiles required by freetype-tools-1.3.1_9 for building
===========================================================================
=======================<phase: checksum >============================
===> NOTICE:
This port is deprecated; you may wish to reconsider installing it:
Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html.
It is scheduled to be removed on or after 2014-08-31.
===> Fetching all distfiles required by freetype-tools-1.3.1_9 for building
=> SHA256 Checksum OK for freetype-1.3.1.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> NOTICE:
This port is deprecated; you may wish to reconsider installing it:
Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html.
It is scheduled to be removed on or after 2014-08-31.
===> Fetching all distfiles required by freetype-tools-1.3.1_9 for building
===> Extracting for freetype-tools-1.3.1_9
=> SHA256 Checksum OK for freetype-1.3.1.tar.gz.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for freetype-tools-1.3.1_9
===> Applying FreeBSD patches for freetype-tools-1.3.1_9
===========================================================================
=======================<phase: build-depends >============================
===> freetype-tools-1.3.1_9 depends on executable: t1asm - not found
===> Verifying install for t1asm in /usr/ports/print/t1utils
===> Installing existing package /packages/All/t1utils-1.32.txz
===> Returning to build of freetype-tools-1.3.1_9
===> freetype-tools-1.3.1_9 depends on file: /usr/local/share/texmf-dist/README - not found
===> Verifying install for /usr/local/share/texmf-dist/README in /usr/ports/print/texlive-texmf
===> Installing existing package /packages/All/texlive-texmf-20120701_4.txz
===> Creating users and/or groups.
Creating group 'cups' with gid '193'.
Creating user 'cups' with uid '193'.
===> Creating users and/or groups.
Using existing group 'cups'.
Using existing user 'cups'.
Running fc-cache to build fontconfig cache...
<snip>
/usr/local/bin/libtool --mode=compile cc -c -O2 -pipe -fno-strict-aliasing -I. -I.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend /wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxgsub.c
libtool: compile: cc -c -O2 -pipe -fno-strict-aliasing -I. -I.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend /wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxgsub.c -fPIC -DPIC -o .libs/ftxgsub.o
libtool: compile: cc -c -O2 -pipe -fno-strict-aliasing -I. -I.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend /wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxgsub.c -o ftxgsub.o >/dev/null 2>&1
/usr/local/bin/libtool --mode=compile cc -c -O2 -pipe -fno-strict-aliasing -I. -I.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend /wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxgpos.c
libtool: compile: cc -c -O2 -pipe -fno-strict-aliasing -I. -I.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend /wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxgpos.c -fPIC -DPIC -o .libs/ftxgpos.o
libtool: compile: cc -c -O2 -pipe -fno-strict-aliasing -I. -I.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend /wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxgpos.c -o ftxgpos.o >/dev/null 2>&1
/usr/local/bin/libtool --mode=compile cc -c -O2 -pipe -fno-strict-aliasing -I. -I.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend /wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxgdef.c
libtool: compile: cc -c -O2 -pipe -fno-strict-aliasing -I. -I.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend /wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxgdef.c -fPIC -DPIC -o .libs/ftxgdef.o
libtool: compile: cc -c -O2 -pipe -fno-strict-aliasing -I. -I.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend /wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxgdef.c -o ftxgdef.o >/dev/null 2>&1
/usr/local/bin/libtool --mode=compile cc -c -O2 -pipe -fno-strict-aliasing -I. -I.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend /wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxopen.c
libtool: compile: cc -c -O2 -pipe -fno-strict-aliasing -I. -I.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend /wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxopen.c -fPIC -DPIC -o .libs/ftxopen.o
libtool: compile: cc -c -O2 -pipe -fno-strict-aliasing -I. -I.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../.. -I/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend /wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib/arch/unix/../../extend/ftxopen.c -o ftxopen.o >/dev/null 2>&1
/usr/local/bin/libtool --mode=link cc -o libttf.la freetype.lo ftxkern.lo ftxgasp.lo ftxpost.lo ftxcmap.lo ftxsbit.lo ftxwidth.lo ftxerr18.lo ftxgsub.lo ftxgpos.lo ftxgdef.lo ftxopen.lo \
-rpath /usr/local/lib \
-version-info 4:0:2 -lm
libtool: link: cc -shared -fPIC -DPIC .libs/freetype.o .libs/ftxkern.o .libs/ftxgasp.o .libs/ftxpost.o .libs/ftxcmap.o .libs/ftxsbit.o .libs/ftxwidth.o .libs/ftxerr18.o .libs/ftxgsub.o .libs/ftxgpos.o .libs/ftxgdef.o .libs/ftxopen.o -lm -Wl,-soname -Wl,libttf.so.4 -o .libs/libttf.so.4
libtool: link: (cd ".libs" && rm -f "libttf.so" && ln -s "libttf.so.4" "libttf.so")
libtool: link: (cd ".libs" && rm -f "libttf.so" && ln -s "libttf.so.4" "libttf.so")
libtool: link: ar cru .libs/libttf.a freetype.o ftxkern.o ftxgasp.o ftxpost.o ftxcmap.o ftxsbit.o ftxwidth.o ftxerr18.o ftxgsub.o ftxgpos.o ftxgdef.o ftxopen.o
libtool: link: ranlib .libs/libttf.a
libtool: link: ( cd ".libs" && rm -f "libttf.la" && ln -s "../libttf.la" "libttf.la" )
gmake[3]: Leaving directory `/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib'
gmake[2]: Leaving directory `/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/lib'
cd po; gmake all
gmake[2]: Entering directory `/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/po'
( if test 'x/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/po' != 'x.'; then \
posrcprefix='/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/'; \
else \
posrcprefix="../"; \
fi; \
sed -e '/^#/d' -e '/^[ ]*$/d' \
-e "s at .*@ $posrcprefix& \\\\@" \
-e '$s/\(.*\) \\/\1/' < /wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/po/POTFILES.in > POTFILES )
cd .. \
&& CONFIG_FILES=po/Makefile.in CONFIG_HEADERS= \
/bin/sh ./config.status
creating po/Makefile.in
gmake[2]: Leaving directory `/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/po'
gmake[2]: Entering directory `/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/po'
No support for NLS requested
gmake[2]: Leaving directory `/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/po'
gmake[1]: Leaving directory `/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1'
creating cache ./config.cache
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for TT_Init_FreeType in -lttf... yes
checking for rm... rm
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for unistd.h... yes
checking for 8-bit clean memcmp... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
gmake[1]: Entering directory `/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/contrib/ttf2bdf'
cc -g -O2 -I../../lib -c remap.c -o remap.o
remap.c:480:31: warning: unsequenced modification and access to 't' [-Wunsequenced]
nodes[t].kids = t = n;
~ ^
remap.c:486:31: warning: unsequenced modification and access to 't' [-Wunsequenced]
nodes[t].kids = t = n;
~ ^
remap.c:495:35: warning: unsequenced modification and access to 't' [-Wunsequenced]
nodes[t].sibs = t = n;
~ ^
3 warnings generated.
cc -g -O2 -I../../lib -c ttf2bdf.c -o ttf2bdf.o
ttf2bdf.c:956:13: warning: format specifies type 'short' but the argument has type 'int' [-Wformat]
bbx.maxrb - bbx.minlb, bbx.maxas + bbx.maxds,
^~~~~~~~~~~~~~~~~~~~~
ttf2bdf.c:956:36: warning: format specifies type 'short' but the argument has type 'int' [-Wformat]
bbx.maxrb - bbx.minlb, bbx.maxas + bbx.maxds,
^~~~~~~~~~~~~~~~~~~~~
ttf2bdf.c:957:24: warning: format specifies type 'short' but the argument has type 'int' [-Wformat]
bbx.minlb, -bbx.maxds);
^~~~~~~~~~
ttf2bdf.c:962:43: warning: format specifies type 'short' but the argument has type 'int' [-Wformat]
fprintf(out, "STARTPROPERTIES %hd\n", 19);
~~~ ^~
%d
ttf2bdf.c:1004:13: warning: format specifies type 'short' but the argument has type 'int' [-Wformat]
(properties.horizontal->Ascender * imetrics.y_ppem) / upm,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ttf2bdf.c:1005:13: warning: format specifies type 'short' but the argument has type 'int' [-Wformat]
-((properties.horizontal->Descender * imetrics.y_ppem) / upm));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 warnings generated.
cc -g -O2 -o ttf2bdf remap.o ttf2bdf.o -L../../lib/.libs -lttf
gmake[1]: Leaving directory `/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/contrib/ttf2bdf'
creating cache ./config.cache
checking host system type... i386-unknown-freebsd11.0
checking target system type... i386-unknown-freebsd11.0
checking build system type... i386-unknown-freebsd11.0
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for TT_Init_FreeType in -lttf... yes
checking for rm... rm
checking for a BSD compatible install... /usr/bin/install -c
checking whether struct tm is in sys/time.h or time.h... time.h
checking for ANSI C header files... yes
checking for unistd.h... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
gmake[1]: Entering directory `/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/contrib/ttf2pfb'
cc -c -g -O -DDEBUG -I./../../lib -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 ttf2pfb.c
ttf2pfb.c:367:22: warning: second argument to 'va_arg' is of promotable type 'UShort' (aka 'unsigned short'); this va_arg has undefined behavior because arguments will be promoted to 'int' [-Wvarargs]
numCR = va_arg(vp, UShort);
^~~~~~
/usr/include/x86/stdarg.h:48:25: note: expanded from macro 'va_arg'
__builtin_va_arg((ap), type)
^
ttf2pfb.c:375:45: warning: second argument to 'va_arg' is of promotable type 'UShort' (aka 'unsigned short'); this va_arg has undefined behavior because arguments will be promoted to 'int' [-Wvarargs]
(cRange + i)->high.start = va_arg(vp, UShort);
^~~~~~
/usr/include/x86/stdarg.h:48:25: note: expanded from macro 'va_arg'
__builtin_va_arg((ap), type)
^
ttf2pfb.c:376:45: warning: second argument to 'va_arg' is of promotable type 'UShort' (aka 'unsigned short'); this va_arg has undefined behavior because arguments will be promoted to 'int' [-Wvarargs]
(cRange + i)->high.end = va_arg(vp, UShort);
^~~~~~
/usr/include/x86/stdarg.h:48:25: note: expanded from macro 'va_arg'
__builtin_va_arg((ap), type)
^
ttf2pfb.c:377:55: warning: second argument to 'va_arg' is of promotable type 'UShort' (aka 'unsigned short'); this va_arg has undefined behavior because arguments will be promoted to 'int' [-Wvarargs]
(cRange + i)->numLowRanges = numLows = va_arg(vp, UShort);
^~~~~~
/usr/include/x86/stdarg.h:48:25: note: expanded from macro 'va_arg'
__builtin_va_arg((ap), type)
^
ttf2pfb.c:382:39: warning: second argument to 'va_arg' is of promotable type 'UChar' (aka 'unsigned char'); this va_arg has undefined behavior because arguments will be promoted to 'int' [-Wvarargs]
(evLow + j)->start = va_arg(vp, UChar);
^~~~~
/usr/include/x86/stdarg.h:48:25: note: expanded from macro 'va_arg'
__builtin_va_arg((ap), type)
^
ttf2pfb.c:383:39: warning: second argument to 'va_arg' is of promotable type 'UChar' (aka 'unsigned char'); this va_arg has undefined behavior because arguments will be promoted to 'int' [-Wvarargs]
(evLow + j)->end = va_arg(vp, UChar);
^~~~~
/usr/include/x86/stdarg.h:48:25: note: expanded from macro 'va_arg'
__builtin_va_arg((ap), type)
^
6 warnings generated.
/usr/local/bin/libtool --tag=CXX --mode=link cc -g -O -DDEBUG -I./../../lib -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -o ttf2pfb ttf2pfb.o \
../../lib/libttf.la
libtool: link: cc -g -O -DDEBUG -I./../../lib -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -o .libs/ttf2pfb ttf2pfb.o ../../lib/.libs/libttf.so -lm -Wl,-rpath -Wl,/usr/local/lib
gmake[1]: Leaving directory `/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/contrib/ttf2pfb'
creating cache ./config.cache
checking host system type... i386-unknown-freebsd11.0
checking target system type... i386-unknown-freebsd11.0
checking build system type... i386-unknown-freebsd11.0
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for kpse_set_program_name in -lkpathsea... yes
checking for kpse_init_prog in -lkpathsea... yes
checking for kpathsea/kpathsea.h... yes
checking for kpathsea/c-auto.h... yes
checking for floor in -lm... yes
checking for gettext in -lintl... yes
checking for TT_Init_FreeType in -lttf... yes
checking for rm... rm
checking for rmdir... rmdir
checking for a BSD compatible install... /usr/bin/install -c
updating cache ./config.cache
creating ./config.status
creating Makefile
creating MakeSub
gmake[1]: Entering directory `/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/contrib/ttf2pk'
cc -c -g -O2 -I./../../lib -I/usr/local/include -I. -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBM=1 -DHAVE_LIBINTL=1 errormsg.c
cc -c -g -O2 -I./../../lib -I/usr/local/include -I. -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBM=1 -DHAVE_LIBINTL=1 filesrch.c
filesrch.c:39:22: error: redefinition of 'kpathsea_version_string' with a different type: 'char *' vs 'const char *'
extern KPSEDLL char *kpathsea_version_string;
^
/usr/local/include/kpathsea/version.h:24:28: note: previous definition is here
extern KPSEDLL const char *kpathsea_version_string;
^
filesrch.c:74:10: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
return kpathsea_version_string;
^~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
gmake[1]: *** [filesrch.o] Error 1
gmake[1]: Leaving directory `/wrkdirs/usr/ports/print/freetype-tools/work/freetype-1.3.1/contrib/ttf2pk'
*** Error code 2
Stop.
make: stopped in /usr/ports/print/freetype-tools
More information about the freebsd-pkg-fallout
mailing list