Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 16:31:49 GMT
From:      pkg-fallout@FreeBSD.org
To:        michael.grunewald@laposte.net
Cc:        pkg-fallout@FreeBSD.org
Subject:   [REL - head-amd64-default][lang/caml-light] Failed for caml-0.75_4 in build
Message-ID:  <201401051631.s05GVn3Z018691@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:     michael.grunewald@laposte.net
Last committer: bapt@FreeBSD.org
Ident:          $FreeBSD: head/lang/caml-light/Makefile 327741 2013-09-20 19:53:09Z bapt $
Log URL:        http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-01-05_13h19m25s/logs/caml-0.75_4.log
Build URL:      http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-01-05_13h19m25s
Log:

====>> Building lang/caml-light
build started at Sun Jan  5 16:31:38 UTC 2014
port directory: /usr/ports/lang/caml-light
building for: FreeBSD head-amd64-default-job-22 11.0-CURRENT FreeBSD 11.0-CURRENT r256430 amd64
maintained by: michael.grunewald@laposte.net
Makefile ident:      $FreeBSD: head/lang/caml-light/Makefile 327741 2013-09-20 19:53:09Z bapt $
Poudriere version: 3.1-pre

---Begin Environment---
OSVERSION=1100000
UNAME_v=FreeBSD 11.0-CURRENT r256430
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=9775
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=caml-0.75_4
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---
---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/caml
DOCSDIR=/usr/local/share/doc/caml
EXAMPLESDIR=/usr/local/share/examples/caml
WWWDIR=/usr/local/www/caml
ETCDIR=/usr/local/etc/caml
--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 caml-0.75_4
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   caml-0.75_4 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.4_1.txz
Installing pkg-1.2.4_1... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of caml-0.75_4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by caml-0.75_4 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by caml-0.75_4 for building
=> SHA256 Checksum OK for cl75unix.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by caml-0.75_4 for building
===>  Extracting for caml-0.75_4
=> SHA256 Checksum OK for cl75unix.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for caml-0.75_4
===>  Applying FreeBSD patches for caml-0.75_4
===========================================================================
=======================<phase: build-depends  >============================
===>   caml-0.75_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found
===>    Verifying install for /usr/local/libdata/pkgconfig/x11.pc in /usr/ports/x11/libX11
===>   Installing existing package /packages/All/libX11-1.6.2,1.txz
Installing libX11-1.6.2,1...Installing kbproto-1.0.6... done
Installing libXau-1.0.8...Installing xproto-7.0.25... done
 done
Installing libXdmcp-1.1.1... done
Installing libxcb-1.9.3...Installing libpthread-stubs-0.3_4... done
Installing libxml2-2.8.0_3... done
 done
 done
===>   Returning to build of caml-0.75_4
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for caml-0.75_4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/lang/caml-light/work/cl75/contrib/libstr/regex-0.12/configure
===========================================================================
=======================<phase: build          >============================
===>  Building for caml-0.75_4
cd /wrkdirs/usr/ports/lang/caml-light/work/cl75/src; /usr/bin/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" make configure world bootstrap
cd ../config; sh autoconf "cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing  "
Checking the sizes of integers and pointers...
cc: warning: argument unused during compilation: '-fno-defer-pop'
sizes.c:5:3: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)'
  printf("%d %d %d\n", sizeof(int), sizeof(long), sizeof(long *));
  ^
sizes.c:5:3: note: please include the header <stdio.h> or explicitly provide a declaration for 'printf'
sizes.c:5:24: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  printf("%d %d %d\n", sizeof(int), sizeof(long), sizeof(long *));
          ~~           ^~~~~~~~~~~
          %lu
sizes.c:5:37: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  printf("%d %d %d\n", sizeof(int), sizeof(long), sizeof(long *));
             ~~                     ^~~~~~~~~~~~
             %lu
sizes.c:5:51: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  printf("%d %d %d\n", sizeof(int), sizeof(long), sizeof(long *));
                ~~                                ^~~~~~~~~~~~~~
                %lu
4 warnings generated.
Wow! A 64 bit architecture!
cc: warning: argument unused during compilation: '-fno-defer-pop'
schar.c:2:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^~~~
schar.c:6:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
  exit(i != -1);
  ^
schar.c:6:3: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
2 warnings generated.
The char type is signed. Good!
cc: warning: argument unused during compilation: '-fno-defer-pop'
endian.c:3:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^~~~
endian.c:19:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)'
  if (strcmp(p, bigendian) == 0)
      ^
endian.c:19:7: note: please include the header <string.h> or explicitly provide a declaration for 'strcmp'
endian.c:20:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
    exit(0);
    ^
endian.c:20:5: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
3 warnings generated.
This is a little-endian architecture.
cc: warning: argument unused during compilation: '-fno-defer-pop'
align.c:72:3: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration]
  alarm(1);
  ^
align.c:82:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^~~~
align.c:87:39: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
  if (test(access16, (char *) n + 1)) exit(1);
                                      ^
align.c:87:39: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
3 warnings generated.
This architecture has no alignment constraints.
cc: warning: argument unused during compilation: '-fno-defer-pop'
dblalign.c:21:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^~~~
dblalign.c:36:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
  exit(res);
  ^
dblalign.c:36:3: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
2 warnings generated.
Doubles can be word-aligned.
cc: warning: argument unused during compilation: '-fno-defer-pop'
<snip>
cc: warning: argument unused during compilation: '-fno-defer-pop'
bytecopy.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^~~~
bytecopy.c:11:3: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration]
  cpy("abcdefghijklmnopqrstuvwxyz", buffer, 27);
  ^
bytecopy.c:6:13: note: expanded from macro 'cpy'
#define cpy copy
            ^
<command line>:2:14: note: expanded from here
#define copy bcopy
             ^
bytecopy.c:12:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)'
  if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1);
      ^
bytecopy.c:12:7: note: please include the header <string.h> or explicitly provide a declaration for 'strcmp'
bytecopy.c:12:58: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
  if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1);
                                                         ^
bytecopy.c:12:58: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
4 warnings generated.
Function "bcopy" is provided and handles overlapping moves correctly.
cc: warning: argument unused during compilation: '-fno-defer-pop'
bytecopy.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^~~~
bytecopy.c:11:3: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'
  cpy("abcdefghijklmnopqrstuvwxyz", buffer, 27);
  ^
bytecopy.c:4:22: note: expanded from macro 'cpy'
#define cpy(s1,s2,n) copy(s2,s1,n)
                     ^
<command line>:2:14: note: expanded from here
#define copy memcpy
             ^
bytecopy.c:11:3: note: please include the header <string.h> or explicitly provide a declaration for 'memcpy'
bytecopy.c:4:22: note: expanded from macro 'cpy'
#define cpy(s1,s2,n) copy(s2,s1,n)
                     ^
<command line>:2:14: note: expanded from here
#define copy memcpy
             ^
bytecopy.c:12:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)'
  if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1);
      ^
bytecopy.c:12:7: note: please include the header <string.h> or explicitly provide a declaration for 'strcmp'
bytecopy.c:12:58: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
  if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1);
                                                         ^
bytecopy.c:12:58: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
4 warnings generated.
cc: warning: argument unused during compilation: '-fno-defer-pop'
sighandler.c:3:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
1 warning generated.
cc: warning: argument unused during compilation: '-fno-defer-pop'
sighandler.c:3:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
sighandler.c:6:7: warning: incompatible pointer types assigning to 'int (*)()' from '__sighandler_t *' (aka 'void (*)(int)') [-Wincompatible-pointer-types]
2 warnings generated.
Sorry, I can't determine the return type for signal handlers.
I'm assuming "void". If this seems to cause errors,
try to change "sighandler_return_type" in s.h
cc: warning: argument unused during compilation: '-fno-defer-pop'
signals.c:42:8: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
  kill(getpid(), IGNSIG);
       ^
1 warning generated.
Signals have the BSD semantics.
rename() found.
You have BSD sockets.
unistd.h found.
dirent.h found.
lockf() found.
mkfifo() found.
getcwd() found.
getwd() found.
getpriority() found.
utime() found.
utimes() found.
dup2() found.
fchmod() found.
truncate() found.
select() found.
symlink() found.
wait3() found.
waitpid() found.
cc: warning: argument unused during compilation: '-fno-defer-pop'
getgroups.c:9:7: warning: implicit declaration of function 'getgroups' is invalid in C99 [-Wimplicit-function-declaration]
  if (getgroups(NGROUPS, gidset) == -1) return 1;
      ^
