[package - 10amd64-default][net/vtun] Failed for vtun-3.0.3 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Wed Feb 11 18:31:26 UTC 2015


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:     cy at FreeBSD.org
Last committer: amdmi3 at FreeBSD.org
Ident:          $FreeBSD: head/net/vtun/Makefile 370836 2014-10-14 11:01:46Z amdmi3 $
Log URL:        http://beefy2.isc.freebsd.org/data/10amd64-default/2015-02-11_08h14m11s/logs/vtun-3.0.3.log
Build URL:      http://beefy2.isc.freebsd.org/build.html?mastername=10amd64-default&build=2015-02-11_08h14m11s
Log:

====>> Building net/vtun
build started at Wed Feb 11 18:31:18 UTC 2015
port directory: /usr/ports/net/vtun
building for: FreeBSD 10amd64-default-job-23 10.0-RELEASE-p9 FreeBSD 10.0-RELEASE-p9 amd64
maintained by: cy at FreeBSD.org
Makefile ident:      $FreeBSD: head/net/vtun/Makefile 370836 2014-10-14 11:01:46Z amdmi3 $
Poudriere version: 3.1.1
Host OSVERSION: 1100058
Jail OSVERSION: 1000510

---Begin Environment---
OSVERSION=1000510
UNAME_v=FreeBSD 10.0-RELEASE-p9
UNAME_r=10.0-RELEASE-p9
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/10amd64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=vtun-3.0.3
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/10amd64-default/ref/.p/pool
MASTERNAME=10amd64-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.1
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for vtun-3.0.3:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--
--localstatedir=/var  --with-ssl-headers=/usr/include/openssl  --with-ssl-lib=/usr/lib  --with-lzo-headers=/usr/local/include/lzo  --with-lzo-lib=/usr/local/lib --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
YACC=yacc XDG_DATA_HOME=/wrkdirs/usr/ports/net/vtun/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/vtun/work  HOME=/wrkdirs/usr/ports/net/vtun/work TMPDIR="/tmp" XDG_DATA_HOME=/wrkdirs/usr/ports/net/vtun/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/vtun/work  HOME=/wrkdirs/usr/ports/net/vtun/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/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/net/vtun/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/vtun/work  HOME=/wrkdirs/usr/ports/net/vtun/work TMPDIR="/tmp" OPENSSLLIB=/usr/lib OPENSSLINC=/usr/include  OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl XDG_DATA_HOME=/wrkdirs/usr/ports/net/vtun/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/vtun/work  HOME=/wrkdirs/usr/ports/net/vtun/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -Wl,-rpath,/usr/lib:/usr/local/lib -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -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 0644"  BSD_INSTALL_MAN="install  -o root -g wh
 eel -m 444"
--End MAKE_ENV--

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

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
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
# clean-restricted ran via poudriere.conf NO_RESTRICTED
#NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   vtun-3.0.3 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.4.10.txz
[10amd64-default-job-23] Installing pkg-1.4.10...
[10amd64-default-job-23] Extracting pkg-1.4.10... done
Message for pkg-1.4.10:
 If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of vtun-3.0.3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by vtun-3.0.3 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by vtun-3.0.3 for building
=> SHA256 Checksum OK for vtun-3.0.3.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by vtun-3.0.3 for building
===>  Extracting for vtun-3.0.3
=> SHA256 Checksum OK for vtun-3.0.3.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for vtun-3.0.3
===>  Applying extra patch /usr/ports/net/vtun/files/extra-cfg_file.y
===>  Applying FreeBSD patches for vtun-3.0.3
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===>   vtun-3.0.3 depends on shared library: liblzo2.so - not found
===>    Verifying for liblzo2.so in /usr/ports/archivers/lzo2
===>   Installing existing package /packages/All/lzo2-2.09.txz
[10amd64-default-job-23] Installing lzo2-2.09...
[10amd64-default-job-23] Extracting lzo2-2.09... done
===>   Returning to build of vtun-3.0.3
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for vtun-3.0.3
configure: loading site script /usr/ports/Templates/config.site
checking build system type... amd64-portbld-freebsd10.0
checking host system type... amd64-portbld-freebsd10.0
checking target system type... amd64-portbld-freebsd10.0
checking for bison... yacc
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 ANSI C... none needed
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ANSI C... (cached) none needed
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking how to run the C preprocessor... cpp
checking for egrep... grep -E
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 sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for netdb.h... (cached) yes
checking for sched.h... (cached) yes
checking for resolv.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking netinet/ip.h usability... no
checking netinet/ip.h presence... yes
configure: WARNING: netinet/ip.h: present but cannot be compiled
configure: WARNING: netinet/ip.h:     check for missing prerequisite headers?
configure: WARNING: netinet/ip.h: see the Autoconf documentation
configure: WARNING: netinet/ip.h:     section "Present But Cannot Be Compiled"
configure: WARNING: netinet/ip.h: proceeding with the preprocessor's result
configure: WARNING: netinet/ip.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for netinet/ip.h... yes
checking for netinet/in.h... (cached) yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking for libutil.h... (cached) yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking for library containing socket... none required
checking for library containing inet_ntoa... none required
checking for library containing gethostbyname... none required
checking for library containing nanosleep... none required
checking for library containing setproctitle... none required

configure: checking for ZLIB Library and Header files ... ...
checking for deflate in -lz... (cached) yes

configure: checking for LZO Library and Header files ... ...
checking "for lzo_asm.h"... (/usr/local/include/lzo) yes 
checking for lzo1x_decompress in -llzo2... yes

configure: checking for md5 Library and Header files ... ...
checking "for md5.h"... (/usr/include/openssl) yes 

configure: checking for blowfish Library and Header files ... ...
checking "for blowfish.h"... (/usr/include/openssl) yes 
checking for BF_set_key in -lcrypto... yes

configure: checking for AES Library and Header files ... ...
checking "for aes.h"... (/usr/include/openssl) yes 
checking for AES_set_encrypt_key in -lcrypto... yes

configure: checking for EVP Library and Header files ... ...
checking "for evp.h"... (/usr/include/openssl) yes 
checking for EVP_EncryptInit in -lcrypto... yes

checking for getpt... no
checking for grantpt... yes
checking for unlockpt... yes
checking for ptsname... yes
creating driver and protocol links ... 
linking freebsd/tun_dev.c  to  tun_dev.c
linking generic/tap_dev.c  to  tap_dev.c
linking generic/pty_dev.c  to  pty_dev.c
linking generic/pipe_dev.c  to  pipe_dev.c
linking generic/tcp_proto.c  to  tcp_proto.c
linking generic/udp_proto.c  to  udp_proto.c

configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
===========================================================================
=======================<phase: build          >============================
===>  Building for vtun-3.0.3
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c main.c
In file included from main.c:38:
./vtun.h:234:13: warning: inline function 'clear_nat_hack_flags' is not defined [-Wundefined-inline]
inline void clear_nat_hack_flags(int svr);
            ^
main.c:148:2: note: used here
        clear_nat_hack_flags(svr);
        ^
