###
### Sun Jul 4 20:49:33 CEST 2004:
### /usr/pkg/bin/bmake bulk-package for eggdrop-1.6.15nb2
### Current pkg count:  3 installed packages: digest-20021220 patch-2.5.4nb2 perl-5.8.4
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for eggdrop-1.6.15nb2
===> Cleaning for tcl-8.4.6nb4
===> Cleaning for libtool-base-1.5.6nb1
===> Cleaning for patch-2.5.4nb2
BULK> Removing installed packages which are not needed to build eggdrop-1.6.15nb2
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r perl-5.8.4
BULK> eggdrop-1.6.15nb2 requires installed package patch-2.5.4nb2 (devel/patch) to build.
BULK> Installing packages which are required to build eggdrop-1.6.15nb2.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/All/tcl-8.4.6nb4.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/All/libtool-base-1.5.6nb1.tgz
BULK> Required package patch-2.5.4nb2 (devel/patch) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (eggdrop-1.6.15nb2)
===> Checking for vulnerabilities in eggdrop-1.6.15nb2
=> eggdrop1.6.15.tar.bz2 doesn't seem to exist on this system.
=> Attempting to fetch eggdrop1.6.15.tar.bz2 from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/.
=> [760615 bytes]
=> Checksum OK for eggdrop1.6.15.tar.bz2.
work -> /pkgbuild/chat/eggdrop/work
===> Extracting for eggdrop-1.6.15nb2
===> Required installed package tcl>=8.4.6nb1: tcl-8.4.6nb4 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
==========================================================================
The following variables will affect the build process of this package,
eggdrop-1.6.15nb2.  Their current value is shown below:

        * USE_INET6 = YES

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
===> Patching for eggdrop-1.6.15nb2
===> Applying pkgsrc patches for eggdrop-1.6.15nb2
cd /pkgbuild/chat/eggdrop/work/eggdrop1.6.15 && /usr/pkg/bin/nbsed -e 's,modules/,/usr/pkg/lib/eggdrop/,'  < eggdrop.conf > eggdrop.conf.dist.new
===> Overriding tools for eggdrop-1.6.15nb2
===> Buildlinking for eggdrop-1.6.15nb2
===> Configuring for eggdrop-1.6.15nb2
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.

This is Eggdrop's GNU configure script.
It's going to run a bunch of strange tests to hopefully
make your compile work without much twiddling.

checking for sparc-sun-solaris2-gcc... cc
checking for C compiler default output... 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 how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for AIX... no
checking for library containing strerror... none required
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... no
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether bmake sets ${MAKE}... yes
checking for sparc-sun-solaris2-ranlib... no
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/ucb/install -c -o root -g root
checking whether ln -s works... yes
checking for strip... strip
checking for gawk... /usr/bin/nawk
checking for basename... basename
checking for uname... uname
checking system type... SunOS
checking system release... 5.9
checking for socket in -lsocket... yes
checking for connect in -lnsl... yes
checking for gethostbyname in -ldns... no
checking for dlopen in -ldl... yes
checking for tan in -lm... yes
checking for pthread_mutex_init in -lpthread... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/rusage.h usability... no
checking sys/rusage.h presence... no
checking for sys/rusage.h... no
checking for unistd.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking std_args.h usability... no
checking std_args.h presence... no
checking for std_args.h... no
checking for strings.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for pid_t... yes
checking for size_t... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... yes
checking for inline... inline
checking for long... yes
checking size of long... 4
checking for int... yes
checking size of int... 4
checking for kernel IPv6 support... yes
checking whether or not you enabled IPv6 support... yes
checking for clock... yes
checking for getrusage... yes
checking for setpgid... yes
checking for uname... yes
checking for sigaction... yes
checking for sigemptyset... yes
checking for rename... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for getdtablesize... yes
checking for memset... yes
checking for random... yes
checking for srandom... yes
checking for dlopen... yes
checking for dprintf... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for isascii... yes
checking for inet_aton... no
checking for inet_ntop... yes
checking for memcpy... yes
checking for strftime... yes
checking for fsync... yes
checking for gethostbyname2... no
checking for getipnodebyname... yes
checking for vsprintf... yes
checking for broken libsafe sscanf... no
checking for Tcl library... using /usr/pkg/lib/libtcl84.so
checking for Tcl header... using /usr/pkg/include/tcl.h
checking whether the Tcl system has changed... yes
checking for Tcl version... 8.4
checking for Tcl patch level... 8.4.6
checking for Tcl_Free in -ltcl84... yes
checking for TclpFinalizeThreadData in -ltcl84... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating scripts/Makefile
config.status: creating src/Makefile
config.status: creating src/md5/Makefile
config.status: creating src/compat/Makefile
config.status: creating src/mod/Makefile
config.status: creating config.h
config.status: executing default-1 commands
creating lush.h
config.status: executing default-2 commands

Configure is done.

Type 'make config' to configure the modules, or type 'make iconfig'
to interactively choose which modules to compile.

cd /pkgbuild/chat/eggdrop/work/eggdrop1.6.15 && /usr/pkg/bin/bmake config
detecting modules.................... done.
calculating dependencies................... done.
building ./src/mod/Makefile... done.

Configuring module compress ...

running in eggdrop mode.
configure: warning: '--sysconfdir=/usr/pkg/etc' '--enable-ipv6' '--host=sparc-sun-solaris2' '--prefix=/usr/pkg' 'CC=cc' 'CFLAGS=-O -I/usr/pkg/include' 'CPPFLAGS=-I/usr/pkg/include' 'LDFLAGS=-L/usr/pkg/lib -R/usr/pkg/lib' 'host_alias=sparc-sun-solaris2': invalid host type
creating cache ../../../config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether gcc accepts -g... yes
checking for gzopen in -lz... yes
checking how to run the C preprocessor... gcc -E
checking for zlib.h... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
updating cache ../../../config.cache
creating ./config.status
creating Makefile
creating compress_config.h

Configuring module dns ...

running in eggdrop mode.
configure: warning: '--sysconfdir=/usr/pkg/etc' '--enable-ipv6' '--host=sparc-sun-solaris2' '--prefix=/usr/pkg' 'CC=cc' 'CFLAGS=-O -I/usr/pkg/include' 'CPPFLAGS=-I/usr/pkg/include' 'LDFLAGS=-L/usr/pkg/lib -R/usr/pkg/lib' 'host_alias=sparc-sun-solaris2': invalid host type
loading cache ../../../config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking whether gcc accepts -g... (cached) yes
checking for Cygwin environment... no
checking whether or not you enabled IPv6 support... yes
checking for res_init... no
checking for res_init in -lresolv... yes
checking for res_mkquery... no
checking for res_mkquery in -lresolv... yes
configure: warning:

  You have enabled IPv6 support. Eggdrop 1.6 does not support
  asynchronous IPv6 DNS, and therefore the DNS module will be
  disabled.

updating cache ../../../config.cache
creating ./config.status
creating Makefile

building ./src/mod/Makefile... done.

You can now compile the bot, using "make".

===> Building for eggdrop-1.6.15nb2
(This may take a while.  Go get some runts.)
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./bg.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./botcmd.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./botmsg.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./botnet.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./chanprog.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./cmds.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./dcc.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./dccutil.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./dns.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./flags.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./language.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./match.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"'  '-DCCFLAGS="cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"'"'  '-DLDFLAGS="cc"'  '-DSTRIPFLAGS="strip"' -c ./main.c
"./main.c", line 1119: warning: static function called but not defined: garbage_collect_tclhash()
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./mem.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./misc.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./misc_file.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./modules.c
"./modules.c", line 1035: warning: assignment type mismatch:
	pointer to function(int, pointer to char, int) returning void "=" pointer to function() returning void
