[REL - head-i386-default][security/calife] Failed for calife-2.8.6.5 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Thu Sep 19 01:38:25 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: thomas at FreeBSD.org
Last committer: cs at FreeBSD.org
Ident: $FreeBSD: head/security/calife/Makefile 315566 2013-03-29 19:33:41Z cs $
Log URL: http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-19_00h27m24s/logs/calife-2.8.6.5.log
Build URL: http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-19_00h27m24s
Log:
====>> Building security/calife
build started at Thu Sep 19 01:38:20 UTC 2013
port directory: /usr/ports/security/calife
building for: FreeBSD head-i386-default-job-10 10.0-CURRENT FreeBSD 10.0-CURRENT i386
maintained by: thomas at FreeBSD.org
Makefile ident: $FreeBSD: head/security/calife/Makefile 315566 2013-03-29 19:33:41Z cs $
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=42705
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=calife-2.8.6.5
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--
"--with-etcdir=/usr/local/etc" --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--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/calife
DOCSDIR=/usr/local/share/doc/calife
EXAMPLESDIR=/usr/local/share/examples/calife
WWWDIR=/usr/local/www/calife
ETCDIR=/usr/local/etc/calife
--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 calife-2.8.6.5
=======================<phase: check-config >============================
===========================================================================
=======================<phase: pkg-depends >============================
===> calife-2.8.6.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.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 calife-2.8.6.5
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> Fetching all distfiles required by calife-2.8.6.5 for building
===========================================================================
=======================<phase: checksum >============================
===> Fetching all distfiles required by calife-2.8.6.5 for building
=> SHA256 Checksum OK for calife-2.8.6-p5.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> Fetching all distfiles required by calife-2.8.6.5 for building
===> Extracting for calife-2.8.6.5
=> SHA256 Checksum OK for calife-2.8.6-p5.tar.bz2.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for calife-2.8.6.5
===========================================================================
=======================<phase: build-depends >============================
===========================================================================
=======================<phase: lib-depends >============================
===========================================================================
=======================<phase: configure >============================
===> Configuring for calife-2.8.6.5
===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/security/calife/work/calife-2.8.6-p5/configure
configure: loading site script /usr/ports/Templates/config.site
checking build system type... i386-portbld-freebsd10.0
checking host system type... i386-portbld-freebsd10.0
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 if the compiler understands -pipe... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for su... /usr/bin/su
checking for groff... /usr/bin/groff
checking for rm... /bin/rm
checking for mv... /bin/mv
checking for makedepend... no
checking for makedep... no
checking for crypt in -lcrypt... (cached) yes
checking how to run the C preprocessor... cpp
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for libgen.h... (cached) yes
checking shadow.h usability... no
checking shadow.h presence... no
checking for shadow.h... no
checking for stdarg.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/time.h... (cached) yes
checking whether unistd.h needs _XOPEN_SOURCE for crypt(3)... no
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for pid_t... (cached) yes
checking return type of signal handlers... void
checking for openlog... yes
checking for syslog... yes
checking for seteuid... (cached) yes
checking for setresuid... (cached) yes
checking for setrlimit... (cached) yes
checking for getrlimit... (cached) yes
checking for basename... yes
checking for sigaction... (cached) yes
checking for sigprocmask... (cached) yes
checking for initgroups... yes
checking for getspnam... no
checking for sysconf... (cached) yes
checking for a working set/getrlimit... yes
checking for a working POSIX sysconf... yes
checking what style of signals to use... POSIX_SIGNALS
checking how to name the installed binary... calife
checking if the command should be linked dynamically... no
checking where to put calife.auth... /usr/local/etc
checking whether we want to execute /etc/calife.out... no
checking whether we care about security or not... yes
checking whether we want debugging output... no
checking whether we have a setuid-aware shell... no
configure: creating ./config.status
Segmentation fault
config.status: creating Makefile
config.status: creating calife.1
config.status: creating calife.auth.5
config.status: creating config.h
===========================================================================
=======================<phase: build >============================
===> Building for calife-2.8.6.5
cc -pipe -c -I. -DHAVE_CONFIG_H -DAUTH_CONFIG_FILE=\"/usr/local/etc/calife.auth\" -DCALIFE_OUT_FILE=\"/usr/local/etc/calife.out\" -O2 -pipe -fno-strict-aliasing calife.c
calife.c:228:12: warning: implicit declaration of function 'geteuid' is invalid in C99 [-Wimplicit-function-declaration]
ssid = geteuid (); /* get saved uid for swapping -- security reasons */
^
calife.c:230:5: warning: implicit declaration of function 'seteuid' is invalid in C99 [-Wimplicit-function-declaration]
RELEASE_ROOT;
^
./conf.h:113:24: note: expanded from macro 'RELEASE_ROOT'
# define RELEASE_ROOT seteuid (getuid ())
^
calife.c:230:5: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration]
./conf.h:113:33: note: expanded from macro 'RELEASE_ROOT'
# define RELEASE_ROOT seteuid (getuid ())
^
calife.c:234:9: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
exit (11);
^
calife.c:234:9: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
calife.c:301:10: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
if (!isatty (0))
^
calife.c:311:12: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)'
(void) strcpy (user_to_be, ROOT_LOGIN);
^
calife.c:311:12: note: please include the header <string.h> or explicitly provide a declaration for 'strcpy'
calife.c:316:23: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)'
if (argc == 3 && !strcmp (uargv, "-"))
^
calife.c:316:23: note: please include the header <string.h> or explicitly provide a declaration for 'strcmp'
calife.c:339:26: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)'
if ((n_len = strlen (uargv)) > MAXLOGNAME)
^
calife.c:339:26: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
calife.c:347:21: warning: implicitly declaring library function 'strspn' with type 'unsigned int (const char *, const char *)'
m = strspn (uargv, ACCEPT_CHARS);
^
calife.c:347:21: note: please include the header <string.h> or explicitly provide a declaration for 'strspn'
calife.c:351:13: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned int)'
strncpy (user_to_be, uargv, n_len);
^
calife.c:351:13: note: please include the header <string.h> or explicitly provide a declaration for 'strncpy'
calife.c:359:20: warning: implicit declaration of function 'ttyname' is invalid in C99 [-Wimplicit-function-declaration]
char * p = ttyname (0);
^
calife.c:359:16: warning: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Wint-conversion]
char * p = ttyname (0);
^ ~~~~~~~~~~~
calife.c:374:13: warning: implicit declaration of function 'getlogin' is invalid in C99 [-Wimplicit-function-declaration]
login = getlogin();
^
calife.c:374:11: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
login = getlogin();
^ ~~~~~~~~~~
calife.c:387:13: warning: implicitly declaring library function 'strdup' with type 'char *(const char *)'
login = strdup (pwd->pw_name);
^
calife.c:387:13: note: please include the header <string.h> or explicitly provide a declaration for 'strdup'
calife.c:467:5: warning: implicit declaration of function 'openlog' is invalid in C99 [-Wimplicit-function-declaration]
openlog ("calife+", LOG_PID | LOG_CONS, LOG_AUTH);
^
calife.c:467:25: error: use of undeclared identifier 'LOG_PID'
openlog ("calife+", LOG_PID | LOG_CONS, LOG_AUTH);
^
calife.c:467:35: error: use of undeclared identifier 'LOG_CONS'
openlog ("calife+", LOG_PID | LOG_CONS, LOG_AUTH);
^
calife.c:477:9: warning: implicit declaration of function 'syslog' is invalid in C99 [-Wimplicit-function-declaration]
syslog (LOG_AUTH | LOG_ERR, "BAD CALIFE %s to unknown %s on %s", name, user_to_be, tty);
^
calife.c:477:17: error: use of undeclared identifier 'LOG_AUTH'
syslog (LOG_AUTH | LOG_ERR, "BAD CALIFE %s to unknown %s on %s", name, user_to_be, tty);
^
calife.c:477:28: error: use of undeclared identifier 'LOG_ERR'
syslog (LOG_AUTH | LOG_ERR, "BAD CALIFE %s to unknown %s on %s", name, user_to_be, tty);
^
calife.c:510:25: error: variable has incomplete type 'union wait'
union wait status;
^
calife.c:510:15: note: forward declaration of 'union wait'
union wait status;
^
calife.c:518:17: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration]
switch (fork ())
^
calife.c:531:17: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned int)'
memcpy (wanted_user, test_user, sizeof (struct passwd));
^
calife.c:531:17: note: please include the header <string.h> or explicitly provide a declaration for 'memcpy'
calife.c:552:26: warning: implicit declaration of function 'setgid' is invalid in C99 [-Wimplicit-function-declaration]
e2 = setgid (wanted_user->pw_gid);
^
calife.c:556:26: warning: implicit declaration of function 'setuid' is invalid in C99 [-Wimplicit-function-declaration]
e1 = setuid (wanted_user->pw_uid);
^
calife.c:564:17: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free (wanted_user);
^
calife.c:576:17: warning: implicit declaration of function 'execl' is invalid in C99 [-Wimplicit-function-declaration]
execl ("/bin/sh", "sh", 0);
^
calife.c:593:29: error: use of undeclared identifier 'LOG_AUTH'
syslog (LOG_AUTH | LOG_NOTICE, "%s@%s to %s on %s - BEGIN",
^
calife.c:593:40: error: use of undeclared identifier 'LOG_NOTICE'
syslog (LOG_AUTH | LOG_NOTICE, "%s@%s to %s on %s - BEGIN",
^
calife.c:596:29: error: use of undeclared identifier 'LOG_AUTH'
syslog (LOG_AUTH | LOG_NOTICE, "%s to %s on %s - BEGIN", name, user_to_be, tty);
^
calife.c:596:40: error: use of undeclared identifier 'LOG_NOTICE'
syslog (LOG_AUTH | LOG_NOTICE, "%s to %s on %s - BEGIN", name, user_to_be, tty);
^
calife.c:597:17: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration]
wait (&status);
^
calife.c:694:29: error: use of undeclared identifier 'LOG_AUTH'
syslog (LOG_AUTH | LOG_NOTICE, "%s@%s to %s on %s - END.",
^
calife.c:694:40: error: use of undeclared identifier 'LOG_NOTICE'
syslog (LOG_AUTH | LOG_NOTICE, "%s@%s to %s on %s - END.",
^
calife.c:697:29: error: use of undeclared identifier 'LOG_AUTH'
syslog (LOG_AUTH | LOG_NOTICE, "%s to %s on %s - END.", name, user_to_be, tty);
^
calife.c:697:40: error: use of undeclared identifier 'LOG_NOTICE'
syslog (LOG_AUTH | LOG_NOTICE, "%s to %s on %s - END.", name, user_to_be, tty);
^
calife.c:698:17: warning: implicit declaration of function 'closelog' is invalid in C99 [-Wimplicit-function-declaration]
closelog ();
^
calife.c:732:17: error: use of undeclared identifier 'LOG_AUTH'
syslog (LOG_AUTH | LOG_ERR, "BAD CALIFE %s to %s on %s",
^
calife.c:732:28: error: use of undeclared identifier 'LOG_ERR'
syslog (LOG_AUTH | LOG_ERR, "BAD CALIFE %s to %s on %s",
^
calife.c:740:16: error: use of undeclared identifier 'SU_CMD'
execl (SU_CMD, "su", user_to_be, 0);
^
calife.c:772:10: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration]
fd = open (shell_name, O_RDONLY);
^
calife.c:772:28: error: use of undeclared identifier 'O_RDONLY'
fd = open (shell_name, O_RDONLY);
^
calife.c:780:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
close (fd);
^
27 warnings and 17 errors generated.
*** Error code 1
Stop.
make[1]: stopped in /wrkdirs/usr/ports/security/calife/work/calife-2.8.6-p5
*** Error code 1
Stop.
make: stopped in /usr/ports/security/calife
===> Cleaning for calife-2.8.6.5
More information about the freebsd-pkg-fallout
mailing list