[REL - head-i386-default][net/iscsi-target] Failed for iscsi-target-20080207_2 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Thu Sep 19 01:29:56 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: mark at foster.cc
Last committer: beat at FreeBSD.org
Ident: $FreeBSD: head/net/iscsi-target/Makefile 300897 2012-07-14 14:29:18Z beat $
Log URL: http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-19_00h27m24s/logs/iscsi-target-20080207_2.log
Build URL: http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-19_00h27m24s
Log:
====>> Building net/iscsi-target
build started at Thu Sep 19 01:29:49 UTC 2013
port directory: /usr/ports/net/iscsi-target
building for: FreeBSD head-i386-default-job-13 10.0-CURRENT FreeBSD 10.0-CURRENT i386
maintained by: mark at foster.cc
Makefile ident: $FreeBSD: head/net/iscsi-target/Makefile 300897 2012-07-14 14:29:18Z beat $
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=90491
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=iscsi-target-20080207_2
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---
---End OPTIONS List---
--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
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--
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/iscsi
DOCSDIR=/usr/local/share/doc/iscsi
EXAMPLESDIR=/usr/local/share/examples/iscsi
WWWDIR=/usr/local/www/iscsi
ETCDIR=/usr/local/etc/iscsi
--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 iscsi-target-20080207_2
=======================<phase: check-config >============================
===========================================================================
=======================<phase: pkg-depends >============================
===> iscsi-target-20080207_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.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 iscsi-target-20080207_2
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> Fetching all distfiles required by iscsi-target-20080207_2 for building
===========================================================================
=======================<phase: checksum >============================
===> Fetching all distfiles required by iscsi-target-20080207_2 for building
=> SHA256 Checksum OK for netbsd-iscsi-20080207.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> Fetching all distfiles required by iscsi-target-20080207_2 for building
===> Extracting for iscsi-target-20080207_2
=> SHA256 Checksum OK for netbsd-iscsi-20080207.tar.gz.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for iscsi-target-20080207_2
===> Applying FreeBSD patches for iscsi-target-20080207_2
===========================================================================
=======================<phase: build-depends >============================
===========================================================================
=======================<phase: lib-depends >============================
===========================================================================
=======================<phase: configure >============================
===> Configuring for iscsi-target-20080207_2
===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net/iscsi-target/work/netbsd-iscsi-20080207/src/configure
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
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 for ranlib... ranlib
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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 sys/types.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for sys/socket.h... (cached) yes
checking for sys/time.h... (cached) yes
checking sys/vfs.h usability... no
checking sys/vfs.h presence... no
checking for sys/vfs.h... no
checking for arpa/inet.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking for netdb.h... (cached) yes
checking for poll.h... (cached) yes
checking asm/byteorder.h usability... no
checking asm/byteorder.h presence... no
checking for asm/byteorder.h... no
checking sys/bswap.h usability... no
checking sys/bswap.h presence... no
checking for sys/bswap.h... no
checking sys/byteorder.h usability... no
checking sys/byteorder.h presence... no
checking for sys/byteorder.h... no
checking for sys/select.h... (cached) yes
checking libkern/OSByteOrder.h usability... no
checking libkern/OSByteOrder.h presence... no
checking for libkern/OSByteOrder.h... no
checking for byteswap.h... (cached) no
checking machine/endian.h usability... yes
checking machine/endian.h presence... yes
checking for machine/endian.h... yes
checking for ctype.h... (cached) yes
checking for errno.h... (cached) yes
checking for fcntl.h... (cached) yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pwd.h... (cached) yes
checking for signal.h... (cached) yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for utime.h... (cached) yes
checking uuid.h usability... yes
checking uuid.h presence... yes
<snip>
checking for daemon... (cached) yes
checking for fsync_range... no
checking for getaddrinfo... (cached) yes
checking for getnameinfo... (cached) yes
checking for htobe64... no
checking for memset... (cached) yes
checking for bcopy... (cached) yes
checking for poll... (cached) yes
checking for snprintf... (cached) yes
checking for strlcpy... (cached) yes
checking for strtoll... (cached) yes
checking for syslog... yes
checking for uuid_create... yes
checking for uuid_to_string... yes
checking for vasprintf... (cached) yes
checking for vasnprintf... no
checking for vsnprintf... (cached) yes
configure: creating ./config.status
Segmentation fault
config.status: creating Makefile
config.status: creating ../include/config.h
===========================================================================
=======================<phase: build >============================
===> Building for iscsi-target-20080207_2
cc -O2 -pipe -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-strict-aliasing -fno-common -Wno-trigraphs -DCONFIG_ISCSI_DEBUG -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DSYSCONFDIR=\"/usr/local/etc\" -DHAVE_CONFIG_H -I/usr/local/include -I../include -c target.c
In file included from target.c:84:
In file included from ../include/iscsi.h:36:
./include/iscsiutil.h:314:64: warning: declaration of 'struct sockaddr' will not be visible outside of this function [-Wvisibility]
int iscsi_sock_getsockname(iscsi_socket_t , struct sockaddr * , unsigned *);
^
./include/iscsiutil.h:315:64: warning: declaration of 'struct sockaddr' will not be visible outside of this function [-Wvisibility]
int iscsi_sock_getpeername(iscsi_socket_t , struct sockaddr * , unsigned *);
^
./include/iscsiutil.h:316:35: warning: declaration of 'struct iovec' will not be visible outside of this function [-Wvisibility]
int modify_iov(struct iovec ** , int *, uint32_t , uint32_t );
^
In file included from target.c:85:
./include/target.h:56:15: error: use of undeclared identifier 'AF_INET'
ISCSI_IPv4 = AF_INET,
^
./include/target.h:57:15: error: use of undeclared identifier 'AF_INET6'
ISCSI_IPv6 = AF_INET6,
^
./include/target.h:58:17: error: use of undeclared identifier 'PF_UNSPEC'
ISCSI_UNSPEC = PF_UNSPEC,
^
./include/target.h:116:90: warning: declaration of 'struct iovec' will not be visible outside of this function [-Wvisibility]
int target_transfer_data(target_session_t *, iscsi_scsi_cmd_args_t *, struct iovec *, int);
^
target.c:235:14: warning: implicit declaration of function 'ntohs' is invalid in C99 [-Wimplicit-function-declaration]
ahs_len = ISCSI_NTOHS(*((uint16_t *) (void *)ahs_ptr));
^
./include/iscsiutil.h:177:24: note: expanded from macro 'ISCSI_NTOHS'
#define ISCSI_NTOHS(a) ntohs(a)
^
target.c:243:31: warning: implicit declaration of function 'ntohl' is invalid in C99 [-Wimplicit-function-declaration]
scsi_cmd.bidi_trans_len = ISCSI_NTOHL(*((uint32_t *) (void *) (ahs_ptr + 4)));
^
./include/iscsiutil.h:175:24: note: expanded from macro 'ISCSI_NTOHL'
#define ISCSI_NTOHL(a) ntohl(a)
^
target.c:282:19: error: variable has incomplete type 'struct iovec'
struct iovec sg_singleton;
^
target.c:282:10: note: forward declaration of 'struct iovec'
struct iovec sg_singleton;
^
target.c:321:40: error: invalid application of 'sizeof' to an incomplete type 'struct iovec'
if ((sg_new = iscsi_malloc_atomic(sizeof(struct iovec) * sg_len_orig)) == NULL) {
^ ~~~~~~~~~~~~~~
target.c:282:10: note: forward declaration of 'struct iovec'
struct iovec sg_singleton;
^
target.c:330:32: error: invalid application of 'sizeof' to an incomplete type 'struct iovec'
(void) memcpy(sg, sg_orig, sizeof(struct iovec) * sg_len_orig);
^ ~~~~~~~~~~~~~~
target.c:282:10: note: forward declaration of 'struct iovec'
struct iovec sg_singleton;
^
target.c:331:20: warning: incompatible pointer types passing 'struct iovec **' to parameter of type 'struct iovec **' [-Wincompatible-pointer-types]
if (modify_iov(&sg, &sg_len, offset, data.length) != 0) {
^~~
./include/iscsiutil.h:316:44: note: passing argument to parameter here
int modify_iov(struct iovec ** , int *, uint32_t , uint32_t );
^
target.c:552:38: warning: 'memset' call operates on objects of type 'iscsi_nop_in_args_t' (aka 'struct iscsi_nop_in_args_t') while the size is based on a different type 'iscsi_nop_in_args_t *' (aka 'struct iscsi_nop_in_args_t *') [-Wsizeof-pointer-memaccess]
(void) memset(&nop_in, 0x0, sizeof(&nop_in));
~~~~~~~ ^~~~~~~
target.c:552:38: note: did you mean to remove the addressof in the argument to 'sizeof' (and multiply it by the number of elements)?
(void) memset(&nop_in, 0x0, sizeof(&nop_in));
^~~~~~~
target.c:979:65: error: expected ')'
"> iSCSI %s login successful from %s on %s disk %d, ISID %" PRIu64 ", TSIH %u",
^
target.c:978:18: note: to match this '('
(void) snprintf(logbuf, sizeof(logbuf),
^
target.c:1046:64: error: expected ')'
"< iSCSI %s logout successful from %s on %s disk %d, ISID %" PRIu64 ", TSIH %u",
^
target.c:1045:17: note: to match this '('
(void) snprintf(logbuf, sizeof(logbuf),
^
target.c:1200:21: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
sess->worker.pid = ISCSI_GETPID;
^
./include/iscsiutil.h:180:22: note: expanded from macro 'ISCSI_GETPID'
#define ISCSI_GETPID getpid()
^
target.c:1349:84: warning: declaration of 'struct iovec' will not be visible outside of this function [-Wvisibility]
target_transfer_data(target_session_t * sess, iscsi_scsi_cmd_args_t * args, struct iovec * sg, int sg_len)
^
target.c:1349:1: error: conflicting types for 'target_transfer_data'
target_transfer_data(target_session_t * sess, iscsi_scsi_cmd_args_t * args, struct iovec * sg, int sg_len)
^
./include/target.h:116:17: note: previous declaration is here
int target_transfer_data(target_session_t *, iscsi_scsi_cmd_args_t *, struct iovec *, int);
^
target.c:1369:37: error: invalid application of 'sizeof' to an incomplete type 'struct iovec'
if ((iov_ptr = iscsi_malloc_atomic(sizeof(struct iovec) * sg_len)) == NULL) {
^ ~~~~~~~~~~~~~~
target.c:1349:84: note: forward declaration of 'struct iovec'
target_transfer_data(target_session_t * sess, iscsi_scsi_cmd_args_t * args, struct iovec * sg, int sg_len)
^
target.c:1374:25: error: invalid application of 'sizeof' to an incomplete type 'struct iovec'
(void) memcpy(iov, sg, sizeof(struct iovec) * sg_len);
^ ~~~~~~~~~~~~~~
target.c:1349:84: note: forward declaration of 'struct iovec'
target_transfer_data(target_session_t * sess, iscsi_scsi_cmd_args_t * args, struct iovec * sg, int sg_len)
^
target.c:1387:18: warning: incompatible pointer types passing 'struct iovec **' to parameter of type 'struct iovec **' [-Wincompatible-pointer-types]
if (modify_iov(&iov, &iov_len, 0, args->length) != 0) {
^~~~
./include/iscsiutil.h:316:44: note: passing argument to parameter here
int modify_iov(struct iovec ** , int *, uint32_t , uint32_t );
^
target.c:1472:27: error: invalid application of 'sizeof' to an incomplete type 'struct iovec'
(void) memcpy(iov, sg, sizeof(struct iovec) * sg_len);
^ ~~~~~~~~~~~~~~
target.c:1349:84: note: forward declaration of 'struct iovec'
target_transfer_data(target_session_t * sess, iscsi_scsi_cmd_args_t * args, struct iovec * sg, int sg_len)
^
target.c:1474:19: warning: incompatible pointer types passing 'struct iovec **' to parameter of type 'struct iovec **' [-Wincompatible-pointer-types]
if (modify_iov(&iov, &iov_len, data.offset, data.length) != 0) {
^~~~
./include/iscsiutil.h:316:44: note: passing argument to parameter here
int modify_iov(struct iovec ** , int *, uint32_t , uint32_t );
^
target.c:1633:22: error: variable has incomplete type 'struct sockaddr_in6'
struct sockaddr_in6 remoteAddrStorage6;
^
target.c:1633:9: note: forward declaration of 'struct sockaddr_in6'
struct sockaddr_in6 remoteAddrStorage6;
^
target.c:1634:22: error: variable has incomplete type 'struct sockaddr_in6'
struct sockaddr_in6 localAddrStorage6;
^
target.c:1633:9: note: forward declaration of 'struct sockaddr_in6'
struct sockaddr_in6 remoteAddrStorage6;
^
target.c:1635:21: error: variable has incomplete type 'struct sockaddr_in'
struct sockaddr_in remoteAddrStorage;
^
target.c:1635:9: note: forward declaration of 'struct sockaddr_in'
struct sockaddr_in remoteAddrStorage;
^
target.c:1636:21: error: variable has incomplete type 'struct sockaddr_in'
struct sockaddr_in localAddrStorage;
^
target.c:1635:9: note: forward declaration of 'struct sockaddr_in'
struct sockaddr_in remoteAddrStorage;
^
target.c:1688:8: error: use of undeclared identifier 'AF_INET'
case AF_INET:
^
target.c:1691:8: warning: implicit declaration of function 'getsockname' is invalid in C99 [-Wimplicit-function-declaration]
if (getsockname(sess->sock, (struct sockaddr *) (void *) &localAddrStorage, &localAddrLen) < 0) {
^
target.c:1697:8: warning: implicit declaration of function 'getpeername' is invalid in C99 [-Wimplicit-function-declaration]
if (getpeername(sess->sock, (struct sockaddr *) (void *) &remoteAddrStorage, &remoteAddrLen) < 0) {
^
target.c:1713:26: warning: implicit declaration of function 'inet_ntoa' is invalid in C99 [-Wimplicit-function-declaration]
(void) strlcpy(local, inet_ntoa(localAddrStorage.sin_addr), sizeof(local));
^
target.c:1723:8: error: use of undeclared identifier 'AF_INET6'
case AF_INET6:
^
target.c:1737:8: warning: implicit declaration of function 'getnameinfo' is invalid in C99 [-Wimplicit-function-declaration]
if (getnameinfo((struct sockaddr *)(void *)&localAddrStorage6, sizeof(localAddrStorage6), local, sizeof(local), NULL, 0, NI_NUMERICHOST) < 0) {
^
16 warnings and 18 errors generated.
*** Error code 1
Stop.
make[1]: stopped in /wrkdirs/usr/ports/net/iscsi-target/work/netbsd-iscsi-20080207/src
*** Error code 1
Stop.
make: stopped in /usr/ports/net/iscsi-target
===> Cleaning for iscsi-target-20080207_2
More information about the freebsd-pkg-fallout
mailing list