###
### Thu Jul 28 04:35:01 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for mpg321-0.2.10nb4
### Current pkg count:  6 installed packages: digest-20050323 libmad-0.15.1bnb1 libogg-1.1.2nb1 libtool-base-1.5.18nb3 libvorbis-1.1.0nb1 pkgconfig-0.17.2nb2
###
BULK> Full rebuild in progress...
BULK> Cleaning package mpg321-0.2.10nb4 and pre-requisite packages
===> Cleaning for mpg321-0.2.10nb4
===> Cleaning for libao-0.8.6nb2
===> Cleaning for gmake-3.80nb4
===> Cleaning for gettext-lib-0.11.5nb4
===> Cleaning for libiconv-1.9.2nb1
===> Cleaning for libtool-base-1.5.18nb3
===> Cleaning for pkg_install-info-4.5nb3
===> Cleaning for pkgconfig-0.17.2nb2
===> Cleaning for libid3tag-0.15.1bnb1
===> Cleaning for zlib-1.2.3
===> Cleaning for libmad-0.15.1bnb1
BULK> Removing installed packages which are not needed to build mpg321-0.2.10nb4
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
BULK> mpg321-0.2.10nb4 requires installed package libmad-0.15.1bnb1 (audio/libmad) to build.
BULK> mpg321-0.2.10nb4 requires installed package libtool-base-1.5.18nb3 (devel/libtool-base) to build.
BULK> mpg321-0.2.10nb4 requires installed package pkgconfig-0.17.2nb2 (devel/pkgconfig) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libogg-1.1.2nb1
BULK> Installing packages which are required to build mpg321-0.2.10nb4.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/libao-0.8.6nb2.tgz
Executing '/usr/bin/mkdir -p -p /usr/pkg/lib/ao/plugins-2'
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/gmake-3.80nb4.tgz
===========================================================================
Installing files needed by libiconv-1.9.2nb1:

	/usr/pkg/lib/charset.alias
	    [/usr/pkg/share/examples/libiconv/charset.alias]

===========================================================================
BULK> Required package gettext-lib-0.11.5nb4 (devel/gettext-lib) is already installed
BULK> Required package libiconv-1.9.2nb1 (converters/libiconv) is already installed
BULK> Required package libtool-base-1.5.18nb3 (devel/libtool-base) is already installed
BULK> Required package pkg_install-info-4.5nb3 (pkgtools/pkg_install-info) is already installed
BULK> Required package pkgconfig-0.17.2nb2 (devel/pkgconfig) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/libid3tag-0.15.1bnb1.tgz
BULK> Required package zlib-1.2.3 (devel/zlib) is already installed
BULK> Required package libmad-0.15.1bnb1 (audio/libmad) is already installed
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (mpg321-0.2.10nb4)
===> Checking for vulnerabilities in mpg321-0.2.10nb4
=> Checksum SHA1 OK for mpg321-0.2.10.tar.gz.
=> Checksum RMD160 OK for mpg321-0.2.10.tar.gz.
work -> /pkgobj/audio/mpg321/work
===> Extracting for mpg321-0.2.10nb4
===> Required installed package libao>=0.8.4nb1: libao-0.8.6nb2 found
===> Required installed package libid3tag>=0.15.1bnb1: libid3tag-0.15.1bnb1 found
===> Required installed package zlib>=1.2.3: zlib-1.2.3 found
===> Required installed package libmad>=0.15.1bnb1: libmad-0.15.1bnb1 found
===> Patching for mpg321-0.2.10nb4
===> Applying pkgsrc patches for mpg321-0.2.10nb4
===> Overriding tools for mpg321-0.2.10nb4
===> Creating toolchain wrappers for mpg321-0.2.10nb4
===> Configuring for mpg321-0.2.10nb4
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 whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for gawk... /usr/bin/nawk
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 a BSD-compatible install... /usr/ucb/install -c -o root -g root
checking whether ln -s works... yes
checking for mad_decoder_run in -lmad... yes
checking for id3_tag_new in -lid3tag... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for ao... yes
checking how to run the C preprocessor... cc -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 arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether byte ordering is bigendian... yes
checking for cc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for stdlib.h... (cached) yes
checking for working malloc... yes
checking whether lstat dereferences a symlink specified with a trailing slash... no
checking whether stat accepts an empty string... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking return type of signal handlers... void
checking for socklen_t in sys/socket.h... yes
checking for gethostbyname... no
checking for memset... yes
checking for munmap... yes
checking for socket... no
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strrchr... yes
checking for strstr... yes
checking for gettimeofday... yes
checking for select... yes
checking for getenv... yes
checking for putenv... yes
checking for setenv... no
checking for unsetenv... no
checking for strcasecmp... yes
checking for library containing gethostbyname... -lnsl
checking for socket... (cached) no
checking for socket in -lsocket... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating config.h
config.status: executing default-1 commands
===> Building for mpg321-0.2.10nb4
cd . && autoheader
WARNING: `autoheader' is missing on your system.  You should only need it if
         you modified `acconfig.h' or `configure.ac'.  You might want
         to install the `Autoconf' and `GNU m4' packages.  Grab them
         from any GNU archive site.
