[REL - head-i386-default][net/nph] Failed for nph-1.2.3_1 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Thu Sep 19 02:03:53 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:     pirzyk at FreeBSD.org
Last committer: beat at FreeBSD.org
Ident:          $FreeBSD: head/net/nph/Makefile 300897 2012-07-14 14:29:18Z beat $
Log URL:        http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-19_00h27m24s/logs/nph-1.2.3_1.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-19_00h27m24s
Log:

====>> Building net/nph
build started at Thu Sep 19 02:03:46 UTC 2013
port directory: /usr/ports/net/nph
building for: FreeBSD head-i386-default-job-07 10.0-CURRENT FreeBSD 10.0-CURRENT i386
maintained by: pirzyk at FreeBSD.org
Makefile ident:      $FreeBSD: head/net/nph/Makefile 300897 2012-07-14 14:29:18Z beat $
Poudriere version: 3.1-pre

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1000055
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-i386-default/ref
PKG_EXT=txz
tpid=81722
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=nph-1.2.3_1
PKG_DELETE=/usr/local/sbin/pkg delete -y -f
PKG_ADD=/usr/local/sbin/pkg add
PWD=/root
MASTERNAME=head-i386-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
SKIPSANITY=1
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---

---Begin OPTIONS List---
---End OPTIONS List---

--CONFIGURE_ARGS--
--disable-encap --disable-epkg-install
--End CONFIGURE_ARGS--

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

--MAKE_ENV--
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/nph
DOCSDIR=/usr/local/share/doc/nph
EXAMPLESDIR=/usr/local/share/examples/nph
WWWDIR=/usr/local/www/nph
ETCDIR=/usr/local/etc/nph
--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 nph-1.2.3_1
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   nph-1.2.3_1 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_2.txz
Installing pkg-1.1.4_2... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of nph-1.2.3_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by nph-1.2.3_1 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by nph-1.2.3_1 for building
=> SHA256 Checksum OK for nph-1.2.3.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by nph-1.2.3_1 for building
===>  Extracting for nph-1.2.3_1
=> SHA256 Checksum OK for nph-1.2.3.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for nph-1.2.3_1
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for nph-1.2.3_1
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net/nph/work/nph-1.2.3/autoconf/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net/nph/work/nph-1.2.3/configure
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for more... /usr/bin/more
checking for vi... /usr/bin/vi
checking how to run the C preprocessor... cpp
checking for egrep... grep -E
checking for AIX... no
checking for an ANSI C-conforming const... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/aixrcmds.h usability... no
checking arpa/aixrcmds.h presence... no
checking for arpa/aixrcmds.h... no
checking crypt.h usability... no
checking crypt.h presence... no
checking for crypt.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for unistd.h... (cached) yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for size_t... yes
checking for library containing gethostbyname_r... none required
checking what to define for gethostbyname_r prototype... none
checking for number of arguments to gethostbyname_r... 6
checking for _SC_GETPW_R_SIZE_MAX... yes
checking what to define for getpwuid_r prototype... none
checking for library containing getservbyname_r... none required
checking what to define for getservbyname_r prototype... none
checking for number of arguments to getservbyname_r... 6
checking for poll... yes
checking for sigaction... yes
checking for working snprintf... yes
checking for strdup... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strsep... yes
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for crypt in -lcrypt... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for library containing tputs... -ltermcap
checking for rl_callback_handler_install in -lreadline... yes
configure: creating ./config.status
Segmentation fault
config.status: creating buffer/ph_buffer.h
config.status: creating buffer/ph_buffer.c
config.status: creating mmgr/ph_mmgr.h
config.status: creating mmgr/ph_mmgr.c
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating nph/Makefile
config.status: creating doc/Makefile
config.status: creating postinstall
config.status: creating config.h
===========================================================================
=======================<phase: build          >============================
===>  Building for nph-1.2.3_1
for n in lib nph doc; do  ( cd $n && /usr/bin/make all  ) || exit 1;  done
cc -O2 -pipe -fno-strict-aliasing -I..  -I.  -I../compat  -I../buffer  -I../mmgr -c -o auth.o auth.c
In file included from auth.c:11:
In file included from ./internal.h:13:
In file included from ../compat/compat.h:12:
/usr/include/varargs.h:34:2: error: "<varargs.h> is obsolete with this version of GCC."
#error "<varargs.h> is obsolete with this version of GCC."
 ^
/usr/include/varargs.h:35:2: error: "Change your code to use <stdarg.h> instead."
#error "Change your code to use <stdarg.h> instead."
 ^
auth.c:67:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
                free(auth->pa_alias);
                ^
auth.c:120:23: warning: implicitly declaring library function 'strdup' with type 'char *(const char *)'
        authdata->pa_alias = strdup(alias);
                             ^
auth.c:120:23: note: please include the header <string.h> or explicitly provide a declaration for 'strdup'
auth.c:127:8: error: too many arguments to function call, expected 3, have 4
                            alias) == -1)
                            ^~~~~
./internal.h:85:1: note: 'ph_send_command' declared here
ssize_t
^
auth.c:153:3: warning: implicitly declaring library function 'strlcpy' with type 'unsigned int (char *, const char *, unsigned int)'
                strlcpy(response, auth, sizeof(response));
                ^
auth.c:153:3: note: please include the header <string.h> or explicitly provide a declaration for 'strlcpy'
auth.c:157:8: error: too many arguments to function call, expected 3, have 4
                            response);
                            ^~~~~~~~
./internal.h:85:1: note: 'ph_send_command' declared here
ssize_t
^
auth.c:204:16: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration]
        pw = getpwuid(getuid());
                      ^
auth.c:252:30: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned int)'
                auth->pa_authkey = (void *)malloc(sizeof(struct ph_pwcrypt));
                                           ^
auth.c:252:30: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
auth.c:262:3: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned int)'
                memset(auth->pa_authkey, 0, sizeof(struct ph_pwcrypt));
                ^
auth.c:262:3: note: please include the header <string.h> or explicitly provide a declaration for 'memset'
auth.c:263:3: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned int)'
                strncpy(buf, crypt(password, password), 13);
                ^
auth.c:263:3: note: please include the header <string.h> or explicitly provide a declaration for 'strncpy'
auth.c:263:16: warning: implicit declaration of function 'crypt' is invalid in C99 [-Wimplicit-function-declaration]
                strncpy(buf, crypt(password, password), 13);
                             ^
auth.c:263:16: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                strncpy(buf, crypt(password, password), 13);
                             ^~~~~~~~~~~~~~~~~~~~~~~~~
auth.c:350:34: error: too few arguments to function call, expected 3, have 2
        if (ph_send_command(ph, "logout") == -1)
            ~~~~~~~~~~~~~~~             ^
./internal.h:85:1: note: 'ph_send_command' declared here
ssize_t
^
auth.c:386:38: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion]
        if (ph_send_command(ph, "suser %s", alias) == -1)
                                            ^~~~~
./internal.h:89:34: note: passing argument to parameter here
ph_send_command(PH *, char *, int);
                                 ^
10 warnings and 5 errors generated.
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/net/nph/work/nph-1.2.3/lib
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/net/nph/work/nph-1.2.3
*** Error code 1

Stop.
make: stopped in /usr/ports/net/nph
===>  Cleaning for nph-1.2.3_1


More information about the freebsd-pkg-fallout mailing list