Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2015 22:16:50 GMT
From:      pkg-fallout@FreeBSD.org
To:        jim@ohlste.in
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 101i386-default][www/pecl-varnish] Failed for pecl-varnish-1.2.1_1 in build
Message-ID:  <201510272216.t9RMGo3F069847@beefy5.nyi.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:     jim@ohlste.in
Last committer: feld@FreeBSD.org
Ident:          $FreeBSD: head/www/pecl-varnish/Makefile 390791 2015-06-28 15:27:18Z feld $
Log URL:        http://beefy5.nyi.freebsd.org/data/101i386-default/400212/logs/pecl-varnish-1.2.1_1.log
Build URL:      http://beefy5.nyi.freebsd.org/build.html?mastername=101i386-default&build=400212
Log:

====>> Building www/pecl-varnish
build started at Tue Oct 27 22:16:39 UTC 2015
port directory: /usr/ports/www/pecl-varnish
building for: FreeBSD 101i386-default-job-05 10.1-RELEASE-p23 FreeBSD 10.1-RELEASE-p23 i386
maintained by: jim@ohlste.in
Makefile ident:      $FreeBSD: head/www/pecl-varnish/Makefile 390791 2015-06-28 15:27:18Z feld $
Poudriere version: 3.1.9
Host OSVERSION: 1100079
Jail OSVERSION: 1001000

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1001000
UNAME_v=FreeBSD 10.1-RELEASE-p23
UNAME_r=10.1-RELEASE-p23
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/101i386-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=pecl-varnish-1.2.1_1
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/101i386-default/ref/.p/pool
MASTERNAME=101i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.9
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---

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

--CONFIGURE_ARGS--
--with-php-config=/usr/local/bin/php-config --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/pecl-varnish/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/pecl-varnish/work  HOME=/wrkdirs/usr/ports/www/pecl-varnish/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh  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 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/www/pecl-varnish/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/pecl-varnish/work  HOME=/wrkdirs/usr/ports/www/pecl-varnish/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES  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 PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -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--
PHP_EXT_DIR=20131226
OSREL=10.1
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/varnish"
EXAMPLESDIR="share/examples/varnish"
DATADIR="share/varnish"
WWWDIR="www/varnish"
ETCDIR="etc/varnish"
--End PLIST_SUB--

--SUB_LIST--
PHP_EXT_DIR=20131226
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/varnish
DOCSDIR=/usr/local/share/doc/varnish
EXAMPLESDIR=/usr/local/share/examples/varnish
WWWDIR=/usr/local/www/varnish
ETCDIR=/usr/local/etc/varnish
--End SUB_LIST--

---Begin make.conf---
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
===>  License BSD2CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   pecl-varnish-1.2.1_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.6.1_1.txz
[101i386-default-job-05] Installing pkg-1.6.1_1...
[101i386-default-job-05] Extracting pkg-1.6.1_1: .......... done
Message from pkg-1.6.1_1:
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   pecl-varnish-1.2.1_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of pecl-varnish-1.2.1_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by pecl-varnish-1.2.1_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by pecl-varnish-1.2.1_1 for building
=> SHA256 Checksum OK for PECL/varnish-1.2.1.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by pecl-varnish-1.2.1_1 for building
===>  Extracting for pecl-varnish-1.2.1_1
=> SHA256 Checksum OK for PECL/varnish-1.2.1.tgz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for pecl-varnish-1.2.1_1
===========================================================================
=======================<phase: build-depends  >============================
===>   pecl-varnish-1.2.1_1 depends on package: varnish4>=0 - not found
===>   Installing existing package /packages/All/varnish4-4.1.0_1.txz
[101i386-default-job-05] Installing varnish4-4.1.0_1...
[101i386-default-job-05] `-- Installing pcre-8.37_4...
[101i386-default-job-05] `-- Extracting pcre-8.37_4: .......... done
[101i386-default-job-05] `-- Installing libedit-3.1.20150325_1...
[101i386-default-job-05] `-- Extracting libedit-3.1.20150325_1: .......... done
===> Creating users and/or groups.
Creating group 'varnish' with gid '429'.
Creating user 'varnish' with uid '429'.
Creating user 'varnishlog' with uid '430'.
[101i386-default-job-05] Extracting varnish4-4.1.0_1: .......... done
Message from varnish4-4.1.0_1:
QUICK-START GUIDE

It's two in the morning and someone posted a link to your website on
slashdot.  Don't panic, it takes only a minute to set up Varnish in
front of your web server:

1) Install Varnish
2) Reconfigure your web server to listen on localhost:8080
3) echo 'varnishd_enable="YES"' >>/etc/rc.conf
4) /usr/local/etc/rc.d/varnishd start

