Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2014 00:01:01 GMT
From:      pkg-fallout@FreeBSD.org
To:        lx@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [REL - head-amd64-default][www/publicfile] Failed for publicfile-0.52_2 in build
Message-ID:  <201401300001.s0U011EI046518@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:     lx@FreeBSD.org
Last committer: mat@FreeBSD.org
Ident:          $FreeBSD: head/www/publicfile/Makefile 340722 2014-01-22 17:00:46Z mat $
Log URL:        http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-01-29_19h07m40s/logs/publicfile-0.52_2.log
Build URL:      http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-01-29_19h07m40s
Log:

====>> Building www/publicfile
build started at Thu Jan 30 00:00:55 UTC 2014
port directory: /usr/ports/www/publicfile
building for: FreeBSD head-amd64-default-job-13 11.0-CURRENT FreeBSD 11.0-CURRENT r260904 amd64
maintained by: lx@FreeBSD.org
Makefile ident:      $FreeBSD: head/www/publicfile/Makefile 340722 2014-01-22 17:00:46Z mat $
Poudriere version: 3.1-pre

---Begin Environment---
OSVERSION=1100005
UNAME_v=FreeBSD 11.0-CURRENT r260904
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/head-amd64-default/ref
PKG_EXT=txz
tpid=40773
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=publicfile-0.52_2
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/root
MASTERNAME=head-amd64-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 publicfile-0.52_2:
     BASICAUTH=off: basic HTTP authentication support
     COMMONLOG=off: support for Apache common log format
     ENV_FILETYPES=off: get mime types from the environment
     REDIRECT_SLASH=off: do not require trailing slash on directories
     SSL=off: provide SSL support through ucspi-ssl
===> 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--
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/publicfile
DOCSDIR=/usr/local/share/doc/publicfile
EXAMPLESDIR=/usr/local/share/examples/publicfile
WWWDIR=/usr/local/www/publicfile
ETCDIR=/usr/local/etc/publicfile
--End SUB_LIST--

---Begin make.conf---
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 publicfile-0.52_2
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   publicfile-0.52_2 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.5.txz
Installing pkg-1.2.5... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of publicfile-0.52_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by publicfile-0.52_2 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by publicfile-0.52_2 for building
=> SHA256 Checksum OK for publicfile-0.52.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by publicfile-0.52_2 for building
===>  Extracting for publicfile-0.52_2
=> SHA256 Checksum OK for publicfile-0.52.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for publicfile-0.52_2
===>  Applying FreeBSD patches for publicfile-0.52_2
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for publicfile-0.52_2
===========================================================================
=======================<phase: build          >============================
===>  Building for publicfile-0.52_2
( cat warn-auto.sh;  echo 'main="$1"; shift';  echo exec "`head -1 conf-ld`"  '-o "$main" "$main".o ${1+"$@"}'  ) > load
chmod 755 load
( cat warn-auto.sh;  echo exec "`head -1 conf-cc`" '-c ${1+"$@"}'  ) > compile
chmod 755 compile
( cat warn-auto.sh;  echo CC=\'`head -1 conf-cc`\';  echo LD=\'`head -1 conf-ld`\';  cat find-systype.sh;  ) | sh > systype
( case "`cat systype`" in  sunos-5.*) cat hasdevtcp.h2 ;;  *) cat hasdevtcp.h1 ;;  esac ) > hasdevtcp.h
./compile configure.c
configure.c:55:7: warning: implicit declaration of function 'fsync' is invalid in C99 [-Wimplicit-function-declaration]
  if (fsync(fd) == -1) fail();
      ^
configure.c:56:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
  close(fd);
  ^
configure.c:68:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(int argc,char **argv)
^~~~
configure.c:88:7: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (chdir(dir) == -1)
      ^
configure.c:96:7: warning: implicit declaration of function 'chown' is invalid in C99 [-Wimplicit-function-declaration]
  if (chown("httpd/log/main",pw->pw_uid,pw->pw_gid) == -1)
      ^
configure.c:174:9: warning: implicit declaration of function 'symlink' is invalid in C99 [-Wimplicit-function-declaration]
    if (symlink("0",*argv) == -1)
        ^
6 warnings generated.
./compile auto-str.c
auto-str.c:14:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc,argv)
^~~~
auto-str.c:32:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (ch = *value++) {
         ~~~^~~~~~~~~~
auto-str.c:32:13: note: place parentheses around the assignment to silence this warning
  while (ch = *value++) {
            ^
         (            )
auto-str.c:32:13: note: use '==' to turn this assignment into an equality comparison
  while (ch = *value++) {
            ^
            ==
2 warnings generated.
( cat warn-auto.sh;  echo 'main="$1"; shift';  echo 'rm -f "$main"';  echo 'ar cr "$main" ${1+"$@"}';  case "`cat systype`" in  sunos-5.*) ;;  unix_sv*) ;;  irix64-*) ;;  irix-*) ;;  dgux-*) ;;  hp-ux-*) ;;  sco*) ;;  *) echo 'ranlib "$main"' ;;  esac  ) > makelib
chmod 755 makelib
./compile substdio.c
./compile substdi.c
./compile substdo.c
substdo.c:20:17: warning: if statement has empty body [-Wempty-body]
    if (w == 0) ; /* luser's fault */
                ^
