[RELEASE - head-default] Build failed for ehnt-0.3_8 during build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Thu Jul 25 06:25:59 UTC 2013


Maintainer:     marck at FreeBSD.org
Last committer: beat at FreeBSD.org
Ident:          $FreeBSD: head/net-mgmt/ehnt/Makefile 300897 2012-07-14 14:29:18Z beat $
Log URL:        http://beefy1.isc.freebsd.org/bulk/head-default/2013-07-25_02h04m56s/logs/ehnt-0.3_8.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/head-default/2013-07-25_02h04m56s
Log:

====>> Building net-mgmt/ehnt
build started at Thu Jul 25 06:25:57 UTC 2013
port directory: /usr/ports/net-mgmt/ehnt
building for: FreeBSD head-default-job-15 10.0-CURRENT FreeBSD 10.0-CURRENT i386
maintained by: marck at FreeBSD.org
Makefile ident:      $FreeBSD: head/net-mgmt/ehnt/Makefile 300897 2012-07-14 14:29:18Z beat $
Poudriere version: 3.1-pre

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1000035
UNAME_v=FreeBSD 10.0-CURRENT
UNAME_r=10.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/head-default/ref
PKG_EXT=txz
FORCE_PACKAGE=yes
tpid=3199
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
NBPARALLEL=24
PKGNG=1
PKGNAME=ehnt-0.3_8
PKG_DELETE=/usr/local/sbin/pkg delete -y -f
PKG_ADD=/usr/local/sbin/pkg add
PWD=/root
MASTERNAME=head-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
SKIPSANITY=0
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=""  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--

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

---Begin make.conf---
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
WITH_PKGNG=yes
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=yes
---End make.conf---
===>  Cleaning for ehnt-0.3_8
=======================<phase: check-config   >============================
=========================================================================
=======================<phase: pkg-depends    >============================
===>   ehnt-0.3_8 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.1.4_1.txz
Installing pkg-1.1.4_1... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of ehnt-0.3_8
=========================================================================
=======================<phase: fetch-depends  >============================
=========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by ehnt-0.3_8 for building
=========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by ehnt-0.3_8 for building
=> SHA256 Checksum OK for ehnt-0.3.tar.gz.
=========================================================================
=======================<phase: extract-depends>============================
=========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by ehnt-0.3_8 for building
===>  Extracting for ehnt-0.3_8
=> SHA256 Checksum OK for ehnt-0.3.tar.gz.
/usr/bin/touch /wrkdirs/usr/ports/net-mgmt/ehnt/work/ehnt-0.3/asnc.txt
=========================================================================
=======================<phase: patch-depends  >============================
=========================================================================
=======================<phase: patch          >============================
===>  Patching for ehnt-0.3_8
===>  Applying FreeBSD patches for ehnt-0.3_8
=========================================================================
=======================<phase: build-depends  >============================
=========================================================================
=======================<phase: lib-depends    >============================
=========================================================================
=======================<phase: configure      >============================
===>  Configuring for ehnt-0.3_8
=========================================================================
=======================<phase: build          >============================
===>  Building for ehnt-0.3_8
cc -c ehntserv.c -DFreeBSD -O2 -pipe -fno-strict-aliasing  -DASNCDIR=\"/usr/local/share/ehnt\"
ehntserv.c:70:6: warning: implicitly declaring library function 'sscanf' with type 'int (const char *restrict, const char *restrict, ...)'
     sscanf(optarg,"%d",&c_udpport);
     ^
ehntserv.c:70:6: note: please include the header <stdio.h> or explicitly provide a declaration for 'sscanf'
ehntserv.c:78:7: warning: implicit declaration of function 'perror' is invalid in C99 [-Wimplicit-function-declaration]
             perror("too low buffer size or bad format: %s", optarg);
             ^
ehntserv.c:79:7: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
             exit(1);
             ^
ehntserv.c:79:7: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
ehntserv.c:86:6: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)'
     printf("Usage: %s [ -u <udpport> ] [ -t <tcpport> ]\n",argv[0]);
     ^
