[REL - head-i386-default][benchmarks/sysbench] Failed for sysbench-0.4.12_1 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Thu Sep 19 02:06:45 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:     c.petrik.sosa at gmail.com
Last committer: bdrewery at FreeBSD.org
Ident:          $FreeBSD: head/benchmarks/sysbench/Makefile 313559 2013-03-07 03:25:10Z bdrewery $
Log URL:        http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-19_00h27m24s/logs/sysbench-0.4.12_1.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-19_00h27m24s
Log:

====>> Building benchmarks/sysbench
build started at Thu Sep 19 02:06:34 UTC 2013
port directory: /usr/ports/benchmarks/sysbench
building for: FreeBSD head-i386-default-job-10 10.0-CURRENT FreeBSD 10.0-CURRENT i386
maintained by: c.petrik.sosa at gmail.com
Makefile ident:      $FreeBSD: head/benchmarks/sysbench/Makefile 313559 2013-03-07 03:25:10Z bdrewery $
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=61430
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=sysbench-0.4.12_1
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---
===> The following configuration options are available for sysbench-0.4.12_1:
     DOCS=on: Build and/or install documentation
     LARGEFILE=off: Enable Largefile support
     MYSQL=off: MySQL database support
     PGSQL=off: PostgreSQL database support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--
--disable-largefile --with-mysql=no --with-pgsql=no --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh   LIBTOOL=/usr/local/bin/libtool  LIBTOOLIZE=/usr/local/bin/libtoolize  LIBTOOL_LIBEXECDIR=/usr/local/libexec/libtool  LIBTOOL_SHAREDIR=/usr/local/share/libtool  LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4  LTMAIN=/usr/local/share/libtool/config/ltmain.sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES   LIBTOOL=/usr/local/bin/libtool  LIBTOOLIZE=/usr/local/bin/libtoolize  LIBTOOL_LIBEXECDIR=/usr/local/libexec/libtool  LIBTOOL_SHAREDIR=/usr/local/share/libtool  LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4  LTMAIN=/usr/local/share/libtool/config/ltmain.sh 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/sysbench
DOCSDIR=/usr/local/share/doc/sysbench
EXAMPLESDIR=/usr/local/share/examples/sysbench
WWWDIR=/usr/local/www/sysbench
ETCDIR=/usr/local/etc/sysbench
--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 sysbench-0.4.12_1
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   sysbench-0.4.12_1 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 sysbench-0.4.12_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by sysbench-0.4.12_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by sysbench-0.4.12_1 for building
=> SHA256 Checksum OK for sysbench-0.4.12.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by sysbench-0.4.12_1 for building
===>  Extracting for sysbench-0.4.12_1
=> SHA256 Checksum OK for sysbench-0.4.12.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for sysbench-0.4.12_1
===========================================================================
=======================<phase: build-depends  >============================
===>   sysbench-0.4.12_1 depends on package: libtool>=2.4 - not found
===>    Verifying install for libtool>=2.4 in /usr/ports/devel/libtool
===>   Installing existing package /packages/All/libtool-2.4.2_1.txz
Installing libtool-2.4.2_1... done
===>   Returning to build of sysbench-0.4.12_1
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for sysbench-0.4.12_1
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/benchmarks/sysbench/work/sysbench-0.4.12/acinclude.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/benchmarks/sysbench/work/sysbench-0.4.12/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/benchmarks/sysbench/work/sysbench-0.4.12/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 target system type... i386-portbld-freebsd10.0
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether to compile with MySQL support... (cached) no
checking whether to compile with Oracle support... (cached) no
checking whether to compile with PostgreSQL support... (cached) no
checking for style of include used by make... GNU
checking for gcc... cc
checking for C compiler default output file name... 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 for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking whether SHM_HUGETLB is declared... no
checking whether O_SYNC is declared... yes
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... Segmentation fault
ok
checking how to run the C preprocessor... cpp
checking for ANSI C header files... (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 dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd10.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for xsltproc... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for cc_r... cc
checking for sqrt in -lm... yes
checking libaio.h usability... no
checking libaio.h presence... no
checking for libaio.h... no
checking for malloc in -lumem... yes
checking for ANSI C header files... (cached) yes
checking for errno.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for math.h... (cached) yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for sched.h... (cached) yes
checking for signal.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/aio.h usability... yes
checking sys/aio.h presence... yes
checking for sys/aio.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking for sys/time.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking thread.h usability... no
checking thread.h presence... no
checking for thread.h... no
checking for unistd.h... (cached) yes
checking for inline... inline
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for size_t... (cached) yes
checking size of size_t... 4
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking whether strerror_r is declared... (cached) yes
checking for strerror_r... (cached) yes
checking whether strerror_r returns char *... no
checking whether clock_gettime is declared... yes
checking for library containing clock_gettime... none required
checking for alarm... (cached) yes
checking for fdatasync... no
checking for gettimeofday... (cached) yes
checking for lrand48... yes
checking for memalign... no
checking for memset... (cached) yes
checking for posix_memalign... yes
checking for pthread_yield... no
checking for setvbuf... (cached) yes
checking for sqrt... yes
checking for strdup... (cached) yes
checking for thr_setconcurrency... no
checking for valloc... yes
configure: creating ./config.status
Segmentation fault
config.status: creating Makefile
config.status: creating doc/xsl/Makefile
config.status: creating doc/xsl/catalog.xml
config.status: creating doc/Makefile
config.status: creating sysbench/Makefile
config.status: creating sysbench/drivers/Makefile
config.status: creating sysbench/drivers/mysql/Makefile
config.status: creating sysbench/drivers/oracle/Makefile
config.status: creating sysbench/drivers/pgsql/Makefile
config.status: creating sysbench/tests/Makefile
config.status: creating sysbench/tests/cpu/Makefile
config.status: creating sysbench/tests/fileio/Makefile
config.status: creating sysbench/tests/memory/Makefile
config.status: creating sysbench/tests/threads/Makefile
config.status: creating sysbench/tests/mutex/Makefile
config.status: creating sysbench/tests/oltp/Makefile
config.status: creating config/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
===========================================================================
=======================<phase: build          >============================
===>  Building for sysbench-0.4.12_1
Making all in doc
Making all in xsl
Making all in sysbench
Making all in drivers
Making all in tests
Making all in cpu
cc -DHAVE_CONFIG_H -I. -I../../../config  -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I../../../sysbench  -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -MT libsbcpu_a-sb_cpu.o -MD -MP -MF .deps/libsbcpu_a-sb_cpu.Tpo -c -o libsbcpu_a-sb_cpu.o `test -f 'sb_cpu.c' || echo './'`sb_cpu.c
In file included from sb_cpu.c:29:
In file included from ../../../sysbench/sysbench.h:44:
./../../sysbench/tests/sb_fileio.h:40:3: error: unknown type name 'ssize_t'; did you mean 'size_t'?
  ssize_t         size;
  ^~~~~~~
  size_t
/usr/include/stdio.h:46:18: note: 'size_t' declared here
typedef __size_t        size_t;
                        ^
In file included from sb_cpu.c:29:
./../../sysbench/sysbench.h:177:3: error: unknown type name 'pthread_t'
  pthread_t     thread;
  ^
./../../sysbench/sysbench.h:188:3: error: unknown type name 'pthread_mutex_t'
  pthread_mutex_t  exec_mutex;     /* execution mutex */
  ^
sb_cpu.c:77:8: error: unknown type name 'pthread_mutex_t'
static pthread_mutex_t request_mutex;
       ^
sb_cpu.c:97:3: warning: implicit declaration of function 'pthread_mutex_init' is invalid in C99 [-Wimplicit-function-declaration]
  pthread_mutex_init(&request_mutex, NULL);
  ^
sb_cpu.c:115:3: warning: implicit declaration of function 'pthread_mutex_lock' is invalid in C99 [-Wimplicit-function-declaration]
  pthread_mutex_lock(&request_mutex);
  ^
sb_cpu.c:117:3: warning: implicit declaration of function 'pthread_mutex_unlock' is invalid in C99 [-Wimplicit-function-declaration]
  pthread_mutex_unlock(&request_mutex);
  ^
sb_cpu.c:141:9: warning: implicitly declaring library function 'sqrt' with type 'double (double)'
    t = sqrt(c);
        ^
sb_cpu.c:141:9: note: please include the header <math.h> or explicitly provide a declaration for 'sqrt'
sb_cpu.c:167:3: warning: implicit declaration of function 'pthread_mutex_destroy' is invalid in C99 [-Wimplicit-function-declaration]
  pthread_mutex_destroy(&request_mutex);
  ^
5 warnings and 4 errors generated.
*** Error code 1

Stop.
make[4]: stopped in /wrkdirs/usr/ports/benchmarks/sysbench/work/sysbench-0.4.12/sysbench/tests/cpu
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/benchmarks/sysbench/work/sysbench-0.4.12/sysbench/tests
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/benchmarks/sysbench/work/sysbench-0.4.12/sysbench
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/benchmarks/sysbench/work/sysbench-0.4.12
*** Error code 1

Stop.
make: stopped in /usr/ports/benchmarks/sysbench
===>  Cleaning for sysbench-0.4.12_1


More information about the freebsd-pkg-fallout mailing list