[RELEASE - head-default] Build failed for newsfetch-1.21_2 during build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Thu Jul 25 09:43:03 UTC 2013
Maintainer: ports at FreeBSD.org
Last committer: pav at FreeBSD.org
Ident: $FreeBSD: head/news/newsfetch/Makefile 322581 2013-07-09 21:26:48Z pav $
Log URL: http://beefy2.isc.freebsd.org/bulk/head-default/2013-07-25_07h07m51s/logs/newsfetch-1.21_2.log
Build URL: http://beefy2.isc.freebsd.org/bulk/head-default/2013-07-25_07h07m51s
Log:
====>> Building news/newsfetch
build started at Thu Jul 25 09:43:00 UTC 2013
port directory: /usr/ports/news/newsfetch
building for: FreeBSD head-default-job-18 10.0-CURRENT FreeBSD 10.0-CURRENT amd64
maintained by: ports at FreeBSD.org
Makefile ident: $FreeBSD: head/news/newsfetch/Makefile 322581 2013-07-09 21:26:48Z pav $
Poudriere version: 3.1-pre
---Begin Environment---
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=92405
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=newsfetch-1.21_2
PKG_DELETE=/usr/local/sbin/pkg delete -y -f
PKG_ADD=/usr/local/sbin/pkg add
PWD=/root/poudriere
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--
BINDIR="/usr/local/bin" MANDIR="/usr/local/man/man" 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/newsfetch
DOCSDIR=/usr/local/share/doc/newsfetch
EXAMPLESDIR=/usr/local/share/examples/newsfetch
WWWDIR=/usr/local/www/newsfetch
ETCDIR=/usr/local/etc/newsfetch
--End SUB_LIST--
---Begin make.conf---
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 newsfetch-1.21_2
=======================<phase: check-config >============================
=========================================================================
=======================<phase: pkg-depends >============================
===> newsfetch-1.21_2 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 newsfetch-1.21_2
=========================================================================
=======================<phase: fetch-depends >============================
=========================================================================
=======================<phase: fetch >============================
===> Fetching all distfiles required by newsfetch-1.21_2 for building
=========================================================================
=======================<phase: checksum >============================
===> Fetching all distfiles required by newsfetch-1.21_2 for building
=> SHA256 Checksum OK for newsfetch-1.21.tar.gz.
=========================================================================
=======================<phase: extract-depends>============================
=========================================================================
=======================<phase: extract >============================
===> Fetching all distfiles required by newsfetch-1.21_2 for building
===> Extracting for newsfetch-1.21_2
=> SHA256 Checksum OK for newsfetch-1.21.tar.gz.
=========================================================================
=======================<phase: patch-depends >============================
=========================================================================
=======================<phase: patch >============================
===> Patching for newsfetch-1.21_2
===> Applying FreeBSD patches for newsfetch-1.21_2
=========================================================================
=======================<phase: build-depends >============================
=========================================================================
=======================<phase: lib-depends >============================
=========================================================================
=======================<phase: configure >============================
===> Configuring for newsfetch-1.21_2
cd /wrkdirs/usr/ports/news/newsfetch/work/newsfetch-1.21 && ( echo "PROG= newsfetch"; echo "SRCS=" *.c; echo ".include <bsd.prog.mk>"; ) > Makefile
=========================================================================
=======================<phase: build >============================
===> Building for newsfetch-1.21_2
Warning: Object directory not changed from original /wrkdirs/usr/ports/news/newsfetch/work/newsfetch-1.21
cc -O2 -pipe -fno-strict-aliasing -std=gnu99 -Qunused-arguments -fstack-protector -c getopt.c
getopt.c:14:18: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
register c;
~~~~~~~~ ^
getopt.c:24:26: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)'
else if (strcmp(argv[optind], "--") == 0) {
^
getopt.c:24:26: note: please include the header <string.h> or explicitly provide a declaration for 'strcmp'
getopt.c:24:17: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else if (strcmp(argv[optind], "--") == 0) {
^
3 warnings generated.
cc -O2 -pipe -fno-strict-aliasing -std=gnu99 -Qunused-arguments -fstack-protector -c net.c
net.c:26:3: warning: implicit declaration of function 'exitNow' is invalid in C99 [-Wimplicit-function-declaration]
exitNow(-1);
^
net.c:25:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
net.c:28:4: warning: implicit declaration of function 'isdigit' is invalid in C99 [-Wimplicit-function-declaration]
if(isdigit(*serverName))
^
net.c:30:17: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration]
saddr.s_addr = inet_addr(serverName);
^
net.c:57:1: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration]
bcopy((char *) hp->h_addr, (char *)&sa.sin_addr,hp->h_length);
^
5 warnings generated.
cc -O2 -pipe -fno-strict-aliasing -std=gnu99 -Qunused-arguments -fstack-protector -c newsfetch.c
newsfetch.c:38:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc,argv)
^~~~
newsfetch.c:52:2: warning: implicit declaration of function 'opt_help' is invalid in C99 [-Wimplicit-function-declaration]
opt_help(argv[0]);
^
newsfetch.c:53:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
exit(1);
^
newsfetch.c:53:2: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
newsfetch.c:61:2: warning: implicit declaration of function 'getHomedir' is invalid in C99 [-Wimplicit-function-declaration]
getHomedir(homedir);
^
newsfetch.c:68:56: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
if (NULL != (p = strchr(hostname, ':')) && 0 < (n = atoi(p + 1))) {
^
newsfetch.c:74:2: warning: implicit declaration of function 'get_commandline' is invalid in C99 [-Wimplicit-function-declaration]
get_commandline(argc, argv, dirname, rcfile,
^
newsfetch.c:84:3: warning: implicit declaration of function 'checkLockFile' is invalid in C99 [-Wimplicit-function-declaration]
checkLockFile(homedir);
^
newsfetch.c:85:3: warning: implicit declaration of function 'defaultRcFiles' is invalid in C99 [-Wimplicit-function-declaration]
defaultRcFiles(homedir, rcfile, copy_cmd);
^
newsfetch.c:87:4: warning: implicit declaration of function 'generateProcmailrc' is invalid in C99 [-Wimplicit-function-declaration]
generateProcmailrc(homedir, rcfile, dirname, pipe_command);
^
newsfetch.c:90:12: warning: implicit declaration of function 'ConnectServer' is invalid in C99 [-Wimplicit-function-declaration]
socket_id=ConnectServer(hostname, port, 0);
^
newsfetch.c:107:2: warning: implicit declaration of function 'setReaderMode' is invalid in C99 [-Wimplicit-function-declaration]
setReaderMode();
^
newsfetch.c:110:3: warning: implicit declaration of function 'getGroupList' is invalid in C99 [-Wimplicit-function-declaration]
getGroupList();
^
newsfetch.c:115:13: warning: implicit declaration of function 'getNextGroup' is invalid in C99 [-Wimplicit-function-declaration]
while( (tmp=getNextGroup()) > 0 )
^
newsfetch.c:131:7: warning: implicit declaration of function 'checkGroup' is invalid in C99 [-Wimplicit-function-declaration]
tmp=checkGroup();
^
newsfetch.c:133:8: warning: implicit declaration of function 'fetchGroup' is invalid in C99 [-Wimplicit-function-declaration]
tmp=fetchGroup();
^
newsfetch.c:140:4: warning: implicit declaration of function 'executeGroupCommand' is invalid in C99 [-Wimplicit-function-declaration]
executeGroupCommand(execute_command, group);
^
newsfetch.c:146:3: warning: implicit declaration of function 'quitNow' is invalid in C99 [-Wimplicit-function-declaration]
quitNow(0);
^
newsfetch.c:149:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
executeGroupCommand(char *command, char *group)
^~~~~~~~~~~~~~~~~~~
newsfetch.c:154:2: warning: implicit declaration of function 'makeCommand' is invalid in C99 [-Wimplicit-function-declaration]
makeCommand(command, COMMAND_GROUP_REPLACE, group, command1);
^
newsfetch.c:174:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
newsfetch.c:176:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
quitNow(int exit_status)
^~~~~~~
newsfetch.c:178:2: warning: implicit declaration of function 'fill_tmpfile' is invalid in C99 [-Wimplicit-function-declaration]
fill_tmpfile();
^
newsfetch.c:179:2: warning: implicit declaration of function 'sendQuit' is invalid in C99 [-Wimplicit-function-declaration]
sendQuit();
^
newsfetch.c:185:3: warning: implicit declaration of function 'system' is invalid in C99 [-Wimplicit-function-declaration]
system(copy_cmd);
^
newsfetch.c:188:2: warning: implicit declaration of function 'exitNow' is invalid in C99 [-Wimplicit-function-declaration]
exitNow(exit_status);
^
newsfetch.c:189:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
newsfetch.c:231:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
exitNow(int exit_status)
^~~~~~~
newsfetch.c:238:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
checkLockFile(char *homedir)
^~~~~~~~~~~~~
newsfetch.c:282:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
29 warnings generated.
cc -O2 -pipe -fno-strict-aliasing -std=gnu99 -Qunused-arguments -fstack-protector -c nntp.c
nntp.c:26:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
readNNTPdata()
^~~~~~~~~~~~
nntp.c:31:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
nntp.c:33:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
setReaderMode()
^~~~~~~~~~~~~
nntp.c:39:8: warning: implicit declaration of function 'get_error' is invalid in C99 [-Wimplicit-function-declaration]
return(get_error(command_buf));
^
nntp.c:42:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
get_error(char *buf)
^~~~~~~~~
nntp.c:54:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
get_error1(char *buf)
^~~~~~~~~~
nntp.c:63:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
get_error2(char *buf)
^~~~~~~~~~
nntp.c:79:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
set_article_number(char *buf)
^~~~~~~~~~~~~~~~~~
nntp.c:118:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getNextGroup()
^~~~~~~~~~~~
nntp.c:151:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
checkGroup()
^~~~~~~~~~
nntp.c:208:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fetchGroup()
^~~~~~~~~~
nntp.c:224:12: warning: implicit declaration of function 'fetchArticle' is invalid in C99 [-Wimplicit-function-declaration]
for(; tmp=fetchArticle(newsfp) && terminate ;);
^
nntp.c:224:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for(; tmp=fetchArticle(newsfp) && terminate ;);
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nntp.c:224:11: note: place parentheses around the assignment to silence this warning
for(; tmp=fetchArticle(newsfp) && terminate ;);
^
( )
nntp.c:224:11: note: use '==' to turn this assignment into an equality comparison
for(; tmp=fetchArticle(newsfp) && terminate ;);
^
==
nntp.c:244:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fetchArticle(FILE *fp1)
^~~~~~~~~~~~
nntp.c:329:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getGroupList()
^~~~~~~~~~~~
nntp.c:337:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
exit(1);
^
nntp.c:337:3: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
nntp.c:352:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
sendQuit()
^~~~~~~~
nntp.c:357:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
nntp.c:359:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fill_tmpfile()
^~~~~~~~~~~~
nntp.c:366:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
20 warnings generated.
cc -O2 -pipe -fno-strict-aliasing -std=gnu99 -Qunused-arguments -fstack-protector -c opt.c
opt.c:36:14: warning: implicit declaration of function 'Getopt' is invalid in C99 [-Wimplicit-function-declaration]
c = Getopt(argc, argv, "w:t:T:d:f:U:N:x:p:P:Y:yslVvchH-");
^
opt.c:47:7: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)'
i = strlen(optarg);
^
opt.c:47:7: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
opt.c:53:10: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)'
strcat(dirname,"/");
^
opt.c:53:10: note: please include the header <string.h> or explicitly provide a declaration for 'strcat'
opt.c:57:10: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)'
strcpy(dirname,optarg);
^
opt.c:57:10: note: please include the header <string.h> or explicitly provide a declaration for 'strcpy'
opt.c:61:7: warning: implicit declaration of function 'createDirectory' is invalid in C99 [-Wimplicit-function-declaration]
if(!createDirectory(dirname))
^
opt.c:62:4: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
exit(1);
^
opt.c:62:4: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
opt.c:141:3: warning: implicit declaration of function 'opt_help' is invalid in C99 [-Wimplicit-function-declaration]
opt_help(argv[0]);
^
opt.c:145:14: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
tmp = atoi(optarg);
^
opt.c:191:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
opt_help(char *prog_name)
^~~~~~~~
9 warnings generated.
cc -O2 -pipe -fno-strict-aliasing -std=gnu99 -Qunused-arguments -fstack-protector -c util.c
util.c:22:11: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)'
strcpy(homedir,userinfo->pw_dir);
^
util.c:22:11: note: please include the header <string.h> or explicitly provide a declaration for 'strcpy'
util.c:26:11: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
exit(1);
^
util.c:26:11: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
util.c:40:11: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)'
strcat(rcfile,"/");
^
util.c:40:11: note: please include the header <string.h> or explicitly provide a declaration for 'strcat'
util.c:48:17: warning: implicit declaration of function 'exitNow' is invalid in C99 [-Wimplicit-function-declaration]
exitNow(1);
^
util.c:59:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
generateProcmailrc(char *homedir, char *rcfile, char *dirname, char *pipe_command)
^~~~~~~~~~~~~~~~~~
util.c:134:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
util.c:174:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
makeCommand(char *src, char *search, char *replace, char *dest)
^~~~~~~~~~~
util.c:183:22: warning: implicitly declaring library function 'strstr' with type 'char *(const char *, const char *)'
tmp= (char *)strstr(tmp1, search);
^
util.c:183:22: note: please include the header <string.h> or explicitly provide a declaration for 'strstr'
util.c:186:3: warning: implicitly declaring library function 'strncat' with type 'char *(char *, const char *, unsigned long)'
strncat(dest, tmp1, tmp-tmp1);
^
util.c:186:3: note: please include the header <string.h> or explicitly provide a declaration for 'strncat'
util.c:188:14: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)'
tmp1 = tmp+strlen(search);
^
util.c:188:14: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
util.c:193:3: error: non-void function 'makeCommand' should return a value [-Wreturn-type]
return;
^
10 warnings and 1 error generated.
*** Error code 1
Stop.
make: stopped in /wrkdirs/usr/ports/news/newsfetch/work/newsfetch-1.21
*** Error code 1
Stop.
make: stopped in /usr/ports/news/newsfetch
===> Cleaning for newsfetch-1.21_2
More information about the freebsd-pkg-fallout
mailing list