Refer to the documentation for more advanced configuration.
===>   pecl-varnish-1.2.1_1 depends on package: varnish4>=0 - found
===>   Returning to build of pecl-varnish-1.2.1_1
===>   pecl-varnish-1.2.1_1 depends on file: /usr/local/include/php/main/php.h - not found
===>   Installing existing package /packages/All/php56-5.6.14.txz
[101i386-default-job-05] Installing php56-5.6.14...
[101i386-default-job-05] `-- Installing libxml2-2.9.2_3...
[101i386-default-job-05] `-- Extracting libxml2-2.9.2_3: .......... done
[101i386-default-job-05] Extracting php56-5.6.14: .......... done
===>   pecl-varnish-1.2.1_1 depends on file: /usr/local/include/php/main/php.h - found
===>   Returning to build of pecl-varnish-1.2.1_1
===>   pecl-varnish-1.2.1_1 depends on file: /usr/local/bin/phpize - found
===>   pecl-varnish-1.2.1_1 depends on file: /usr/local/lib/php/20131226/hash.so - not found
===>   Installing existing package /packages/All/php56-hash-5.6.14.txz
[101i386-default-job-05] Installing php56-hash-5.6.14...
[101i386-default-job-05] Extracting php56-hash-5.6.14: .......... done
===>   pecl-varnish-1.2.1_1 depends on file: /usr/local/lib/php/20131226/hash.so - found
===>   Returning to build of pecl-varnish-1.2.1_1
===>   pecl-varnish-1.2.1_1 depends on file: /usr/local/bin/autoconf-2.69 - not found
===>   Installing existing package /packages/All/autoconf-2.69.txz
[101i386-default-job-05] Installing autoconf-2.69...
[101i386-default-job-05] `-- Installing indexinfo-0.2.4...
[101i386-default-job-05] `-- Extracting indexinfo-0.2.4: .... done
[101i386-default-job-05] `-- Installing autoconf-wrapper-20131203...
[101i386-default-job-05] `-- Extracting autoconf-wrapper-20131203: ........ done
[101i386-default-job-05] `-- Installing perl5-5.20.3_8...
[101i386-default-job-05] `-- Extracting perl5-5.20.3_8: .......... done
[101i386-default-job-05] `-- Installing m4-1.4.17_1,1...
[101i386-default-job-05] `-- Extracting m4-1.4.17_1,1: .......... done
[101i386-default-job-05] Extracting autoconf-2.69: .......... done
Message from perl5-5.20.3_8:
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.
===>   pecl-varnish-1.2.1_1 depends on file: /usr/local/bin/autoconf-2.69 - found
===>   Returning to build of pecl-varnish-1.2.1_1
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  PHPizing for pecl-varnish-1.2.1_1
Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
===>  Configuring for pecl-varnish-1.2.1_1
configure: loading site script /usr/ports/Templates/config.site
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for a sed that does not truncate output... /usr/bin/sed
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 how to run the C preprocessor... cpp
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i386-portbld-freebsd10.1
checking host system type... i386-portbld-freebsd10.1
checking target system type... i386-portbld-freebsd10.1
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/20131226
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... (cached) /usr/bin/awk
checking if /usr/bin/awk is broken... no
checking for varnish support... yes, shared
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 fcntl.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for netdb.h... (cached) yes
checking for pkg-config... no
checking for varnish files in default path... headers found in /usr/local/include/varnish
checking /usr/local/include/varnish/vcli.h usability... yes
checking /usr/local/include/varnish/vcli.h presence... yes
checking for /usr/local/include/varnish/vcli.h... yes
checking for VSM_New in -lvarnishapi... yes
checking for uintptr_t... (cached) yes
checking for uint64_t... (cached) yes
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for dlfcn.h... (cached) yes
checking the maximum length of command line arguments... (cached) 262144
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... 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... freebsd10.1 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... no

creating libtool
appending configuration tag "CXX" to libtool
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... 
checking if c++ static flag  works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd10.1 ld.so
(cached) (cached) checking how to hardcode library paths into programs... unsupported
configure: creating ./config.status
config.status: creating config.h
===========================================================================
=======================<phase: build          >============================
===>  Building for pecl-varnish-1.2.1_1
/bin/sh /wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/libtool --mode=compile cc  -I. -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/include -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/main -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/varnish  -DHAVE_CONFIG_H  -O2 -pipe -fstack-protector -fno-strict-aliasing   -c /wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/varnish.c -o varnish.lo
mkdir .libs
 cc -I. -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/include -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/main -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/varnish -DHAVE_CONFIG_H -O2 -pipe -fstack-protector -fno-strict-aliasing -c /wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/varnish.c  -fPIC -DPIC -o .libs/varnish.o
