[RELEASE - head-default] Build failed for cops-1.04 during build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Thu Jul 25 08:58:49 UTC 2013


Maintainer:     cy at FreeBSD.org
Last committer: cs at FreeBSD.org
Ident:          $FreeBSD: head/security/cops/Makefile 315566 2013-03-29 19:33:41Z cs $
Log URL:        http://beefy2.isc.freebsd.org/bulk/head-default/2013-07-25_07h07m51s/logs/cops-1.04.log
Build URL:      http://beefy2.isc.freebsd.org/bulk/head-default/2013-07-25_07h07m51s
Log:

====>> Building security/cops
build started at Thu Jul 25 08:58:45 UTC 2013
port directory: /usr/ports/security/cops
building for: FreeBSD head-default-job-15 10.0-CURRENT FreeBSD 10.0-CURRENT amd64
maintained by: cy at FreeBSD.org
Makefile ident:      $FreeBSD: head/security/cops/Makefile 315566 2013-03-29 19:33:41Z cs $
Poudriere version: 3.1-pre

---Begin Environment---
OSVERSION=1000035
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-default/ref
PKG_EXT=txz
FORCE_PACKAGE=yes
tpid=65403
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=cops-1.04
PKG_DELETE=/usr/local/sbin/pkg delete -y -f
PKG_ADD=/usr/local/sbin/pkg add
PWD=/root/poudriere
MASTERNAME=head-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
SKIPSANITY=0
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---

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

--CONFIGURE_ARGS--

--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/cops
DOCSDIR=/usr/local/share/doc/cops
EXAMPLESDIR=/usr/local/share/examples/cops
WWWDIR=/usr/local/www/cops
ETCDIR=/usr/local/etc/cops
--End SUB_LIST--

---Begin make.conf---
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 cops-1.04
=======================<phase: check-config   >============================
=========================================================================
=======================<phase: pkg-depends    >============================
===>   cops-1.04 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_1.txz
Installing pkg-1.1.4_1... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of cops-1.04
=========================================================================
=======================<phase: fetch-depends  >============================
=========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by cops-1.04 for building
=========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by cops-1.04 for building
=> SHA256 Checksum OK for cops104+.tar.gz.
=========================================================================
=======================<phase: extract-depends>============================
=========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by cops-1.04 for building
===>  Extracting for cops-1.04
=> SHA256 Checksum OK for cops104+.tar.gz.
=========================================================================
=======================<phase: patch-depends  >============================
=========================================================================
=======================<phase: patch          >============================
===>  Patching for cops-1.04
===>  Applying FreeBSD patches for cops-1.04
=========================================================================
=======================<phase: build-depends  >============================
=========================================================================
=======================<phase: lib-depends    >============================
=========================================================================
=======================<phase: configure      >============================
===>  Configuring for cops-1.04
checking to make sure all the target(s) are here...
So far so good...
Looking for all the commands now...
Ok, now doing substitutions on the shell scripts...
Changing paths in makefile...
Changing paths in docs/makefile...
Changing paths in chk_strings...
Changing paths in cops...
Changing paths in crc.chk...
Changing paths in misc.chk...
Changing paths in dev.chk...
Changing paths in ftp.chk...
Changing paths in is_able.chk...
Changing paths in cron.chk...
Changing paths in group.chk...
Changing paths in passwd.chk...
Changing paths in rc.chk...
Changing paths in root.chk...
Changing paths in suid.chk...
Changing paths in kuang...
Changing paths in init_kuang...
Changing paths in res_diff...
Changing paths in pass_diff.chk...
Changing paths in yp_pass.chk...
Changing paths in bug.chk...
Changing paths in bug.chk.aix...
Changing paths in bug.chk.apollo...
Changing paths in bug.chk.dec...
Changing paths in bug.chk.next...
Changing paths in bug.chk.sgi...
Changing paths in bug.chk.sun...
Changing paths in bug.chk.svr4...
Changing paths in bug_cmp...
=========================================================================
=======================<phase: build          >============================
===>  Building for cops-1.04
/usr/bin/sed  -e 's,^SECURE=/usr/foo/bar,SECURE=/usr/local/cops,g'  -e '/^$SECURE\/passwd\.chk.*/d'  -e 's,SECURE_USERS="foo at bar\.edu",SECURE_USERS="root at localhost",g'  -e 's/passwd\.chk pass.chk //g'  /wrkdirs/usr/ports/security/cops/work/cops_104+/cops > /wrkdirs/usr/ports/security/cops/work/cops_104+/cops.out
/bin/mv /wrkdirs/usr/ports/security/cops/work/cops_104+/cops.out /wrkdirs/usr/ports/security/cops/work/cops_104+/cops
/usr/bin/cc -O2 -pipe -fno-strict-aliasing  -o home.chk src/home.chk.c
src/home.chk.c:58:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc,argv)
^~~~
src/home.chk.c:67:3: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)'
                printf("Usage: %s\n",argv[0]);
                ^
src/home.chk.c:67:3: note: please include the header <stdio.h> or explicitly provide a declaration for 'printf'
src/home.chk.c:68:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
                exit(1);
                ^
src/home.chk.c:68:3: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
3 warnings generated.
/usr/bin/cc -O2 -pipe -fno-strict-aliasing  -o user.chk src/user.chk.c
src/user.chk.c:41:7: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
char *malloc();
      ^
src/user.chk.c:41:7: note: 'malloc' is a builtin with type 'void *(unsigned long)'
src/user.chk.c:45:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc,argv)
^~~~
src/user.chk.c:56:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
        exit(1);
        ^
src/user.chk.c:56:2: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
src/user.chk.c:74:7: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)'
                if (strlen(pp->pw_dir) != 1)
                    ^
src/user.chk.c:74:7: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
src/user.chk.c:87:8: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)'
                if (!strcmp("netrc", ftable[index]))
                     ^
src/user.chk.c:87:8: note: please include the header <string.h> or explicitly provide a declaration for 'strcmp'
5 warnings generated.
/usr/bin/cc -O2 -pipe -fno-strict-aliasing  -DWRITABLE -o is_writable src/is_something.c
src/is_something.c:37:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif SETUID
       ^
       //
src/is_something.c:44:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif READABLE
       ^
       //
src/is_something.c:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif WRITABLE
       ^
       //
src/is_something.c:53:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc,argv)
^~~~
src/is_something.c:65:9: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)'
        (void) printf("Usage: %s [-gv] file\n",argv[0]);
               ^
src/is_something.c:65:9: note: please include the header <stdio.h> or explicitly provide a declaration for 'printf'
src/is_something.c:66:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
        exit(0);
        ^
src/is_something.c:66:2: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
src/is_something.c:79:2: warning: implicit declaration of function 'perror' is invalid in C99 [-Wimplicit-function-declaration]
        perror(*argv);
        ^
src/is_something.c:96:2: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)'
        strcpy(foo_dirs[i++], foo_file);
        ^
src/is_something.c:96:2: note: please include the header <string.h> or explicitly provide a declaration for 'strcpy'
src/is_something.c:98:4: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)'
        j=strlen(foo_file) - 1;
          ^
src/is_something.c:98:4: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
src/is_something.c:101:4: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'
                        strncpy(foo_dirs[i++], foo_file, j);
                        ^
src/is_something.c:101:4: note: please include the header <string.h> or explicitly provide a declaration for 'strncpy'
src/is_something.c:118:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif WRITABLE
       ^
       //
11 warnings generated.
/usr/bin/cc -O2 -pipe -fno-strict-aliasing  -o crc src/crc.c 
src/crc.c:180:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main( argc, argv )
^~~~
src/crc.c:189:7: warning: implicit declaration of function 'print_crc' is invalid in C99 [-Wimplicit-function-declaration]
      print_crc((char *)0, 0);
      ^
src/crc.c:195:16: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration]
   while ((c = getopt(argc, argv, "VvI:i:")) != EOF) {
               ^
src/crc.c:206:24: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
         initial_crc = atoi(optarg);
                       ^
src/crc.c:223:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
print_crc(name, stat_flag)
^~~~~~~~~
src/crc.c:240:7: error: non-void function 'print_crc' should return a value [-Wreturn-type]
      return;
      ^
src/crc.c:259:21: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
      while ( (nr = read( fd, (char *)buf, MAXBUF )) > 0 ) {
                    ^
src/crc.c:262:14: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
      (void) close(fd);
             ^
src/crc.c:270:10: warning: implicit declaration of function 'stats' is invalid in C99 [-Wimplicit-function-declaration]
         stats(name);
         ^
src/crc.c:296:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
stats(name)
^~~~~
src/crc.c:333:4: warning: implicit declaration of function 'print_perm' is invalid in C99 [-Wimplicit-function-declaration]
   print_perm(stat_buf.st_mode);
   ^
src/crc.c:340:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
print_perm(perm)
^~~~~~~~~~
11 warnings and 1 error generated.
*** Error code 1

Stop.
make: stopped in /wrkdirs/usr/ports/security/cops/work/cops_104+
*** Error code 1

Stop.
make: stopped in /usr/ports/security/cops
===>  Cleaning for cops-1.04


More information about the freebsd-pkg-fallout mailing list