[package - head-amd64-default-ssp][security/pecl-ssh2] Failed for pecl-ssh2-0.12 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Fri Aug 29 16:54:41 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:     miwi at FreeBSD.org
Last committer: olgeni at FreeBSD.org
Ident:          $FreeBSD: head/security/pecl-ssh2/Makefile 362126 2014-07-17 08:57:51Z olgeni $
Log URL:        http://beefy4.isc.freebsd.org/data/head-amd64-default-ssp/2014-08-29_04h47m50s/logs/pecl-ssh2-0.12.log
Build URL:      http://beefy4.isc.freebsd.org/build.html?mastername=head-amd64-default-ssp&build=2014-08-29_04h47m50s
Log:

====>> Building security/pecl-ssh2
build started at Fri Aug 29 16:54:21 UTC 2014
port directory: /usr/ports/security/pecl-ssh2
building for: FreeBSD pkg.FreeBSD.org 11.0-CURRENT FreeBSD 11.0-CURRENT r269897 amd64
maintained by: miwi at FreeBSD.org
Makefile ident:      $FreeBSD: head/security/pecl-ssh2/Makefile 362126 2014-07-17 08:57:51Z olgeni $
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---
OSVERSION=1100028
UNAME_v=FreeBSD 11.0-CURRENT r269897
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=screen
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-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=pecl-ssh2-0.12
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-amd64-default-ssp/ref/.p/pool
MASTERNAME=head-amd64-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--
--with-ssh2 --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/security/pecl-ssh2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/pecl-ssh2/work  HOME=/wrkdirs/usr/ports/security/pecl-ssh2/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  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/security/pecl-ssh2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/pecl-ssh2/work  HOME=/wrkdirs/usr/ports/security/pecl-ssh2/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="-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 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PHP_EXT_DIR=20100525
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/ssh2"
EXAMPLESDIR="share/examples/ssh2"
DATADIR="share/ssh2"
WWWDIR="www/ssh2"
ETCDIR="etc/ssh2"
--End PLIST_SUB--

--SUB_LIST--
PHP_EXT_DIR=20100525
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/ssh2
DOCSDIR=/usr/local/share/doc/ssh2
EXAMPLESDIR=/usr/local/share/examples/ssh2
WWWDIR=/usr/local/www/ssh2
ETCDIR=/usr/local/etc/ssh2
--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    >============================
===>   pecl-ssh2-0.12 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.7.txz
[pkg.FreeBSD.org] Installing pkg-1.3.7... done
Message for pkg-1.3.7:
 If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of pecl-ssh2-0.12
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by pecl-ssh2-0.12 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by pecl-ssh2-0.12 for building
=> SHA256 Checksum OK for ssh2-0.12.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by pecl-ssh2-0.12 for building
===>  Extracting for pecl-ssh2-0.12
=> SHA256 Checksum OK for ssh2-0.12.tgz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for pecl-ssh2-0.12
===========================================================================
=======================<phase: build-depends  >============================
===>   pecl-ssh2-0.12 depends on file: /usr/local/bin/phpize - not found
===>    Verifying install for /usr/local/bin/phpize in /usr/ports/lang/php5
===>   Installing existing package /packages/All/php5-5.4.31_1.txz
[pkg.FreeBSD.org] Installing libxml2-2.9.1_1... done
[pkg.FreeBSD.org] Installing pcre-8.35... done
[pkg.FreeBSD.org] Installing php5-5.4.31_1... done
===>   Returning to build of pecl-ssh2-0.12
===>   pecl-ssh2-0.12 depends on file: /usr/local/bin/autoconf-2.69 - not found
===>    Verifying install for /usr/local/bin/autoconf-2.69 in /usr/ports/devel/autoconf
===>   Installing existing package /packages/All/autoconf-2.69.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
===>   Returning to build of pecl-ssh2-0.12
===>   pecl-ssh2-0.12 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 pecl-ssh2-0.12
===========================================================================
=======================<phase: lib-depends    >============================
===>   pecl-ssh2-0.12 depends on shared library: libssh2.so - not found
===>    Verifying for libssh2.so in /usr/ports/security/libssh2
===>   Installing existing package /packages/All/libssh2-1.4.3_3,2.txz
[pkg.FreeBSD.org] Installing libssh2-1.4.3_3,2... done
===>   Returning to build of pecl-ssh2-0.12
===========================================================================
=======================<phase: configure      >============================
===>  PHPizing for pecl-ssh2-0.12
Configuring for:
PHP Api Version:         20100412
Zend Module Api No:      20100525
Zend Extension Api No:   220100525
===>  Configuring for pecl-ssh2-0.12
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/acinclude.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/build/libtool.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/configure
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
<snip>
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... amd64-portbld-freebsd11.0
checking host system type... amd64-portbld-freebsd11.0
checking target system type... amd64-portbld-freebsd11.0
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/20100525
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 ssh2 support... yes, shared
checking for ssh2 files in default path... found in /usr/local
checking for libssh2_session_hostkey in -lssh2... yes
checking for libssh2_agent_init in -lssh2... yes
checking for libssh2_session_set_timeout in -lssh2... 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 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 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... no
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... freebsd11.0 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... freebsd11.0 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-ssh2-0.12
/bin/sh /wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/libtool --mode=compile cc  -I. -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/include -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/main -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12 -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  -I/usr/local/include -DHAVE_CONFIG_H  -O2 -pipe -fstack-protector -fno-strict-aliasing   -c /wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2.c -o ssh2.lo
mkdir .libs
 cc -I. -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/include -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/main -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12 -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 -I/usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector -fno-strict-aliasing -c /wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2.c  -DPIC -o .libs/ssh2.o