1 warning generated.
getgroups() found.
POSIX termios found.
cc: warning: argument unused during compilation: '-fno-defer-pop'
async_io.c:22:7: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration]
  if (pipe(p) == -1) return 1;
      ^
async_io.c:27:27: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
  fcntl(p[OUT], F_SETOWN, getpid());
                          ^
async_io.c:28:10: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration]
  switch(fork()) {
         ^
async_io.c:32:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
    close(p[OUT]);
    ^
async_io.c:33:5: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
    write(p[IN], "x", 1);
    ^
async_io.c:34:5: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration]
    sleep(1);
    ^
async_io.c:35:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
    exit(0);
    ^
async_io.c:35:5: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
async_io.c:38:11: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration]
    while(wait(NULL) == -1 && errno == EINTR) /*nothing*/;
          ^
8 warnings generated.
Asynchronous I/O are supported.
setitimer() found.
gethostname() found.
uname() found.
gettimeofday() found.
cd runtime; make CC="cc" OPTS="-fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing " LIBS="" all
awk -f ../tools/make-jumptbl instruct.h > jumptbl.h
cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing  -I.. -c interp.c
cc: warning: argument unused during compilation: '-fno-defer-pop'
cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing  -I.. -c misc.c
cc: warning: argument unused during compilation: '-fno-defer-pop'
cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing  -I.. -c stacks.c
cc: warning: argument unused during compilation: '-fno-defer-pop'
stacks.c:56:3: warning: implicitly declaring library function 'memmove' with type 'void *(void *, const void *, unsigned long)'
  bcopy((char *) extern_asp,
  ^
./config.h:16:28: note: expanded from macro 'bcopy'
#define bcopy(src,dst,len) memmove((dst), (src), (len))
                           ^
stacks.c:56:3: note: please include the header <string.h> or explicitly provide a declaration for 'memmove'
./config.h:16:28: note: expanded from macro 'bcopy'
#define bcopy(src,dst,len) memmove((dst), (src), (len))
                           ^
1 warning generated.
cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing  -I.. -c fix_code.c
cc: warning: argument unused during compilation: '-fno-defer-pop'
cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing  -I.. -c main.c
cc: warning: argument unused during compilation: '-fno-defer-pop'
main.c:69:32: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  trail->code_size = read_size(buffer);
                               ^~~~~~
main.c:70:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  trail->data_size = read_size(buffer+4);
                               ^~~~~~~~
main.c:71:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  trail->symbol_size = read_size(buffer+8);
                                 ^~~~~~~~
main.c:72:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  trail->debug_size = read_size(buffer+12);
                                ^~~~~~~~~
main.c:73:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  trail->magic = read_size(buffer+16);
                           ^~~~~~~~~
main.c:131:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc, argv)
^~~~
6 warnings generated.
cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing  -I.. -c fail.c
cc: warning: argument unused during compilation: '-fno-defer-pop'
cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing  -I.. -c signals.c
cc: warning: argument unused during compilation: '-fno-defer-pop'
signals.c:22:3: warning: implicit declaration of function 'callback' is invalid in C99 [-Wimplicit-function-declaration]
  callback(clos, Val_int(signal_number));
  ^
1 warning generated.
cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing  -I.. -c debugcom.c
cc: warning: argument unused during compilation: '-fno-defer-pop'
debugcom.c:135:40: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration]
    sock_addr.s_inet.sin_addr.s_addr = inet_addr(address);
                                       ^
debugcom.c:185:25: error: non-void function 'debugger' should return a value [-Wreturn-type]
  if (dbg_socket == -1) return;  /* Not connected to a debugger. */
                        ^
debugcom.c:264:7: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration]
      wait(NULL);
      ^
2 warnings and 1 error generated.
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/lang/caml-light/work/cl75/src/runtime
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/lang/caml-light/work/cl75/src
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/caml-light
===>  Cleaning for caml-0.75_4



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