substdo.c:20:17: note: put the semicolon on a separate line to silence this warning
1 warning generated.
./compile substdio_copy.c
./compile subfderr.c
./makelib substdio.a substdio.o substdi.o substdo.o  substdio_copy.o subfderr.o
./compile error.c
./compile error_str.c
./compile error_temp.c
./makelib error.a error.o error_str.o error_temp.o
./compile byte_chr.c
./compile byte_copy.c
./compile byte_cr.c
./compile byte_diff.c
./compile byte_rchr.c
./compile byte_zero.c
./compile str_chr.c
./compile str_diff.c
./compile str_len.c
./compile str_rchr.c
./compile str_start.c
./makelib str.a byte_chr.o byte_copy.o byte_cr.o  byte_diff.o byte_rchr.o byte_zero.o str_chr.o str_diff.o  str_len.o str_rchr.o str_start.o
./load auto-str substdio.a error.a str.a
./auto-str auto_home `head -1 conf-home` > auto_home.c
./compile auto_home.c
./compile strerr_die.c
./compile strerr_sys.c
<snip>
     ^
chkshsgr.c:7:31: warning: implicit declaration of function 'setgroups' is invalid in C99 [-Wimplicit-function-declaration]
 if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);
                              ^
3 warnings generated.
./load chkshsgr
./chkshsgr || ( cat warn-shsgr; exit 1 )
./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h
./compile prot.c
prot.c:13:7: warning: implicit declaration of function 'setgroups' is invalid in C99 [-Wimplicit-function-declaration]
  if (setgroups(1,&gid) == -1) return -1;
      ^
prot.c:15:10: warning: implicit declaration of function 'setgid' is invalid in C99 [-Wimplicit-function-declaration]
  return setgid(gid); /* _should_ be redundant, but on some systems it isn't */
         ^
prot.c:20:10: warning: implicit declaration of function 'setuid' is invalid in C99 [-Wimplicit-function-declaration]
  return setuid(uid);
         ^
3 warnings generated.
./choose c trysysel select.h1 select.h2 > select.h
./compile timeoutread.c
./compile timeoutwrite.c
./compile caldate_fmjd.c
./compile caltime_utc.c
./compile leapsecs_init.c
./compile leapsecs_read.c
leapsecs_read.c:24:19: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
    if (leapsecs) free(leapsecs);
                  ^
leapsecs_read.c:30:30: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
  if (fstat(fd,&st) == -1) { close(fd); return -1; }
                             ^
leapsecs_read.c:32:22: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)'
  t = (struct tai *) malloc(st.st_size);
                     ^
leapsecs_read.c:32:22: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
leapsecs_read.c:35:7: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
  n = read(fd,(char *) t,st.st_size);
      ^
leapsecs_read.c:50:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
5 warnings generated.
./compile leapsecs_sub.c
./compile tai_now.c
./compile tai_sub.c
./compile tai_unpack.c
./makelib libtai.a caldate_fmjd.o caltime_utc.o  leapsecs_init.o leapsecs_read.o leapsecs_sub.o tai_now.o  tai_sub.o tai_unpack.o
./compile case_diffs.c
./compile case_lowerb.c
./compile case_startb.c
./makelib case.a case_diffs.o case_lowerb.o case_startb.o
./compile getln.c
./compile getln2.c
./makelib getln.a getln.o getln2.o
./compile stralloc_cat.c
./compile stralloc_catb.c
./compile stralloc_cats.c
./compile stralloc_copy.c
./compile stralloc_eady.c
./compile stralloc_opyb.c
./compile stralloc_opys.c
./compile stralloc_pend.c
./compile stralloc_num.c
./makelib stralloc.a stralloc_cat.o stralloc_catb.o  stralloc_cats.o stralloc_copy.o stralloc_eady.o  stralloc_opyb.o stralloc_opys.o stralloc_pend.o  stralloc_num.o
./compile alloc.c
alloc.c:3:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
alloc.c:3:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
1 warning generated.
./compile alloc_re.c
./makelib alloc.a alloc.o alloc_re.o
./choose cl trysgprm hassgprm.h1 hassgprm.h2 > hassgprm.h
./compile sig_block.c
./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h
./compile sig_catch.c
./compile sig_pause.c
./compile sig_pipe.c
./makelib sig.a sig_block.o sig_catch.o sig_pause.o  sig_pipe.o
./compile env.c
./makelib env.a env.o
./compile fmt_str.c
fmt_str.c:9:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (s) { while (ch = t[len]) s[len++] = ch; }
                  ~~~^~~~~~~~
