Subject: Re: Maybe related to the gle failure-to-build?
To: Todd Vierling <tv@duh.org>
From: Richard Rauch <rkr@olib.org>
List: tech-pkg
Date: 10/10/2004 09:42:37
On Thu, Oct 07, 2004 at 10:44:08PM -0400, Todd Vierling wrote:
 [...]
> > > /usr/pkgsrc/audio/audacity/work.x86_64/.buildlink/lib/libwx_gtk2.so:
> > > undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
> >
> > This looks similar to errors I get with building audio/arts under Linux.
> > I have not been able to build audio/arts under Linux for probably over six
> > months (and others have had problem too). I'll try again today.
> 
> If you still have problems, post a build log.  It's likely that there's a
> missing "USE_LANGUAGES=c c++" in arts itself, or one of its dependencies.

Sorry for taking a few days to get back.  I was having one of the machines
build a lot of stuff from pkgsrc (and it's not a very fast machine), so
I held off checking.

Now, I have done a "cvs update -PAd" on all of pkgsrc and audacity still
doesn't build.

Following is the output of "make clean; make >&log" in ...pkgsrc/audio/audacity:


===> Checking for vulnerabilities in audacity-1.2.2nb1
=> Checksum OK for audacity-src-1.2.2.tar.gz.
===> Extracting for audacity-1.2.2nb1
===> Required installed package zip>=0.0: zip-2.3nb2 found
===> Required installed package id3lib>=3.8.3nb1: id3lib-3.8.3nb1 found
===> Required installed package lame>=3.96.1nb1: lame-3.96.1nb1 found
===> Required installed package libvorbis>=1.1.0nb1: libvorbis-1.1.0nb1 found
===> Required installed package libogg>=1.1.2nb1: libogg-1.1.2nb1 found
===> Required installed package libmad>=0.15.0b: libmad-0.15.0b found
===> Required installed package wxGTK>=2.4.2nb2: wxGTK-2.4.2nb2 found
===> Required installed package MesaLib>=6.0.1nb1: MesaLib-6.0.1nb1 found
===> Required installed package gtk2+>=2.4.10nb1: gtk2+-2.4.10nb1 found
===> Required installed package atk>=1.8.0nb1: atk-1.8.0nb1 found
===> Required installed package pango>=1.6.0nb1: pango-1.6.0nb1 found
===> Required installed package glib2>=2.4.0: glib2-2.4.1 found
===> Required installed package Xft2>=2.1.6nb1: Xft2-2.1.6nb1 found
===> Required installed package fontconfig>=2.2.96nb1: fontconfig-2.2.96nb1 found
===> Required installed package expat>=1.95.8nb2: expat-1.95.8nb2 found
===> Required installed package freetype2>=2.1.9nb1: freetype2-2.1.9nb1 found
===> Required installed package png>=1.2.6nb1: png-1.2.6nb1 found
===> Required installed package tiff>=3.6.1nb3: tiff-3.6.1nb3 found
===> Required installed package jpeg>=6bnb2: jpeg-6bnb2 found
===> Required installed package xcursor>=1.1.1nb2: xcursor-1.1.1nb2 found
===> Required installed package Xrandr>=1.0.2nb1: Xrandr-1.0.2nb1 found
===> Required installed package Xrender>=0.8.4nb1: Xrender-0.8.4nb1 found
===> Required installed package portaudio>=18.1: portaudio-18.1 found
===> Required installed package Xfixes>=2.0.1nb1: Xfixes-2.0.1nb1 found
===> Required installed package fixesext>=2.0: fixesext-2.0.1 found
===> Required installed package autoconf>=2.50: autoconf-2.59 found
===> Required installed package libtool-base>=1.5.10: libtool-base-1.5.10 found
===> Required installed package gmake>=3.78: gmake-3.80nb3 found
===> Required installed package x11-links>=0.23: x11-links-0.23 found
===> Required installed package randrext>=1.0: randrext-1.0 found
===> Required installed package render>=0.2: render-0.8 found
===> Required installed package render>=0.8: render-0.8 found
===> Patching for audacity-1.2.2nb1
===> Applying pkgsrc patches for audacity-1.2.2nb1
===> Overriding tools for audacity-1.2.2nb1
===> Creating toolchain wrappers for audacity-1.2.2nb1
===> 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 x86_64--netbsd-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 x86_64--netbsd-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 soundtouch
--- 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... x86_64-unknown-netbsd2.99.9
checking host system type... x86_64--netbsd
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
configure: configuring in lib-src/soundtouch
configure: running /bin/sh './configure' --prefix=/usr/pkg  '--without-xaudio' '--with-id3=system' '--with-libmad=system' '--with-vorbis=system' '--with-portaudio=system' '--host=x86_64--netbsd' '--prefix=/usr/pkg' '--x-includes=/usr/X11R6/include' '--x-libraries=/usr/X11R6/lib' '--without-libiconv-prefix' '--without-libintl-prefix' 'CC=gcc' 'CFLAGS=-O2 -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 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2' '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=x86_64--netbsd' --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 for x86_64--netbsd-gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
configure: error: /bin/sh './configure' failed for lib-src/soundtouch
*** Error code 1

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

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