Subject: audio/libaudiofile build failure on Solaris 9/sparc
To: None <tron@NetBSD.org>
From: John D. Baker <jdbaker@mylinuxisp.com>
List: tech-pkg
Date: 04/25/2004 21:10:31
Building audio/libaudiofile (a nested dependency of multimedia/mplayer)
on Solaris 9/sparc fails as follows:
[...]
/bin/ksh ../libtool --mode=3Dlink gcc -DNDEBUG -O -I/usr/pkg/include -L/u=
sr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.3 -Wl,-R/usr/pkg/gcc3/lib/gc=
c-lib/sparc-sun-solaris2/3.3.3 -L/usr/pkg/gcc3/lib -Wl,-R/usr/pkg/gcc3/lib =
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o libaudiofile.la -rpath /usr/pkg/lib -v=
ersion-info 0:2:0 -no-undefined -export-symbols audiofile.exports openclos=
e.lo setup.lo format.lo data.lo pcm.lo error.lo byteorder.lo af_vfs.lo uti=
l.lo debug.lo aupv.lo units.lo compression.lo aes.lo instrument.lo loop.lo=
marker.lo misc.lo track.lo query.lo raw.lo aiff.lo aiffwrite.lo extended=
=2Elo next.lo nextwrite.lo wave.lo wavewrite.lo ircam.lo ircamwrite.lo avr=
=2Elo avrwrite.lo iff.lo iffwrite.lo nist.lo nistwrite.lo g711.lo modules.=
lo modules/libmodules.la -lm
/usr/ucb/echo "{ global:" > .libs/libaudiofile.so.0.2.exp
cat audiofile.exports | /usr/pkg/bin/nbsed -e "s/\(.*\)/\1;/" >> .libs/liba=
udiofile.so.0.2.exp
/usr/ucb/echo "local: *; };" >> .libs/libaudiofile.so.0.2.exp
gcc -shared -Wl,-M -Wl,.libs/libaudiofile.so.0.2.exp -Wl,-h -Wl,libaudiofi=
le.so.0 -o .libs/libaudiofile.so.0.2 .libs/openclose.o .libs/setup.o .libs=
/format.o .libs/data.o .libs/pcm.o .libs/error.o .libs/byteorder.o .libs/af=
_vfs.o .libs/util.o .libs/debug.o .libs/aupv.o .libs/units.o .libs/compress=
ion.o .libs/aes.o .libs/instrument.o .libs/loop.o .libs/marker.o .libs/misc=
=2Eo .libs/track.o .libs/query.o .libs/raw.o .libs/aiff.o .libs/aiffwrite.o=
.libs/extended.o .libs/next.o .libs/nextwrite.o .libs/wave.o .libs/wavewri=
te.o .libs/ircam.o .libs/ircamwrite.o .libs/avr.o .libs/avrwrite.o .libs/if=
f.o .libs/iffwrite.o .libs/nist.o .libs/nistwrite.o .libs/g711.o .libs/modu=
les.o -z allextract modules/.libs/libmodules.a -z defaultextract -L/usr/pk=
gsrc/audio/libaudiofile/work/.buildlink/gcc3/lib/gcc-lib/sparc-sun-solaris2=
/3.3.3 -L/usr/pkgsrc/audio/libaudiofile/work/.buildlink/gcc3/lib -L/usr/pkg=
src/audio/libaudiofile/work/.buildlink/lib -lm -lc -Wl,-R/usr/pkg/gcc3/lib=
/gcc-lib/sparc-sun-solaris2/3.3.3 -Wl,-R/usr/pkg/lib
ld: fatal: file .libs-L: stat failed: No such file or directory
collect2: ld returned 1 exit status
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/audio/libaudiofile/work/audiofile-0.2.6/libau=
diofile
[...]
It built with no problems the last time I built it, a couple of months
ago, but it appears to have been broken with the recent updates to pkgsrc.
Thanks.
--=20
John D. Baker, KN5UKS NetBSD Darwin/MacOS X
jdbaker(at)mylinuxisp(dot)com OpenBSD FreeBSD
BSD -- It just sits there and _works_!