Subject: pkg/15111: build of devel/libsigc++ has problems
To: None <gnats-bugs@gnats.netbsd.org>
From: Anders Hjalmarsson <hjalmar@as2-3-7.an.g.bonet.se>
List: netbsd-bugs
Date: 01/01/2002 18:54:26
>Number:         15111
>Category:       pkg
>Synopsis:       build of devel/libsigc++ has problems
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 02 05:48:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Anders Hjalmarsson
>Release:        NetBSD 1.5ZA current from dec-22, 2001
>Organization:
>Environment:
System: NetBSD as2-3-7.an.g.bonet.se 1.5ZA NetBSD 1.5ZA (AS2_3_7-$Revision: 1.120 $) #198: Sat Dec 22 21:45:11 CET 2001 hjalmar@as2-3-7.an.g.bonet.se:/usr/SRC/config/i386/compile/AS2_3_7 i386
Architecture: i386
Machine: i386

Version 1.13 of gnu/dist/toolchain/gcc/config/netbsd.h

pkgsrc from dec-27, 2001

>Description:
Building devel/libsigc++ does not generate a shared library as expected

   .
   .
   .
/bin/sh ../libtool --mode=link c++  -O2 -pipe -march=i386 -mcpu=pentiumpro -Wl,-R/usr/pkg/lib -o libsigc.la -rpath /usr/pkg/lib -version-info 0:0:0 -no-undefined object.lo scope.lo marshal.lo slot.lo  basic_signal.lo adaptor.lo thread.lo  

*** Warning: This library needs some functionality provided by -lgcc_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lgcc_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
ar cru .libs/libsigc.a  object.o scope.o marshal.o slot.o basic_signal.o adaptor.o thread.o
ranlib .libs/libsigc.a
creating libsigc.la
(cd .libs && rm -f libsigc.la && ln -s ../libsigc.la libsigc.la)
Making all in tests
   .
   .
   .
===> do-shlib-handling [libsigc++-1.0.3] ===> [Automatic ELF shared object handling]
ls: /usr/pkg/lib/libsigc.so: No such file or directory
ls: /usr/pkg/lib/libsigc.so.0: No such file or directory
ls: /usr/pkg/lib/libsigc.so.0.0: No such file or directory
===> fake-pkg [libsigc++-1.0.3] ===> Registering installation for libsigc++-1.0.3
pkg_create: can't stat `/usr/pkg/lib/libsigc.so'
pkg_create: can't stat `/usr/pkg/lib/libsigc.so.0'
pkg_create: can't stat `/usr/pkg/lib/libsigc.so.0.0'

>How-To-Repeat:
cd /usr/pkgsrc/devel/libsigc++; make install

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