###
### Tue Feb 3 07:11:58 EST 2004:
### bmake bulk-package for icecast-2.0.0nb1
### Current pkg count:  13 installed packages: digest-20021220 gettext-lib-0.11.5nb2 gmake-3.80nb2 libiconv-1.9.1nb1 libtool-base-1.4.20010614nb19 libxml2-2.6.5 libxslt-1.1.2nb1 patch-2.5.4nb2 perl-5.6.1nb10 pkg_install-info-4.5nb2 xmlcatmgr-2.0beta1 xpkgwedge-1.9 zlib-1.2.1
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for icecast-2.0.0nb1
===> Cleaning for libvorbis-1.0.1
===> Cleaning for libogg-1.1
===> Cleaning for libtool-base-1.4.20010614nb19
===> Cleaning for patch-2.5.4nb2
===> Cleaning for pkgconfig-0.15.0
===> Cleaning for libiconv-1.9.1nb1
===> Cleaning for libxslt-1.1.2nb1
===> Cleaning for libxml2-2.6.5
===> Cleaning for zlib-1.2.1
===> Cleaning for xmlcatmgr-2.0beta1
===> Cleaning for gmake-3.80nb2
===> Cleaning for pkg_install-info-4.5nb2
===> Cleaning for gettext-lib-0.11.5nb2
===> Cleaning for perl-5.6.1nb10
===> Cleaning for curl-7.11.0
===> Cleaning for openssl-0.9.6l
BULK> Removing installed packages which are not needed to build icecast-2.0.0nb1
BULK> Keeping BULK_PREREQ: xpkgwedge-1.9 (pkgtools/xpkgwedge)
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
BULK> icecast-2.0.0nb1 requires installed package xmlcatmgr-2.0beta1 (textproc/xmlcatmgr) to build.
BULK> icecast-2.0.0nb1 requires installed package zlib-1.2.1 (devel/zlib) to build.
BULK> icecast-2.0.0nb1 requires installed package libtool-base-1.4.20010614nb19 (devel/libtool-base) to build.
BULK> icecast-2.0.0nb1 requires installed package patch-2.5.4nb2 (devel/patch) to build.
BULK> icecast-2.0.0nb1 requires installed package libiconv-1.9.1nb1 (converters/libiconv) to build.
BULK> icecast-2.0.0nb1 requires installed package gettext-lib-0.11.5nb2 (devel/gettext-lib) to build.
BULK> icecast-2.0.0nb1 requires installed package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) to build.
BULK> icecast-2.0.0nb1 requires installed package gmake-3.80nb2 (devel/gmake) to build.
BULK> icecast-2.0.0nb1 requires installed package perl-5.6.1nb10 (lang/perl5) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libxml2-2.6.5
pkg_delete: unable to completely remove directory '/usr/pkg/share/examples/libxml2'
pkg_delete: couldn't entirely delete package `libxml2-2.6.5'
(perhaps the packing list is incorrectly specified?)
BULK> Installing packages which are required to build icecast-2.0.0nb1.
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/libvorbis-1.0.1.tgz
BULK> Required package libogg-1.1 (audio/libogg) 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> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/pkgconfig-0.15.0.tgz
BULK> Required package libiconv-1.9.1nb1 (converters/libiconv) is already installed
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/libxslt-1.1.2nb1.tgz
BULK> warning: /packages/SunOS/5.9/sparc/All/libxml2-2.6.4nb1.tgz does not exist.  It will be rebuilt.
BULK> Required package zlib-1.2.1 (devel/zlib) is already installed
BULK> Required package xmlcatmgr-2.0beta1 (textproc/xmlcatmgr) is already installed
BULK> Required package gmake-3.80nb2 (devel/gmake) is already installed
BULK> Required package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) is already installed
BULK> Required package gettext-lib-0.11.5nb2 (devel/gettext-lib) is already installed
BULK> Required package perl-5.6.1nb10 (lang/perl5) is already installed
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/curl-7.11.0.tgz

===> Installing configuration/support files for openssl-0.9.6l

	/usr/pkg/etc/openssl/openssl.cnf

===========================================================================
You may wish to customize the following files for openssl-0.9.6l:

	/usr/pkg/etc/openssl/openssl.cnf
===========================================================================

===========================================================================
$NetBSD: MESSAGE,v 1.5 2003/09/22 03:13:58 grant Exp $

If upgrading from SSLeay, you will need to copy your ssleay.cnf (used for
creating certificate requests with "ca") into
/usr/pkg/etc/openssl/openssl.cnf.

If installing from scratch, you may want to take a look
at /usr/pkg/share/examples/openssl/openssl.cnf copy it
to /usr/pkg/etc/openssl/openssl.cnf, and customize it.

===========================================================================

