Re: pkgsrc on OS X 10.7.5

On 13 December 2012 12:49, David Brownlee <abs%absd.org@localhost> wrote:
> On 13 December 2012 12:39, Adam Ciarciński <adam%netbsd.org@localhost> wrote:
>>> I've just tried to setup pkgsrc on a MacBook. bootstrap appears to
>>> complete without issue:
>>>
>>> Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
>>> Target: x86_64-apple-darwin11.4.2
>>>
>>> but there appears to be some issue with it finding libraries at link time:
>>
>> My guess: libtool is not creating dynamic libraries (dylib). Could you,
>> please, check if there are some *.dylib files in /usr/pkg?
>
> Hmm - definitely some, but the ones failing are definitely missing
>
> % find /usr/pkg -name 'libf*.dylib'
> /usr/pkg/lib/libffi.6.dylib
> /usr/pkg/lib/libffi.dylib
> /usr/pkg/share/x11-links/lib/libfontconfig.1.4.4.dylib
> /usr/pkg/share/x11-links/lib/libfontconfig.1.dylib
> /usr/pkg/share/x11-links/lib/libfontconfig.dylib
> /usr/pkg/share/x11-links/lib/libfontenc.1.0.0.dylib
> /usr/pkg/share/x11-links/lib/libfontenc.1.dylib
> /usr/pkg/share/x11-links/lib/libfontenc.dylib
> /usr/pkg/share/x11-links/lib/libfreetype.6.dylib
> /usr/pkg/share/x11-links/lib/libfreetype.dylib
>
> So it looks like specific issues with those packages, rather than a
> generic pkgsrc problem...
.. and in both cases the package is trying to link against libraries
it has generated earlier in the build...
I wonder if this has changed recently? Is it a clang linker issue?