fmt_str.c:9:22: note: place parentheses around the assignment to silence this warning
  if (s) { while (ch = t[len]) s[len++] = ch; }
                     ^
                  (          )
fmt_str.c:9:22: note: use '==' to turn this assignment into an equality comparison
  if (s) { while (ch = t[len]) s[len++] = ch; }
                     ^
                     ==
1 warning generated.
./compile fmt_uint.c
./compile fmt_ulong.c
./compile fmt_xlong.c
./compile scan_ulong.c
./makelib fs.a fmt_str.o fmt_uint.o fmt_ulong.o  fmt_xlong.o scan_ulong.o
( ( ./compile trylsock.c &&  ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1  && echo -lsocket -lnsl || exit 0 ) > socket.lib
rm -f trylsock.o trylsock
./load httpd main.o pathdecode.o file.o filetype.o  httpdate.o percent.o prot.o timeoutread.o timeoutwrite.o  libtai.a case.a getln.a stralloc.a alloc.a substdio.a  error.a open.a sig.a env.a str.a fs.a  `cat socket.lib`
./compile ftpd.c
ftpd.c:29:15: warning: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))'
  if (r <= 0) _exit(0);
              ^
ftpd.c:29:15: note: please include the header <unistd.h> or explicitly provide a declaration for '_exit'
ftpd.c:107:25: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
  if (fdlisten != -1) { close(fdlisten); fdlisten = -1; }
                        ^
ftpd.c:122:52: 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(fdlisten,(struct sockaddr *) &sa,&dummy) == -1) _exit(22);
                                                   ^~~~~~
/usr/include/sys/socket.h:631:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
ftpd.c:132:18: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  startlistening(x);
                 ^
ftpd.c:102:26: note: passing argument to parameter 'x' here
void startlistening(char x[6])
                         ^
ftpd.c:143:18: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  startlistening(x);
                 ^
ftpd.c:102:26: note: passing argument to parameter 'x' here
void startlistening(char x[6])
                         ^
ftpd.c:263:54: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
      if (getpeername(fddata,(struct sockaddr *) &sa,&dummy) == -1) {
                                                     ^~~~~~
/usr/include/sys/socket.h:630:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
ftpd.c:447:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      in_get(&ch);
             ^~~
ftpd.c:68:19: note: passing argument to parameter 'ch' here
void in_get(char *ch)
                  ^
7 warnings generated.
./choose c trydrent direntry.h1 direntry.h2 > direntry.h
./compile fetch.c
fetch.c:78:18: warning: too many arguments in call to 'printstat'
    printstat(&st);
    ~~~~~~~~~    ^
fetch.c:97:20: warning: too many arguments in call to 'printstat'
      printstat(&st);
      ~~~~~~~~~    ^
fetch.c:108:11: warning: implicit declaration of function 'fchdir' is invalid in C99 [-Wimplicit-function-declaration]
      if (fchdir(fdfile) == -1) {
          ^
fetch.c:110:2: error: non-void function 'doit' should return a value [-Wreturn-type]
        return;
        ^
fetch.c:115:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      while (d = readdir(dir)) /* XXX: temporary errors */
             ~~^~~~~~~~~~~~~~
fetch.c:115:16: note: place parentheses around the assignment to silence this warning
      while (d = readdir(dir)) /* XXX: temporary errors */
               ^
             (               )
fetch.c:115:16: note: use '==' to turn this assignment into an equality comparison
      while (d = readdir(dir)) /* XXX: temporary errors */
               ^
               ==
fetch.c:123:6: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
        r = read(fdfile,inbuf,sizeof inbuf);
            ^
fetch.c:125:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
          if (errno = error_intr) continue;
              ~~~~~~^~~~~~~~~~~~
fetch.c:125:14: note: place parentheses around the assignment to silence this warning
          if (errno = error_intr) continue;
                    ^
              (                 )
fetch.c:125:14: note: use '==' to turn this assignment into an equality comparison
          if (errno = error_intr) continue;
                    ^
                    ==
fetch.c:151:15: warning: implicit declaration of function 'open_read' is invalid in C99 [-Wimplicit-function-declaration]
  fdcurrent = open_read(".");
              ^
fetch.c:156:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
  close(fddata);
  ^
fetch.c:160:5: warning: implicit declaration of function 'out_puts' is invalid in C99 [-Wimplicit-function-declaration]
    out_puts("226 Success.\r\n");
    ^
9 warnings and 1 error generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/www/publicfile/work/publicfile-0.52
*** Error code 1

Stop.
make: stopped in /usr/ports/www/publicfile
===>  Cleaning for publicfile-0.52_2



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