BULK> Required package openssl-0.9.6l (security/openssl) 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 (icecast-2.0.0nb1)
===> Checking for vulnerabilities in icecast-2.0.0nb1
=> Checksum OK for icecast-2.0.0.tar.gz.
work.sol9 -> /work/pkgbuild/audio/icecast/work.sol9
===> Extracting for icecast-2.0.0nb1
===> Required installed package libvorbis>=1.0.1: libvorbis-1.0.1 found
===> Required installed package libogg>=1.1: libogg-1.1 found
===> Required installed package libiconv>=1.9.1: libiconv-1.9.1nb1 found
===> Required installed package libxslt>=1.1.0: libxslt-1.1.2nb1 found
===> Required installed package libxml2>=2.6.2: libxml2-2.6.5 found
===> Required installed package zlib>=1.2.1: zlib-1.2.1 found
===> Required installed package curl>=7.9.1: curl-7.11.0 found
===> Required installed package openssl>=0.9.6l: openssl-0.9.6l found
===> Required installed package libtool-base>=1.4.20010614nb11: libtool-base-1.4.20010614nb19 found
===> Required installed package pkgconfig>=0.15.0: pkgconfig-0.15.0 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
==========================================================================
The following variables will affect the build process of this package,
icecast-2.0.0nb1.  Their current value is shown below:

        * ICECAST_CHROOTDIR = /var/chroot/icecast
        * SSLBASE = /usr/pkg
        * SSLCERTS = /usr/pkg/etc/openssl/certs