cd .  && CONFIG_FILES= CONFIG_HEADERS=config.h  /bin/ksh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
/usr/pkg/bin/bmake  all-recursive
Making all in m4
cd ..  && CONFIG_FILES=m4/Makefile CONFIG_HEADERS= /bin/ksh ./config.status
config.status: creating m4/Makefile
config.status: executing default-1 commands
cd .  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/ksh ./config.status
config.status: creating Makefile
config.status: executing default-1 commands
cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/pkg/include  -O -I/usr/pkg/include -I/usr/pkg/include -c mpg321.c
"mpg321.c", line 584: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 70
	argument : pointer to unsigned char
"mpg321.c", line 585: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 70
	argument : pointer to unsigned char
"mpg321.c", line 592: warning: argument #2 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 71
	argument : pointer to unsigned char
"mpg321.c", line 610: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 70
	argument : pointer to unsigned char
"mpg321.c", line 617: warning: argument #2 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 71
	argument : pointer to unsigned char
cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/pkg/include  -O -I/usr/pkg/include -I/usr/pkg/include -c mad.c
"mad.c", line 78: warning: pointer to void or function used in arithmetic
"mad.c", line 111: warning: pointer to void or function used in arithmetic
"mad.c", line 225: warning: pointer to void or function used in arithmetic
"mad.c", line 725: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
"mad.c", line 772: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "/pkgobj/audio/mpg321/work/.buildlink/include/ao/ao.h", line 132
	argument : pointer to unsigned char
"mad.c", line 796: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "/pkgobj/audio/mpg321/work/.buildlink/include/ao/ao.h", line 132
	argument : pointer to unsigned char
"mad.c", line 814: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "/pkgobj/audio/mpg321/work/.buildlink/include/ao/ao.h", line 132
	argument : pointer to unsigned char
cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/pkg/include  -O -I/usr/pkg/include -I/usr/pkg/include -c playlist.c
cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/pkg/include  -O -I/usr/pkg/include -I/usr/pkg/include -c network.c
cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/pkg/include  -O -I/usr/pkg/include -I/usr/pkg/include -c getopt.c
cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/pkg/include  -O -I/usr/pkg/include -I/usr/pkg/include -c getopt1.c
cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/pkg/include  -O -I/usr/pkg/include -I/usr/pkg/include -c remote.c
cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/pkg/include  -O -I/usr/pkg/include -I/usr/pkg/include -c ao.c
cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/pkg/include  -O -I/usr/pkg/include -I/usr/pkg/include -c options.c
cc  -O -I/usr/pkg/include -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o mpg321  mpg321.o mad.o playlist.o network.o getopt.o getopt1.o  remote.o ao.o options.o  -lnsl -lid3tag -lmad  -lz -L/usr/pkg/lib -lao -ldl -lsocket
Undefined			first referenced
 symbol  			    in file
audio_linear_dither                 mad.o
ld: fatal: Symbol referencing errors. No output written to mpg321
*** Error code 1

Stop.
bmake: stopped in /pkgobj/audio/mpg321/work/mpg321-0.2.10
*** Error code 1

Stop.
bmake: stopped in /pkgobj/audio/mpg321/work/mpg321-0.2.10
*** Error code 1

Stop.
bmake: stopped in /pkgobj/audio/mpg321/work/mpg321-0.2.10
*** Error code 1

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

Stop.
bmake: stopped in /usr/pkgsrc/audio/mpg321

Please view the work log for mpg321-0.2.10nb4


BULK> mpg321-0.2.10nb4 was marked as broken:
-rw-r--r--   1 root     other      12460 Jul 28 04:36 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for mpg321
BULK> Marking all packages which depend upon mpg321-0.2.10nb4 as broken:
BULK> Build for mpg321-0.2.10nb4 was not successful, aborting.