ehntserv.c:86:6: note: please include the header <stdio.h> or explicitly provide a declaration for 'printf'
ehntserv.c:101:2: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned int)'
 memset(&nf_servaddr,0,sizeof(nf_servaddr));
 ^
ehntserv.c:101:2: note: please include the header <string.h> or explicitly provide a declaration for 'memset'
ehntserv.c:144:4: warning: implicit declaration of function 'umask' is invalid in C99 [-Wimplicit-function-declaration]
   umask(0);
   ^
ehntserv.c:206:4: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned int)'
          memcpy(nf_packet,(void*)&nf_cliaddr.sin_addr.s_addr,sizeof(nf_cliaddr.sin_addr.s_addr));
          ^
ehntserv.c:206:4: note: please include the header <string.h> or explicitly provide a declaration for 'memcpy'
ehntserv.c:213:8: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)'
              sprintf(msg,"client %d/%d seems to have gone away.\n",l_clients[i],i);
              ^
ehntserv.c:213:8: note: please include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
ehntserv.c:214:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
              syslog(LOG_INFO,msg);
                              ^~~
ehntserv.c:250:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      syslog(LOG_ERR,msg);
                     ^~~
ehntserv.c:298:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
ehntserv.c:343:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
ehntserv.c:350:20: warning: implicitly declaring library function 'strerror' with type 'char *(int)'
    errstr=(char *)strerror(errno);
                   ^
ehntserv.c:350:20: note: please include the header <string.h> or explicitly provide a declaration for 'strerror'
ehntserv.c:352:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    syslog(LOG_ERR,logmsg);
                   ^~~~~~
14 warnings generated.
cc -O2 -pipe -fno-strict-aliasing  -DASNCDIR=\"/usr/local/share/ehnt\" -o ehntserv ehntserv.o  -lm -O2 -pipe -fno-strict-aliasing  -DASNCDIR=\"/usr/local/share/ehnt\"
cc -c ehnt_client.c -DFreeBSD -O2 -pipe -fno-strict-aliasing  -DASNCDIR=\"/usr/local/share/ehnt\"
ehnt_client.c:47:2: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned int)'
 memset(&servaddr,0,sizeof(servaddr));
 ^
ehnt_client.c:47:2: note: please include the header <string.h> or explicitly provide a declaration for 'memset'
ehnt_client.c:57:2: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned int)'
 memcpy(&servaddr.sin_addr.s_addr,h_server->h_addr_list[0],4);
 ^
ehnt_client.c:57:2: note: please include the header <string.h> or explicitly provide a declaration for 'memcpy'
ehnt_client.c:76:4: warning: implicit declaration of function 'set_term' is invalid in C99 [-Wimplicit-function-declaration]
   set_term(SET_TERM_RAW);
   ^
ehnt_client.c:95:6: warning: implicit declaration of function 'ehnt_client_processmessage' is invalid in C99 [-Wimplicit-function-declaration]
     ehnt_client_processmessage(sockfd,routeraddr,my_ehnt_struct);
     ^
ehnt_client.c:103:8: warning: implicit declaration of function 'ShowReport' is invalid in C99 [-Wimplicit-function-declaration]
       ShowReport(my_ehnt_struct->dat->old_stats,my_ehnt_struct);
       ^
ehnt_client.c:166:5: error: non-void function 'ehnt_client_processmessage' should return a value [-Wreturn-type]
    return;
    ^
ehnt_client.c:170:5: error: non-void function 'ehnt_client_processmessage' should return a value [-Wreturn-type]
    return;
    ^
5 warnings and 2 errors generated.
*** Error code 1

Stop.
make: stopped in /wrkdirs/usr/ports/net-mgmt/ehnt/work/ehnt-0.3
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/ehnt
===>  Cleaning for ehnt-0.3_8


More information about the freebsd-pkg-fallout mailing list