[REL - head-i386-default][news/nntp] Failed for nntp-1.5.12.2_6 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Fri Nov 8 06:21:14 UTC 2013


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:     dinoex at FreeBSD.org
Last committer: dinoex at FreeBSD.org
Ident:          $FreeBSD: head/news/nntp/Makefile 327804 2013-09-21 11:06:03Z dinoex $
Log URL:        http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-11-07_15h02m20s/logs/nntp-1.5.12.2_6.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-11-07_15h02m20s
Log:

====>> Building news/nntp
build started at Fri Nov  8 06:20:55 UTC 2013
port directory: /usr/ports/news/nntp
building for: FreeBSD head-i386-default-job-04 11.0-CURRENT FreeBSD 11.0-CURRENT r256430 i386
maintained by: dinoex at FreeBSD.org
Makefile ident:      $FreeBSD: head/news/nntp/Makefile 327804 2013-09-21 11:06:03Z dinoex $
Poudriere version: 3.1-pre

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1100000
UNAME_v=FreeBSD 11.0-CURRENT r256430
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/head-i386-default/ref
PKG_EXT=txz
tpid=73873
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=nntp-1.5.12.2_6
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/root
MASTERNAME=head-i386-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=/poudriere/pkg-static version
PKG_BIN=/usr/local/sbin/pkg-static
---End Environment---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

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

--MAKE_ENV--
DBLIBS="/usr/local/lib/libcnews.a -lcrypt -lutil" ETCDIR="/usr/local/sbin" BINDIR="/usr/local/libexec/cnews" MANDIR="/usr/local/man" TMPDIR="/tmp" 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/nntp
DOCSDIR=/usr/local/share/doc/nntp
EXAMPLESDIR=/usr/local/share/examples/nntp
WWWDIR=/usr/local/www/nntp
ETCDIR=/usr/local/etc/nntp
--End SUB_LIST--

---Begin make.conf---
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
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
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
===>  Cleaning for nntp-1.5.12.2_6
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   nntp-1.5.12.2_6 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_8.txz
Installing pkg-1.1.4_8... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of nntp-1.5.12.2_6
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by nntp-1.5.12.2_6 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by nntp-1.5.12.2_6 for building
=> SHA256 Checksum OK for nntp.1.5.12.2.tar.gz.
=> SHA256 Checksum OK for nntp-patch-y2k.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by nntp-1.5.12.2_6 for building
===>  Extracting for nntp-1.5.12.2_6
=> SHA256 Checksum OK for nntp.1.5.12.2.tar.gz.
=> SHA256 Checksum OK for nntp-patch-y2k.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for nntp-1.5.12.2_6
===>  Applying distribution patches for nntp-1.5.12.2_6
===>  Applying FreeBSD patches for nntp-1.5.12.2_6
===========================================================================
=======================<phase: build-depends  >============================
===>   nntp-1.5.12.2_6 depends on file: /usr/local/lib/libcnews.a - not found
===>    Verifying install for /usr/local/lib/libcnews.a in /usr/ports/news/cnews
===>   Installing existing package /packages/All/cnews-cr.g_9.txz
Installing cnews-cr.g_9...Installing mpfr-3.1.2...Installing gmp-5.1.3... done
 done
Installing mpc-1.0.1... done
Installing gcc-ecj-4.5... done
Installing gcc-4.6.4...Installing binutils-2.23.2...Installing gettext-0.18.3.1... done
 done
 done
 done
===>   Returning to build of nntp-1.5.12.2_6
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for nntp-1.5.12.2_6
/usr/bin/sed -i.bak  -e "s=/usr/local/news/lib/bin/config=/usr/local/libexec/cnews/config="  -e "s=/usr/local/news/cnewsbin=/usr/local/libexec/cnews="  -e "s=/usr/local/news/lib=/var/lib/news="  -e "s=/var/news/over.view=/var/news="  -e "s=/var/news=/var/news="  -e "s=/usr/local/bin=/usr/local/bin="  -e "s=/usr/local/sbin=/usr/local/sbin="  -e "s=/usr/local/man=/usr/local/man="  /wrkdirs/usr/ports/news/nntp/work/conf.h
===========================================================================
=======================<phase: build          >============================
===>  Building for nntp-1.5.12.2_6
/usr/bin/make -C server   "LIBS=/usr/local/lib/libcnews.a -lcrypt -lutil   " "CFLAGS=-O2 -pipe -fno-strict-aliasing  -I/usr/local/include" "ETCDIR=/usr/local/sbin" "BINDIR=/usr/local/libexec/cnews" "MANDIR=/usr/local/man"
cc -O2 -pipe -fno-strict-aliasing  -I/usr/local/include -c main.c
In file included from main.c:18:
In file included from ./common.h:8:
./../conf.h:197:39: warning: '/*' within block comment [-Wcomment]
/*define ROVER_DIR "/var/news/r.over"   /* base directory */
                                        ^
