[REL - 10i386-default][news/nntp] Failed for nntp-1.5.12.2_7 in build

pkg-fallout-builder at FreeBSD.org pkg-fallout-builder at FreeBSD.org
Thu Feb 27 15:57:10 UTC 2014


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: mat at FreeBSD.org
Ident:          $FreeBSD: head/news/nntp/Makefile 340722 2014-01-22 17:00:46Z mat $
Log URL:        http://beefy1.isc.freebsd.org/bulk/10i386-default/2014-02-27_07h34m12s/logs/nntp-1.5.12.2_7.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/10i386-default/2014-02-27_07h34m12s
Log:

====>> Building news/nntp
build started at Thu Feb 27 15:56:52 UTC 2014
port directory: /usr/ports/news/nntp
building for: FreeBSD 10i386-default-job-14 10.0-RELEASE FreeBSD 10.0-RELEASE i386
maintained by: dinoex at FreeBSD.org
Makefile ident:      $FreeBSD: head/news/nntp/Makefile 340722 2014-01-22 17:00:46Z mat $
Poudriere version: 3.1-pre

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1000510
UNAME_v=FreeBSD 10.0-RELEASE
UNAME_r=10.0-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/10i386-default/ref
PKG_EXT=txz
tpid=42761
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=nntp-1.5.12.2_7
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/root
MASTERNAME=10i386-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_7:
     INETD=off: build to run from inetd only
     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="/wrkdirs/usr/ports/news/nntp/work/stage/usr/local/sbin" BINDIR="/wrkdirs/usr/ports/news/nntp/work/stage/usr/local/libexec/cnews" MANDIR="/wrkdirs/usr/ports/news/nntp/work/stage/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_7
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   nntp-1.5.12.2_7 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.2.6.txz
Installing pkg-1.2.6... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of nntp-1.5.12.2_7
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by nntp-1.5.12.2_7 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by nntp-1.5.12.2_7 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_7 for building
===>  Extracting for nntp-1.5.12.2_7
=> SHA256 Checksum OK for nntp.1.5.12.2.tar.gz.
=> SHA256 Checksum OK for nntp-patch-y2k.
/bin/cp /wrkdirs/usr/ports/news/nntp/work/conf.h.dist /wrkdirs/usr/ports/news/nntp/work/conf.h
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for nntp-1.5.12.2_7
===>  Applying distribution patches for nntp-1.5.12.2_7
===>  Applying FreeBSD patches for nntp-1.5.12.2_7
===========================================================================
=======================<phase: build-depends  >============================
===>   nntp-1.5.12.2_7 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_12.txz
Installing cnews-cr.g_12...Installing gcc-4.6.4...Installing binutils-2.24...Installing gettext-0.18.3.1... done
 done
Installing gcc-ecj-4.5... done
Installing gmp-5.1.3... done
Installing mpc-1.0.2...Installing mpfr-3.1.2... done
 done
 done
 done
you MUST change the configuration of this news setup:
  cd to /var/lib/news and change the following files...
mailname, whoami, organization, mailpaths, sys, readnews.ctl, postdefltgroup
  to suit your local system and news topology.
check that you have vaild aliases in report.ctl,
  so any problem can be reported.

for ease of administration you may add a shell:
pw usermod news -d /var/lib/news -s /bin/csh
===>   Returning to build of nntp-1.5.12.2_7
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for nntp-1.5.12.2_7
/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/over.view="  -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_7
/usr/bin/make -C server   "LIBS=/usr/local/lib/libcnews.a -lcrypt -lutil   " "CFLAGS=-O2 -pipe -fno-strict-aliasing  -I/usr/local/include" "ETCDIR=/wrkdirs/usr/ports/news/nntp/work/stage/usr/local/sbin" "BINDIR=/wrkdirs/usr/ports/news/nntp/work/stage/usr/local/libexec/cnews" "MANDIR=/wrkdirs/usr/ports/news/nntp/work/stage/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]
<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_7


More information about the freebsd-pkg-fallout mailing list