/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2.c:1010:66: warning: passing 'int *' to parameter of type 'uint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        type = zend_hash_get_current_key_ex(Z_ARRVAL_P(zattrs), &key, &key_len, &idx, 0, &pos);
                                                                                      ^~~~~~~~
/usr/local/include/php/Zend/zend_hash.h:179:88: note: passing argument to parameter 'str_length' here
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos);
                                                                                       ^
/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2.c:1010:76: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        type = zend_hash_get_current_key_ex(Z_ARRVAL_P(zattrs), &key, &key_len, &idx, 0, &pos);
                                                                                                ^~~~
/usr/local/include/php/Zend/zend_hash.h:179:107: note: passing argument to parameter 'num_index' here
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos);
                                                                                                          ^
/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2.c:1051:43: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (libssh2_publickey_add_ex(data->pkey, algo, algo_len, blob, blob_len, overwrite, num_attrs, attrs)) {
                                                 ^~~~
/usr/local/include/libssh2_publickey.h:86:63: note: passing argument to parameter 'name' here
                                         const unsigned char *name,
                                                              ^
/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2.c:1051:59: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (libssh2_publickey_add_ex(data->pkey, algo, algo_len, blob, blob_len, overwrite, num_attrs, attrs)) {
                                                                 ^~~~
/usr/local/include/libssh2_publickey.h:88:63: note: passing argument to parameter 'blob' here
                                         const unsigned char *blob,
                                                              ^
/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2.c:1063:4: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                        efree(attrs[i].value);
                        ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_alloc.h:72:33: note: expanded from macro 'efree'
#define efree(ptr)                                                      _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
                                                                               ^~~~~
/usr/local/include/php/Zend/zend_alloc.h:60:28: note: passing argument to parameter 'ptr' here
ZEND_API void _efree(void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC);
                           ^
/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2.c:1085:46: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (libssh2_publickey_remove_ex(data->pkey, algo, algo_len, blob, blob_len)) {
                                                    ^~~~
/usr/local/include/libssh2_publickey.h:98:66: note: passing argument to parameter 'name' here
                                            const unsigned char *name,
                                                                 ^
/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2.c:1085:62: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (libssh2_publickey_remove_ex(data->pkey, algo, algo_len, blob, blob_len)) {
                                                                    ^~~~
/usr/local/include/libssh2_publickey.h:100:66: note: passing argument to parameter 'blob' here
                                            const unsigned char *blob,
                                                                 ^
/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2.c:1122:34: warning: passing 'const unsigned char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                add_assoc_stringl(key, "name", keys[i].name, keys[i].name_len, 1);
                                               ^~~~~~~~~~~~
/usr/local/include/php/Zend/zend_API.h:389:123: note: expanded from macro 'add_assoc_stringl'
#define add_assoc_stringl(__arg, __key, __str, __length, __duplicate) add_assoc_stringl_ex(__arg, __key, strlen(__key)+1, __str, __length, __duplicate)
                                                                                                                          ^
/usr/local/include/php/Zend/zend_API.h:380:83: note: passing argument to parameter 'str' here
ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, uint key_len, char *str, uint length, int duplicate);
                                                                                  ^
/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2.c:1123:34: warning: passing 'const unsigned char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                add_assoc_stringl(key, "blob", keys[i].blob, keys[i].blob_len, 1);
                                               ^~~~~~~~~~~~
/usr/local/include/php/Zend/zend_API.h:389:123: note: expanded from macro 'add_assoc_stringl'
#define add_assoc_stringl(__arg, __key, __str, __length, __duplicate) add_assoc_stringl_ex(__arg, __key, strlen(__key)+1, __str, __length, __duplicate)
                                                                                                                          ^
/usr/local/include/php/Zend/zend_API.h:380:83: note: passing argument to parameter 'str' here
ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, uint key_len, char *str, uint length, int duplicate);
                                                                                  ^
9 warnings generated.
/bin/sh /wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/libtool --mode=compile cc  -I. -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/include -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/main -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12 -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  -I/usr/local/include -DHAVE_CONFIG_H  -O2 -pipe -fstack-protector -fno-strict-aliasing   -c /wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2_fopen_wrappers.c -o ssh2_fopen_wrappers.lo
 cc -I. -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/include -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/main -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12 -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 -I/usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector -fno-strict-aliasing -c /wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2_fopen_wrappers.c  -DPIC -o .libs/ssh2_fopen_wrappers.o
/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2_fopen_wrappers.c:58:17: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (writestate < 0) {
            ~~~~~~~~~~ ^ ~
/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2_fopen_wrappers.c:479:73: warning: passing 'int *' to parameter of type 'uint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        (key_type = zend_hash_get_current_key_ex(HASH_OF(environment), &key, &key_len, &idx, 0, NULL)) != HASH_KEY_NON_EXISTANT;
                                                                                             ^~~~~~~~
/usr/local/include/php/Zend/zend_hash.h:179:88: note: passing argument to parameter 'str_length' here
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos);
                                                                                       ^
/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2_fopen_wrappers.c:479:83: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        (key_type = zend_hash_get_current_key_ex(HASH_OF(environment), &key, &key_len, &idx, 0, NULL)) != HASH_KEY_NON_EXISTANT;
                                                                                                       ^~~~
/usr/local/include/php/Zend/zend_hash.h:179:107: note: passing argument to parameter 'num_index' here
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos);
                                                                                                          ^
/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2_fopen_wrappers.c:723:73: warning: passing 'int *' to parameter of type 'uint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        (key_type = zend_hash_get_current_key_ex(HASH_OF(environment), &key, &key_len, &idx, 0, NULL)) != HASH_KEY_NON_EXISTANT;
                                                                                             ^~~~~~~~
/usr/local/include/php/Zend/zend_hash.h:179:88: note: passing argument to parameter 'str_length' here
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos);
                                                                                       ^
