Re: [Fink-users] librsvg2 fails to build

2016-07-08 Thread Ben Abbott

On Jul 7, 2016, at 5:37 PM, Ben Abbott 
mailto:bpabb...@mac.com>> wrote:

On Jul 7, 2016, at 14:45, Ben Abbott 
mailto:bpabb...@mac.com>> wrote:

On Jul 7, 2016, at 14:21, Alexander Hansen 
mailto:alexanderk.han...@gmail.com>> wrote:

On Jul 7, 2016, at 10:23, Ben Abbott 
mailto:bpabb...@mac.com>> wrote:

On Jul 7, 2016, at 10:37, Alexander Hansen 
mailto:alexanderk.han...@gmail.com>> wrote:

On Jul 7, 2016, at 04:32, Ben Abbott 
mailto:bpabb...@mac.com>> wrote:

Mac OS 10.10.5
MacBook Pro (15in Early 2011)
Processor 2.2 GHz Intel Core i7

Also include the following system information:
Package manager version: 0.39.3
Distribution version: selfupdate-rsync Thu Jul  7 07:05:50 2016, 10.10, x86_64
Trees: local/main stable/main stable/crypto
Xcode.app: 7.2.1
Xcode command-line tools: 7.2.0.0.1.1447826929
Max. Fink build jobs:  4

CCLD   svg_loader.la
libtool: link: warning: `/sw/lib/libpangoft2-1.0.la' seems to be moved
libtool: link: warning: `/sw/lib/libpangocairo-1.0.la' seems to be moved
libtool: link: warning: `/sw/lib/libpango-1.0.la' seems to be moved
libtool: link: warning: `/sw/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/sw/lib/libfreetype.la' seems to be moved
clang: warning: argument unused during compilation: '-pthread'
ld: file not found: @rpath/libclang_rt.asan_osx_dynamic.dylib for architecture 
x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:356: recipe for target 'svg_loader.la' failed
make[2]: *** [svg_loader.la] Error 1
make[2]: Leaving directory 
'/sw/src/fink.build/librsvg2-2.26.3-4/librsvg-2.26.3/gdk-pixbuf-loader'
Makefile:819: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/sw/src/fink.build/librsvg2-2.26.3-4/librsvg-2.26.3'
Makefile:483: recipe for target 'all' failed
make: *** [all] Error 2
### execution of make failed, exit code 2
### execution of /tmp/fink.X9CAF failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-librsvg2-2.26.3-4
(Reading database ... 260728 files and directories currently installed.)
Removing fink-buildlock-librsvg2-2.26.3-4 ...
Failed: phase compiling: librsvg2-2.26.3-4 failed

Ben

I don’t reproduce this on 10.11 with Xcode 7.3.  You aren’t using a non-Xcode 
clang or ld, by any chance?  I wasn’t able to trigger the build failure even by 
moving 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.3.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
 out of the way.

My mac mini running 10.11 also worked. I've been slow upgrading my notebook. 
Perhaps I should just upgrade to 10.11.

I'll run a follow the instructions on Finks homepage, backup, and then upgrade.

If you'd like me to try something first, let me know.

Ben

Maybe reinstall the Xcode command line tools or update them.  That’s semi-easy. 
 And even before that, check for 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.2.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib

—akh

Ah-ha!

My Xcode is 7.0.2, but the asan dylib is there.

Oops. My clang is 7.0.2. My Xcode is 7.2.1, and I have the command line tools 
for 7.2.1 selected.v

Ben

I’ve updated to 10.11, and reinstalled the command line tools.

$ gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin15.5.0
Thread model: posix

My build still fails with ...

  CCLD   svg_loader.la
