[RELEASE - head-default] Build failed for conserver-8.5_4 during build

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


Maintainer:     cy at FreeBSD.org
Last committer: dougb at FreeBSD.org
Ident:          $FreeBSD: head/comms/conserver/Makefile 302141 2012-08-05 23:19:36Z dougb $
Log URL:        http://beefy1.isc.freebsd.org/bulk/head-default/2013-07-25_02h04m56s/logs/conserver-8.5_4.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/head-default/2013-07-25_02h04m56s
Log:

====>> Building comms/conserver
build started at Thu Jul 25 06:52:53 UTC 2013
port directory: /usr/ports/comms/conserver
building for: FreeBSD head-default-job-21 10.0-CURRENT FreeBSD 10.0-CURRENT i386
maintained by: cy at FreeBSD.org
Makefile ident:      $FreeBSD: head/comms/conserver/Makefile 302141 2012-08-05 23:19:36Z dougb $
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=57792
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=conserver-8.5_4
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--
DEFAULTHOST="localhost" DEFAULTPORT="782" 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/conserver
DOCSDIR=/usr/local/share/doc/conserver
EXAMPLESDIR=/usr/local/share/examples/conserver
WWWDIR=/usr/local/www/conserver
ETCDIR=/usr/local/etc/conserver
--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 conserver-8.5_4
=======================<phase: check-config   >============================
=========================================================================
=======================<phase: pkg-depends    >============================
===>   conserver-8.5_4 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 conserver-8.5_4
=========================================================================
=======================<phase: fetch-depends  >============================
=========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by conserver-8.5_4 for building
=========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by conserver-8.5_4 for building
=> SHA256 Checksum OK for conserver-8.5.tgz.
=========================================================================
=======================<phase: extract-depends>============================
=========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by conserver-8.5_4 for building
===>  Extracting for conserver-8.5_4
=> SHA256 Checksum OK for conserver-8.5.tgz.
=========================================================================
=======================<phase: patch-depends  >============================
=========================================================================
=======================<phase: patch          >============================
===>  Patching for conserver-8.5_4
===>  Applying FreeBSD patches for conserver-8.5_4
=========================================================================
=======================<phase: build-depends  >============================
===>   conserver-8.5_4 depends on executable: makeme - not found
===>    Verifying install for makeme in /usr/ports/devel/msrc0
===>   Installing existing package /packages/All/msrc0-0.7.txz
Installing msrc0-0.7... done
===>   Returning to build of conserver-8.5_4
===>   conserver-8.5_4 depends on executable: mkcmd - not found
===>    Verifying install for mkcmd in /usr/ports/devel/mkcmd
===>   Installing existing package /packages/All/mkcmd-8.14.txz
Installing mkcmd-8.14... done
===>   Returning to build of conserver-8.5_4
=========================================================================
=======================<phase: lib-depends    >============================
=========================================================================
=======================<phase: configure      >============================
===>  Configuring for conserver-8.5_4
=========================================================================
=======================<phase: build          >============================
===>  Building for conserver-8.5_4
/usr/bin/sed -i.bak -e 's:/usr/local/lib:/usr/local/etc:g'   /wrkdirs/usr/ports/comms/conserver/work/conserver-8.5/etc/conserver/cons.h
(cd /wrkdirs/usr/ports/comms/conserver/work/conserver-8.5/etc/conserver && /usr/bin/env DEFAULTHOST="localhost" DEFAULTPORT="782" 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" makeme   all)
mkcmd conserver.m
(cmp -s prog.c main.c || (mv prog.c main.c && echo main.c updated))
main.c updated
(cmp -s prog.h main.h || (mv prog.h main.h && echo main.h updated))
main.h updated
rm -f prog.[ch]
cc -O -DFREEBSD -DHAVE_PTYD=0 -DPORT=782  -c access.c
In file included from access.c:50:
./cons.h:42:21: warning: '/*' within block comment [-Wcomment]
/* #define PORT 782 /* only if you cannot put in /etc/services */
                    ^
access.c:77:2: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
        write(2, progname, strlen(progname));
        ^
2 warnings generated.
cc -O -DFREEBSD -DHAVE_PTYD=0 -DPORT=782  -c client.c
In file included from client.c:49:
./cons.h:42:21: warning: '/*' within block comment [-Wcomment]
/* #define PORT 782 /* only if you cannot put in /etc/services */
                    ^
client.c:78:3: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
                CSTROUT(pCL->fd, "\r\n[attached]\r\n");
                ^
./cons.h:151:2: note: expanded from macro 'CSTROUT'
        write(Mfd, _ac, sizeof(_ac)-1); \
        ^
client.c:167:13: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
        if ((tot = read(fdLog, bf, MAXREPLAY)) <= 0) {
                   ^
3 warnings generated.
cc -O -DFREEBSD -DHAVE_PTYD=0 -DPORT=782  -c consent.c
In file included from consent.c:50:
./cons.h:42:21: warning: '/*' within block comment [-Wcomment]
/* #define PORT 782 /* only if you cannot put in /etc/services */
                    ^
consent.c:282:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
                exit(1);
                ^
consent.c:282:3: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
2 warnings generated.
cc -O -DFREEBSD -DHAVE_PTYD=0 -DPORT=782  -c daemon.c
daemon.c:70:48: warning: implicitly declaring library function 'strerror' with type 'char *(int)'
                        fprintf(stderr, "%s: fork: %s\n", progname, strerror(errno));
                                                                    ^
daemon.c:70:48: note: please include the header <string.h> or explicitly provide a declaration for 'strerror'
daemon.c:71:4: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
                        exit(1);
                        ^
daemon.c:71:4: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
2 warnings generated.
cc -O -DFREEBSD -DHAVE_PTYD=0 -DPORT=782  -c group.c
In file included from group.c:67:
./cons.h:42:21: warning: '/*' within block comment [-Wcomment]
/* #define PORT 782 /* only if you cannot put in /etc/services */
                    ^
group.c:358:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
        exit(0);
        ^
group.c:358:2: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
group.c:360:2: warning: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))'
        abort();
        ^
