Subject: pkg/33860: devel/glibmm fails to build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Ryo HAYASAKA <ryoh@jaist.ac.jp>
List: pkgsrc-bugs
Date: 06/29/2006 05:15:01
>Number:         33860
>Category:       pkg
>Synopsis:       devel/glibmm fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 29 05:15:01 +0000 2006
>Originator:     Ryo HAYASAKA
>Release:        NetBSD 3.99.21, pkgsrc-current
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 3.99.21 NetBSD 3.99.21 (BONNIE) #614: Thu Jun 29 12:20:58 JST 2006 ryoh@bonnie.jaist.ac.jp:/usr/src/sys/arch/i386/compile/BONNIE i386
Architecture: i386
Machine: i386
>Description:
devel/glibmm fails to build as follows:

$ make
...
Making all in markup
gmake[3]: Entering directory `/usr/pkgsrc/devel/glibmm/work/glibmm-2.10.4/examples/markup'
if c++ -DHAVE_CONFIG_H  -I. -I. -I../../glib -I../../glib -I/usr/pkg/include/sigc++-2.0 -I/usr/pkg/lib/sigc++-2.0/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include  -I/usr/pkg/include -I/usr/include  -O2 -pipe -march=athlon -I/usr/pkg/include -I/usr/include -pipe -march=athlon -Wall -Wno-long-long -MT parser.o -MD -MP -MF ".deps/parser.Tpo" -c -o parser.o parser.cc; \
        then mv -f ".deps/parser.Tpo" ".deps/parser.Po"; else rm -f ".deps/parser.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CXX --mode=link c++  -O2 -pipe -march=athlon -I/usr/pkg/include -I/usr/include -pipe -march=athlon -Wall -Wno-long-long  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o parser  parser.o  ../../glib/glibmm/libglibmm-2.4.la -Wl,-R/usr/pkg/lib -Wl,--export-dynamic -L/usr/pkg/lib -lsigc-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl
mkdir .libs
c++ -O2 -pipe -march=athlon -I/usr/pkgsrc/devel/glibmm/work/.buildlink/include -pipe -march=athlon -Wall -Wno-long-long -Wl,-R/usr/pkg/lib -o .libs/parser parser.o -Wl,--export-dynamic  -L/usr/pkgsrc/devel/glibmm/work/.buildlink/lib ../../glib/glibmm/.libs/libglibmm-2.4.so /usr/pkgsrc/devel/glibmm/work/.buildlink/lib/libsigc-2.0.so /usr/pkgsrc/devel/glibmm/work/.buildlink/lib/libgobject-2.0.so /usr/pkgsrc/devel/glibmm/work/.buildlink/lib/libgmodule-2.0.so /usr/pkgsrc/devel/glibmm/work/.buildlink/lib/libglib-2.0.so -lintl -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkgsrc/devel/glibmm/work/.buildlink/lib
ld: warning: libstdc++.so.5, needed by /usr/pkgsrc/devel/glibmm/work/.buildlink/lib/libsigc-2.0.so, may conflict with libstdc++.so.6
../../glib/glibmm/.libs/libglibmm-2.4.so: undefined reference to `sigc::internal::signal_impl::insert(std::_List_iterator<sigc::slot_base>, sigc::slot_base const&)'
../../glib/glibmm/.libs/libglibmm-2.4.so: undefined reference to `sigc::internal::signal_impl::erase(std::_List_iterator<sigc::slot_base>)'
gmake[3]: *** [parser] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/devel/glibmm/work/glibmm-2.10.4/examples/markup'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/devel/glibmm/work/glibmm-2.10.4/examples'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/devel/glibmm/work/glibmm-2.10.4'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/devel/glibmm


gcc4 is used for the compiling.
	
>How-To-Repeat:
	
>Fix: