Subject: pkg/27150: audio/darkice breaks on build
To: None <gnats-bugs@gnats.netbsd.org>
From: None <diro@nixsys.bz>
List: pkgsrc-bugs
Date: 10/05/2004 10:31:59
>Number:         27150
>Category:       pkg
>Synopsis:       audio/darkice breaks on build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 05 15:05:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.2
>Organization:
>Environment:
System: NetBSD antinett 1.6.2 NetBSD 1.6.2 (GENERIC) #0: Tue Feb 10 21:53:10 UTC
 2004 autobuild@tgm.netbsd.org:/autobuild/netbsd-1-6-PATCH002/i386/OBJ/autobuild
 /netbsd-1-6-PATCH002/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: alpha
>Description:
===> Checking for vulnerabilities in darkice-0.14nb1
=> Checksum OK for darkice-0.14.tar.gz.
===> Extracting for darkice-0.14nb1
===> Required installed package lame>=3.93.1nb2: lame-3.96.1 found
===> 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 pth>=2.0.0: pth-2.0.0nb1 found
===> Required installed package gmake>=3.78: gmake-3.80nb3 found
===> Patching for darkice-0.14nb1
===> Overriding tools for darkice-0.14nb1
===> Buildlinking for darkice-0.14nb1
===> Configuring for darkice-0.14nb1
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/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
/usr/pkgsrc/audio/darkice/work/darkice-0.14/missing: Unknown `--run' option
Try `/usr/pkgsrc/audio/darkice/work/darkice-0.14/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking for i386--netbsdelf-strip... no
checking for strip... strip
checking for i386--netbsdelf-g++... g++
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... yes
checking whether g++ accepts -g... yes
checking for style of include used by gmake... GNU
checking dependency style of g++... gcc
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for i386--netbsdelf-gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc
checking how to run the C preprocessor... gcc -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... yes
checking for unistd.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 stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.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 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 for sys/stat.h... (cached) yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking sys/audio.h usability... no
checking sys/audio.h presence... no
checking for sys/audio.h... no
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for pid_t... yes
checking for size_t... yes
checking whether byte ordering is bigendian... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for sched_getscheduler in -lrt... no
checking build system type... i386-unknown-netbsdelf1.6.2
checking host system type... i386--netbsdelf
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... no
checking whether pthreads work with -pthreads... no
checking whether pthreads work with -mthreads... 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... no
checking for cc_r... gcc
checking for lame library at /usr/pkg ... found at /usr/pkg 
checking for vorbis libraries at /usr/pkg ... found at /usr/pkg 
checking for alsa libraries at /usr ... configure: WARNING: not found, building without ALSA support
checking for MSG_NOSIGNAL... no
test: ==: unexpected operator
not compiling in debug mode
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
===> Building for darkice-0.14nb1
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory `/usr/pkgsrc/audio/darkice/work/darkice-0.14'
Making all in src
gmake[2]: Entering directory `/usr/pkgsrc/audio/darkice/work/darkice-0.14/src'
source='AudioSource.cpp' object='AudioSource.o' libtool=no \
depfile='.deps/AudioSource.Po' tmpdepfile='.deps/AudioSource.TPo' \
depmode=gcc /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/pkg/include   -I/usr/pkg/include  -O2 -pedantic -Wall   -c -o AudioSource.o `test -f 'AudioSource.cpp' || echo './'`AudioSource.cpp
source='BufferedSink.cpp' object='BufferedSink.o' libtool=no \
depfile='.deps/BufferedSink.Po' tmpdepfile='.deps/BufferedSink.TPo' \
depmode=gcc /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/pkg/include   -I/usr/pkg/include  -O2 -pedantic -Wall   -c -o BufferedSink.o `test -f 'BufferedSink.cpp' || echo './'`BufferedSink.cpp
source='CastSink.cpp' object='CastSink.o' libtool=no \
depfile='.deps/CastSink.Po' tmpdepfile='.deps/CastSink.TPo' \
depmode=gcc /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/pkg/include   -I/usr/pkg/include  -O2 -pedantic -Wall   -c -o CastSink.o `test -f 'CastSink.cpp' || echo './'`CastSink.cpp
source='FileSink.cpp' object='FileSink.o' libtool=no \
depfile='.deps/FileSink.Po' tmpdepfile='.deps/FileSink.TPo' \
depmode=gcc /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/pkg/include   -I/usr/pkg/include  -O2 -pedantic -Wall   -c -o FileSink.o `test -f 'FileSink.cpp' || echo './'`FileSink.cpp
source='Connector.cpp' object='Connector.o' libtool=no \
depfile='.deps/Connector.Po' tmpdepfile='.deps/Connector.TPo' \
depmode=gcc /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/pkg/include   -I/usr/pkg/include  -O2 -pedantic -Wall   -c -o Connector.o `test -f 'Connector.cpp' || echo './'`Connector.cpp
source='MultiThreadedConnector.cpp' object='MultiThreadedConnector.o' libtool=no \
depfile='.deps/MultiThreadedConnector.Po' tmpdepfile='.deps/MultiThreadedConnector.TPo' \
depmode=gcc /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/pkg/include   -I/usr/pkg/include  -O2 -pedantic -Wall   -c -o MultiThreadedConnector.o `test -f 'MultiThreadedConnector.cpp' || echo './'`MultiThreadedConnector.cpp
source='DarkIce.cpp' object='DarkIce.o' libtool=no \
depfile='.deps/DarkIce.Po' tmpdepfile='.deps/DarkIce.TPo' \
depmode=gcc /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/pkg/include   -I/usr/pkg/include  -O2 -pedantic -Wall   -c -o DarkIce.o `test -f 'DarkIce.cpp' || echo './'`DarkIce.cpp
In file included from /usr/include/g++/stl_tree.h:57,
                 from /usr/include/g++/map:31,
                 from Config.h:39,
                 from DarkIce.h:61,
                 from DarkIce.cpp:81:
/usr/include/g++/stl_alloc.h:1055: warning: ANSI C++ forbids the use of `extern' on explicit instantiations
/usr/include/g++/stl_alloc.h:1056: warning: ANSI C++ forbids the use of `extern' on explicit instantiations
/usr/include/g++/stl_alloc.h:1056: warning: ANSI C++ forbids the use of `extern' on explicit instantiations
/usr/include/g++/stl_alloc.h:1056: warning: ANSI C++ forbids the use of `extern' on explicit instantiations
DarkIce.cpp: In method `void DarkIce::setRealTimeScheduling()':
DarkIce.cpp:882: aggregate `struct sched_param param' has incomplete type and cannot be initialized
DarkIce.cpp:885: `sched_getscheduler' undeclared (first use this function)
DarkIce.cpp:885: (Each undeclared identifier is reported only once
DarkIce.cpp:885: for each function it appears in.)
DarkIce.cpp:889: confused by earlier errors, bailing out
gmake[2]: *** [DarkIce.o] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/audio/darkice/work/darkice-0.14/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/audio/darkice/work/darkice-0.14'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/audio/darkice
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/audio/darkice
>How-To-Repeat:
	make audio/darkice
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: