[package - 93i386-default][sysutils/apcupsd] Failed for apcupsd-3.14.13 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Wed Jun 24 18:59:40 UTC 2015
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: itetcu at FreeBSD.org
Last committer: bapt at FreeBSD.org
Ident: $FreeBSD: head/sysutils/apcupsd/Makefile 388569 2015-06-05 05:20:18Z bapt $
Log URL: http://beefy1.nyi.freebsd.org/data/93i386-default/390486/logs/apcupsd-3.14.13.log
Build URL: http://beefy1.nyi.freebsd.org/build.html?mastername=93i386-default&build=390486
Log:
====>> Building sysutils/apcupsd
build started at Wed Jun 24 18:59:23 UTC 2015
port directory: /usr/ports/sysutils/apcupsd
building for: FreeBSD 93i386-default-job-07 9.3-RELEASE-p17 FreeBSD 9.3-RELEASE-p17 i386
maintained by: itetcu at FreeBSD.org
Makefile ident: $FreeBSD: head/sysutils/apcupsd/Makefile 388569 2015-06-05 05:20:18Z bapt $
Poudriere version: 3.1.7
Host OSVERSION: 1100070
Jail OSVERSION: 903000
---Begin Environment---
UNAME_p=i386
UNAME_m=i386
OSVERSION=903000
UNAME_v=FreeBSD 9.3-RELEASE-p17
UNAME_r=9.3-RELEASE-p17
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=screen
MASTERMNT=/usr/local/poudriere/data/.m/93i386-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=apcupsd-3.14.13
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/93i386-default/ref/.p/pool
MASTERNAME=93i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.7
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---
---Begin OPTIONS List---
===> The following configuration options are available for apcupsd-3.14.13:
APCDUMB_DRV=on: Compile dumb UPS driver
APCSMART_DRV=on: Compile APC SmartUPS serial driver
CGI=off: Compile with CGI programms to show status
CLIENT_ONLY=off: Only NIS client (no network server or drivers)
DOCS=on: Build and/or install documentation
GAPCMON=off: Build GTK GUI front-end
MODBUS=on: Compile with MODBUS driver
PCNET_DRV=on: Compile PowerChute Network Shutdown driver
SNMP_DRV=off: Compile with SNMP driver
SNMP_DRV_OLD=off: Compile with old SNMP driver
TCP_WRAPPERS=on: Compile with TCP_WRAPPERS support
TEST_DRV=off: Compile TEST driver
USB=on: Compile with USB Support driver
===> Use 'make config' to modify these settings
---End OPTIONS List---
--CONFIGURE_ARGS--
--sbindir=/usr/local/sbin --with-nologin=/var/run --disable-install-distdir --sysconfdir=/usr/local/etc/apcupsd --with-serial-dev=/dev/usv --enable-dumb --enable-apcsmart --disable-cgi --disable-gapcmon --enable-modbus --enable-pcnet --disable-snmp --disable-net-snmp --with-libwrap=yes --disable-test --enable-usb --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
LD="c++" ac_cv_path_SHUTDOWN="/sbin/shutdown" MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/apcupsd/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/apcupsd/work HOME=/wrkdirs/usr/ports/sysutils/apcupsd/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/sysutils/apcupsd/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/apcupsd/work HOME=/wrkdirs/usr/ports/sysutils/apcupsd/work TMPDIR="/tmp" NO_PIE=yes 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="-I/usr/local/include" LDFLAGS="" LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -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--
APCDUMB_DRV=""
NO_APCDUMB_DRV="@comment
"
APCSMART_DRV=""
NO_APCSMART_DRV="@comment
"
CGI="@comment
"
NO_CGI=""
CLIENT_ONLY="@comment
"
NO_CLIENT_ONLY=""
DOCS=""
NO_DOCS="@comment
"
GAPCMON="@comment
"
NO_GAPCMON=""
MODBUS=""
NO_MODBUS="@comment
"
PCNET_DRV=""
NO_PCNET_DRV="@comment
"
SNMP_DRV="@comment
"
NO_SNMP_DRV=""
SNMP_DRV_OLD="@comment
"
NO_SNMP_DRV_OLD=""
TCP_WRAPPERS=""
NO_TCP_WRAPPERS="@comment
"
TEST_DRV="@comment
"
NO_TEST_DRV=""
USB=""
NO_USB="@comment
"
OSREL=9.3
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/apcupsd"
EXAMPLESDIR="share/examples/apcupsd"
DATADIR="share/apcupsd"
WWWDIR="www/apcupsd"
ETCDIR="etc/apcupsd"
--End PLIST_SUB--
--SUB_LIST--
APCDUMB_DRV=""
NO_APCDUMB_DRV="@comment
"
APCSMART_DRV=""
NO_APCSMART_DRV="@comment
"
CGI="@comment
"
NO_CGI=""
CLIENT_ONLY="@comment
"
NO_CLIENT_ONLY=""
DOCS=""
NO_DOCS="@comment
"
GAPCMON="@comment
"
NO_GAPCMON=""
MODBUS=""
NO_MODBUS="@comment
"
PCNET_DRV=""
NO_PCNET_DRV="@comment
"
SNMP_DRV="@comment
"
NO_SNMP_DRV=""
SNMP_DRV_OLD="@comment
"
NO_SNMP_DRV_OLD=""
TCP_WRAPPERS=""
NO_TCP_WRAPPERS="@comment
"
TEST_DRV="@comment
"
NO_TEST_DRV=""
USB=""
NO_USB="@comment
"
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/apcupsd
DOCSDIR=/usr/local/share/doc/apcupsd
EXAMPLESDIR=/usr/local/share/examples/apcupsd
WWWDIR=/usr/local/www/apcupsd
ETCDIR=/usr/local/etc/apcupsd
--End SUB_LIST--
---Begin make.conf---
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
MASTER_SITE_FREEBSD=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity >============================
===> License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===> apcupsd-3.14.13 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.5.4.txz
[93i386-default-job-07] Installing pkg-1.5.4...
[93i386-default-job-07] Extracting pkg-1.5.4: .......... done
Message for pkg-1.5.4:
If you are upgrading from the old package format, first run:
# pkg2ng
===> Returning to build of apcupsd-3.14.13
===========================================================================
<snip>
checking for unistd.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for ctype.h... (cached) yes
checking for errno.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for limits.h... (cached) yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for signal.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/types.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for arpa/nameser.h... (cached) yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for uid_t in sys/types.h... (cached) yes
checking type of array argument to getgroups... gid_t
checking for mode_t... (cached) yes
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking return type of signal handlers... void
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for socklen_t... yes
checking for X... no
checking whether #! works in shell scripts... yes
Will not install HAL policy file
checking for libwrap... yes
checking for libusb-config... no
checking for usb_init in -lusb... yes
Using generic libusb USB driver.
checking for pkg-config... no
checking how many arguments gethostbyname_r() takes... six
checking if libsupc++ is required... yes
checking if libsupc++ is missing __terminate_handler... no
checking if GCC supports -fno-exceptions... yes
checking if GCC supports -fno-rtti... yes
checking for wait... yes
checking for waitpid... (cached) yes
checking for wait3... yes
Disabling cgi support...
configure: creating ./config.status
config.status: creating autoconf/variables.mak
config.status: WARNING: 'autoconf/variables.mak.in' seems to ignore the --datarootdir setting
config.status: creating platforms/apccontrol
config.status: creating platforms/etc/changeme
config.status: creating platforms/etc/commfailure
config.status: creating platforms/etc/commok
config.status: creating platforms/etc/offbattery
config.status: creating platforms/etc/onbattery
config.status: creating platforms/etc/apcupsd.conf
config.status: creating examples/safe.apccontrol
config.status: creating platforms/freebsd/apcupsd
config.status: creating platforms/freebsd/apccontrol
config.status: creating include/libusb.h
config.status: creating include/apcconfig.h
Configuration on Wed Jun 24 18:59:29 UTC 2015:
Host: i386-portbld-freebsd9.3 -- freebsd 9.3-RELEASE-p17
Apcupsd version: 3.14.13 (02 February 2015)
Source code location: .
Install binaries: /usr/local/sbin
Install config files: /usr/local/etc/apcupsd
Install man files: /usr/local/man
Nologin file in: /var/run
PID directory: /var/run
LOG dir (events, status) /var/log
LOCK dir (for serial port) /var/spool/lock
Power Fail dir /var/run
Compiler: c++ 4.2.1
Preprocessor flags: -I/usr/local/include -I/usr/local/include -I$(topdir)/src/libusbhid
Compiler flags: -O2 -pipe -fno-strict-aliasing -fno-exceptions -fno-rtti -Wall
Linker: cc
Linker flags: -L/usr/local/lib -pthread
Host and version: freebsd 9.3-RELEASE-p17
Shutdown Program: /sbin/shutdown
Port/Device: /dev/usv
Network Info Port (CGI): 3551
UPSTYPE apcsmart
UPSCABLE smart
drivers (no-* are disabled): apcsmart dumb net generic-usb no-snmp no-net-snmp pcnet modbus no-modbus-usb no-test
enable-nis: yes
with-nisip: 0.0.0.0
enable-cgi: no
with-cgi-bin: /etc/apcupsd
with-libwrap: yes
enable-pthreads: yes
enable-dist-install: no
enable-gapcmon: no
enable-apcagent: no
Configuration complete: Run 'gmake' to build apcuspd.
===========================================================================
=======================<phase: build >============================
===> Building for apcupsd-3.14.13
src
src/lib
CXX src/lib/apcconfig.c
CXX src/lib/apcerror.c
CXX src/lib/apcevents.c
CXX src/lib/apcexec.c
CXX src/lib/apcfile.c
CXX src/lib/apclibnis.c
CXX src/lib/apclock.c
CXX src/lib/apclog.c
CXX src/lib/apcsignal.c
CXX src/lib/apcstatus.c
CXX src/lib/asys.c
CXX src/lib/newups.c
CXX src/lib/md5.c
CXX src/lib/statmgr.cpp
CXX src/lib/gethostname.c
CXX src/lib/amutex.cpp
CXX src/lib/astring.cpp
CXX src/lib/autil.cpp
CXX src/lib/atimer.cpp
CXX src/lib/athread.cpp
CXX src/lib/usbvidpid.cpp
AR src/lib/libapc.a
src/drivers
src/drivers/apcsmart
CXX src/drivers/apcsmart/smartsetup.c
CXX src/drivers/apcsmart/smarteeprom.c
CXX src/drivers/apcsmart/smart.c
CXX src/drivers/apcsmart/smartoper.c
CXX src/drivers/apcsmart/smartsetup2.c
AR src/drivers/apcsmart/libapcsmartdrv.a
src/drivers/dumb
CXX src/drivers/dumb/dumboper.c
CXX src/drivers/dumb/dumbsetup.c
AR src/drivers/dumb/libdumbdrv.a
src/drivers/net
CXX src/drivers/net/net.c
AR src/drivers/net/libnetdrv.a
src/drivers/pcnet
CXX src/drivers/pcnet/pcnet.c
AR src/drivers/pcnet/libpcnetdrv.a
src/drivers/usb
src/drivers/usb/generic
CXX src/drivers/usb/generic/generic-usb.c
CXX src/drivers/usb/usb.c
AR src/drivers/usb/libusbdrv.a
src/drivers/modbus
CXX src/drivers/modbus/mapping.cpp
CXX src/drivers/modbus/modbus.cpp
CXX src/drivers/modbus/ModbusComm.cpp
CXX src/drivers/modbus/ModbusRs232Comm.cpp
AR src/drivers/modbus/libmodbusdrv.a
CXX src/drivers/drivers.c
AR src/drivers/libdrivers.a
src/libusbhid
CXX src/libusbhid/parse.c
CXX src/libusbhid/data.c
CXX src/libusbhid/descr.c
CXX src/libusbhid/HidUps.cpp
AR src/libusbhid/libusbhid.a
CXX src/options.c
CXX src/device.c
CXX src/reports.c
CXX src/action.c
CXX src/apcupsd.c
CXX src/apcnis.c
LD src/apcupsd
/wrkdirs/usr/ports/sysutils/apcupsd/work/apcupsd-3.14.13/src/drivers/modbus/libmodbusdrv.a(ModbusComm.o): In function `ModbusComm::ReadRegister(unsigned short, unsigned int)':
ModbusComm.cpp:(.text+0x5f4): undefined reference to `operator new[](unsigned int)'
/wrkdirs/usr/ports/sysutils/apcupsd/work/apcupsd-3.14.13/src/lib/libapc.a(astring.o): In function `astring::assign(char const*, int)':
astring.cpp:(.text+0x6b): undefined reference to `operator new[](unsigned int)'
/wrkdirs/usr/ports/sysutils/apcupsd/work/apcupsd-3.14.13/src/lib/libapc.a(astring.o): In function `astring::realloc(unsigned int)':
astring.cpp:(.text+0x1ec): undefined reference to `operator new[](unsigned int)'
/wrkdirs/usr/ports/sysutils/apcupsd/work/apcupsd-3.14.13/src/lib/libapc.a(astring.o): In function `astring::vformat(char const*, char*)':
astring.cpp:(.text+0x4a5): undefined reference to `operator new[](unsigned int)'
Makefile:33: recipe for target 'apcupsd' failed
gmake[2]: *** [apcupsd] Error 1
./autoconf/targets.mak:55: recipe for target 'all' failed
gmake[1]: *** [all] Error 2
autoconf/targets.mak:105: recipe for target 'src_DIR' failed
gmake: *** [src_DIR] Error 2
*** [do-build] Error code 1
Stop in /usr/ports/sysutils/apcupsd.
More information about the freebsd-pkg-fallout
mailing list