###
### Thu Jul 28 18:14:18 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for pgpool-2.5
### Current pkg count:  8 installed packages: digest-20050323 gettext-lib-0.11.5nb4 gmake-3.80nb4 libiconv-1.9.2nb1 libtool-base-1.5.18nb3 pear-DB-1.7.6 php-4.3.11 pkg_install-info-4.5nb3
###
BULK> Full rebuild in progress...
BULK> Cleaning package pgpool-2.5 and pre-requisite packages
===> Cleaning for pgpool-2.5
BULK> Removing installed packages which are not needed to build pgpool-2.5
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r php-4.3.11
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libiconv-1.9.2nb1
Executing `/usr/bin/rm -f /usr/pkg/lib/charset.alias'
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r pkg_install-info-4.5nb3
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libtool-base-1.5.18nb3
BULK> Installing packages which are required to build pgpool-2.5.
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (pgpool-2.5)
===> Checking for vulnerabilities in pgpool-2.5
=> Checksum SHA1 OK for pgpool-2.5.tar.gz.
=> Checksum RMD160 OK for pgpool-2.5.tar.gz.
work -> /pkgobj/databases/pgpool/work
===> Extracting for pgpool-2.5
===> Patching for pgpool-2.5
===> Applying pkgsrc patches for pgpool-2.5
===> Overriding tools for pgpool-2.5
===> Creating toolchain wrappers for pgpool-2.5
===> Configuring for pgpool-2.5
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 sparc-sun-solaris2-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... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/ucb/install -c -o root -g root
checking whether build environment is sane... yes
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of cc... none
checking for flex... no
checking for lex... lex
checking for yywrap in -lfl... no
checking for yywrap in -ll... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... no
checking for main in -lm... yes
checking for main in -lnsl... yes
checking for main in -lsocket... yes
checking for main in -lipc... no
checking for main in -lIPC... no
checking for main in -llc... no
checking for main in -lcompat... no
checking for main in -lBSD... no
checking for main in -lgen... yes
checking for main in -lPW... no
checking for main in -lresolv... yes
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... 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... no
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking getopt.h usability... no
checking getopt.h presence... no
checking for getopt.h... no
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... yes
checking for wait3 that fills in rusage... no
checking for setsid... yes
checking for select... yes
checking for socket... yes
checking for sigprocmask... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
===> Building for pgpool-2.5
cd . && /bin/ksh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/usr/pkg/bin/bmake  all-am
 /bin/ksh ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
source='main.c' object='main.o' libtool=no  DEPDIR=.deps depmode=none /bin/ksh ./depcomp  cc -DHAVE_CONFIG_H  -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc\" -I. -I. -I.  -Wall -Wmissing-prototypes -Wmissing-declarations    -O -c main.c
"main.c", line 317: warning: statement not reached
source='child.c' object='child.o' libtool=no  DEPDIR=.deps depmode=none /bin/ksh ./depcomp  cc -DHAVE_CONFIG_H  -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc\" -I. -I. -I.  -Wall -Wmissing-prototypes -Wmissing-declarations    -O -c child.c
"child.c", line 353: warning: statement not reached
source='pool_auth.c' object='pool_auth.o' libtool=no  DEPDIR=.deps depmode=none /bin/ksh ./depcomp  cc -DHAVE_CONFIG_H  -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc\" -I. -I. -I.  -Wall -Wmissing-prototypes -Wmissing-declarations    -O -c pool_auth.c
source='pool_config.c' object='pool_config.o' libtool=no  DEPDIR=.deps depmode=none /bin/ksh ./depcomp  cc -DHAVE_CONFIG_H  -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc\" -I. -I. -I.  -Wall -Wmissing-prototypes -Wmissing-declarations    -O -c pool_config.c
"pool_config.c", line 1527: warning: implicit function declaration: exit
"pool_config.c", line 1590: warning: implicit function declaration: malloc
"pool_config.c", line 1608: warning: implicit function declaration: realloc
"pool_config.c", line 1618: warning: implicit function declaration: free
"pool_config.l", line 214: warning: implicit function declaration: atoi
"pool_config.l", line 436: warning: implicit function declaration: atof
"pool_config.l", line 626: warning: implicit function declaration: strsep
"pool_config.l", line 626: warning: improper pointer/integer combination: op "="
source='pool_error.c' object='pool_error.o' libtool=no  DEPDIR=.deps depmode=none /bin/ksh ./depcomp  cc -DHAVE_CONFIG_H  -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc\" -I. -I. -I.  -Wall -Wmissing-prototypes -Wmissing-declarations    -O -c pool_error.c
source='pool_process_query.c' object='pool_process_query.o' libtool=no  DEPDIR=.deps depmode=none /bin/ksh ./depcomp  cc -DHAVE_CONFIG_H  -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc\" -I. -I. -I.  -Wall -Wmissing-prototypes -Wmissing-declarations    -O -c pool_process_query.c
"pool_process_query.c", line 481: warning: statement not reached
"pool_process_query.c", line 1538: warning: initializer does not fit or is out of range: 255
"pool_process_query.c", line 1538: warning: initializer does not fit or is out of range: 255
source='pool_stream.c' object='pool_stream.o' libtool=no  DEPDIR=.deps depmode=none /bin/ksh ./depcomp  cc -DHAVE_CONFIG_H  -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc\" -I. -I. -I.  -Wall -Wmissing-prototypes -Wmissing-declarations    -O -c pool_stream.c
"pool_stream.c", line 115: warning: pointer to void or function used in arithmetic
"pool_stream.c", line 181: warning: pointer to void or function used in arithmetic
source='pool_connection_pool.c' object='pool_connection_pool.o' libtool=no  DEPDIR=.deps depmode=none /bin/ksh ./depcomp  cc -DHAVE_CONFIG_H  -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc\" -I. -I. -I.  -Wall -Wmissing-prototypes -Wmissing-declarations    -O -c pool_connection_pool.c
source='pool_params.c' object='pool_params.o' libtool=no  DEPDIR=.deps depmode=none /bin/ksh ./depcomp  cc -DHAVE_CONFIG_H  -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc\" -I. -I. -I.  -Wall -Wmissing-prototypes -Wmissing-declarations    -O -c pool_params.c
source='pool_signal.c' object='pool_signal.o' libtool=no  DEPDIR=.deps depmode=none /bin/ksh ./depcomp  cc -DHAVE_CONFIG_H  -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc\" -I. -I. -I.  -Wall -Wmissing-prototypes -Wmissing-declarations    -O -c pool_signal.c
cc  -O  -Wl,-R/usr/pkg/lib -o pgpool  main.o child.o pool_auth.o  pool_config.o pool_error.o  pool_process_query.o pool_stream.o  pool_connection_pool.o pool_params.o  pool_signal.o  -lresolv -lgen -lsocket -lnsl -lm
Undefined			first referenced
 symbol  			    in file
strsep                              pool_config.o
ld: fatal: Symbol referencing errors. No output written to pgpool
*** Error code 1

Stop.
bmake: stopped in /pkgobj/databases/pgpool/work/pgpool-2.5
*** Error code 1

Stop.
bmake: stopped in /pkgobj/databases/pgpool/work/pgpool-2.5
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/databases/pgpool
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /pkgobj/databases/pgpool/work/.work.log
===> 
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/databases/pgpool

Please view the work log for pgpool-2.5


BULK> pgpool-2.5 was marked as broken:
-rw-r--r--   1 root     other       9627 Jul 28 18:15 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for pgpool
BULK> Marking all packages which depend upon pgpool-2.5 as broken:
BULK> Build for pgpool-2.5 was not successful, aborting.