###
### Wed Jan 28 21:04:46 EST 2004:
### bmake bulk-package for apcupsd-3.8.6nb1
### Current pkg count:  28 installed packages: amanda-2.4.3b3 amanda-client-2.4.3b3 amanda-common-2.4.3b3 amanda-plot-2.4.3b3 amanda-server-2.4.3b3 digest-20021220 gettext-0.11.5nb3 gettext-lib-0.11.5nb2 gettext-m4-0.11.5 gmake-3.80nb2 gnuplot-3.7.3nb1 gtar-1.13.25nb1 gtar-base-1.13.25nb1 gtar-info-1.13.25 jpeg-6bnb1 libiconv-1.9.1nb1 libtool-base-1.4.20010614nb19 patch-2.5.4nb2 pdflib-4.0.3nb2 perl-5.6.1nb10 pkg_install-info-4.5nb2 plotutils-2.4.1nb2 png-1.2.5nb2 readline-4.3pl5 tiff-3.6.1 x11-links-0.19 xpkgwedge-1.9 zlib-1.2.1
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for apcupsd-3.8.6nb1
===> Cleaning for gettext-lib-0.11.5nb2
===> Cleaning for libiconv-1.9.1nb1
===> Cleaning for libtool-base-1.4.20010614nb19
===> Cleaning for patch-2.5.4nb2
===> Cleaning for gettext-0.11.5nb3
===> Cleaning for gettext-m4-0.11.5
===> Cleaning for pkg_install-info-4.5nb2
===> Cleaning for gmake-3.80nb2
BULK> Removing installed packages which are not needed to build apcupsd-3.8.6nb1
BULK> Keeping BULK_PREREQ: xpkgwedge-1.9 (pkgtools/xpkgwedge)
BULK> apcupsd-3.8.6nb1 requires installed package digest-20021220 (pkgtools/digest
pkgtools/rdigest) to build.
BULK> apcupsd-3.8.6nb1 requires installed package patch-2.5.4nb2 (devel/patch) to build.
BULK> apcupsd-3.8.6nb1 requires installed package libtool-base-1.4.20010614nb19 (devel/libtool-base) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r amanda-common-2.4.3b3
pkg_delete: couldn't open dependency file `/var/db/pkg/gtar-1.13.25nb1/+REQUIRED_BY'
pkg_delete: couldn't open dependency file `/var/db/pkg/gtar-1.13.25nb1/+REQUIRED_BY'
===========================================================================
If you won't be using amanda-common-2.4.3b3 any longer, you may want to remove

  * the following users:   backup

  * the following groups:  sysadmin