1 warning generated.
yacc -d -b cfg_file cfg_file.y
yacc: 20 shift/reduce conflicts.
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c cfg_file.tab.c
In file included from cfg_file.y:35:
./lib.h:74:13: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
          if( (w = read(fd, buf, len)) < 0 ){
                   ^
./lib.h:93:14: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
          if( (w = write(fd, buf, len)) < 0 ){
                   ^
2 warnings generated.
flex -t cfg_file.l > cfg_file.lex.c
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c cfg_file.lex.c
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c server.c
server.c:70:58: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
     if( getpeername(sock, (struct sockaddr *) &cl_addr, &opt) ){
                                                         ^~~~
/usr/include/sys/socket.h:604:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
server.c:75:58: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
     if( getsockname(sock, (struct sockaddr *) &my_addr, &opt) < 0 ){
                                                         ^~~~
/usr/include/sys/socket.h:605:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
server.c:159:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if( (s1=accept(s,(struct sockaddr *)&cl_addr,&opt)) < 0 )
                                                     ^~~~
/usr/include/sys/socket.h:596:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
3 warnings generated.
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c client.c
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c lib.c
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c llist.c
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c auth.c
auth.c:67:15: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   RAND_bytes(buf, VTUN_CHAL_SIZE);
              ^~~
/usr/include/openssl/rand.h:102:32: note: passing argument to parameter 'buf' here
int  RAND_bytes(unsigned char *buf,int num);
                               ^
auth.c:75:29: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   BF_set_key(&key, 16, MD5(pwd,strlen(pwd),NULL));
                            ^~~
/usr/include/openssl/md5.h:114:41: note: passing argument to parameter 'd' here
unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md);
                                        ^
auth.c:78:22: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      BF_ecb_encrypt(chal + i,  chal + i, &key, BF_ENCRYPT);
                     ^~~~~~~~
/usr/include/openssl/blowfish.h:115:42: note: passing argument to parameter 'in' here
void BF_ecb_encrypt(const unsigned char *in, unsigned char *out,
                                         ^
auth.c:78:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      BF_ecb_encrypt(chal + i,  chal + i, &key, BF_ENCRYPT);
                                ^~~~~~~~
/usr/include/openssl/blowfish.h:115:61: note: passing argument to parameter 'out' here
void BF_ecb_encrypt(const unsigned char *in, unsigned char *out,
                                                            ^
auth.c:86:29: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   BF_set_key(&key, 16, MD5(pwd,strlen(pwd),NULL));
                            ^~~
/usr/include/openssl/md5.h:114:41: note: passing argument to parameter 'd' here
unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md);
                                        ^
auth.c:89:22: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      BF_ecb_encrypt(chal + i,  chal + i, &key, BF_DECRYPT);
                     ^~~~~~~~
/usr/include/openssl/blowfish.h:115:42: note: passing argument to parameter 'in' here
void BF_ecb_encrypt(const unsigned char *in, unsigned char *out,
                                         ^
auth.c:89:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      BF_ecb_encrypt(chal + i,  chal + i, &key, BF_DECRYPT);
                                ^~~~~~~~
/usr/include/openssl/blowfish.h:115:61: note: passing argument to parameter 'out' here
void BF_ecb_encrypt(const unsigned char *in, unsigned char *out,
                                                            ^
7 warnings generated.
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c tunnel.c
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c lock.c
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c netlib.c
netlib.c:104:49: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        getsockopt(s,SOL_SOCKET,SO_ERROR,&errno,&l);
                                                ^~
/usr/include/sys/socket.h:606:72: note: passing argument to parameter here
int     getsockopt(int, int, int, void * __restrict, socklen_t * __restrict);
                                                                           ^
netlib.c:168:50: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
     if( getsockname(s,(struct sockaddr *)&saddr,&opt) ){
                                                 ^~~~
/usr/include/sys/socket.h:605:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
netlib.c:188:61: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
     if( getpeername(host->rmt_fd,(struct sockaddr *)&saddr,&opt) ){
                                                            ^~~~
/usr/include/sys/socket.h:604:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
netlib.c:228:64: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if( getsockname(host->rmt_fd, (struct sockaddr *)addr, &opt) < 0 ){
                                                               ^~~~
/usr/include/sys/socket.h:605:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
4 warnings generated.
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c tun_dev.c
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c tap_dev.c
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c pty_dev.c
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c pipe_dev.c
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c tcp_proto.c
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c udp_proto.c
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c linkfd.c
linkfd.c:383:10: warning: add explicit braces to avoid dangling else [-Wdangling-else]
       } else {
         ^
1 warning generated.
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c lfd_shaper.c
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c lfd_zlib.c
cc -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/openssl -I/usr/local/include/lzo -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/usr/local/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/run/vtund.pid\"  -DVTUN_STAT_DIR=\"/var/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lock/vtund\" -c lfd_lzo.c
In file included from lfd_lzo.c:38:
/usr/local/include/lzo/lzoutil.h:33:10: fatal error: 'lzo/lzoconf.h' file not found
#include <lzo/lzoconf.h>
         ^
1 error generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/net/vtun/work/vtun-3.0.3
*** Error code 1

Stop.
make: stopped in /usr/ports/net/vtun


More information about the freebsd-pkg-fallout mailing list