libtool: link: warning: `/sw/lib/libpangoft2-1.0.la' seems to be moved
libtool: link: warning: `/sw/lib/libpangocairo-1.0.la' seems to be moved
libtool: link: warning: `/sw/lib/libpango-1.0.la' seems to be moved
libtool: link: warning: `/sw/lib/libfontconfig.la' seems to be moved
libtool: link: warning: `/sw/lib/libfreetype.la' seems to be moved
clang: warning: argument unused during compilation: '-pthread'
ld: file not found: @rpath/libclang_rt.asan_osx_dynamic.dylib for architecture 
x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:356: recipe for target 'svg_loader.la' failed
make[2]: *** [svg_loader.la] Error 1
make[2]: Leaving directory 
'/sw/src/fink.build/librsvg2-2.26.3-4/librsvg-2.26.3/gdk-pixbuf-loader'
Makefile:819: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/sw/src/fink.build/librsvg2-2.26.3-4/librsvg-2.26.3'
Makefile:483: recipe for target 'all' failed
make: *** [all] Error 2
### execution of make failed, exit code 2
### execution of /tmp/fink.eXzT2 failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-librsvg2-2.26.3-4
(Reading database ... 260728 files and directories currently installed.)
Removing fink-buildlock-librsvg2-2.26.3-4 ...
Failed: phase compiling: l

Re: [Fink-users] librsvg2 fails to build

2016-07-08 Thread Alexander Hansen

> On Jul 8, 2016, at 12:32, Ben Abbott  wrote:
> 
> On Jul 7, 2016, at 17:37, Ben Abbott  > wrote:
> 
>> On Jul 7, 2016, at 14:45, Ben Abbott > > wrote:
>> 
>>> On Jul 7, 2016, at 14:21, Alexander Hansen >> > wrote:
 
> On Jul 7, 2016, at 10:23, Ben Abbott  > wrote:
> 
>>> On Jul 7, 2016, at 10:37, Alexander Hansen >> > wrote:
>>> 
>>> On Jul 7, 2016, at 04:32, Ben Abbott >> > wrote:
>>> 
>>> Mac OS 10.10.5
>>> MacBook Pro (15in Early 2011)
>>> Processor 2.2 GHz Intel Core i7
>>> 
>>> Also include the following system information:
>>> Package manager version: 0.39.3
>>> Distribution version: selfupdate-rsync Thu Jul  7 07:05:50 2016, 10.10, 
>>> x86_64
>>> Trees: local/main stable/main stable/crypto
>>> Xcode.app: 7.2.1
>>> Xcode command-line tools: 7.2.0.0.1.1447826929
>>> Max. Fink build jobs:  4
>>> 
>>> CCLD   svg_loader.la
>>> libtool: link: warning: `/sw/lib/libpangoft2-1.0.la' seems to be moved
>>> libtool: link: warning: `/sw/lib/libpangocairo-1.0.la' seems to be moved
>>> libtool: link: warning: `/sw/lib/libpango-1.0.la' seems to be moved
>>> libtool: link: warning: `/sw/lib/libfontconfig.la' seems to be moved
>>> libtool: link: warning: `/sw/lib/libfreetype.la' seems to be moved
>>> clang: warning: argument unused during compilation: '-pthread'
>>> ld: file not found: @rpath/libclang_rt.asan_osx_dynamic.dylib for 
>>> architecture x86_64
>>> clang: error: linker command failed with exit code 1 (use -v to see 
>>> invocation)
>>> Makefile:356: recipe for target 'svg_loader.la' failed
>>> make[2]: *** [svg_loader.la] Error 1
>>> make[2]: Leaving directory 
>>> '/sw/src/fink.build/librsvg2-2.26.3-4/librsvg-2.26.3/gdk-pixbuf-loader'
>>> Makefile:819: recipe for target 'all-recursive' failed
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory 
>>> '/sw/src/fink.build/librsvg2-2.26.3-4/librsvg-2.26.3'
>>> Makefile:483: recipe for target 'all' failed
>>> make: *** [all] Error 2
>>> ### execution of make failed, exit code 2
>>> ### execution of /tmp/fink.X9CAF failed, exit code 2
>>> Removing runtime build-lock...
>>> Removing build-lock package...
>>> /sw/bin/dpkg-lockwait -r fink-buildlock-librsvg2-2.26.3-4
>>> (Reading database ... 260728 files and directories currently installed.)
>>> Removing fink-buildlock-librsvg2-2.26.3-4 ...
>>> Failed: phase compiling: librsvg2-2.26.3-4 failed
>>> 
>>> Ben
>> 
>> I don’t reproduce this on 10.11 with Xcode 7.3.  You aren’t using a 
>> non-Xcode clang or ld, by any chance?  I wasn’t able to trigger the 
>> build failure even by moving 
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.3.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
>>  out of the way.
> 
> My mac mini running 10.11 also worked. I've been slow upgrading my 
> notebook. Perhaps I should just upgrade to 10.11.
> 
> I'll run a follow the instructions on Finks homepage, backup, and then 
> upgrade.
> 
> If you'd like me to try something first, let me know.
> 
> Ben
 
 Maybe reinstall the Xcode command line tools or update them.  That’s 
 semi-easy.  And even before that, check for 
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.2.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
 
 —akh
