Subject: libtool broken after recent binutils update?
To: None <tech-pkg@netbsd.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: tech-pkg
Date: 02/05/2006 19:54:51
Hi,

I'm trying to build gnumeric, after I updated my -current system with
todays source and run into a problem with gnumeric:

gmake[3]: Entering directory `/pkgsrc/math/gnumeric/work.i386/gnumeric-1.6.=
2/plugins/perl-loader'
/bin/sh ../../libtool --tag=3DCC --mode=3Dlink cc  -O2 -I/usr/pkg/include -=
I/usr/include -I/usr/pkg/include/python2.4 -I/usr/include/krb5 -DGLX_GLXEXT=
_LEGACY -I/usr/pkg/include/freetype2 -I/usr/X11R6/include  -Wall -Wmissing-=
prototypes  -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscrip=
ts -Wwrite-strings -Wnested-externs -Wmissing-noreturn -Wstrict-prototypes =
-Wmissing-prototypes -Wmissing-format-attribute -Wmissing-declarations  -L/=
usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/pyt=
hon2.4/config -Wl,-R/usr/pkg/lib/python2.4/config -L/usr/X11R6/lib -Wl,-R/u=
sr/X11R6/lib -o perl_loader.la -rpath /usr/pkg/lib/gnumeric/1.6.2/plugins/p=
erl-loader -module -avoid-version  -Wl,-R/usr/pkg/lib --whole-archive -shar=
ed  -L/usr/pkg/lib boot.lo perl-loader.lo perl-gnumeric.lo xsinit.lo -Wl,-E=
  -Wl,-R/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE -Wl,-R/usr/p=
kg/lib  -L/usr/pkg/lib /usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/au=
to/DynaLoader/DynaLoader.a -L/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-mu=
lti/CORE -lperl -lm -lcrypt -lpthread -lintl  -lm

*** Warning: Linking the shared library perl_loader.la against the
*** static library /usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/auto/D=
ynaLoader/libDynaLoader_pic.a is not portable!
rm -fr  .libs/perl_loader.so
cc -shared  .libs/boot.o .libs/perl-loader.o .libs/perl-gnumeric.o .libs/xs=
init.o  -L/pkgsrc/math/gnumeric/work.i386/.buildlink/lib -L/pkgsrc/math/gnu=
meric/work.i386/.buildlink/lib/python2.4/config -L/pkgsrc/math/gnumeric/wor=
k.i386/.x11-buildlink/lib /usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi=
/auto/DynaLoader/libDynaLoader_pic.a -L/pkgsrc/math/gnumeric/work.i386/.bui=
ldlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE -lperl -lcrypt -lpthre=
ad -lintl -lm  -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib/python2.4/config -Wl,-=
R/usr/X11R6/lib -Wl,-E -Wl,-R/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-mu=
lti/CORE -Wl,-soname -Wl,perl_loader.so -o .libs/perl_loader.so
ar cru .libs/perl_loader.a /usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-mult=
i/auto/DynaLoader/libDynaLoader_pic.a  boot.o perl-loader.o perl-gnumeric.o=
 xsinit.o /usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/auto/DynaLoader=
/libDynaLoader_pic.a
ar: /usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/auto/DynaLoader/libDy=
naLoader_pic.a: No such file or directory
gmake[3]: *** [perl_loader.la] Error 1
gmake[3]: Leaving directory `/pkgsrc/math/gnumeric/work.i386/gnumeric-1.6.2=
/plugins/perl-loader'

This looks like a problem with libtool, so I reinstalled libtool-base again,
removed the gnumeric build directory and again got the same error.

Any ideas who I could do now?

libtool-base is 1.5.22

Bernd