===========================================================================
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r perl-5.6.1nb10
BULK> apcupsd-3.8.6nb1 requires installed package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) to build.
BULK> apcupsd-3.8.6nb1 requires installed package gmake-3.80nb2 (devel/gmake) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r jpeg-6bnb1
BULK> apcupsd-3.8.6nb1 requires installed package libiconv-1.9.1nb1 (converters/libiconv) to build.
BULK> apcupsd-3.8.6nb1 requires installed package gettext-lib-0.11.5nb2 (devel/gettext-lib) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r zlib-1.2.1
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r readline-4.3pl5
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r x11-links-0.19
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r gtar-base-1.13.25nb1
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r gtar-info-1.13.25
BULK> apcupsd-3.8.6nb1 requires installed package gettext-m4-0.11.5 (devel/gettext-m4) to build.
BULK> apcupsd-3.8.6nb1 requires installed package gettext-0.11.5nb3 (devel/gettext) to build.
BULK> Installing packages which are required to build apcupsd-3.8.6nb1.
BULK> Required package gettext-lib-0.11.5nb2 (devel/gettext-lib) is already installed
BULK> Required package libiconv-1.9.1nb1 (converters/libiconv) is already installed
BULK> Required package libtool-base-1.4.20010614nb19 (devel/libtool-base) is already installed
BULK> Required package patch-2.5.4nb2 (devel/patch) is already installed
BULK> Required package gettext-0.11.5nb3 (devel/gettext) is already installed
BULK> Required package gettext-m4-0.11.5 (devel/gettext-m4) is already installed
BULK> Required package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) is already installed
BULK> Required package gmake-3.80nb2 (devel/gmake) is already installed
BULK> Required package xpkgwedge-1.9 (pkgtools/xpkgwedge) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
bmake package (apcupsd-3.8.6nb1)
===> Checking for vulnerabilities in apcupsd-3.8.6nb1
=> apcupsd-3.8.6.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch apcupsd-3.8.6.tar.gz from http://aleron.dl.sourceforge.net/sourceforge/apcupsd/.
=> [2013820 bytes]
ftp: Error retrieving file - `404 Not Found'
=> Attempting to fetch apcupsd-3.8.6.tar.gz from http://belnet.dl.sourceforge.net/sourceforge/apcupsd/.
=> [2013820 bytes]
ftp: Error retrieving file - `404 Not Found'
=> Attempting to fetch apcupsd-3.8.6.tar.gz from http://cesnet.dl.sourceforge.net/sourceforge/apcupsd/.
=> [2013820 bytes]
ftp: Error retrieving file - `404 Not Found'
=> Attempting to fetch apcupsd-3.8.6.tar.gz from http://easynews.dl.sourceforge.net/sourceforge/apcupsd/.
=> [2013820 bytes]
ftp: Error retrieving file - `404 Not Found'
=> Attempting to fetch apcupsd-3.8.6.tar.gz from http://flow.dl.sourceforge.net/sourceforge/apcupsd/.
=> [2013820 bytes]
ftp: Error retrieving file - `404 Not Found'
=> Attempting to fetch apcupsd-3.8.6.tar.gz from http://heanet.dl.sourceforge.net/sourceforge/apcupsd/.
=> [2013820 bytes]
ftp: Error retrieving file - `404 Not Found'
=> Attempting to fetch apcupsd-3.8.6.tar.gz from http://keihanna.dl.sourceforge.net/sourceforge/apcupsd/.
=> [2013820 bytes]
ftp: Error retrieving file - `404 Not Found'
=> Attempting to fetch apcupsd-3.8.6.tar.gz from http://telia.dl.sourceforge.net/sourceforge/apcupsd/.
=> [2013820 bytes]
ftp: Error retrieving file - `404 Not Found'
=> Attempting to fetch apcupsd-3.8.6.tar.gz from http://twtelecom.dl.sourceforge.net/sourceforge/apcupsd/.
=> [2013820 bytes]
ftp: Error retrieving file - `404 Not Found'
=> Attempting to fetch apcupsd-3.8.6.tar.gz from http://umn.dl.sourceforge.net/sourceforge/apcupsd/.
=> [2013820 bytes]
ftp: Error retrieving file - `404 Not Found'
=> Attempting to fetch apcupsd-3.8.6.tar.gz from http://unc.dl.sourceforge.net/sourceforge/apcupsd/.
=> [2013820 bytes]
ftp: Error retrieving file - `404 Not Found'
=> Attempting to fetch apcupsd-3.8.6.tar.gz from ftp://ftp3.sourceforge.net/pub/sourceforge/apcupsd/.
=> [2013820 bytes]
apcupsd-3.8.6.tar.gz: No such file or directory
=> Attempting to fetch apcupsd-3.8.6.tar.gz from ftp://ftp.tuwien.ac.at/linux/sourceforge/apcupsd/.
=> [2013820 bytes]
ftp: Can't connect or login to host `ftp.tuwien.ac.at'
=> Attempting to fetch apcupsd-3.8.6.tar.gz from ftp://ftp.fi.netbsd.org/pub/NetBSD/packages/distfiles/.
=> [2013820 bytes]
=> Checksum OK for apcupsd-3.8.6.tar.gz.
work.sol9 -> /work/pkgbuild/sysutils/apcupsd/work.sol9
===> Extracting for apcupsd-3.8.6nb1
===> Required installed package gettext-lib>=0.11.5nb1: gettext-lib-0.11.5nb2 found
===> Required installed package libiconv>=1.9.1: libiconv-1.9.1nb1 found
===> Required installed package gettext>=0.10.35nb1: gettext-0.11.5nb3 found
===> Required installed package gmake>=3.78: gmake-3.80nb2 found
===> Patching for apcupsd-3.8.6nb1
===> Applying pkgsrc patches for apcupsd-3.8.6nb1
===> Overriding tools for apcupsd-3.8.6nb1
===> Buildlinking for apcupsd-3.8.6nb1
===> Configuring for apcupsd-3.8.6nb1
creating cache ./config.cache
checking for true... /usr/bin/true
checking for false... /usr/bin/false
checking for gcc... cc
checking whether the C compiler (cc -O -I/usr/pkg/include  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -liconv) works... yes
checking whether the C compiler (cc -O -I/usr/pkg/include  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -liconv) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking whether cc understands -c and -o together... yes
checking for a BSD compatible install... /usr/ucb/install -c -o root -g root
checking for mawk... /usr/bin/nawk
checking for pthreads... enabled
checking for Cygwin environment... no
checking for shutdown... /usr/sbin/shutdown
checking for wall... /usr/sbin/wall
checking for sh... /usr/bin/sh
checking for makedepend... /usr/openwin/bin/makedepend
checking for ranlib... /usr/ccs/bin/ranlib
checking for abort... yes
checking for alarm... yes
checking for fork... yes
checking for calloc... yes
checking for gethostname... 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 syslog... yes
checking for tcgetattr... yes
checking for vfprintf... yes
checking for setpgrp... yes
checking for strftime... yes
checking whether setpgrp takes no argument... yes
checking for shmctl... yes
checking for socket... no
checking for socket in -lxnet... yes
checking for socket in -lsocket... yes
checking for socket in -linet... no
checking for gethostbyname... yes
using libc's resolver
checking for gettext... yes
using libc's gettext
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... no
checking for setproctitle... no
checking for arpa/inet.h... yes
checking for ctype.h... yes
checking for errno.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for pwd.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for sys/ioctl.h... yes
checking for sys/socket.h... yes
checking for sys/types.h... yes
checking for syslog.h... yes
checking for termios.h... yes
checking for unistd.h... yes
checking for sys/ipc.h... yes
checking for sys/sem.h... yes
checking for sys/shm.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 tm_zone in struct tm... no
checking for tzname... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for ANSI C header files... yes
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 whether byte ordering is bigendian... yes
checking for working const... yes
checking for inline... inline
checking whether char is unsigned... no
checking for preprocessor stringizing operator... yes
checking for mingw32 environment... no
checking for executable suffix... no
checking whether #! works in shell scripts... yes
checking for msgfmt... /usr/pkg/bin/msgfmt
checking whether /usr/pkg/bin/gmake sets ${MAKE}... yes
checking for ranlib... /usr/ccs/bin/ranlib
checking for POSIXized ISC... no
checking for working alloca.h... yes
checking for alloca... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... no
checking for limits.h... (cached) yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... no
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... no
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... yes
checking for msgfmt... (cached) /usr/pkg/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/pkg/bin/msgfmt
checking for xgettext... /usr/pkg/bin/xgettext
checking for catalogs to be installed...  it
checking for wait... yes
checking for waitpid... yes
checking for wait3... yes
checking for union wait... no
Disabling internal libintl...
Enabling internationalization support...
Disabling cgi support...
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating distributions/Makefile
creating etc/changeme
creating etc/commfailure
creating etc/commok
creating etc/mainsback
creating etc/onbattery
creating etc/Makefile
creating etc/apcupsd.conf
creating examples/safe.apccontrol
creating distributions/sun/Makefile
creating distributions/sun/apcupsd
creating distributions/sun/rc0.solaris
creating distributions/sun/apccontrol.sh
creating po/Makefile
creating config.h
You can ignore any makedepend error messages
(cd lib; make depend)
make[1]: Entering directory `/work/pkgbuild/sysutils/apcupsd/work.sol9/apcupsd-3.8.6/lib'
make[1]: Leaving directory `/work/pkgbuild/sysutils/apcupsd/work.sol9/apcupsd-3.8.6/lib'