./../conf.h:212:44: warning: '/*' within block comment [-Wcomment]
/*#define THREAD_DIR    "/usr/spool/threads"            /* base directory */
                                                        ^
main.c:59:2: warning: implicit declaration of function 'disassoc' is invalid in C99 [-Wimplicit-function-declaration]
        disassoc();
        ^
main.c:77:15: warning: implicit declaration of function 'read_groups' is invalid in C99 [-Wimplicit-function-declaration]
        num_groups = read_groups();     /* Read active file now (fd 4) */
                     ^
main.c:85:10: warning: implicit declaration of function 'get_socket' is invalid in C99 [-Wimplicit-function-declaration]
        sockt = get_socket();           /* should be fd 4 or 5 */
                ^
main.c:105:25: warning: incompatible pointer types passing 'int ()' to parameter of type '__sighandler_t *' (aka 'void (*)(int)') [-Wincompatible-pointer-types]
        (void) signal(SIGCHLD, reaper);
                               ^~~~~~
/usr/include/sys/signal.h:441:45: note: passing argument to parameter here
__sighandler_t *signal(int, __sighandler_t *);
                                            ^
main.c:139:9: warning: implicit declaration of function 'getla' is invalid in C99 [-Wimplicit-function-declaration]
        load = getla();
               ^
main.c:161:26: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types]
                client = accept(sockt, &from, &length);
                                       ^~~~~
/usr/include/sys/socket.h:596:45: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                ^
main.c:161:33: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                client = accept(sockt, &from, &length);
                                              ^~~~~~~
/usr/include/sys/socket.h:596:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
main.c:186:26: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)'
                        write( client, oline, strlen( oline ));
                                              ^
main.c:186:26: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
main.c:219:5: warning: implicit declaration of function 'make_stdio' is invalid in C99 [-Wimplicit-function-declaration]
                                make_stdio(client);
                                ^
main.c:224:5: warning: implicit declaration of function 'serve' is invalid in C99 [-Wimplicit-function-declaration]
                                serve();
                                ^
12 warnings generated.
cc -O2 -pipe -fno-strict-aliasing  -I/usr/local/include -c serve.c
In file included from serve.c:9:
In file included from ./common.h:8:
./../conf.h:197:39: warning: '/*' within block comment [-Wcomment]
/*define ROVER_DIR "/var/news/r.over"   /* base directory */
                                        ^
./../conf.h:212:44: warning: '/*' within block comment [-Wcomment]
/*#define THREAD_DIR    "/usr/spool/threads"            /* base directory */
<snip>
msgidd.c:42:5: error: redefinition of 'log' as different kind of symbol
int log = 0, flags = 0;
    ^
msgidd.c:42:5: note: previous definition is here
msgidd.c:138:6: error: non-object type 'double (double)' is not assignable
        log = 0;
        ~~~ ^
msgidd.c:168:21: warning: expression result unused [-Wunused-value]
    dprintf(stderr, "%s\n", msgbuf);
                    ^~~~~~
msgidd.c:169:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    syslog(LOG_INFO, msgbuf);
                     ^~~~~~
msgidd.c:178:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc, argv)
^~~~
msgidd.c:198:8: warning: implicitly declaring library function 'strdup' with type 'char *(const char *)'
                sn = strdup(optarg);
                     ^
msgidd.c:198:8: note: please include the header <string.h> or explicitly provide a declaration for 'strdup'
msgidd.c:201:6: error: cannot increment value of type 'double (double)'
                log++;
                ~~~^
msgidd.c:236:12: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)'
    (void) strcpy(n.sun_path, sn);
           ^
msgidd.c:236:12: note: please include the header <string.h> or explicitly provide a declaration for 'strcpy'
msgidd.c:240:2: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)'
        strlen(n.sun_path) +sizeof n.sun_family),n.sun_path);
        ^
msgidd.c:18:28: note: expanded from macro 'ASSERT'
#define ASSERT(e, m) if (!(e)) {fputs("assert failed... ", stderr);\
                           ^
msgidd.c:240:2: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
msgidd.c:18:28: note: expanded from macro 'ASSERT'
#define ASSERT(e, m) if (!(e)) {fputs("assert failed... ", stderr);\
                           ^
