=> Bootstrap dependency digest>=20010302: found digest-20080510 WARNING: [license.mk] Every package should define a LICENSE. => Checksum SHA1 OK for apcupsd-3.14.3.tar.gz => Checksum RMD160 OK for apcupsd-3.14.3.tar.gz ===> Installing dependencies for apcupsd-3.14.3nb1 ========================================================================== The supported build options for apcupsd are: cgi snmp The currently selected options are: cgi snmp You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.apcupsd (not defined) ========================================================================== => Build dependency makedepend-[0-9]*: found makedepend-1.0.1 => Build dependency {gettext-tools>=0.14.5,gettext>=0.10.36<0.14.5}: found gettext-tools-0.14.6nb1 => Build dependency pax>=20040802: found pax-20080110 => Build dependency checkperms>=1.1: found checkperms-1.10 => Full dependency net-snmp>=5.2.1.2: found net-snmp-5.4.2.1nb2 => Full dependency gettext-lib>=0.14.5: found gettext-lib-0.14.6 ===> Overriding tools for apcupsd-3.14.3nb1 ===> Extracting for apcupsd-3.14.3nb1 ===> Patching for apcupsd-3.14.3nb1 => Applying pkgsrc patches for apcupsd-3.14.3nb1 ===> Creating toolchain wrappers for apcupsd-3.14.3nb1 ===> Configuring for apcupsd-3.14.3nb1 => Fixing conflicting STRIP variable name => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Checking for portability problems in extracted files configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for true... /scratch/sysutils/apcupsd/work/.tools/bin/true checking for false... /scratch/sysutils/apcupsd/work/.tools/bin/false checking build system type... i386-unknown-dragonfly2.3 checking host system type... i386-pc-dragonfly checking for i386-pc-dragonfly-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 ANSI C... none needed checking how to run the C preprocessor... cc -E checking for i386-pc-dragonfly-g++... c++ checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking whether cc understands -c and -o together... yes checking for egrep... grep -E checking whether cc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for gawk... /usr/bin/awk checking for library containing strerror... none required checking for pthreads... checking for shutdown... /sbin/shutdown checking for mail... /usr/bin/mail checking for wall... /usr/bin/wall checking for sh... /bin/sh checking for gmake... (cached) /usr/pkg/bin/bmake checking for makedepend... /scratch/sysutils/apcupsd/work/.tools/bin/makedepend checking for ranlib... /usr/bin/ranlib checking for libtool... no checking for etags... no checking for etags... no checking for rm... /bin/rm checking for cp... /bin/cp checking for echo... (cached) echo checking for ln... /bin/ln checking for sed... /usr/bin/sed checking for ar... /usr/bin/ar checking for mv... /bin/mv checking for abort... yes checking for fork... yes checking for calloc... yes checking for getpid... yes checking for ioctl... yes checking for kill... yes checking for rewind... yes checking for select... yes checking for setsid... yes checking for signal... yes checking for strerror... yes checking for strncmp... yes checking for strncpy... yes checking for tcgetattr... yes checking for vfprintf... yes checking for setpgrp... yes checking for snprintf... yes checking for vsnprintf... yes checking for library containing nanosleep... none required checking for syslog... yes checking for strftime... yes checking whether setpgrp takes no argument... no checking for socket... yes using libc's socket checking for gethostname... yes using libc's gethostname checking for socklen_t... yes checking for gethostbyname... yes using libc's resolver checking for gettext... no checking for gettext in -lintl... yes checking for inet_addr... yes using libc's inet_addr checking for strchr... yes using libc's strchr checking for strstr... yes checking for strcasecmp... yes checking for memmove... yes checking for getopt_long... yes checking for inet_pton... yes checking for localtime_r... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... 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 arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... 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... 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... yes checking type of array argument to getgroups... gid_t checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking return type of signal handlers... void checking for size_t... yes checking for uid_t in sys/types.h... (cached) yes checking for socklen_t... yes checking for int32_t... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for preprocessor stringizing operator... yes checking for X... no checking whether #! works in shell scripts... yes Will not install HAL policy file checking for gdImagePng in -lgd... no checking for gdImageGif in -lgd... no checking for gdImagePng in -lgd... no checking for gdImageGif in -lgd... no using GIF file format (local copy of libgd). Using BSD USB driver. checking for EVP_DigestInit in -lcrypto... yes including crypto library for snmp. checking for snmp_open in -lnetsnmp... yes checking if libsupc++ is required... yes checking if GCC supports -fno-exceptions... yes checking if GCC supports -fno-rtti... yes checking for msgfmt... /scratch/sysutils/apcupsd/work/.tools/bin/msgfmt checking whether /usr/pkg/bin/bmake sets $(MAKE)... yes checking for i386-pc-dragonfly-ranlib... /usr/bin/ranlib checking for working alloca.h... no checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking argz.h usability... no checking argz.h presence... no checking for argz.h... no checking for limits.h... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... (cached) yes checking for strcasecmp... (cached) yes checking for strdup... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for stpcpy... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for gettext in libc... yes checking for msgfmt... (cached) /scratch/sysutils/apcupsd/work/.tools/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /scratch/sysutils/apcupsd/work/.tools/bin/msgfmt checking for xgettext... /usr/pkg/bin/xgettext checking for catalogs to be installed... fr it et_EE checking for wait... yes checking for waitpid... yes checking for wait3... yes checking for union wait... yes Disabling internal libintl... Enabling internationalization support... checking for snprintf... (cached) yes Enabling cgi program support... configure: creating ./config.status config.status: creating autoconf/variables.mak config.status: creating autoconf/Makefile config.status: creating doc/Makefile config.status: creating include/Makefile config.status: creating src/Makefile config.status: creating src/lib/Makefile config.status: creating src/drivers/Makefile config.status: creating src/win32/Makefile config.status: creating platforms/Makefile 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/Makefile config.status: creating platforms/etc/apcupsd.conf config.status: creating examples/Makefile config.status: creating examples/safe.apccontrol config.status: creating Makefile config.status: creating platforms/netbsd/Makefile config.status: creating platforms/netbsd/apcupsd config.status: creating platforms/netbsd/apccontrol config.status: creating src/drivers/apcsmart/Makefile config.status: creating src/drivers/dumb/Makefile config.status: creating src/drivers/usb/Makefile config.status: creating src/drivers/usb/bsd/Makefile config.status: creating src/libusbhid/Makefile config.status: creating src/drivers/net/Makefile config.status: creating src/drivers/snmp/Makefile config.status: creating src/drivers/pcnet/Makefile config.status: creating src/po/Makefile config.status: creating src/cgi/Makefile config.status: creating src/cgi/cgiconfig.h config.status: creating src/gd1.2/Makefile config.status: creating include/config.h config.status: executing default-1 commands config.status: executing default commands Doing make of dependencies Nothing to do for depend. bmake: don't know how to make depend. Stop bmake: stopped in /scratch/sysutils/apcupsd/work/apcupsd-3.14.3/src/gd1.2 Nothing to do for depend. Nothing to do for depend. Nothing to do for depend. Nothing to do for depend. Nothing to do for depend. Nothing to do for depend. (cd examples; /usr/pkg/bin/bmake clean) /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig client readfifo megaclient newslave upsapm /bin/rm -f core core.* 1 2 3 *.o /bin/rm -f client readfifo megaclient newslave upsapm hid-ups hid-set /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *_stamp /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.pox apcupsd.po *.old.po cat-id-tbl.tmp rm -f *.o *.a gddemo giftogd webgif /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig upsstats.cgi upsfstats.cgi upsimage.cgi multimon.cgi /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig apcupsd apctest apcaccess /bin/rm -f devicedbg /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig /bin/rm -f *.o *.lo *.a core core.* .*~ *~ *.bak /bin/rm -f *.exe *.res *.cgi /bin/rm -f 1 2 3 4 ID TAGS *.orig find . -type f -size 0 -exec /bin/rm -f {} \; Configuration on Fri May 8 02:29:24 UTC 2009: Host: i386-pc-dragonfly -- netbsd 2.3-DEVELOPMENT Apcupsd version: 3.14.3 (20 January 2008) Source code location: . Install binaries: /usr/pkg/sbin Install config files: /usr/pkg/etc/apcupsd Install man files: /usr/pkg/man Nologin file in: /etc PID directory: /var/run LOG dir (events, status) /var/db/apcupsd.events LOCK dir (for serial port) /var/spool/lock Power Fail dir /usr/pkg/etc/apcupsd Compiler: c++ 4.1.2 Compiler flags: -O2 -I/usr/pkg/include -I/usr/include -Wall Linker: cc Linker flags: -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/local/lib -pthread Host and version: netbsd 2.3-DEVELOPMENT Shutdown Program: /sbin/shutdown Port/Device: /dev/tty01 Network Info Port (CGI): 3551 UPSTYPE apcsmart UPSCABLE smart drivers (no-* are disabled): apcsmart dumb net bsd-usb net-snmp pcnet no-test enable-nis: yes with-nisip: 0.0.0.0 enable-cgi: yes with-cgi-bin: /usr/pkg/libexec/cgi-bin with-libwrap: enable-nls: yes enable-libintl: no enable-powerflute: no enable-pthreads: yes enable-dist-install: yes enable-gapcmon: no