pkgsrc-Bugs archive

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

pkg/35990: "libtool" package broken under Mac OS X



>Number:         35990
>Category:       pkg
>Synopsis:       "libtool" package broken under Mac OS X
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 12 16:20:00 +0000 2007
>Originator:     Matthias Scheler
>Release:        Darwin 8.8.0
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
System: Darwin excalibur.zhadum.org.uk 8.8.0 Darwin Kernel Version 8.8.0: Fri 
Sep  8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh 
powerpc
Architecture: powerpc
Machine: Power Macintosh
>Description:
Building the "xchat-perl" package fails under Mac OS X:

=> Required installed package digest>=20010302: digest-20060826 found
[...]
/bin/sh ../../libtool --tag=CC --mode=link gcc  -pipe -O2 -I/usr/pkg/include 
-I/usr/include -Wall -g -no-cpp-precomp -I/usr/pkg/include -I/usr/include  
-L/usr/pkg/lib -L/usr/lib -o perl.la -rpath /usr/pkg/lib/xchat/plugins 
-avoid-version -module  perl.lo -L/usr/pkg/lib 
/usr/pkg/lib/perl5/5.8.0/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a
 -L/usr/pkg/lib/perl5/5.8.0/darwin-thread-multi-2level/CORE -lperl -lm 
-lpthread -lssl -lcrypto -L/usr/pkg/lib -lglib-2.0 -lintl -liconv   -lintl 
/usr/lib/libiconv.dylib /usr/lib/libc.dylib

*** Warning: Linking the shared library perl.la against the
*** static library 
/usr/pkg/lib/perl5/5.8.0/darwin-thread-multi-2level/auto/DynaLoader/libDynaLoader_pic.a
 is not portable!
gcc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/perl.so -bundle 
 .libs/perl.o  -L/Users/tron/obj/chat/xchat-perl/work.excalibur/.buildlink/lib 
/usr/pkg/lib/perl5/5.8.0/darwin-thread-multi-2level/auto/DynaLoader/libDynaLoader_pic.a
 
-L/Users/tron/obj/chat/xchat-perl/work.excalibur/.buildlink/lib/perl5/5.8.0/darwin-thread-multi-2level/CORE
 -lperl -lm -lpthread -lssl -lcrypto 
/Users/tron/obj/chat/xchat-perl/work.excalibur/.buildlink/lib/libglib-2.0.dylib 
/Users/tron/obj/chat/xchat-perl/work.excalibur/.buildlink/lib/libintl.dylib 
/usr/lib/libiconv.dylib -lc
ar cru .libs/perl.a 
/usr/pkg/lib/perl5/5.8.0/darwin-thread-multi-2level/auto/DynaLoader/libDynaLoader_pic.a
  perl.o 
/usr/pkg/lib/perl5/5.8.0/darwin-thread-multi-2level/auto/DynaLoader/libDynaLoader_pic.a
ar: 
/usr/pkg/lib/perl5/5.8.0/darwin-thread-multi-2level/auto/DynaLoader/libDynaLoader_pic.a:
 No such file or directory
ar: 
/usr/pkg/lib/perl5/5.8.0/darwin-thread-multi-2level/auto/DynaLoader/libDynaLoader_pic.a:
 No such file or directory

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkg/bin/libtool --tag=CC --mode=link gcc -pipe -O2 
-I/Users/tron/obj/chat/xchat-perl/work.excalibur/.buildlink/include -Wall -g 
-no-cpp-precomp -L/Users/tron/obj/chat/xchat-perl/work.excalibur/.buildlink/lib 
-o perl.la -rpath /usr/pkg/lib/xchat/plugins -avoid-version -module perl.lo 
/usr/pkg/lib/perl5/5.8.0/darwin-thread-multi-2level/auto/DynaLoader/libDynaLoader_pic.a
 
-L/Users/tron/obj/chat/xchat-perl/work.excalibur/.buildlink/lib/perl5/5.8.0/darwin-thread-multi-2level/CORE
 -lperl -lm -lpthread -lssl -lcrypto -lglib-2.0 -lintl -liconv -lintl -liconv 
-lc 
gnumake[1]: *** [perl.la] Error 1
gnumake: *** [all] Error 2
*** Error code 2

The problem is that something changes "DynaLoader.a" to "libDynaLoader_pic.a"
which doesn't exist. My best guess is that it is "libtool" which causes this
problem.

>How-To-Repeat:
cd pkgsrc/chat/xchat-perl
bmake

>Fix:
Not known.




Home | Main Index | Thread Index | Old Index