pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/25476: audio/libaudiofile link failure on Solaris 9/sparc



>Number:         25476
>Category:       pkg
>Synopsis:       audio/libaudiofile link failure on Solaris 9/sparc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 05 21:46:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     John D. Baker
>Release:        N/A
>Organization:
>Environment:
SunOS ss20a 5.9 Generic_112233-11 sun4m sparc SUNW,SPARCstation-20
>Description:
Building audio/libaudiofile on SPARC Solaris 9 fails as follows:

[...]
/bin/ksh ../libtool --mode=link gcc -DNDEBUG -O -I/usr/pkg/include   
-L/usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.3 
-Wl,-R/usr/pkg/gcc3/lib/gcc-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 -version-info 0:2:0 -no-undefined  -export-symbols 
audiofile.exports openclose.lo setup.lo format.lo data.lo  pcm.lo error.lo 
byteorder.lo af_vfs.lo util.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.lo next.lo nextwrite.lo wave.lo wavewrite.lo ircam.lo  
ircamwrite.lo avr.lo 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/libaudiofile.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,libaudiofile.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/compression.o .libs/aes.o .libs/instrument.o .libs/loop.o 
.libs/marker.o .libs/misc.o .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/wavewrite.o .libs/ircam.o .libs/ircamwrite.o .libs/avr.o 
.libs/avrwrite.o .libs/iff.o .libs/iffwrite.o .libs/nist.o .libs/nistwrite.o 
.libs/g711.o .libs/modules.o -z allextract modules/.libs/libmodules.a -z 
defaultextract  
-L/usr/pkgsrc/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/pkgsrc/audio/libaudiofile/work/.buildlink/lib -lm -lc  
-Wl,-R/usr/pkg/gcc3/lib/gcc-lib/sparc-su
 n-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/libaudiofile
[...]

Similar behavior was observed in the past (in multimedia/xvidcore)
when the build machinery incorrectly retained GNU 'ld' syntax for
building shared librariesinstead of using syntax appropriate for Sun/Solaris 
'ld'.

>How-To-Repeat:
On Solaris 9 system:

cd ${LOCALBASE}/audio/libaudiofile
bmake
[ time passes ]
[ observe error ]

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Home | Main Index | Thread Index | Old Index