pkgsrc-Bugs archive

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

pkg/25402: audio/arts build failure under Linux, libstdc++.la issue?



>Number:         25402
>Category:       pkg
>Synopsis:       audio/arts fails to build under Linux, libstdc++.la issue?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 30 05:03:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        Linux
>Organization:
http://bsd.reedmedia.net/
>Environment:
        
        
Architecture: i386
Machine: i386
>Description:
pkgsrc/audio/arts fails to build under Linux using g++ (GCC) 3.3.3.

Louis Guillaume reported same problem twice:
http://mail-index.netbsd.org/tech-pkg/2004/04/08/0040.html
http://mail-index.netbsd.org/tech-pkg/2004/04/14/0009.html
http://mail-index.netbsd.org/tech-pkg/2004/04/14/0019.html
http://mail-index.netbsd.org/tech-pkg/2004/04/21/0000.html
http://mail-index.netbsd.org/tech-pkg/2004/04/20/0047.html

As an example from my system:

/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-l
ong-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversi
on -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBU
G -O2 -g -s -I/usr/include -I/usr/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/include
/freetype2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-che
ck-new -fno-common  -ftemplate-depth-99   -L/usr/qt3/lib -L/usr/gcc3/lib/gcc-lib
/i386-pc-linux/3.3.3 -Wl,-R/usr/gcc3/lib/gcc-lib/i386-pc-linux/3.3.3 -L/usr/gcc3
/lib -Wl,-R/usr/gcc3/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/qt3/lib -L/usr/X11
R6/lib -Wl,-R/usr/X11R6/lib -o libkmedia2_idl.la -rpath /usr/lib -no-undefined -
Wl,--no-undefined -Wl,--allow-shlib-undefined -version-info 1:0 -L/usr/X11R6/lib
 -L/usr/qt3/lib -L/usr/lib   -L/usr/qt3/lib  -L/usr/gcc3/lib/gcc-lib/i386-pc-lin
ux/3.3.3 -Wl,-R/usr/gcc3/lib/gcc-lib/i386-pc-linux/3.3.3 -L/usr/gcc3/lib -Wl,-R/
usr/gcc3/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/qt3/lib -L/usr/X11R6/lib -Wl,-
R/usr/X11R6/lib kmedia2.lo ../flow/libartsflow.la 
shlibtool: link: warning: `/usr/lib//libasound.la' seems to be moved
shlibtool: link: warning: `/scratch/pkgsrc/audio/arts/work.puget/.buildlink/gcc3
/lib/libstdc++.la' seems to be moved
.libs/kmedia2.o(.text+0x17): In function `Arts::poTime::poTime[not-in-charge]()'
:
/usr/gcc3/include/c++/3.3.3/bits/stl_uninitialized.h:83: undefined reference to 
`Arts::Type::_staticTypeCount'

followed by hundreds of similar messages...

.libs/kmedia2.o(.gnu.linkonce.d._ZTIN4Arts20VideoPlayObject_baseE+0x10):../mcop/
common.h:72: undefined reference to `typeinfo for Arts::Object_base'
.libs/kmedia2.o(.gnu.linkonce.d._ZTIN4Arts20VideoPlayObject_stubE+0x18):/usr/gcc
3/include/c++/3.3.3/bits/stl_uninitialized.h:83: undefined reference to `typeinf
o for Arts::Object_stub'
.libs/kmedia2.o(.gnu.linkonce.d._ZTIN4Arts20VideoPlayObject_skelE+0x18):/usr/gcc
3/include/c++/3.3.3/bits/stl_uninitialized.h:83: undefined reference to `typeinf
o for Arts::Object_skel'
collect2: ld returned 1 exit status
make[2]: *** [libkmedia2_idl.la] Error 1
make[2]: Leaving directory `/scratch/pkgsrc/audio/arts/work.puget/arts-1.2.2/sou
ndserver'


Early today, the same system built and packaged qt3-libs-3.3.1 and
qt3-tools-3.3.1 fine.

>How-To-Repeat:
Try to build pkgsrc/audio/arts under Linux with gcc3.
>Fix:
Sorry, I don't know.
>Release-Note:
>Audit-Trail:
>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index