"./modules.c", line 1043: warning: assignment type mismatch:
	pointer to function(pointer to struct userrec {pointer to struct userrec {..} next, array[10] of char handle, unsigned long flags, unsigned long flags_udef, pointer to struct chanuserrec {..} chanrec, pointer to struct user_entry {..} entries}, pointer to char) returning int "=" pointer to function() returning int
"./modules.c", line 1102: warning: static function called but not defined: open_listen_by_af()
"./modules.c", line 1102: warning: static function called but not defined: open_listen()
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./net.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./rfc1459.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./tcl.c
"./tcl.c", line 381: warning: assignment type mismatch:
	pointer to void "=" pointer to function() returning int
"./tcl.c", line 396: warning: assignment type mismatch:
	pointer to void "=" pointer to function() returning int
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./tcldcc.c
"./tcldcc.c", line 1171: warning: static function called but not defined: open_listen_by_af()
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./tclhash.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./tclmisc.c
"./tclmisc.c", line 662: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./tcluser.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./userent.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./userrec.c
cc -O -I/usr/pkg/include -I.. -I.. -DHAVE_CONFIG_H  -I/usr/pkg/include '-D__PREFIX__="/usr/pkg"' '-D__PKG_SYSCONFDIR__="/usr/pkg/etc"' -c ./users.c
cc -O -I/usr/pkg/include -I. -I../.. -I../.. -I../../src -DHAVE_CONFIG_H  -I/usr/pkg/include -c ./md5c.c
"./md5c.c", line 209: warning: a cast does not yield an lvalue
cc -O -I/usr/pkg/include -I../.. -I../.. -I../../src -DHAVE_CONFIG_H  -I/usr/pkg/include -c ./inet_aton.c
cc -O -I/usr/pkg/include -I../.. -I../.. -I../../src -DHAVE_CONFIG_H  -I/usr/pkg/include -c ./inet_ntop.c
cc -O -I/usr/pkg/include -I../.. -I../.. -I../../src -DHAVE_CONFIG_H  -I/usr/pkg/include -c ./snprintf.c
cc -O -I/usr/pkg/include -I../.. -I../.. -I../../src -DHAVE_CONFIG_H  -I/usr/pkg/include -c ./memset.c
cc -O -I/usr/pkg/include -I../.. -I../.. -I../../src -DHAVE_CONFIG_H  -I/usr/pkg/include -c ./memcpy.c
cc -O -I/usr/pkg/include -I../.. -I../.. -I../../src -DHAVE_CONFIG_H  -I/usr/pkg/include -c ./strcasecmp.c
cc -O -I/usr/pkg/include -I../.. -I../.. -I../../src -DHAVE_CONFIG_H  -I/usr/pkg/include -c ./strftime.c
---------- Yeah! that's the compiling, now the linking! ----------

Linking eggdrop... 

cc -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o  dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o  modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o  userent.o userrec.o users.o  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -ltcl84 -lm -lpthread -ldl -lnsl -lsocket md5/md5c.o compat/*.o `cat mod/mod.xlibs`
Undefined			first referenced
 symbol  			    in file
garbage_collect_tclhash             main.o
open_listen_by_af                   modules.o
open_listen                         modules.o
gethostbyname2                      net.o
ld: fatal: Symbol referencing errors. No output written to ../eggdrop
*** Error code 1

Stop.
bmake: stopped in /pkgbuild/chat/eggdrop/work/eggdrop1.6.15/src
*** Error code 1

Stop.
bmake: stopped in /pkgbuild/chat/eggdrop/work/eggdrop1.6.15
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/chat/eggdrop
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/chat/eggdrop
BULK> eggdrop-1.6.15nb2 was marked as broken:
-rw-r--r--   1 root     other      17215 Jul  4 20:52 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for eggdrop
BULK> Marking all packages which depend upon eggdrop-1.6.15nb2 as broken:
BULK> Build for eggdrop-1.6.15nb2 was not successful, aborting.