msgidd.c:277:10: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                     &fromlen)) == -1) {
                                     ^~~~~~~~
/usr/include/sys/socket.h:596:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
msgidd.c:297:24: warning: expression result unused [-Wunused-value]
                            dprintf(stderr, "Disconnect(%d/%s)\n",
                                            ^~~~~~~~~~~~~~~~~~~~~
msgidd.c:298:5: warning: expression result unused [-Wunused-value]
                                fd, hosts[fd]);
                                ^~
msgidd.c:304:23: warning: expression result unused [-Wunused-value]
                    dprintf(stderr, "Bad fd %d from select\n", fd);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~
msgidd.c:325:33: warning: incompatible pointer types passing 'long *' to parameter of type 'time_t *' (aka 'int *') [-Wincompatible-pointer-types]
            register time_t now = time((long *)0);
                                       ^~~~~~~~~
/usr/include/time.h:154:21: note: passing argument to parameter here
time_t time(time_t *);
                    ^
msgidd.c:342:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    register int found = 0, hash = mkhash(bufp) % HASHSIZE;
                                          ^~~~
msgidd.c:345:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)'
        if (STREQ(i->id, bufp)) {
            ^
msgidd.c:21:43: note: expanded from macro 'STREQ'
#define STREQ(s1, s2)           (*(s1) == *(s2) && strcmp(s1, s2) == 0)
                                                   ^
msgidd.c:345:6: note: please include the header <string.h> or explicitly provide a declaration for 'strcmp'
msgidd.c:21:43: note: expanded from macro 'STREQ'
#define STREQ(s1, s2)           (*(s1) == *(s2) && strcmp(s1, s2) == 0)
                                                   ^
msgidd.c:356:22: warning: expression result unused [-Wunused-value]
            dprintf(stderr, "Cancel(%d/%s): `%s'\n", fd, hosts[fd], bufp);
                            ^~~~~~~~~~~~~~~~~~~~~~~
msgidd.c:356:47: warning: expression result unused [-Wunused-value]
            dprintf(stderr, "Cancel(%d/%s): `%s'\n", fd, hosts[fd], bufp);
                                                     ^~
msgidd.c:356:59: warning: expression result unused [-Wunused-value]
            dprintf(stderr, "Cancel(%d/%s): `%s'\n", fd, hosts[fd], bufp);
                                                         ~~~~~ ~~^
msgidd.c:360:18: warning: expression result unused [-Wunused-value]
        dprintf(stderr, "Bad-cancel(%d/%s): `%s'\n", fd, hosts[fd], bufp);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
msgidd.c:360:47: warning: expression result unused [-Wunused-value]
        dprintf(stderr, "Bad-cancel(%d/%s): `%s'\n", fd, hosts[fd], bufp);
                                                     ^~
msgidd.c:360:59: warning: expression result unused [-Wunused-value]
        dprintf(stderr, "Bad-cancel(%d/%s): `%s'\n", fd, hosts[fd], bufp);
                                                         ~~~~~ ~~^
msgidd.c:376:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    register int hash = mkhash(bufp) % HASHSIZE;
                               ^~~~
msgidd.c:394:21: warning: expression result unused [-Wunused-value]
    dprintf(stderr, "Add(%d/%s): `%s'\n", fd, hosts[fd], bufp);
                    ^~~~~~~~~~~~~~~~~~~~
msgidd.c:394:43: warning: expression result unused [-Wunused-value]
    dprintf(stderr, "Add(%d/%s): `%s'\n", fd, hosts[fd], bufp);
                                          ^~
msgidd.c:394:55: warning: expression result unused [-Wunused-value]
    dprintf(stderr, "Add(%d/%s): `%s'\n", fd, hosts[fd], bufp);
                                              ~~~~~ ~~^
msgidd.c:405:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    register int hash = mkhash(bufp) % HASHSIZE;
                               ^~~~
msgidd.c:438:11: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
                               (now - i->age), i->id);
                               ^~~~~~~~~~~~~~
msgidd.c:446:21: warning: expression result unused [-Wunused-value]
    dprintf(stderr, "Search(%d/%s): %s(%d) `%s'\n",
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
msgidd.c:447:6: warning: expression result unused [-Wunused-value]
            fd, hosts[fd], (found ? "dup" : "new"), searched, bufp);
            ^~
msgidd.c:447:18: warning: expression result unused [-Wunused-value]
            fd, hosts[fd], (found ? "dup" : "new"), searched, bufp);
                ~~~~~ ~~^
