FreeBSD Bugzilla – Attachment 157699 Details for
Bug 200831
[PATCH] sysutils/apcupsd: unbreak build for 9.3-RELEASE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
poudriere build log showing failure to build under 9.3-RELEASE
current-apcupsd-3.14.13.log (text/plain), 20.44 KB, created by
Craig Leres
on 2015-06-13 00:31:14 UTC
(
hide
)
Description:
poudriere build log showing failure to build under 9.3-RELEASE
Filename:
MIME Type:
Creator:
Craig Leres
Created:
2015-06-13 00:31:14 UTC
Size:
20.44 KB
patch
obsolete
>build started at Fri Jun 12 17:18:00 PDT 2015 >port directory: /usr/ports/sysutils/apcupsd >building for: FreeBSD fun.ee.lbl.gov 9.3-RELEASE-p15 FreeBSD 9.3-RELEASE-p15 amd64 >maintained by: itetcu@FreeBSD.org >Makefile ident: $FreeBSD: head/sysutils/apcupsd/Makefile 388569 2015-06-05 05:20:18Z bapt $ >Poudriere version: 3.1.7 >Host OSVERSION: 903000 >Jail OSVERSION: 903000 > >---Begin Environment--- >PKGREPOSITORY=/tmp/pkgs >PACKAGES=/tmp/pkgs >OSVERSION=903000 >UNAME_v=FreeBSD 9.3-RELEASE-p15 >UNAME_r=9.3-RELEASE-p15 >BLOCKSIZE=K >MAIL=/var/mail/root >STATUS=1 >SAVED_TERM=xterm >NO_WARNING_PKG_INSTALL_EOL=yes >MASTERMNT=/usr/local/poudriere/data/.m/93amd64-default/ref >FORCE_PACKAGE=yes >PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin >POUDRIERE_BUILD_TYPE=bulk >OLDPWD=/home/fun/u2/src/FreeBSD-current/ports/security/nmap >PWD=/ >MASTERNAME=93amd64-default >SCRIPTPREFIX=/usr/local/share/poudriere >USER=root >HOME=/root >POUDRIERE_VERSION=3.1.7 >SCRIPTPATH=/usr/local/share/poudriere/testport.sh >TRYBROKEN=yes >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 -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -fstack-protector" LIBS="-L/usr/local/lib" 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-- >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--- >USE_PACKAGE_DEPENDS=yes >BATCH=yes >WRKDIRPREFIX=/wrkdirs >PORTSDIR=/usr/ports >PACKAGES=/packages >DISTDIR=/distfiles >---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 >[fun.ee.lbl.gov] Installing pkg-1.5.4... >[fun.ee.lbl.gov] 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 >=========================================================================== >=======================<phase: fetch-depends >============================ >=========================================================================== >=======================<phase: fetch >============================ >===> License GPLv2 accepted by the user >===> apcupsd-3.14.13 depends on file: /usr/local/sbin/pkg - found >===> Fetching all distfiles required by apcupsd-3.14.13 for building >=========================================================================== >=======================<phase: checksum >============================ >===> License GPLv2 accepted by the user >===> apcupsd-3.14.13 depends on file: /usr/local/sbin/pkg - found >===> Fetching all distfiles required by apcupsd-3.14.13 for building >=> SHA256 Checksum OK for apcupsd-3.14.13.tar.gz. >=========================================================================== >=======================<phase: extract-depends>============================ >=========================================================================== >=======================<phase: extract >============================ >===> License GPLv2 accepted by the user >===> apcupsd-3.14.13 depends on file: /usr/local/sbin/pkg - found >===> Fetching all distfiles required by apcupsd-3.14.13 for building >===> Extracting for apcupsd-3.14.13 >=> SHA256 Checksum OK for apcupsd-3.14.13.tar.gz. >=========================================================================== >=======================<phase: patch-depends >============================ >=========================================================================== >=======================<phase: patch >============================ >===> Patching for apcupsd-3.14.13 >=========================================================================== >=======================<phase: build-depends >============================ >===> apcupsd-3.14.13 depends on executable: gmake - not found >===> Verifying install for gmake in /usr/ports/devel/gmake >===> Installing existing package /packages/All/gmake-4.1_2.txz >[fun.ee.lbl.gov] Installing gmake-4.1_2... >[fun.ee.lbl.gov] `-- Installing gettext-runtime-0.19.4... >[fun.ee.lbl.gov] | `-- Installing indexinfo-0.2.3... >[fun.ee.lbl.gov] | `-- Extracting indexinfo-0.2.3: .... done >[fun.ee.lbl.gov] | `-- Installing libiconv-1.14_8... >[fun.ee.lbl.gov] | `-- Extracting libiconv-1.14_8: .......... done >[fun.ee.lbl.gov] `-- Extracting gettext-runtime-0.19.4: .......... done >[fun.ee.lbl.gov] Extracting gmake-4.1_2: .......... done >===> Returning to build of apcupsd-3.14.13 >=========================================================================== >=======================<phase: lib-depends >============================ >=========================================================================== >====>> Recording filesystem state for prebuild... done >=======================<phase: configure >============================ >===> apcupsd-3.14.13 depends on executable: gmake - found >===> Configuring for apcupsd-3.14.13 >configure: loading site script /usr/ports/Templates/config.site >checking for true... /usr/bin/true >checking for false... /usr/bin/false >checking build system type... amd64-portbld-freebsd9.3 >checking host system type... amd64-portbld-freebsd9.3 >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 c++ accepts -g... yes >checking for gcc... cc >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 how to run the C preprocessor... cpp >checking for a BSD-compatible install... /usr/bin/install -c >checking for gawk... (cached) /usr/bin/awk >checking for library containing strerror... none required >checking for shutdown... (cached) /sbin/shutdown >checking for mail... /usr/bin/mail >checking for wall... /usr/bin/wall >checking for sh... /bin/sh >checking for GNU make... gmake >checking for ranlib... ranlib >checking for rm... /bin/rm >checking for cp... /bin/cp >checking for echo... /bin/echo >checking for ln... /bin/ln >checking for sed... (cached) /usr/bin/sed >checking for ar... ar >checking for mv... /bin/mv >checking for windres... no >checking for strip... strip >checking for rst2html... no >checking for rst2html.py... no >checking for rst2pdf... no >checking for abort... yes >checking for calloc... yes >checking for getpid... (cached) yes >checking for rewind... yes >checking for signal... yes >checking for strerror... (cached) yes >checking for strncmp... yes >checking for strncpy... yes >checking for vfprintf... yes >checking for snprintf... (cached) yes >checking for vsnprintf... (cached) yes >checking for strlcpy... (cached) yes >checking for strlcat... (cached) yes >checking for fork... (cached) yes >checking for ioctl... yes >checking for kill... yes >checking for select... (cached) yes >checking for setsid... (cached) yes >checking for tcgetattr... yes >checking for syslog... yes >checking for library containing nanosleep... none required >checking for strftime... (cached) yes >checking for library containing socket... none required >checking for library containing gethostname... none required >checking for library containing gethostbyname... none required >checking for library containing gethostbyname_r... none required >checking for library containing inet_addr... none required >checking for strchr... yes >using libc's strchr >checking for strstr... yes >checking for strcasecmp... (cached) yes >checking for memmove... (cached) yes >checking for getopt_long... yes >checking for inet_pton... yes >checking for localtime_r... yes >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 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 Sat Jun 13 00:18:06 UTC 2015: > > Host: amd64-portbld-freebsd9.3 -- freebsd 9.3-RELEASE-p15 > 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 -fstack-protector -fno-strict-aliasing -fno-exceptions -fno-rtti -Wall > Linker: cc > Linker flags: -fstack-protector -L/usr/local/lib -pthread > Host and version: freebsd 9.3-RELEASE-p15 > 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 > doc > src/drivers > MAN apcupsd.8 -> apcupsd.man.txt > src/libusbhid > src/lib > MAN apcaccess.8 -> apcaccess.man.txt > MAN apctest.8 -> apctest.man.txt > MAN apccontrol.8 -> apccontrol.man.txt > MAN apcupsd.conf.5 -> apcupsd.conf.man.txt > src/drivers/dumb > src/drivers/apcsmart > src/drivers/net > src/drivers/pcnet > src/drivers/usb > src/drivers/modbus > CXX src/libusbhid/parse.c > CXX src/libusbhid/data.c > src/drivers/usb/generic > CXX src/libusbhid/descr.c > CXX src/libusbhid/HidUps.cpp > CXX src/drivers/dumb/dumboper.c > CXX src/drivers/pcnet/pcnet.c > CXX src/drivers/net/net.c > CXX src/drivers/dumb/dumbsetup.c > CXX src/drivers/apcsmart/smartsetup.c > CXX src/lib/apcconfig.c > CXX src/drivers/apcsmart/smarteeprom.c > CXX src/drivers/modbus/mapping.cpp > CXX src/lib/apcerror.c > CXX src/drivers/apcsmart/smart.c > CXX src/drivers/modbus/modbus.cpp > CXX src/lib/apcevents.c > CXX src/drivers/modbus/ModbusComm.cpp > CXX src/drivers/apcsmart/smartoper.c > CXX src/drivers/usb/generic/generic-usb.c > CXX src/drivers/apcsmart/smartsetup2.c > CXX src/drivers/modbus/ModbusRs232Comm.cpp > 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 > AR src/drivers/dumb/libdumbdrv.a > 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/libusbhid/libusbhid.a > CXX src/drivers/usb/usb.c > AR src/drivers/net/libnetdrv.a > AR src/drivers/apcsmart/libapcsmartdrv.a > AR src/drivers/pcnet/libpcnetdrv.a > AR src/drivers/modbus/libmodbusdrv.a > AR src/lib/libapc.a > AR src/drivers/usb/libusbdrv.a > CXX src/drivers/drivers.c > AR src/drivers/libdrivers.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 > CXX src/apcaccess.c > CXX src/apctest.c > CXX src/smtp.c > LD src/apcaccess > LD src/apcupsd > LD src/smtp >/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+0x5f9): undefined reference to `operator new[](unsigned long)' >/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+0x6c): undefined reference to `operator new[](unsigned long)' >/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+0x1de): undefined reference to `operator new[](unsigned long)' >/wrkdirs/usr/ports/sysutils/apcupsd/work/apcupsd-3.14.13/src/lib/libapc.a(astring.o): In function `astring::vformat(char const*, __va_list_tag*)': >astring.cpp:(.text+0x48e): undefined reference to `operator new[](unsigned long)' >Makefile:33: recipe for target 'apcupsd' failed >gmake[2]: *** [apcupsd] Error 1 >gmake[2]: *** Waiting for unfinished jobs.... >../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 >===> Compilation failed unexpectedly. >Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to >the maintainer. >*** [do-build] Error code 1 > >Stop in /usr/ports/sysutils/apcupsd. >build of sysutils/apcupsd ended at Fri Jun 12 17:18:11 PDT 2015 >build time: 00:00:11 >!!! build failure encountered !!!
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 200831
: 157699 |
157700
|
157701
|
157740