/bin/sh /wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/libtool --mode=compile cc  -I. -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/include -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/main -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/varnish  -DHAVE_CONFIG_H  -O2 -pipe -fstack-protector -fno-strict-aliasing   -c /wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/adm.c -o adm.lo
 cc -I. -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/include -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/main -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/varnish -DHAVE_CONFIG_H -O2 -pipe -fstack-protector -fno-strict-aliasing -c /wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/adm.c  -fPIC -DPIC -o .libs/adm.o
/bin/sh /wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/libtool --mode=compile cc  -I. -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/include -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/main -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/varnish  -DHAVE_CONFIG_H  -O2 -pipe -fstack-protector -fno-strict-aliasing   -c /wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/varnish_lib.c -o varnish_lib.lo
 cc -I. -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/include -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/main -I/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/varnish -DHAVE_CONFIG_H -O2 -pipe -fstack-protector -fno-strict-aliasing -c /wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/varnish_lib.c  -fPIC -DPIC -o .libs/varnish_lib.o
/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/varnish_lib.c:352:20: error: variable has incomplete type 'struct VSM_fantom'
        struct VSM_fantom vt;
                          ^
/usr/local/include/varnish/vapi/vsc.h:41:8: note: forward declaration of 'struct VSM_fantom'
struct VSM_fantom;
       ^
/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/varnish_lib.c:355:8: warning: implicit declaration of function 'VSM_New' is invalid in C99 [-Wimplicit-function-declaration]
        vsd = VSM_New();
              ^
/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/varnish_lib.c:355:6: warning: incompatible integer to pointer conversion assigning to 'struct VSM_data *' from 'int' [-Wint-conversion]
        vsd = VSM_New();
            ^ ~~~~~~~~~
/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/varnish_lib.c:357:6: warning: implicit declaration of function 'VSM_n_Arg' is invalid in C99 [-Wimplicit-function-declaration]
        if (VSM_n_Arg(vsd, ident) > 0) {
            ^
/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/varnish_lib.c:358:7: warning: implicit declaration of function 'VSM_Open' is invalid in C99 [-Wimplicit-function-declaration]
                if (VSM_Open(vsd)) {
                    ^
/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/varnish_lib.c:367:5: warning: implicit declaration of function 'VSM_Error' is invalid in C99 [-Wimplicit-function-declaration]
                                VSM_Error(vsd)
                                ^
/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/varnish_lib.c:367:5: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                                VSM_Error(vsd)
                                ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_exceptions.h:44:106: note: passing argument to parameter 'format' here
ZEND_API zval * zend_throw_exception_ex(zend_class_entry *exception_ce, long code TSRMLS_DC, const char *format, ...);
                                                                                                         ^
/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/varnish_lib.c:376:8: warning: implicit declaration of function 'VSM_Get' is invalid in C99 [-Wimplicit-function-declaration]
                if (!VSM_Get(vsd, &vt, "Arg", "-T", "")) {
                     ^
/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/varnish_lib.c:385:5: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                                VSM_Error(vsd)
                                ^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_exceptions.h:44:106: note: passing argument to parameter 'format' here
ZEND_API zval * zend_throw_exception_ex(zend_class_entry *exception_ce, long code TSRMLS_DC, const char *format, ...);
                                                                                                         ^
/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/varnish_lib.c:390:4: warning: implicit declaration of function 'VSM_Delete' is invalid in C99 [-Wimplicit-function-declaration]
                        VSM_Delete(vsd);
                        ^
/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/varnish_lib.c:532:20: error: variable has incomplete type 'struct VSM_fantom'
        struct VSM_fantom vt;
                          ^
/usr/local/include/varnish/vapi/vsc.h:41:8: note: forward declaration of 'struct VSM_fantom'
struct VSM_fantom;
       ^
/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/varnish_lib.c:537:30: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
        (void)VCLI_ReadResult(sock, status, &answer, tmo);
                                    ^~~~~~
/usr/local/include/varnish/vcli.h:200:39: note: passing argument to parameter 'status' here
int VCLI_ReadResult(int fd, unsigned *status, char **ptr, double tmo);
                                      ^
/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/varnish_lib.c:539:7: warning: incompatible integer to pointer conversion assigning to 'struct VSM_data *' from 'int' [-Wint-conversion]
                vsd = VSM_New();
                    ^ ~~~~~~~~~
/wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1/varnish_lib.c:593:32: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        (void)VCLI_ReadResult(sock, status, &answer, tmo);
                                                    ^~~~~~
/usr/local/include/varnish/vcli.h:200:39: note: passing argument to parameter 'status' here
int VCLI_ReadResult(int fd, unsigned *status, char **ptr, double tmo);
                                      ^
12 warnings and 2 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/www/pecl-varnish/work/varnish-1.2.1
*** Error code 1

Stop.
make: stopped in /usr/ports/www/pecl-varnish



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