Configuration:

  Apcupsd version:	      3.8.6 (5 February 2003)
  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)    /usr/pkg/etc/apcupsd
  LOCK dir (for serial port)  /var/spool/lock
  Power Fail dir	      /etc
  Compiler:		      cc
  Compiler flags:	      -O -I/usr/pkg/include 
  Loader flags: 	       -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -liconv -lpthread
  Host and version:	      sun Solaris
  Shutdown Program:	      /usr/sbin/shutdown
  Serial device 	      /dev/tty01
  Network Info Port (CGI)     7000
  Master/slave Port	      6666
  UPSTYPE		      smartups
  UPSCABLE		      smart

  enable-cgi:		      no
  with-cgi-bin: 	      /etc/apcupsd
  with-css-dir: 	      
  with-libwrap: 	      no
  enable-nls:		      yes
  enable-libintl:	      no
  enable-powerflute:	      no
  enable-pthreads:	      yes
  enable-dist-install:	      yes
  
===> Building for apcupsd-3.8.6nb1
(internal libintl disabled)
cc -DHAVE_CONFIG_H  -c -I. -I./include  -O -I/usr/pkg/include    apcupsd.c
cc -DHAVE_CONFIG_H  -c -I. -I./include  -O -I/usr/pkg/include    apcnet.c
cc -DHAVE_CONFIG_H  -c -I. -I./include  -O -I/usr/pkg/include    apcsetup.c
cc -DHAVE_CONFIG_H  -c -I. -I./include  -O -I/usr/pkg/include    apcreports.c
cc -DHAVE_CONFIG_H  -c -I. -I./include  -O -I/usr/pkg/include    apcsmart.c
cc -DHAVE_CONFIG_H  -c -I. -I./include  -O -I/usr/pkg/include    apcserial.c
cc -DHAVE_CONFIG_H  -c -I. -I./include  -O -I/usr/pkg/include    apcaction.c
cc -DHAVE_CONFIG_H  -c -I. -I./include  -O -I/usr/pkg/include    apcoptd.c
cc -DHAVE_CONFIG_H  -c -I. -I./include  -O -I/usr/pkg/include    apcnis.c
(cd lib; /usr/pkg/bin/gmake)
gmake[1]: Entering directory `/work/pkgbuild/sysutils/apcupsd/work.sol9/apcupsd-3.8.6/lib'
cc -c -O -I/usr/pkg/include    -I../ -I.. -I../include getopt.c
cc -c -O -I/usr/pkg/include    -I../ -I.. -I../include getopt1.c
cc -c -O -I/usr/pkg/include    -I../ -I.. -I../include proctitle.c
cc -c -O -I/usr/pkg/include    -I../ -I.. -I../include apcconfig.c
cc -c -O -I/usr/pkg/include    -I../ -I.. -I../include apcerror.c
cc -c -O -I/usr/pkg/include    -I../ -I.. -I../include apcevents.c
cc -c -O -I/usr/pkg/include    -I../ -I.. -I../include apcexec.c
"apcexec.c", line 86: warning: implicit function declaration: thr_setconcurrency
cc -c -O -I/usr/pkg/include    -I../ -I.. -I../include apcfile.c
cc -c -O -I/usr/pkg/include    -I../ -I.. -I../include apcipc.c
cc -c -O -I/usr/pkg/include    -I../ -I.. -I../include apclibnis.c
cc -c -O -I/usr/pkg/include    -I../ -I.. -I../include apclist.c
cc -c -O -I/usr/pkg/include    -I../ -I.. -I../include apclock.c
cc -c -O -I/usr/pkg/include    -I../ -I.. -I../include apclog.c
"apclog.c", line 97: warning: implicit function declaration: localtime_r
cc -c -O -I/usr/pkg/include    -I../ -I.. -I../include apcsignal.c
cc -c -O -I/usr/pkg/include    -I../ -I.. -I../include apcstatus.c
"apcstatus.c", line 83: warning: implicit function declaration: localtime_r
cc -c -O -I/usr/pkg/include    -I../ -I.. -I../include apcwinipc.c
ar rc libapc.a getopt.o getopt1.o proctitle.o apcconfig.o apcerror.o apcevents.o apcexec.o apcfile.o apcipc.o apclibnis.o apclist.o apclock.o apclog.o apcsignal.o apcstatus.o apcwinipc.o
/usr/ccs/bin/ranlib libapc.a
gmake[1]: Leaving directory `/work/pkgbuild/sysutils/apcupsd/work.sol9/apcupsd-3.8.6/lib'
gmake: *** No rule to make target `-L/usr/pkg/lib', needed by `apcupsd'.  Stop.
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/sysutils/apcupsd
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/sysutils/apcupsd
BULK> apcupsd-3.8.6nb1 was marked as broken:
-rw-r--r--   1 root     other      16872 Jan 28 21:11 .broken.html
bmake deinstall
===> Deinstalling for apcupsd
BULK> Marking all packages which depend upon apcupsd-3.8.6nb1 as broken:
BULK> Build for apcupsd-3.8.6nb1 was not successful, aborting.