build started at Thu Nov 29 22:40:24 UTC 2012 port directory: /usr/ports/net-mgmt/ehnt building for: 10.0-CURRENT amd64 maintained by: marck@FreeBSD.org Makefile ident: $FreeBSD: head/net-mgmt/ehnt/Makefile 300897 2012-07-14 14:29:18Z beat $ ---Begin Environment--- OSVERSION=1000025 UNAME_v=FreeBSD 10.0-CURRENT UNAME_r=10.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HTTP_PROXY=http://10.56.1.1:8080 PKG_EXT=txz FORCE_PACKAGE=yes http_proxy=http://10.56.1.1:8080 tpid=98620 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKG_DELETE=/usr/local/sbin/pkg delete -y -f PKG_ADD=/usr/local/sbin/pkg add PWD=/usr/local/etc/poudriere.d LOGS=/pdata/logs HOME=/root USER=root SKIPSANITY=0 LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- ================================================= ===> 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 /usr/ports/packages/All/pkg-1.0.2.txz Installing pkg-1.0.2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of ehnt-0.3_8 ====================================================================== ===> Cleaning for ehnt-0.3_8 ================================================= ====================================================================== ================================================= ===> ehnt-0.3_8 depends on file: /usr/local/sbin/pkg - found => ehnt-0.3.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch http://heanet.dl.sourceforge.net/project/ehnt/ehnt/0.3/ehnt-0.3.tar.gz ehnt-0.3.tar.gz 0 B 0 Bps ====================================================================== ================================================= ===> ehnt-0.3_8 depends on file: /usr/local/sbin/pkg - found => SHA256 Checksum OK for ehnt-0.3.tar.gz. ====================================================================== ================================================= ===> ehnt-0.3_8 depends on file: /usr/local/sbin/pkg - found ===> 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 ====================================================================== ================================================= ===> Patching for ehnt-0.3_8 ===> Applying FreeBSD patches for ehnt-0.3_8 ====================================================================== ================================================= ===> Configuring for ehnt-0.3_8 ====================================================================== ================================================= ===> 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 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 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 ] [ -t ]\n",argv[0]); ^ ehntserv.c:86:6: note: please include the header or explicitly provide a declaration for 'printf' ehntserv.c:101:2: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' memset(&nf_servaddr,0,sizeof(nf_servaddr)); ^ ehntserv.c:101:2: note: please include the header 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 long)' 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 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 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 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 long)' memset(&servaddr,0,sizeof(servaddr)); ^ ehnt_client.c:47:2: note: please include the header 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 long)' memcpy(&servaddr.sin_addr.s_addr,h_server->h_addr_list[0],4); ^ ehnt_client.c:57:2: note: please include the header 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. *** [ehnt_client.o] Error code 1 Stop in /wrkdirs/usr/ports/net-mgmt/ehnt/work/ehnt-0.3. *** [do-build] Error code 1 Stop in /usr/ports/net-mgmt/ehnt. ===> Cleaning for ehnt-0.3_8 build of /usr/ports/net-mgmt/ehnt ended at Thu Nov 29 22:40:47 UTC 2012