group.c:360:2: note: please include the header <stdlib.h> or explicitly provide a declaration for 'abort'
group.c:1082:33: warning: data argument not used by format string [-Wformat-extra-args]
                                                sprintf(acOut, "ok]\r\n", pCL->acid);
                                                               ~~~~~~~~~  ^
group.c:1288:33: warning: data argument not used by format string [-Wformat-extra-args]
                                                sprintf(acOut, "up]\r\n", pCL->acid);
                                                               ~~~~~~~~~  ^
group.c:1472:69: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                pCLFree->fd = accept(sfd, (struct sockaddr *)&pCLFree->cnct_port, &so);
                                                                                  ^~~
/usr/include/sys/socket.h:634:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
group.c:1482:67: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                if (-1 == getpeername(pCLFree->fd, (struct sockaddr *)&in_port, &so)) {
                                                                                ^~~
/usr/include/sys/socket.h:642:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
group.c:1507:19: warning: incompatible pointer types passing 'long *' to parameter of type 'time_t *' (aka 'int *') [-Wincompatible-pointer-types]
                pCL->tym = time((long *)0);
                                ^~~~~~~~~
group.c:1508:34: warning: incompatible pointer types passing 'long *' to parameter of type 'const time_t *' (aka 'const int *') [-Wincompatible-pointer-types]
                (void)strcpy(pCL->actym, ctime(&(pCL->tym)));
                                               ^~~~~~~~~~~
/usr/include/time.h:146:27: note: passing argument to parameter here
char *ctime(const time_t *);
                          ^
group.c:1556:24: warning: implicitly declaring library function 'calloc' with type 'void *(unsigned int, unsigned int)'
                        pCLFree = (CLIENT *)calloc(2, sizeof(CLIENT));
                                            ^
group.c:1556:24: note: please include the header <stdlib.h> or explicitly provide a declaration for 'calloc'
group.c:1609:60: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (-1 == getsockname(sfd, (struct sockaddr *)&lstn_port, &so)) {
                                                                  ^~~
/usr/include/sys/socket.h:643:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
11 warnings generated.
cc -O -DFREEBSD -DHAVE_PTYD=0 -DPORT=782  -c main.c
In file included from main.c:24:
./cons.h:42:21: warning: '/*' within block comment [-Wcomment]
/* #define PORT 782 /* only if you cannot put in /etc/services */
                    ^
conserver.m:154:2: warning: implicit declaration of function 'BaudRates' is invalid in C99 [-Wimplicit-function-declaration]
        BaudRates(stdout);
        ^
conserver.m:232:8: warning: implicit declaration of function 'gethostname' is invalid in C99 [-Wimplicit-function-declaration]
        (void)gethostname(acMyHost, sizeof(acMyHost));
              ^
conserver.m:274:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
conserver.m:278:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
after_func()
^~~~~~~~~~
conserver.m:280:11: warning: implicit declaration of function 'geteuid' is invalid in C99 [-Wimplicit-function-declaration]
        if (0 != geteuid()) {
                 ^
conserver.m:311:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
conserver.m:362:11: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                                (void)close(aGroups[i].pCElist[j].fdtty);
                                      ^
conserver.m:382:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
exit_func()
^~~~~~~~~
conserver.m:462:3: warning: implicit declaration of function 'execve' is invalid in C99 [-Wimplicit-function-declaration]
                execve(argv_orig[0], argv_orig, environ);
                ^
mkcmd_generated_main:72:19: warning: too many arguments in call to 'after_func'
        after_func('\000');
        ~~~~~~~~~~       ^
mkcmd_generated_main:74:14: warning: too many arguments in call to 'exit_func'
        exit_func(-1);
        ~~~~~~~~~   ^
12 warnings generated.
cc -O -DFREEBSD -DHAVE_PTYD=0 -DPORT=782  -c master.c
In file included from master.c:37:
./cons.h:42:21: warning: '/*' within block comment [-Wcomment]
/* #define PORT 782 /* only if you cannot put in /etc/services */
                    ^
master.c:112:16: warning: incompatible pointer types passing 'long *' to parameter of type 'time_t *' (aka 'int *') [-Wincompatible-pointer-types]
                        tyme = time((long *)0);
                                    ^~~~~~~~~
master.c:113:111: warning: incompatible pointer types passing 'long *' to parameter of type 'const time_t *' (aka 'const int *') [-Wincompatible-pointer-types]
                        printf("%s: %s: exit(%d), restarted %s", progname, aGroups[i].pCElist[0].server, WEXITSTATUS(UWbuf), ctime(&tyme));
                                                                                                                                   ^~~~~
/usr/include/time.h:146:27: note: passing argument to parameter here
char *ctime(const time_t *);
                          ^
master.c:203:3: error: non-void function 'Master' should return a value [-Wreturn-type]
                return;
                ^
master.c:208:3: error: non-void function 'Master' should return a value [-Wreturn-type]
                return;
                ^
master.c:213:3: error: non-void function 'Master' should return a value [-Wreturn-type]
                return;
                ^
master.c:232:57: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                cfd = accept(msfd, (struct sockaddr *)&response_port, &so);
                                                                      ^~~
/usr/include/sys/socket.h:634:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
master.c:240:59: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                if (-1 == getpeername(cfd, (struct sockaddr *)&in_port, &so)) {
                                                                        ^~~
/usr/include/sys/socket.h:642:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
master.c:383:25: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
                                sprintf(acOut, ":%d"+iSep, ntohs((u_short)aGroups[i].port));
                                               ~~~~~^~~~~
master.c:383:25: note: use array indexing to silence this warning
                                sprintf(acOut, ":%d"+iSep, ntohs((u_short)aGroups[i].port));
                                                    ^
                                               &    [    ]
master.c:404:26: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
                                sprintf(acOut, ":@%s"+iSep, pRC->rhost);
                                               ~~~~~~^~~~~
master.c:404:26: note: use array indexing to silence this warning
                                sprintf(acOut, ":@%s"+iSep, pRC->rhost);
                                                     ^
                                               &     [    ]
master.c:479:48: warning: data argument not used by format string [-Wformat-extra-args]
                                sprintf(acOut, "@%s\r\n", pRCFound->rhost, pcArgs);
                                               ~~~~~~~~~                   ^
8 warnings and 3 errors generated.
*** Error code 1

Stop.
make: stopped in /wrkdirs/usr/ports/comms/conserver/work/conserver-8.5/etc/conserver
*** Error code 1

Stop.
make: stopped in /usr/ports/comms/conserver
===>  Cleaning for conserver-8.5_4


More information about the freebsd-pkg-fallout mailing list