You may want to abort the process now with CTRL+C and change their value
before continuing.  Be sure to run `bmake clean' after the changes.
==========================================================================
===> Patching for icecast-2.0.0nb1
===> Applying pkgsrc patches for icecast-2.0.0nb1
===> Overriding tools for icecast-2.0.0nb1
===> Buildlinking for icecast-2.0.0nb1
===> Configuring for icecast-2.0.0nb1
=> Fixing locale directory references.
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 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 bmake sets $(MAKE)... yes
checking for sparc-sun-solaris2-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
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 for style of include used by bmake... GNU
checking dependency style of cc... none
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2
checking for non-GNU ld... ld
checking if the linker (ld) is GNU ld... no
checking for ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output... /work/pkgbuild/audio/icecast/work.sol9/.tools/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse nm output... failed
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for sparc-sun-solaris2-ranlib... no
checking for ranlib... ranlib
checking for sparc-sun-solaris2-strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... -KPIC
checking if cc PIC flag -KPIC works... yes
checking if cc static flag -Bstatic works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... no
checking whether the linker (ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
checking for ANSI C header files... (cached) yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for unistd.h... (cached) yes
checking for nanosleep... no
checking for poll... yes
checking sys/socket.h usability... no
checking sys/socket.h presence... yes
configure: WARNING: sys/socket.h: present but cannot be compiled
configure: WARNING: sys/socket.h: check for missing prerequisite headers?
configure: WARNING: sys/socket.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for sys/socket.h... yes
checking for socklen_t... no
checking for va_copy... memcpy
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking for library containing sethostent... -lnsl
checking for library containing getnameinfo... -lsocket
checking for endhostent... yes
checking for getaddrinfo... yes
checking for inet_aton... no
checking for writev... yes
checking for struct sockaddr_storage.ss_family... no
checking for xslt-config... /usr/pkg/bin/xslt-config
checking for xsltParseStylesheetFile... yes
checking for fgrep... grep -F
checking for ogg_sync_init in libogg... ok
checking for libvorbis... ok
checking for struct ovectl_ratemanage_arg... yes
checking whether pthreads work with -pthread... no
checking whether pthreads work with -pthreads... no
checking for the pthreads library -lpthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_REENTRANT
checking for pthread_rwlock_t... yes
checking for cc_r... cc
checking for curl-config... /usr/pkg/bin/curl-config
checking curl/curl.h usability... no
checking curl/curl.h presence... yes
configure: WARNING: curl/curl.h: present but cannot be compiled
configure: WARNING: curl/curl.h: check for missing prerequisite headers?
configure: WARNING: curl/curl.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for curl/curl.h... yes
checking for libcurl... no
configure: libcurl not found, YP disabled
configure: creating ./config.status
config.status: creating Makefile
config.status: creating conf/Makefile
config.status: creating debian/Makefile
config.status: creating src/Makefile
config.status: creating src/avl/Makefile
config.status: creating src/httpp/Makefile
config.status: creating src/thread/Makefile
config.status: creating src/log/Makefile
config.status: creating src/net/Makefile
config.status: creating src/timing/Makefile
config.status: creating doc/Makefile
config.status: creating web/Makefile
config.status: creating admin/Makefile
config.status: creating win32/Makefile
config.status: creating win32/res/Makefile
config.status: creating config.h
config.status: executing depfiles commands
===> Building for icecast-2.0.0nb1
bmake  all-recursive
Making all in src
Making all in avl
source='avl.c' object='libiceavl_la-avl.lo' libtool=yes  depfile='.deps/libiceavl_la-avl.Plo' tmpdepfile='.deps/libiceavl_la-avl.TPlo'  depmode=none /bin/ksh ../../depcomp  /bin/ksh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I./..  -I/usr/pkg/include -xO4 -xcg92 -O -I/usr/pkg/include -c -o libiceavl_la-avl.lo `test -f 'avl.c' || echo './'`avl.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I/work/pkgbuild/audio/icecast/work.sol9/.buildlink/include -xO4 -xcg92 -O -I/work/pkgbuild/audio/icecast/work.sol9/.buildlink/include -c avl.c  -KPIC -DPIC -o .libs/libiceavl_la-avl.o
"/usr/include/sched.h", line 52: warning: dubious tag declaration: struct timespec
"/work/pkgbuild/audio/icecast/work.sol9/.buildlink/include/pthread.h", line 223: warning: dubious tag declaration: struct timespec
"/work/pkgbuild/audio/icecast/work.sol9/.buildlink/include/pthread.h", line 225: warning: dubious tag declaration: struct timespec
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I/work/pkgbuild/audio/icecast/work.sol9/.buildlink/include -xO4 -xcg92 -O -I/work/pkgbuild/audio/icecast/work.sol9/.buildlink/include -c avl.c -o libiceavl_la-avl.o >/dev/null 2>&1
/bin/ksh ../../libtool --mode=link cc  -O -I/usr/pkg/include   -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -liconv -o libiceavl.la   libiceavl_la-avl.lo  -lsocket -lnsl
ar cru .libs/libiceavl.a .libs/libiceavl_la-avl.o
ranlib .libs/libiceavl.a
creating libiceavl.la
(cd .libs && rm -f libiceavl.la && ln -s ../libiceavl.la libiceavl.la)
Making all in thread
source='thread.c' object='libicethread_la-thread.lo' libtool=yes  depfile='.deps/libicethread_la-thread.Plo' tmpdepfile='.deps/libicethread_la-thread.TPlo'  depmode=none /bin/ksh ../../depcomp  /bin/ksh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I./..  -I/usr/pkg/include -xO4 -xcg92 -O -I/usr/pkg/include -c -o libicethread_la-thread.lo `test -f 'thread.c' || echo './'`thread.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I/work/pkgbuild/audio/icecast/work.sol9/.buildlink/include -xO4 -xcg92 -O -I/work/pkgbuild/audio/icecast/work.sol9/.buildlink/include -c thread.c  -KPIC -DPIC -o .libs/libicethread_la-thread.o
"/usr/include/sched.h", line 52: warning: dubious tag declaration: struct timespec
"/work/pkgbuild/audio/icecast/work.sol9/.buildlink/include/pthread.h", line 223: warning: dubious tag declaration: struct timespec
"/work/pkgbuild/audio/icecast/work.sol9/.buildlink/include/pthread.h", line 225: warning: dubious tag declaration: struct timespec
"thread.c", line 176: warning: implicit function declaration: strdup
"thread.c", line 176: warning: improper pointer/integer combination: op "="
"thread.c", line 179: warning: improper pointer/integer combination: op "="
"thread.c", line 228: warning: implicit function declaration: pthread_sigmask
"thread.c", line 282: warning: improper pointer/integer combination: op "="
"thread.c", line 288: warning: improper pointer/integer combination: op "="
"thread.c", line 518: incomplete struct/union/enum timespec: time
"thread.c", line 520: undefined struct/union member: tv_sec
"thread.c", line 521: undefined struct/union member: tv_nsec
"thread.c", line 521: improper member use: tv_sec
"thread.c", line 524: warning: argument #3 is incompatible with prototype:
	prototype: pointer to const struct pthread_cond_reltimedwait_np {} : "/work/pkgbuild/audio/icecast/work.sol9/.buildlink/include/pthread.h", line 222
	argument : pointer to struct timespec {}
"thread.c", line 623: incomplete struct/union/enum timeval: tv
"thread.c", line 625: undefined struct/union member: tv_sec
"thread.c", line 626: undefined struct/union member: tv_usec
"thread.c", line 628: warning: implicit function declaration: select
"thread.c", line 712: warning: improper pointer/integer combination: op "="
cc: acomp failed for thread.c
*** Error code 1

Stop.
bmake: stopped in /work/pkgbuild/audio/icecast/work.sol9/icecast-2.0.0/src/thread
*** Error code 1

Stop.
bmake: stopped in /work/pkgbuild/audio/icecast/work.sol9/icecast-2.0.0/src
*** Error code 1

Stop.
bmake: stopped in /work/pkgbuild/audio/icecast/work.sol9/icecast-2.0.0
*** Error code 1

Stop.
bmake: stopped in /work/pkgbuild/audio/icecast/work.sol9/icecast-2.0.0
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/audio/icecast
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/audio/icecast
BULK> icecast-2.0.0nb1 was marked as broken:
-rw-r--r--   1 root     other      17368 Feb  3 07:14 .broken.html
bmake deinstall
===> Deinstalling for icecast
BULK> Marking all packages which depend upon icecast-2.0.0nb1 as broken:
BULK> Build for icecast-2.0.0nb1 was not successful, aborting.