Subject: Re: gnumeric vs perl = libtool vs binutils on NetBSD-current
To: None <pkgsrc-users@NetBSD.org, current-users@NetBSD.org>
From: Thomas Klausner <wiz@NetBSD.org>
List: current-users
Date: 03/19/2006 23:36:43
On Sun, Mar 12, 2006 at 08:27:54PM +0100, Thomas Klausner wrote:
> Does someone have a make output and a work.log file from before 3.99.15,
> so we can compare them?
I compared them, and the difference is as follows:
-current:
*** Warning: Linking the shared library perl_loader.la against the
*** static library /usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/auto/DynaLoader/libDynaLoader_pic.a is not portable!
cc -shared .libs/boot.o .libs/perl-loader.o .libs/perl-gnumeric.o .libs/xsinit.o -L/usr/obj/math/gnumeric/work.i386/.buildlink/lib -L/usr/obj/math/gnumeric/work.i386/.buildlink/lib/python2.4/config -L/usr/obj/math/gnumeric/work.i386/.x11-buildlink/lib /usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/auto/DynaLoader/libDynaLoader_pic.a -L/usr/obj/math/gnumeric/work.i386/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE -lperl -lcrypt -lpthread -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-multi/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-multi/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/libDynaLoader_pic.a: No such file or directory
gmake[3]: *** [perl_loader.la] Error 1
3.0:
*** Warning: Linking the shared library perl_loader.la against the
*** static library /usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/auto/DynaLoader/libDynaLoader_pic.a is not portable!
cc -shared .libs/boot.o .libs/perl-loader.o .libs/perl-gnumeric.o .libs/xsinit.o -L/usr/obj/math/gnumeric/work/.buildlink/lib -L
ESC[129CESCML/usr/obj/math/gnumeric/work/.buildlink/lib/python2.4/config -L/usr/obj/math/gnumeric/work/.x11-buildlink/lib /usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/auto/DynaLoader/libDynaLoader_pic.a -L/usr/obj/math/gnumeric/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE -lperl -lcrypt -lpthread -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-multi/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-multi/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/libDynaLoader_pic.a': No such file
ar: '/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/auto/DynaLoader/libDynaLoader_pic.a': No such file
ranlib .libs/perl_loader.a
creating perl_loader.la
(cd .libs && rm -f perl_loader.la && ln -s ../perl_loader.la perl_loader.la)
LC_ALL=C ../../intltool-merge -x -u -c ../../po/.intltool-merge-cache ../../po p
lugin.xml.in plugin.xml
Found cached translation database
So in both cases we have the same basic problem, that the ar
argument is not untransformed. However, 3.0 ar seems to behave
differently in case of this error than -current ar.
I'll disable the gnumeric perl plugin unconditionally for now,
until this bug (in buildlink3 as I see it) is fixed.
Thomas