Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 2014 11:41:55 GMT
From:      pkg-fallout@FreeBSD.org
To:        obrien@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][ftp/ncftp1] Failed for ncftp1-1.9.5 in build
Message-ID:  <201409281141.s8SBftjs075956@beefy2.isc.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:     obrien@FreeBSD.org
Last committer: adamw@FreeBSD.org
Ident:          $FreeBSD: head/ftp/ncftp1/Makefile 351560 2014-04-18 19:21:04Z adamw $
Log URL:        http://beefy2.isc.freebsd.org/data/head-amd64-default/2014-09-27_09h59m33s/logs/ncftp1-1.9.5.log
Build URL:      http://beefy2.isc.freebsd.org/build.html?mastername=head-amd64-default&build=2014-09-27_09h59m33s
Log:

====>> Building ftp/ncftp1
build started at Sun Sep 28 11:41:51 UTC 2014
port directory: /usr/ports/ftp/ncftp1
building for: FreeBSD head-amd64-default-job-15 11.0-CURRENT FreeBSD 11.0-CURRENT r272051 amd64
maintained by: obrien@FreeBSD.org
Makefile ident:      $FreeBSD: head/ftp/ncftp1/Makefile 351560 2014-04-18 19:21:04Z adamw $
Poudriere version: 3.1-pre
Host OSVERSION: 1100027
Jail OSVERSION: 1100036




!!! Jail is newer than host. (Jail: 1100036, Host: 1100027) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
OSVERSION=1100036
UNAME_v=FreeBSD 11.0-CURRENT r272051
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=screen
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=ncftp1-1.9.5
OLDPWD=/root
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
MASTERNAME=head-amd64-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for ncftp1-1.9.5:
     AS_NCFTP=off: Install binary as ncftp instead of ncftp1
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/ftp/ncftp1/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/ftp/ncftp1/work  HOME=/wrkdirs/usr/ports/ftp/ncftp1/work TMPDIR="/tmp" XDG_DATA_HOME=/wrkdirs/usr/ports/ftp/ncftp1/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/ftp/ncftp1/work  HOME=/wrkdirs/usr/ports/ftp/ncftp1/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/ftp/ncftp1/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/ftp/ncftp1/work  HOME=/wrkdirs/usr/ports/ftp/ncftp1/work TMPDIR="/tmp" XDG_DATA_HOME=/wrkdirs/usr/ports/ftp/ncftp1/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/ftp/ncftp1/work  HOME=/wrkdirs/usr/ports/ftp/ncftp1/work TMPDIR="/tmp" NO_PIE=yes 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="" LIBS=""  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 0644"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/ncftp"
EXAMPLESDIR="share/examples/ncftp"
DATADIR="share/ncftp"
WWWDIR="www/ncftp"
ETCDIR="etc/ncftp"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/ncftp
DOCSDIR=/usr/local/share/doc/ncftp
EXAMPLESDIR=/usr/local/share/examples/ncftp
WWWDIR=/usr/local/www/ncftp
ETCDIR=/usr/local/etc/ncftp
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
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
#WITH_PKGNG=devel
# clean-restricted ran via poudriere.conf NO_RESTRICTED
#NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   ncftp1-1.9.5 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.3.8_1.txz
[head-amd64-default-job-15] Installing pkg-1.3.8_1... done
Message for pkg-1.3.8_1:
 If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of ncftp1-1.9.5
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by ncftp1-1.9.5 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by ncftp1-1.9.5 for building
=> SHA256 Checksum OK for ncftp-1.9.5.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by ncftp1-1.9.5 for building
===>  Extracting for ncftp1-1.9.5
=> SHA256 Checksum OK for ncftp-1.9.5.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for ncftp1-1.9.5
===>  Applying FreeBSD patches for ncftp1-1.9.5
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for ncftp1-1.9.5
===========================================================================
=======================<phase: build          >============================
===>  Building for ncftp1-1.9.5
cc -O2 -pipe  -fno-strict-aliasing    -DREADLINE  -DMK='"cc -O2 -pipe  -fno-strict-aliasing    -DREADLINE   -s  -lreadline"'  cmds.c -c
cmds.c:997:62: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size]
                                (void) strncat(lsflags, (argv[i] + (lsflags[0] == '-')), sizeof(lsflags));
                                                                                         ^~~~~~~~~~~~~~~
cmds.c:997:62: note: change the argument to be the free space in the destination buffer minus the terminating null byte
                                (void) strncat(lsflags, (argv[i] + (lsflags[0] == '-')), sizeof(lsflags));
                                                                                         ^~~~~~~~~~~~~~~
                                                                                         sizeof(lsflags) - strlen(lsflags) - 1
1 warning generated.
cc -O2 -pipe  -fno-strict-aliasing    -DREADLINE   -c cmdtab.c
cc -O2 -pipe  -fno-strict-aliasing    -DREADLINE   -c ftp.c
ftp.c:208:6: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (Getsockname(s, (char *)&myctladdr, &len) < 0) {
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sys.h:481:70: note: expanded from macro 'Getsockname'
#       define Getsockname(d,a,l) getsockname((d), (struct sockaddr *)(a), (l))
                                                                           ^~~
/usr/include/sys/socket.h:628:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
ftp.c:1851:6: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (Getsockname(data, (char *)&data_addr, &len) < 0) {
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sys.h:481:70: note: expanded from macro 'Getsockname'
#       define Getsockname(d,a,l) getsockname((d), (struct sockaddr *)(a), (l))
                                                                           ^~~
/usr/include/sys/socket.h:628:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
ftp.c:1904:6: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        s = Accept(data, &from, &fromlen);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sys.h:493:61: note: expanded from macro 'Accept'
#       define Accept(a,b,c) (accept((a), (struct sockaddr *)(b), (int *)(c)))
                                                                  ^~~~~~~~~~
/usr/include/sys/socket.h:619:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
3 warnings generated.
cc -O2 -pipe  -fno-strict-aliasing    -DREADLINE   -c ftprc.c
ftprc.c:255:2: warning: incompatible pointer types passing 'cmp_t' (aka 'int (*)(void *, void *)') to parameter of type 'int (*)(const void *, const void *)' [-Wincompatible-pointer-types]
        QSort(recents, nRecents, sizeof(recentsite), RecentCmp);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./util.h:58:41: note: expanded from macro 'QSort'
        qsort(base, (size_t)(n), (size_t)(sz), (cmp_t)(cmp))
                                               ^~~~~~~~~~~~
/usr/include/stdlib.h:102:12: note: passing argument to parameter here
            int (*)(const void *, const void *));
                  ^
1 warning generated.
cc -O2 -pipe  -fno-strict-aliasing    -DREADLINE   -c getpass.c
cc -O2 -pipe  -fno-strict-aliasing    -DREADLINE   -c glob.c
glob.c:51:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static match(char *s, char *p);
~~~~~~ ^
glob.c:52:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static amatch(char *s, char *p);
~~~~~~ ^
glob.c:59:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static tglob(char c);
~~~~~~ ^
glob.c:219:16: error: incomplete definition of type 'struct _dirdesc'
        if (fstat(dirp->dd_fd, &stb) < 0)
                  ~~~~^
/usr/include/dirent.h:58:8: note: forward declaration of 'struct _dirdesc'
struct _dirdesc;
       ^
glob.c:374:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                                else
                                ^
glob.c:418:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                                } else
                                  ^
glob.c:524:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                        else if (eq(p, "{") || eq(p, "{}"))
                        ^
6 warnings and 1 error generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/ftp/ncftp1/work/ncftp-1.9.5
*** Error code 1

Stop.
make: stopped in /usr/ports/ftp/ncftp1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409281141.s8SBftjs075956>