###
### Mon Jul 5 12:07:39 CEST 2004:
### /usr/pkg/bin/bmake bulk-package for icecast-2.0.0nb2
### Current pkg count:  12 installed packages: digest-20021220 gettext-lib-0.11.5nb3 gmake-3.80nb3 libiconv-1.9.1nb2 libtool-base-1.5.6nb1 libxml2-2.6.9 libxslt-1.1.6 patch-2.5.4nb2 perl-5.8.4 pkg_install-info-4.5nb2 xmlcatmgr-2.1 zlib-1.2.1nb1
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for icecast-2.0.0nb2
===> Cleaning for libvorbis-1.0.1
===> Cleaning for libogg-1.1
===> Cleaning for libtool-base-1.5.6nb1
===> Cleaning for patch-2.5.4nb2
===> Cleaning for pkgconfig-0.15.0
===> Cleaning for libiconv-1.9.1nb2
===> Cleaning for libxslt-1.1.6
===> Cleaning for libxml2-2.6.9
===> Cleaning for zlib-1.2.1nb1
===> Cleaning for xmlcatmgr-2.1
===> Cleaning for gmake-3.80nb3
===> Cleaning for pkg_install-info-4.5nb2
===> Cleaning for gettext-lib-0.11.5nb3
===> Cleaning for perl-5.8.4
===> Cleaning for curl-7.12.0
===> Cleaning for openssl-0.9.6m
BULK> Removing installed packages which are not needed to build icecast-2.0.0nb2
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
BULK> icecast-2.0.0nb2 requires installed package xmlcatmgr-2.1 (textproc/xmlcatmgr) to build.
BULK> icecast-2.0.0nb2 requires installed package zlib-1.2.1nb1 (devel/zlib) to build.
BULK> icecast-2.0.0nb2 requires installed package libtool-base-1.5.6nb1 (devel/libtool-base) to build.
BULK> icecast-2.0.0nb2 requires installed package patch-2.5.4nb2 (devel/patch) to build.
BULK> icecast-2.0.0nb2 requires installed package libiconv-1.9.1nb2 (converters/libiconv) to build.
BULK> icecast-2.0.0nb2 requires installed package gettext-lib-0.11.5nb3 (devel/gettext-lib) to build.
BULK> icecast-2.0.0nb2 requires installed package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) to build.
BULK> icecast-2.0.0nb2 requires installed package gmake-3.80nb3 (devel/gmake) to build.
BULK> icecast-2.0.0nb2 requires installed package libxml2-2.6.9 (textproc/libxml2) to build.
BULK> icecast-2.0.0nb2 requires installed package perl-5.8.4 (lang/perl58) to build.
BULK> icecast-2.0.0nb2 requires installed package libxslt-1.1.6 (textproc/libxslt) to build.
BULK> Installing packages which are required to build icecast-2.0.0nb2.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/All/libvorbis-1.0.1.tgz
BULK> Required package libogg-1.1 (multimedia/libogg) is already installed
BULK> Required package libtool-base-1.5.6nb1 (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/All/pkgconfig-0.15.0.tgz
BULK> Required package libiconv-1.9.1nb2 (converters/libiconv) is already installed
BULK> Required package libxslt-1.1.6 (textproc/libxslt) is already installed
BULK> Required package libxml2-2.6.9 (textproc/libxml2) is already installed
BULK> Required package zlib-1.2.1nb1 (devel/zlib) is already installed
BULK> Required package xmlcatmgr-2.1 (textproc/xmlcatmgr) is already installed
BULK> Required package gmake-3.80nb3 (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.5nb3 (devel/gettext-lib) is already installed
BULK> Required package perl-5.8.4 (lang/perl58) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/All/curl-7.12.0.tgz

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

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

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

	/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.6m (security/openssl) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (icecast-2.0.0nb2)
===> Checking for vulnerabilities in icecast-2.0.0nb2
=> icecast-2.0.0.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch icecast-2.0.0.tar.gz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/.
=> [684624 bytes]
=> Checksum OK for icecast-2.0.0.tar.gz.
work -> /pkgbuild/audio/icecast/work
===> Extracting for icecast-2.0.0nb2
===> 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 libxslt>=1.1.0: libxslt-1.1.6 found
===> Required installed package {perl>=5.0,perl-thread>=5.0}: perl-5.8.4 found
===> Required installed package libxml2>=2.6.2: libxml2-2.6.9 found
===> Required installed package libiconv>=1.9.1: libiconv-1.9.1nb2 found
===> Required installed package curl>=7.9.1: curl-7.12.0 found
===> Required installed package zlib>=1.2.1: zlib-1.2.1nb1 found
===> Required installed package openssl>=0.9.6m: openssl-0.9.6m found
===> Required installed package libtool-base>=1.5.2nb4: libtool-base-1.5.6nb1 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.0nb2.  Their current value is shown below:

        * ICECAST_CHROOTDIR = /var/chroot/icecast
        * SSLBASE (defined)

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 icecast-2.0.0nb2
===> Applying pkgsrc patches for icecast-2.0.0nb2
===> Overriding tools for icecast-2.0.0nb2
===> Buildlinking for icecast-2.0.0nb2
===> Configuring for icecast-2.0.0nb2
=> 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... /pkgbuild/audio/icecast/work/.buildlink/bin/ld
checking if the linker (/pkgbuild/audio/icecast/work/.buildlink/bin/ld) is GNU ld... no
checking for /pkgbuild/audio/icecast/work/.buildlink/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output... /pkgbuild/audio/icecast/work/.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 (/pkgbuild/audio/icecast/work/.buildlink/bin/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... 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.0nb2
cd . && /bin/ksh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/usr/pkg/bin/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 -pthread -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/pkgbuild/audio/icecast/work/.buildlink/include -xO4 -xcg92 -pthread -O -c avl.c  -KPIC -DPIC -o .libs/libiceavl_la-avl.o
"/usr/include/sched.h", line 52: warning: dubious tag declaration: struct timespec
"/usr/include/pthread.h", line 223: warning: dubious tag declaration: struct timespec
"/usr/include/pthread.h", line 225: warning: dubious tag declaration: struct timespec
 cc -DHAVE_CONFIG_H -I. -I../.. -I./.. -I/pkgbuild/audio/icecast/work/.buildlink/include -xO4 -xcg92 -pthread -O -c avl.c -o libiceavl_la-avl.o >/dev/null 2>&1
/bin/ksh ../../libtool --mode=link cc  -O -I/usr/pkg/include   -L/usr/pkg/lib -R/usr/pkg/lib -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 -pthread -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/pkgbuild/audio/icecast/work/.buildlink/include -xO4 -xcg92 -pthread -O -c thread.c  -KPIC -DPIC -o .libs/libicethread_la-thread.o
"/usr/include/sched.h", line 52: warning: dubious tag declaration: struct timespec
"/usr/include/pthread.h", line 223: warning: dubious tag declaration: struct timespec
"/usr/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 {} : "/usr/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 /pkgbuild/audio/icecast/work/icecast-2.0.0/src/thread
*** Error code 1

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

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

Stop.
bmake: stopped in /pkgbuild/audio/icecast/work/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.0nb2 was marked as broken:
-rw-r--r--   1 root     other      16888 Jul  5 12:09 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for icecast
BULK> Marking all packages which depend upon icecast-2.0.0nb2 as broken:
BULK> Build for icecast-2.0.0nb2 was not successful, aborting.