/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2_fopen_wrappers.c:723:83: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        (key_type = zend_hash_get_current_key_ex(HASH_OF(environment), &key, &key_len, &idx, 0, NULL)) != HASH_KEY_NON_EXISTANT;
                                                                                                       ^~~~
/usr/local/include/php/Zend/zend_hash.h:179:107: note: passing argument to parameter 'num_index' here
ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos);
                                                                                                          ^
/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2_fopen_wrappers.c:1141:91: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                        if ((justsent = libssh2_channel_write(remote_file, (buffer + sent), bytesread - sent)) < 0) {
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2_fopen_wrappers.c:1369:3: warning: expression result unused [-Wunused-value]
                *(data->refcount)--;
                ^~~~~~~~~~~~~~~~~~~
7 warnings generated.
/bin/sh /wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/libtool --mode=compile cc  -I. -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/include -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/main -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12 -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  -I/usr/local/include -DHAVE_CONFIG_H  -O2 -pipe -fstack-protector -fno-strict-aliasing   -c /wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2_sftp.c -o ssh2_sftp.lo
 cc -I. -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/include -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/main -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12 -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 -I/usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector -fno-strict-aliasing -c /wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/ssh2_sftp.c  -DPIC -o .libs/ssh2_sftp.o
/bin/sh /wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/libtool --mode=link cc -DPHP_ATOM_INC -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/include -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/main -I/wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12 -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  -I/usr/local/include -DHAVE_CONFIG_H  -O2 -pipe -fstack-protector -fno-strict-aliasing  -L/usr/local/lib -fstack-protector -o ./ssh2.la -export-dynamic -avoid-version -prefer-pic -module -rpath /wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12/modules  ssh2.lo ssh2_fopen_wrappers.lo ssh2_sftp.lo -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lssh2
cc -shared  .libs/ssh2.o .libs/ssh2_fopen_wrappers.o .libs/ssh2_sftp.o  -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libssh2.so  -Wl,-rpath -Wl,/usr/local/lib -Wl,-soname -Wl,ssh2.so -o ./.libs/ssh2.so
/usr/bin/ld: .libs/ssh2.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
.libs/ssh2.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[1]: stopped in /wrkdirs/usr/ports/security/pecl-ssh2/work/ssh2-0.12
*** Error code 1

Stop.
make: stopped in /usr/ports/security/pecl-ssh2


More information about the freebsd-pkg-fallout mailing list