###
### Thu Jul 28 03:52:26 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for libmusepack-1.0.3
### Current pkg count:  3 installed packages: digest-20050323 libtool-base-1.5.18nb3 zlib-1.2.3
###
BULK> Full rebuild in progress...
BULK> Cleaning package libmusepack-1.0.3 and pre-requisite packages
===> Cleaning for libmusepack-1.0.3
BULK> Removing installed packages which are not needed to build libmusepack-1.0.3
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libtool-base-1.5.18nb3
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r zlib-1.2.3
BULK> Installing packages which are required to build libmusepack-1.0.3.
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (libmusepack-1.0.3)
===> Checking for vulnerabilities in libmusepack-1.0.3
=> Checksum SHA1 OK for libmusepack-1.0.3.tar.bz2.
=> Checksum RMD160 OK for libmusepack-1.0.3.tar.bz2.
work -> /pkgobj/audio/libmusepack/work
===> Extracting for libmusepack-1.0.3
===> Patching for libmusepack-1.0.3
===> Overriding tools for libmusepack-1.0.3
===> Creating toolchain wrappers for libmusepack-1.0.3
===> Configuring for libmusepack-1.0.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 make sets $(MAKE)... yes
checking for sparc-sun-solaris2-strip... no
checking for strip... strip
checking for sparc-sun-solaris2-g++... CC
checking for C++ compiler default output file name... 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 style of include used by make... GNU
checking dependency style of CC... none
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2
checking for sparc-sun-solaris2-gcc... cc
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 dependency style of cc... none
checking for a sed that does not truncate output... /pkgobj/audio/libmusepack/work/.tools/bin/sed
checking for egrep... grep -E
checking for non-GNU ld... /pkgobj/audio/libmusepack/work/.wrapper/bin/ld
checking if the linker (/pkgobj/audio/libmusepack/work/.wrapper/bin/ld) is GNU ld... no
checking for /pkgobj/audio/libmusepack/work/.wrapper/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... CC -E
checking for sparc-sun-solaris2-g77... f77
checking whether we are using the GNU Fortran 77 compiler... no
checking whether f77 accepts -g... no
checking the maximum length of command line arguments... 262144
checking command to parse nm output from cc object... failed
checking for objdir... .libs
checking for sparc-sun-solaris2-ar... no
checking for ar... ar
checking for sparc-sun-solaris2-ranlib... no
checking for ranlib... ranlib
checking for sparc-sun-solaris2-strip... strip
checking if cc static flag  works... yes
checking for cc option to produce PIC... -KPIC
checking if cc PIC flag -KPIC works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/pkgobj/audio/libmusepack/work/.wrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the CC linker (/pkgobj/audio/libmusepack/work/.wrapper/bin/ld) supports shared libraries... yes
checking for CC option to produce PIC... -KPIC
checking if CC PIC flag -KPIC works... yes
checking if CC supports -c -o file.o... yes
checking whether the CC linker (/pkgobj/audio/libmusepack/work/.wrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for f77 option to produce PIC... -KPIC
checking if f77 PIC flag -KPIC works... no
checking if f77 supports -c -o file.o... no
checking whether the f77 linker (/pkgobj/audio/libmusepack/work/.wrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking for sparc-sun-solaris2-ranlib... ranlib
checking whether byte ordering is bigendian... yes
checking for ANSI C header files... (cached) yes
checking for inttypes.h... (cached) yes
checking for string.h... (cached) yes
checking for stdbool.h that conforms to C99... no
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for ptrdiff_t... yes
checking for working memcmp... yes
checking for memmove... yes
checking for memset... yes
checking for sqrt... no
checking for int16_t... no
checking for int32_t... no
checking for uint32_t... no
checking for uint16_t... no
checking for u_int32_t... no
checking for u_int16_t... no
checking for int64_t... no
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating include/Makefile
config.status: creating include/config_types.h
config.status: creating include/config.h
config.status: executing depfiles commands
 libmusepack 1.0.3 configured successfully.
===> Building for libmusepack-1.0.3
Making all in src
source='mpc_dec.cpp' object='mpc_dec.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/ksh ../config/depcomp  /bin/ksh ../libtool --tag=CXX --mode=compile CC -DHAVE_CONFIG_H  -I. -I. -I../include -I../include     -O -O3 -fomit-frame-pointer -c -o mpc_dec.lo mpc_dec.cpp
mkdir .libs
 CC -DHAVE_CONFIG_H -I. -I. -I../include -I../include -O -O3 -fomit-frame-pointer -c mpc_dec.cpp  -KPIC -DPIC -o .libs/mpc_dec.o
CC: Warning: Option -fomit-frame-pointer passed to ld, if ld is invoked, ignored otherwise
"../include/mpc_dec.h", line 38: Warning: Identifier expected instead of "}".
"../include/mpc_dec.h", line 49: Warning: Identifier expected instead of "}".
2 Warning(s) detected.
source='bitstream.cpp' object='bitstream.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/ksh ../config/depcomp  /bin/ksh ../libtool --tag=CXX --mode=compile CC -DHAVE_CONFIG_H  -I. -I. -I../include -I../include     -O -O3 -fomit-frame-pointer -c -o bitstream.lo bitstream.cpp
 CC -DHAVE_CONFIG_H -I. -I. -I../include -I../include -O -O3 -fomit-frame-pointer -c bitstream.cpp  -KPIC -DPIC -o .libs/bitstream.o
CC: Warning: Option -fomit-frame-pointer passed to ld, if ld is invoked, ignored otherwise
"../include/mpc_dec.h", line 38: Warning: Identifier expected instead of "}".
"../include/mpc_dec.h", line 49: Warning: Identifier expected instead of "}".
"bitstream.cpp", line 163: Warning (Anachronism): Formal argument 4 of type extern "C" int(*)(const void*,const void*) in call to std::qsort(void*, unsigned, unsigned, extern "C" int(*)(const void*,const void*)) is being passed int(*)(const void*,const void*).
3 Warning(s) detected.
source='huffsv7.cpp' object='huffsv7.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/ksh ../config/depcomp  /bin/ksh ../libtool --tag=CXX --mode=compile CC -DHAVE_CONFIG_H  -I. -I. -I../include -I../include     -O -O3 -fomit-frame-pointer -c -o huffsv7.lo huffsv7.cpp
 CC -DHAVE_CONFIG_H -I. -I. -I../include -I../include -O -O3 -fomit-frame-pointer -c huffsv7.cpp  -KPIC -DPIC -o .libs/huffsv7.o
CC: Warning: Option -fomit-frame-pointer passed to ld, if ld is invoked, ignored otherwise
"../include/mpc_dec.h", line 38: Warning: Identifier expected instead of "}".
"../include/mpc_dec.h", line 49: Warning: Identifier expected instead of "}".
2 Warning(s) detected.
source='stdafx.cpp' object='stdafx.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/ksh ../config/depcomp  /bin/ksh ../libtool --tag=CXX --mode=compile CC -DHAVE_CONFIG_H  -I. -I. -I../include -I../include     -O -O3 -fomit-frame-pointer -c -o stdafx.lo stdafx.cpp
 CC -DHAVE_CONFIG_H -I. -I. -I../include -I../include -O -O3 -fomit-frame-pointer -c stdafx.cpp  -KPIC -DPIC -o .libs/stdafx.o
CC: Warning: Option -fomit-frame-pointer passed to ld, if ld is invoked, ignored otherwise
"../include/mpc_dec.h", line 38: Warning: Identifier expected instead of "}".
"../include/mpc_dec.h", line 49: Warning: Identifier expected instead of "}".
2 Warning(s) detected.
source='synth_filter.cpp' object='synth_filter.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/ksh ../config/depcomp  /bin/ksh ../libtool --tag=CXX --mode=compile CC -DHAVE_CONFIG_H  -I. -I. -I../include -I../include     -O -O3 -fomit-frame-pointer -c -o synth_filter.lo synth_filter.cpp
 CC -DHAVE_CONFIG_H -I. -I. -I../include -I../include -O -O3 -fomit-frame-pointer -c synth_filter.cpp  -KPIC -DPIC -o .libs/synth_filter.o
CC: Warning: Option -fomit-frame-pointer passed to ld, if ld is invoked, ignored otherwise
"../include/mpc_dec.h", line 38: Warning: Identifier expected instead of "}".
"../include/mpc_dec.h", line 49: Warning: Identifier expected instead of "}".
2 Warning(s) detected.
source='huffsv46.cpp' object='huffsv46.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/ksh ../config/depcomp  /bin/ksh ../libtool --tag=CXX --mode=compile CC -DHAVE_CONFIG_H  -I. -I. -I../include -I../include     -O -O3 -fomit-frame-pointer -c -o huffsv46.lo huffsv46.cpp
 CC -DHAVE_CONFIG_H -I. -I. -I../include -I../include -O -O3 -fomit-frame-pointer -c huffsv46.cpp  -KPIC -DPIC -o .libs/huffsv46.o
CC: Warning: Option -fomit-frame-pointer passed to ld, if ld is invoked, ignored otherwise
"../include/mpc_dec.h", line 38: Warning: Identifier expected instead of "}".
"../include/mpc_dec.h", line 49: Warning: Identifier expected instead of "}".
2 Warning(s) detected.
source='idtag.cpp' object='idtag.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/ksh ../config/depcomp  /bin/ksh ../libtool --tag=CXX --mode=compile CC -DHAVE_CONFIG_H  -I. -I. -I../include -I../include     -O -O3 -fomit-frame-pointer -c -o idtag.lo idtag.cpp
 CC -DHAVE_CONFIG_H -I. -I. -I../include -I../include -O -O3 -fomit-frame-pointer -c idtag.cpp  -KPIC -DPIC -o .libs/idtag.o
CC: Warning: Option -fomit-frame-pointer passed to ld, if ld is invoked, ignored otherwise
"../include/mpc_dec.h", line 38: Warning: Identifier expected instead of "}".
"../include/mpc_dec.h", line 49: Warning: Identifier expected instead of "}".
2 Warning(s) detected.
source='requant.cpp' object='requant.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/ksh ../config/depcomp  /bin/ksh ../libtool --tag=CXX --mode=compile CC -DHAVE_CONFIG_H  -I. -I. -I../include -I../include     -O -O3 -fomit-frame-pointer -c -o requant.lo requant.cpp
 CC -DHAVE_CONFIG_H -I. -I. -I../include -I../include -O -O3 -fomit-frame-pointer -c requant.cpp  -KPIC -DPIC -o .libs/requant.o
CC: Warning: Option -fomit-frame-pointer passed to ld, if ld is invoked, ignored otherwise
"../include/mpc_dec.h", line 38: Warning: Identifier expected instead of "}".
"../include/mpc_dec.h", line 49: Warning: Identifier expected instead of "}".
2 Warning(s) detected.
source='streaminfo.cpp' object='streaminfo.lo' libtool=yes  DEPDIR=.deps depmode=none /bin/ksh ../config/depcomp  /bin/ksh ../libtool --tag=CXX --mode=compile CC -DHAVE_CONFIG_H  -I. -I. -I../include -I../include     -O -O3 -fomit-frame-pointer -c -o streaminfo.lo streaminfo.cpp
 CC -DHAVE_CONFIG_H -I. -I. -I../include -I../include -O -O3 -fomit-frame-pointer -c streaminfo.cpp  -KPIC -DPIC -o .libs/streaminfo.o
CC: Warning: Option -fomit-frame-pointer passed to ld, if ld is invoked, ignored otherwise
"../include/mpc_dec.h", line 38: Warning: Identifier expected instead of "}".
"../include/mpc_dec.h", line 49: Warning: Identifier expected instead of "}".
2 Warning(s) detected.
/bin/ksh ../libtool --tag=CXX --mode=link CC   -O -O3 -fomit-frame-pointer  -Wl,-R/usr/pkg/lib -o libmusepack.la -rpath /usr/pkg/lib -no-undefined -version-info 1:3:0 mpc_dec.lo bitstream.lo huffsv7.lo  stdafx.lo synth_filter.lo huffsv46.lo idtag.lo requant.lo  streaminfo.lo  
CC -G -zdefs -nolib -hlibmusepack.so.1 -o .libs/libmusepack.so.1.0.3   .libs/mpc_dec.o .libs/bitstream.o .libs/huffsv7.o .libs/stdafx.o .libs/synth_filter.o .libs/huffsv46.o .libs/idtag.o .libs/requant.o .libs/streaminfo.o    -Qoption ld -R/usr/pkg/lib
Undefined			first referenced
 symbol  			    in file
qsort                               .libs/bitstream.o  (symbol belongs to implicit dependency /lib/libc.so.1)
memmove                             .libs/mpc_dec.o  (symbol belongs to implicit dependency /lib/libc.so.1)
memcmp                              .libs/idtag.o  (symbol belongs to implicit dependency /lib/libc.so.1)
memset                              .libs/mpc_dec.o  (symbol belongs to implicit dependency /lib/libc.so.1)
sprintf                             .libs/streaminfo.o  (symbol belongs to implicit dependency /lib/libc.so.1)
ld: fatal: Symbol referencing errors. No output written to .libs/libmusepack.so.1.0.3
*** Error code 1

Stop.
bmake: stopped in /pkgobj/audio/libmusepack/work/libmusepack-1.0.3/src
*** Error code 1

Stop.
bmake: stopped in /pkgobj/audio/libmusepack/work/libmusepack-1.0.3
*** Error code 1

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

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

Please view the work log for libmusepack-1.0.3


BULK> libmusepack-1.0.3 was marked as broken:
-rw-r--r--   1 root     other      15397 Jul 28 03:54 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for libmusepack
BULK> Marking all packages which depend upon libmusepack-1.0.3 as broken:
BULK> marking package that requires libmusepack-1.0.3 as broken: bmp-musepack-1.1 (audio/bmp-musepack)
BULK> marking package that requires libmusepack-1.0.3 as broken: xmms-musepack-1.1 (audio/xmms-musepack)
BULK> Build for libmusepack-1.0.3 was not successful, aborting.