Subject: pkg/27234: audacity configure faile
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <ci@spidersweb.co.uk>
List: pkgsrc-bugs
Date: 10/12/2004 11:03:28
>Number:         27234
>Category:       pkg
>Synopsis:       audacity configure faile
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 12 11:04:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Chavdar Ivanov
>Release:        2.99.9 i386
>Organization:
Delcam UK
>Environment:
NetBSD maggie.delcam.com 2.99.9 NetBSD 2.99.9 (MAGGIE) #0: Mon Oct 11 12:19:49 BST 2004  rootz@maggie.delcam.com:/sys/arch/i386/compile/MAGGIE i386
>Description:
audio/audacity fails configure in lib-src/libsndfile.

make log:-------------------
===> Configuring for audacity-1.2.2nb1
=> 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 i386--netbsdelf-gcc... gcc
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... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for i386--netbsdelf-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for lib-src/libmad/frame.h... no
checking for lib-src/libvorbis/include/vorbis/vorbisenc.h... no
checking for lib-src/libid3tag/frame.h... no
checking for lib-src/libsndfile/src/sndfile.h.in... yes
checking for lib-src/libsamplerate/src/samplerate.h... no
checking for lib-src/libresample/include/libresample.h... yes
checking for lib-src/libflac/include/FLAC/format.h... no
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 mad.h usability... yes
checking mad.h presence... yes
checking for mad.h... yes
checking vorbis/vorbisenc.h usability... yes
checking vorbis/vorbisenc.h presence... yes
checking for vorbis/vorbisenc.h... yes
checking id3tag.h usability... no
checking id3tag.h presence... no
checking for id3tag.h... no
checking FLAC/format.h usability... no
checking FLAC/format.h presence... no
checking for FLAC/format.h... no
--- Configuring libsndfile
--- Configuring libresample
checking for mad_decoder_init in -lmad... yes
checking for mad.h... (cached) yes
checking for vorbis_bitrate_addblock in -lvorbisfile... yes
checking vorbis/vorbisfile.h usability... yes
checking vorbis/vorbisfile.h presence... yes
checking for vorbis/vorbisfile.h... yes
checking for zip... /usr/pkg/bin/zip
checking for wx-config... /usr/pkg/bin/wx-config
checking build system type... i386-unknown-netbsdelf2.99.9
checking host system type... i386--netbsdelf
checking for lrint... yes
checking for lrintf... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating lib-src/Makefile
config.status: creating lib-src/allegro/Makefile
config.status: creating lib-src/expat/Makefile
config.status: creating lib-src/libnyquist/Makefile
config.status: creating locale/Makefile
config.status: creating tests/Makefile
config.status: creating src/configunix.h
config.status: src/configunix.h is unchanged
configure: configuring in lib-src/libsndfile
configure: running /bin/sh './configure' --prefix=/usr/pkg  '--without-xaudio' '--with-id3=system' '--with-libmad=system' '--with-vorbis=system' '--with-portaudio=system' '--host=i386--netbsdelf' '--prefix=/usr/pkg' '--x-includes=/usr/X11R6/include' '--x-libraries=/usr/X11R6/lib' '--without-libiconv-prefix' '--without-libintl-prefix' 'CC=gcc' 'CFLAGS=-O2 -march=pentium3 -finline-functions -ffast-math -fomit-frame-pointer -pipe -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2' 'CPPFLAGS=-I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2' 'CXXFLAGS=-O2 -march=pentium3 -finline-functions -ffast-math -fomit-frame-pointer -pipe -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2 -march=pentium3 -finline-functions -ffast-math -fomit-frame-pointer' 'CXX=g++' 'LDFLAGS=-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib' 'host_alias=i386--netbs
 delf' --cache-file=/dev/null --srcdir=.
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 build system type... i386-unknown-netbsdelf2.99.9
checking host system type... i386--netbsdelf
checking target system type... i386--netbsdelf
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking for i386--netbsdelf-strip... no
checking for strip... strip
checking for autogen... yes
checking for i386--netbsdelf-gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
configure: error: /bin/sh './configure' failed for lib-src/libsndfile
*** Error code 1

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

Stop.
make: stopped in /usr/pkgsrc/audio/audacity

config.log in lib-src/lbsndfile:--------------------------------------

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/usr/pkg --without-xaudio --with-id3=system --with-libmad=system --with-vorbis=system --with-portaudio=system --host=i386--netbsdelf --prefix=/usr/pkg --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --without-libiconv-prefix --without-libintl-prefix CC=gcc CFLAGS=-O2 -march=pentium3 -finline-functions -ffast-math -fomit-frame-pointer -pipe -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2 CPPFLAGS=-I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2 CXXFLAGS=-O2 -march=pentium3 -finline-functions -ffast-math -fomit-frame-pointer -pipe -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2 -march=pentium3 -finline-functions -ffast-math -fomit-frame-pointer CXX=g++ LDFLAGS=-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib host_alias=i386--netbsdelf --cache-file=/dev/null --srcdir=.