msgidd.c:447:30: warning: expression result unused [-Wunused-value]
            fd, hosts[fd], (found ? "dup" : "new"), searched, bufp);
                                    ^~~~~
msgidd.c:447:46: warning: expression result unused [-Wunused-value]
            fd, hosts[fd], (found ? "dup" : "new"), searched, bufp);
                                                    ^~~~~~~~
msgidd.c:456:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    register fd;
    ~~~~~~~~ ^
msgidd.c:461:32: warning: incompatible pointer types passing 'long *' to parameter of type 'time_t *' (aka 'int *') [-Wincompatible-pointer-types]
    register time_t now = time((long *)0);
                               ^~~~~~~~~
/usr/include/time.h:154:21: note: passing argument to parameter here
time_t time(time_t *);
                    ^
msgidd.c:473:18: warning: expression result unused [-Wunused-value]
        dprintf(stderr, "Parse(%d/%s): `%s'\n", fd, hosts[fd], buf);
                        ^~~~~~~~~~~~~~~~~~~~~~
msgidd.c:473:42: warning: expression result unused [-Wunused-value]
        dprintf(stderr, "Parse(%d/%s): `%s'\n", fd, hosts[fd], buf);
                                                ^~
msgidd.c:473:54: warning: expression result unused [-Wunused-value]
        dprintf(stderr, "Parse(%d/%s): `%s'\n", fd, hosts[fd], buf);
                                                    ~~~~~ ~~^
msgidd.c:492:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
        register x = n - 1;
        ~~~~~~~~ ^
msgidd.c:493:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
        register ch = bufp[x];
        ~~~~~~~~ ^
msgidd.c:505:9: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned int)'
    if (STRN_EQ(cmdp, msgs[MCANCEL], 4)) {
        ^
msgidd.c:22:47: note: expanded from macro 'STRN_EQ'
#define STRN_EQ(s1, s2, n)      (*(s1) == *(s2) && strncmp(s1, s2, n) == 0)
                                                   ^
msgidd.c:505:9: note: please include the header <string.h> or explicitly provide a declaration for 'strncmp'
msgidd.c:22:47: note: expanded from macro 'STRN_EQ'
#define STRN_EQ(s1, s2, n)      (*(s1) == *(s2) && strncmp(s1, s2, n) == 0)
                                                   ^
msgidd.c:519:18: warning: expression result unused [-Wunused-value]
        dprintf(stderr, "Old(%d/%s): `%s'\n", fd, hosts[fd], bufp);
                        ^~~~~~~~~~~~~~~~~~~~
msgidd.c:519:40: warning: expression result unused [-Wunused-value]
        dprintf(stderr, "Old(%d/%s): `%s'\n", fd, hosts[fd], bufp);
                                              ^~
msgidd.c:519:52: warning: expression result unused [-Wunused-value]
        dprintf(stderr, "Old(%d/%s): `%s'\n", fd, hosts[fd], bufp);
                                                  ~~~~~ ~~^
msgidd.c:527:18: warning: expression result unused [-Wunused-value]
        dprintf(stderr, "Connect(%d/%s)\n", fd, hosts[fd]);
                        ^~~~~~~~~~~~~~~~~~
msgidd.c:527:38: warning: expression result unused [-Wunused-value]
        dprintf(stderr, "Connect(%d/%s)\n", fd, hosts[fd]);
                                            ^~
msgidd.c:534:18: warning: expression result unused [-Wunused-value]
        dprintf(stderr, "Error(%d/%s) unknown-cmd %s\n", fd, hosts[fd], cmdp);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
msgidd.c:534:51: warning: expression result unused [-Wunused-value]
        dprintf(stderr, "Error(%d/%s) unknown-cmd %s\n", fd, hosts[fd], cmdp);
                                                         ^~
msgidd.c:534:63: warning: expression result unused [-Wunused-value]
        dprintf(stderr, "Error(%d/%s) unknown-cmd %s\n", fd, hosts[fd], cmdp);
                                                             ~~~~~ ~~^
msgidd.c:545:29: warning: incompatible pointer types passing 'long *' to parameter of type 'time_t *' (aka 'int *') [-Wincompatible-pointer-types]
        register time_t now = time((long *)0);
                                   ^~~~~~~~~
/usr/include/time.h:154:21: note: passing argument to parameter here
time_t time(time_t *);
                    ^
49 warnings and 3 errors generated.
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/news/nntp/work/server
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/news/nntp/work
*** Error code 1

Stop.
make: stopped in /usr/ports/news/nntp
===>  Cleaning for nntp-1.5.12.2_6


More information about the freebsd-pkg-fallout mailing list