[package - head-amd64-default][devel/cproto] Failed for cproto-4.7k in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Fri May 13 10:30:45 UTC 2016


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 bsdunix.ch
Last committer: mat at FreeBSD.org
Ident:          $FreeBSD: head/devel/cproto/Makefile 340722 2014-01-22 17:00:46Z mat $
Log URL:        http://beefy4.nyi.freebsd.org/data/head-amd64-default/p415043_s299496/logs/cproto-4.7k.log
Build URL:      http://beefy4.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p415043_s299496
Log:

====>> Building devel/cproto
build started at Fri May 13 10:30:38 UTC 2016
port directory: /usr/ports/devel/cproto
building for: FreeBSD head-amd64-default-job-06 11.0-CURRENT FreeBSD 11.0-CURRENT r299496 amd64
maintained by: thomas at bsdunix.ch
Makefile ident:      $FreeBSD: head/devel/cproto/Makefile 340722 2014-01-22 17:00:46Z mat $
Poudriere version: 3.1.12
Host OSVERSION: 1100106
Jail OSVERSION: 1100107




!!! Jail is newer than host. (Jail: 1100107, Host: 1100106) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_v=FreeBSD 11.0-CURRENT r299496
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
OPSYS=FreeBSD
ARCH=amd64
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
UID=0
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
_JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=cproto-4.7k
OSREL=11.0
_OSRELEASE=11.0-CURRENT
PYTHONBASE=/usr/local
OLDPWD=/
_SMP_CPUS=24
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
HAVE_COMPAT_IA32_KERN=YES LINUX_OSRELEASE=2.6.32
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
_JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.12
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
CONFIGURE_MAX_CMD_LEN=262144
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
_JAVA_OS_LIST_REGEXP=native\|linux
OSVERSION=1100107
---End Environment---

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

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/cproto/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/cproto/work  HOME=/wrkdirs/usr/ports/devel/cproto/work 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--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/cproto/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/cproto/work  HOME=/wrkdirs/usr/ports/devel/cproto/work TMPDIR="/tmp" NO_PIE=yes WITHOUT_DEBUG_FILES=yes WITHOUT_KERNEL_SYMBOLS=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 444"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/cproto"
EXAMPLESDIR="share/examples/cproto"
DATADIR="share/cproto"
WWWDIR="www/cproto"
ETCDIR="etc/cproto"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/cproto
DOCSDIR=/usr/local/share/doc/cproto
EXAMPLESDIR=/usr/local/share/examples/cproto
WWWDIR=/usr/local/www/cproto
ETCDIR=/usr/local/etc/cproto
--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 ####
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   cproto-4.7k depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.7.2.txz
[head-amd64-default-job-06] Installing pkg-1.7.2...
[head-amd64-default-job-06] Extracting pkg-1.7.2: .......... done
===>   cproto-4.7k depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of cproto-4.7k
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by cproto-4.7k for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by cproto-4.7k for building
=> SHA256 Checksum OK for cproto-4.7k.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by cproto-4.7k for building
===>  Extracting for cproto-4.7k
=> SHA256 Checksum OK for cproto-4.7k.tgz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for cproto-4.7k
===>  Applying FreeBSD patches for cproto-4.7k
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for cproto-4.7k
configure: loading site script /usr/ports/Templates/config.site
checking build system type... amd64-portbld-freebsd11.0
checking host system type... amd64-portbld-freebsd11.0
Configuring for freebsd11.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 executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking version of cc... 3.8.0
checking for cc option to accept ANSI C... none needed
checking $CC variable... ok
checking how to run the C preprocessor... cpp
checking for reflex... no
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking whether make sets ${MAKE}... yes
checking for bison... no
checking for byacc... byacc
checking for a BSD compatible install... /usr/bin/install -c
checking if filesystem supports mixed-case filenames... yes
checking for exctags... no
checking for ctags... ctags
checking for exetags... no
checking for etags... no
checking for ctags... yes
checking for etags... no
checking for tdlint... no
checking for lint... lint
checking if _XOPEN_SOURCE really is set... yes
checking if you want to check for gcc warnings... no
checking if you want to see long compiling messages... yes
checking for an ANSI C-conforming const... yes
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getopt.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for getopt... (cached) yes
checking for popen... yes
checking for strstr... yes
checking for tmpfile... yes
checking for link... (cached) yes
checking for unlink... yes
checking for working mkstemp... yes
checking for size_t in <sys/types.h> or <stdio.h>... yes
checking if cpp can handle only .c files... no
checking for error-reporting with BISON_HAS_YYTNAME... no
checking for error-reporting with YACC_HAS_YYTOKS... no
checking for error-reporting with YACC_HAS_YYTOKS_2... no
checking for error-reporting with YACC_HAS_YYNAME... no
checking for conflicting prototype for popen... yes
checking if you want to use dmalloc for testing... no
checking if you want to use dbmalloc for testing... no
checking if you want to use valgrind for testing... no
checking if you want to perform memory-leak testing... no
setting other definitions
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
===========================================================================
=======================<phase: build          >============================
===>  Building for cproto-4.7k
cc -c -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I. -I.  -DHAVE_CONFIG_H   -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 cproto.c
In file included from cproto.c:7:
In file included from ./cproto.h:44:
In file included from ./system.h:8:
/usr/include/stdio.h:435:17: error: function cannot return function type 'int (void *, char *, size_t)' (aka 'int (void *, char *, unsigned long)')
typedef ssize_t (cookie_read_function_t)(void *, char *, size_t);
                ^
/usr/include/stdio.h:435:18: error: a parameter list without types is only allowed in a function definition
typedef ssize_t (cookie_read_function_t)(void *, char *, size_t);
                 ^
/usr/include/stdio.h:436:42: error: function cannot return function type 'ssize_t' (aka 'int ()')
typedef ssize_t (cookie_write_function_t)(void *, const char *, size_t);
                                         ^
/usr/include/stdio.h:440:2: error: unknown type name 'cookie_read_function_t'; did you mean 'cookie_seek_function_t'?
        cookie_read_function_t  *read;
        ^
/usr/include/stdio.h:437:14: note: 'cookie_seek_function_t' declared here
typedef int (cookie_seek_function_t)(void *, off64_t *, int);
             ^
In file included from cproto.c:7:
In file included from ./cproto.h:44:
In file included from ./system.h:171:
/usr/include/unistd.h:357:14: error: function cannot return function type 'ssize_t' (aka 'int ()')
ssize_t  read(int, void *, size_t);
             ^
/usr/include/unistd.h:370:15: error: function cannot return function type 'ssize_t' (aka 'int ()')
ssize_t  write(int, const void *, size_t);
              ^
/usr/include/unistd.h:405:18: error: function cannot return function type 'ssize_t' (aka 'int ()')
ssize_t  readlink(const char * __restrict, char * __restrict, size_t);
                 ^
/usr/include/unistd.h:419:15: error: function cannot return function type 'ssize_t' (aka 'int ()')
ssize_t  pread(int, void *, size_t, off_t);
              ^
/usr/include/unistd.h:420:16: error: function cannot return function type 'ssize_t' (aka 'int ()')
ssize_t  pwrite(int, const void *, size_t, off_t);
               ^
9 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/devel/cproto/work/cproto-4.7k
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/cproto


More information about the freebsd-pkg-fallout mailing list