>>> 
>>> Ah-ha!
>>> 
>>> My Xcode is 7.0.2, but the asan dylib is there.
>> 
>> Oops. My clang is 7.0.2. My Xcode is 7.2.1, and I have the command line 
>> tools for 7.2.1 selected.
> 
> I've installed 10.11 and now have copies of both Xcode 7.2.1 and 7.3.1. Using 
> 7.2.1 I'm able to build librsvg2
> 
> Ben
> 

Thanks for the followup.  I can try 10.10/Xcode 7.x here, since that’s a 
problematic combination on other packages.

—akh

--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] librsvg2 fails to build

2016-07-08 Thread Ben Abbott
> On Jul 7, 2016, at 17:37, Ben Abbott  wrote:
> 
>> On Jul 7, 2016, at 14:45, Ben Abbott  wrote:
>> 
>>> On Jul 7, 2016, at 14:21, Alexander Hansen  
>>> wrote:
>>> 
 On Jul 7, 2016, at 10:23, Ben Abbott  wrote:
 
>> On Jul 7, 2016, at 10:37, Alexander Hansen  
>> wrote:
>> 
>> On Jul 7, 2016, at 04:32, Ben Abbott  wrote:
>> 
>> Mac OS 10.10.5
>> MacBook Pro (15in Early 2011)
>> Processor 2.2 GHz Intel Core i7
>> 
>> Also include the following system information:
>> Package manager version: 0.39.3
>> Distribution version: selfupdate-rsync Thu Jul  7 07:05:50 2016, 10.10, 
>> x86_64
>> Trees: local/main stable/main stable/crypto
>> Xcode.app: 7.2.1
>> Xcode command-line tools: 7.2.0.0.1.1447826929
>> Max. Fink build jobs:  4
>> 
>> CCLD   svg_loader.la
>> libtool: link: warning: `/sw/lib/libpangoft2-1.0.la' seems to be moved
>> libtool: link: warning: `/sw/lib/libpangocairo-1.0.la' seems to be moved
>> libtool: link: warning: `/sw/lib/libpango-1.0.la' seems to be moved
>> libtool: link: warning: `/sw/lib/libfontconfig.la' seems to be moved
>> libtool: link: warning: `/sw/lib/libfreetype.la' seems to be moved
>> clang: warning: argument unused during compilation: '-pthread'
>> ld: file not found: @rpath/libclang_rt.asan_osx_dynamic.dylib for 
>> architecture x86_64
>> clang: error: linker command failed with exit code 1 (use -v to see 
>> invocation)
>> Makefile:356: recipe for target 'svg_loader.la' failed
>> make[2]: *** [svg_loader.la] Error 1
>> make[2]: Leaving directory 
>> '/sw/src/fink.build/librsvg2-2.26.3-4/librsvg-2.26.3/gdk-pixbuf-loader'
>> Makefile:819: recipe for target 'all-recursive' failed
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory 
>> '/sw/src/fink.build/librsvg2-2.26.3-4/librsvg-2.26.3'
>> Makefile:483: recipe for target 'all' failed
>> make: *** [all] Error 2
>> ### execution of make failed, exit code 2
>> ### execution of /tmp/fink.X9CAF failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-librsvg2-2.26.3-4
>> (Reading database ... 260728 files and directories currently installed.)
>> Removing fink-buildlock-librsvg2-2.26.3-4 ...
>> Failed: phase compiling: librsvg2-2.26.3-4 failed
>> 
>> Ben
> 
> I don’t reproduce this on 10.11 with Xcode 7.3.  You aren’t using a 
> non-Xcode clang or ld, by any chance?  I wasn’t able to trigger the build 
> failure even by moving 
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.3.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
>  out of the way.
 
 My mac mini running 10.11 also worked. I've been slow upgrading my 
 notebook. Perhaps I should just upgrade to 10.11.
 
 I'll run a follow the instructions on Finks homepage, backup, and then 
 upgrade.
 
 If you'd like me to try something first, let me know.
 
 Ben
>>> 
>>> Maybe reinstall the Xcode command line tools or update them.  That’s 
>>> semi-easy.  And even before that, check for 
>>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.2.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
>>> 
>>> —akh
>> 
>> Ah-ha!
>> 
>> My Xcode is 7.0.2, but the asan dylib is there.
> 
> Oops. My clang is 7.0.2. My Xcode is 7.2.1, and I have the command line tools 
> for 7.2.1 selected.

I've installed 10.11 and now have copies of both Xcode 7.2.1 and 7.3.1. Using 
7.2.1 I'm able to build librsvg2

Ben

--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users