Subject: pkg/24370: libtool-base is broken on Darwin
To: None <gnats-bugs@gnats.NetBSD.org>
From: grant beattie <grant@mofo.grunta.com>
List: netbsd-bugs
Date: 02/09/2004 11:59:58
>Number: 24370
>Category: pkg
>Synopsis: libtool-base is broken on Darwin
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 09 01:01:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: grant beattie
>Release: Darwin 6.8
>Organization:
>Environment:
System: Darwin max.local. 6.8 Darwin Kernel Version 6.8: Wed Sep 10 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC Power Macintosh powerpc
Architecture: powerpc
Machine: powerpc
>Description:
the build of libtool-base is broken on Darwin:
/bin/sh ./libtool --mode=link gcc -O2 -I/usr/pkg/include -L/usr/pkg/lib -o libltdl.la -rpath /usr/pkg/lib -no-undefined -version-info 4:0:1 ltdl.lo -ldl
gcc -dynamiclib -o .libs/libltdl.3.1.0.dylib .libs/ltdl.o -L/usr/pkg/lib -ldl -install_name /usr/pkg/lib/libltdl.3.dylib -compatibility_version 5 -current_version 5.0
/usr/bin/ld: can't locate file for: -lltdl
/usr/bin/libtool: internal link edit command failed
*** Error code 1
the relevant lines from .work.log:
[*] /Volumes/data/netbsd/pkgbuild/devel/libtool-base/work/.buildlink/bin/ld -arch ppc -dylib -dynamic -force_cpusubtype_ALL -no_arch_warnings -dylib_compatibility_version 5 -dylib_current_version 5.0 -dylib_install_name /usr/pkg/lib/libltdl.3.dylib -L/Volumes/data/netbsd/pkgbuild/devel/libtool-base/work/shlibtool/.buildlink/lib -L/usr/lib/gcc/darwin/3.3 -L/usr/lib/gcc/darwin -L/usr/libexec/gcc/darwin/ppc/3.3/../../.. -ldylib1.o .libs/ltdl.o -ldl -lgcc -lSystem -o .libs/libltdl.3.1.0.dylib
<.> /usr/bin/ld -arch ppc -dylib -dynamic -force_cpusubtype_ALL -no_arch_warnings -dylib_compatibility_version 5 -dylib_current_version 5.0 -dylib_install_name .libs/ltdl.o -o .libs/libltdl.3.1.0.dylib -L/Volumes/data/netbsd/pkgbuild/devel/libtool-base/work/.buildlink/lib -lltdl -L/Volumes/data/netbsd/pkgbuild/devel/libtool-base/work/shlibtool/.buildlink/lib -L/usr/lib/gcc/darwin/3.3 -L/usr/lib/gcc/darwin -ldylib1.o -ldl -lgcc -lSystem
>How-To-Repeat:
cd devel/libtool-base; make
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: