###
### Sun Jul 4 14:49:00 CEST 2004:
### /usr/pkg/bin/bmake bulk-package for mpc-0.10.3
### Current pkg count:  8 installed packages: digest-20021220 libmad-0.15.1b libogg-1.1 libtool-base-1.5.6nb1 libvorbis-1.0.1 patch-2.5.4nb2 pkgconfig-0.15.0 sox-12.17.4nb2
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for mpc-0.10.3
===> Cleaning for libiconv-1.9.1nb2
===> Cleaning for libtool-base-1.5.6nb1
===> Cleaning for patch-2.5.4nb2
BULK> Removing installed packages which are not needed to build mpc-0.10.3
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
BULK> mpc-0.10.3 requires installed package patch-2.5.4nb2 (devel/patch) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libmad-0.15.1b
BULK> mpc-0.10.3 requires installed package libtool-base-1.5.6nb1 (devel/libtool-base) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r pkgconfig-0.15.0
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libogg-1.1
BULK> Installing packages which are required to build mpc-0.10.3.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/All/libiconv-1.9.1nb2.tgz

===> Installing configuration/support files for libiconv-1.9.1nb2

	/usr/pkg/lib/charset.alias
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> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (mpc-0.10.3)
===> Checking for vulnerabilities in mpc-0.10.3
=> mpc-0.10.3.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch mpc-0.10.3.tar.gz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/.
=> [209661 bytes]
=> Checksum OK for mpc-0.10.3.tar.gz.
work -> /pkgbuild/audio/mpc/work
===> Extracting for mpc-0.10.3
===> Required installed package libiconv>=1.9.1: libiconv-1.9.1nb2 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
===> Patching for mpc-0.10.3
===> Applying pkgsrc patches for mpc-0.10.3
===> Overriding tools for mpc-0.10.3
===> Buildlinking for mpc-0.10.3
===> Configuring for mpc-0.10.3
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 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 for a BSD-compatible install... /usr/ucb/install -c -o root -g root
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2
checking for non-GNU ld... /pkgbuild/audio/mpc/work/.buildlink/bin/ld
checking if the linker (/pkgbuild/audio/mpc/work/.buildlink/bin/ld) is GNU ld... no
checking for /pkgbuild/audio/mpc/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/mpc/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/mpc/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 socket in -lsocket... yes
checking for gethostbyname in -lnsl... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for iconv_open in -liconv... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
configure: creating ./config.status
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
===> Building for mpc-0.10.3
/usr/pkg/bin/bmake  all-recursive
Making all in doc
cd .. && /bin/ksh ./config.status doc/Makefile 
config.status: creating doc/Makefile
Making all in src
cd .. && /bin/ksh ./config.status src/Makefile depfiles
config.status: creating src/Makefile
config.status: executing depfiles commands
source='libmpdclient.c' object='libmpdclient.o' libtool=no  depfile='.deps/libmpdclient.Po' tmpdepfile='.deps/libmpdclient.TPo'  depmode=none /bin/ksh ../depcomp  cc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -O -I/usr/pkg/include -I/usr/pkg/include  -Wall -O -I/usr/pkg/include -I/usr/pkg/include -c `test -f 'libmpdclient.c' || echo './'`libmpdclient.c
"libmpdclient.c", line 283: warning: implicit function declaration: strtok_r
"libmpdclient.c", line 283: warning: improper pointer/integer combination: op "="
"libmpdclient.c", line 465: warning: improper pointer/integer combination: op "="
"libmpdclient.c", line 466: warning: improper pointer/integer combination: op "="
"libmpdclient.c", line 558: warning: improper pointer/integer combination: arg #1
"libmpdclient.c", line 559: warning: improper pointer/integer combination: arg #1
"libmpdclient.c", line 572: warning: improper pointer/integer combination: arg #1
"libmpdclient.c", line 573: warning: improper pointer/integer combination: arg #1
"libmpdclient.c", line 574: warning: improper pointer/integer combination: arg #1
source='main.c' object='main.o' libtool=no  depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo'  depmode=none /bin/ksh ../depcomp  cc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -O -I/usr/pkg/include -I/usr/pkg/include  -Wall -O -I/usr/pkg/include -I/usr/pkg/include -c `test -f 'main.c' || echo './'`main.c
"mpc.h", line 46: syntax error in macro parameters
"main.c", line 80: warning: syntax error:  empty initializer
cc: acomp failed for main.c
*** Error code 2

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

Stop.
bmake: stopped in /pkgbuild/audio/mpc/work/mpc-0.10.3
*** Error code 1

Stop.
bmake: stopped in /pkgbuild/audio/mpc/work/mpc-0.10.3
*** Error code 1

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

Stop.
bmake: stopped in /usr/pkgsrc/audio/mpc
BULK> mpc-0.10.3 was marked as broken:
-rw-r--r--   1 root     other       8042 Jul  4 14:49 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for mpc
BULK> Marking all packages which depend upon mpc-0.10.3 as broken:
BULK> Build for mpc-0.10.3 was not successful, aborting.