## --------- ##
## Platform. ##
## --------- ##

hostname = maggie.delcam.com
uname -m = i386
uname -r = 2.99.9
uname -s = NetBSD
uname -v = NetBSD 2.99.9 (MAGGIE) #0: Mon Oct 11 12:19:49 BST 2004  rootz@maggie.delcam.com:/sys/arch/i386/compile/MAGGIE

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/pkgsrc/audio/audacity/work/.wrapper/bin
PATH: /usr/pkgsrc/audio/audacity/work/.buildlink/bin
PATH: /usr/pkgsrc/audio/audacity/work/.tools/bin
PATH: /usr/pkgsrc/audio/audacity/work/.gcc/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/pkg/bin
PATH: /usr/local/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/sbin
PATH: /usr/pkg/sbin
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /usr/local/pgsql/bin
PATH: /usr/pkg/bin
PATH: /usr/X11R6/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1508: checking build system type
configure:1526: result: i386-unknown-netbsdelf2.99.9
configure:1534: checking host system type
configure:1548: result: i386--netbsdelf
configure:1556: checking target system type
configure:1570: result: i386--netbsdelf
configure:1598: checking for a BSD-compatible install
configure:1653: result: /usr/bin/install -c -o root -g wheel
configure:1664: checking whether build environment is sane
configure:1707: result: yes
configure:1740: checking for gawk
configure:1766: result: /usr/bin/awk
configure:1776: checking whether gmake sets $(MAKE)
configure:1796: result: yes
configure:1856: checking for i386--netbsdelf-strip
configure:1885: result: no
configure:1894: checking for strip
configure:1910: found /usr/bin/strip
configure:1921: result: strip
configure:1955: checking for autogen
configure:1971: found /usr/pkg/bin/autogen
configure:1982: result: yes
configure:1998: checking for i386--netbsdelf-gcc
configure:2024: result: gcc
configure:2306: checking for C compiler version
configure:2309: gcc --version </dev/null >&5
gcc (GCC) 3.3.3 (NetBSD nb3 20040520)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2312: $? = 0
configure:2314: gcc -v </dev/null >&5
Using built-in specs.
Configured with: /home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf2.0. --host=i386--netbsdelf --target=i386--netbsdelf : (reconfigured) /home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf2.0. --host=i386--netbsdelf --target=i386--netbsdelf
Thread model: posix
gcc version 3.3.3 (NetBSD nb3 20040520)
configure:2317: $? = 0
configure:2319: gcc -V </dev/null >&5
gcc: couldn't run `/usr/bin/i386--netbsdelf-gcc--I/usr/pkgsrc/audio/audacity/work/.buildlink/include': No such file or directory
configure:2322: $? = 1
configure:2345: checking for C compiler default output file name
configure:2348: gcc -O2 -march=pentium3 -finline-functions -ffast-math -fomit-frame-pointer -pipe -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib conftest.c -lintl -lmad -lvorbisenc -lvorbisfile -lvorbis -logg -L/usr/pkg/lib -pthread -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -lwx_gtk2 -Wl,-R/usr/pkg/lib -Wl,--export-dynamic -pthread -L/usr/pkg/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lpng -ljpeg -ltiff -lz -lintl -Wl,-R/usr/pkg/lib -Wl,--export-dynamic -L/usr/pkg/lib -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lportaudio >&5
/usr/pkgsrc/audio/audacity/work/.buildlink/lib/libwx_gtk2.so: undefined reference to `operator new[](unsigned)'
/usr/pkgsrc/audio/audacity/work/.buildlink/lib/libwx_gtk2.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/usr/pkgsrc/audio/audacity/work/.buildlink/lib/libwx_gtk2.so: undefined reference to `operator delete(void*)'
/usr/pkgsrc/audio/audacity/work/.buildlink/lib/libwx_gtk2.so: undefined reference to `__gxx_personality_v0'
/usr/pkgsrc/audio/audacity/work/.buildlink/lib/libwx_gtk2.so: undefined reference to `__cxa_pure_virtual'
/usr/pkgsrc/audio/audacity/work/.buildlink/lib/libwx_gtk2.so: undefined reference to `vtable for __cxxabiv1::__class_type_info'
/usr/pkgsrc/audio/audacity/work/.buildlink/lib/libwx_gtk2.so: undefined reference to `operator delete[](void*)'
/usr/pkgsrc/audio/audacity/work/.buildlink/lib/libwx_gtk2.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'
/usr/pkgsrc/audio/audacity/work/.buildlink/lib/libwx_gtk2.so: undefined reference to `operator new(unsigned)'
configure:2351: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libsndfile"
| #define VERSION "1.0.3"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2389: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i386-unknown-netbsdelf2.99.9
ac_cv_build_alias=i386-unknown-netbsdelf2.99.9
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -march=pentium3 -finline-functions -ffast-math -fomit-frame-pointer -pipe -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib'
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i386--netbsdelf
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i386--netbsdelf
ac_cv_host_alias=i386--netbsdelf
ac_cv_prog_AWK=/usr/bin/awk
ac_cv_prog_CC=gcc
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_autogen=yes
ac_cv_prog_make_gmake_set=yes
ac_cv_target=i386--netbsdelf
ac_cv_target_alias=i386--netbsdelf
gt_cv_func_gnugettext1_libintl=yes
lt_cv_sys_max_cmd_len=262144

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/pkgsrc/audio/audacity/work/audacity-src-1.2.2/lib-src/libsndfile/missing --run aclocal-1.6'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/pkgsrc/audio/audacity/work/audacity-src-1.2.2/lib-src/libsndfile/missing --run tar'
AUTOCONF='${SHELL} /usr/pkgsrc/audio/audacity/work/audacity-src-1.2.2/lib-src/libsndfile/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/pkgsrc/audio/audacity/work/audacity-src-1.2.2/lib-src/libsndfile/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/pkgsrc/audio/audacity/work/audacity-src-1.2.2/lib-src/libsndfile/missing --run automake-1.6'
AWK='/usr/bin/awk'
CC='gcc'
CCDEPMODE=''
CFLAGS='-O2 -march=pentium3 -finline-functions -ffast-math -fomit-frame-pointer -pipe -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2'
COMPILER_IS_GCC=''
CPP=''
CPPFLAGS='-I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2'
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_EXPERIMENTAL_CODE=''
EXEEXT=''
GCC_MAJOR_VERSION=''
GETCONF=''
INSTALL_DATA='install -c -o root -g wheel -m 444'
INSTALL_PROGRAM='install -c -s -o root -g wheel -m 555'
INSTALL_SCRIPT='install -c -o root -g wheel -m 555'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS='-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib'
LIBOBJS=''
LIBS='-lintl -lmad -lvorbisenc -lvorbisfile -lvorbis -logg -L/usr/pkg/lib -pthread -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -lwx_gtk2 -Wl,-R/usr/pkg/lib -Wl,--export-dynamic -pthread -L/usr/pkg/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lpng -ljpeg -ltiff -lz -lintl -Wl,-R/usr/pkg/lib -Wl,--export-dynamic -L/usr/pkg/lib -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lportaudio'
LIBTOOL='libtool '
LN_S=''
LTLIBOBJS=''
MAKEINFO='/usr/pkgsrc/audio/audacity/work/.tools/bin/makeinfo'
OBJEXT=''
OS_SPECIFIC_INCLUDES=''
OS_SPECIFIC_LINKS=''
PACKAGE='libsndfile'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
SET_MAKE=''
SHARED_VERSION_INFO='1:3:0'
SHELL='/bin/sh'
SHLIB_VERSION_ARG=''
SIZEOF_SF_COUNT_T=''
STRIP='strip'
TYPEOF_SF_COUNT_T=''
VERSION='1.0.3'
ac_ct_CC=''
ac_ct_GETCONF=''
ac_ct_RANLIB=''
ac_ct_STRIP='strip'
am__include=''
am__quote=''
autogen='yes'
bindir='${exec_prefix}/bin'
build='i386-unknown-netbsdelf2.99.9'
build_alias=''
build_cpu='i386'
build_os='netbsdelf2.99.9'
build_vendor='unknown'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i386--netbsdelf'
host_alias='i386--netbsdelf'
host_cpu='i386'
host_os='netbsdelf'
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='install'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr/pkg'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target='i386--netbsdelf'
target_alias=''
target_cpu='i386'
target_os='netbsdelf'
target_vendor=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "libsndfile"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "1.0.3"

configure: exit 77

----------------------------------------------------------
>How-To-Repeat:
cd /usr/pkgsrc/audio/audacity 
make
>Fix:
Unknown, but if one runs the exact configure command as described above in the work/audacity-src-1.2.2/lib-src/libsndfile/ directory, it apparently executes correctly.
>Release-Note:
>Audit-Trail:
>Unformatted: