Remi,
     The install path name length is being exceeded in your case. Try adding....

perl -pi -e 's|-install_name|-headerpad_max_install_names
-install_name|g' %b/gcc/Makefile.in

to the end of the PatchScript in llvm-gcc42-10.9.info in your case
(which should work around your long path).
               Jack

On Mon, May 11, 2015 at 11:50 AM, Remi Mommsen <remigius.momm...@cern.ch> wrote:
> Hi,
>
> while building xmkmf which is needed by the cernlib package, lvm-gcc42 fails 
> to build (on 10.9 with a non-standard fink prefix '/opt/fink'):
>
>         # hardcode install name for libllvmgcc.dylib
>         install_name_tool -id 
> /opt/fink/lib/llvm-gcc42/gcc/x86_64-apple-darwin13/4.2.1/libllvmgcc.dylib 
> /opt/fink/src/fink.build/root-llvm-gcc42-2336.11-7/opt/fink/lib/llvm-gcc42/gcc/x86_64-apple-darwin13/4.2.1/libllvmgcc.dylib
> error: 
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool:
>  changing install names or rpaths can't be redone for: 
> /opt/fink/src/fink.build/root-llvm-gcc42-2336.11-7/opt/fink/lib/llvm-gcc42/gcc/x86_64-apple-darwin13/4.2.1/libllvmgcc.dylib
>  (for architecture x86_64) because larger updated load commands do not fit 
> (the program must be relinked, and you may need to use -headerpad or 
> -headerpad_max_install_names)
> ### execution of /tmp/fink.FkQu8 failed, exit code 1
> ### execution of /tmp/fink.zb8F6 failed, exit code 1
> Removing runtime build-lock...
> Removing build-lock package...
> /opt/fink/bin/dpkg-lockwait -r fink-buildlock-llvm-gcc42-2336.11-7
> (Reading database ... 64327 files and directories currently installed.)
> Removing fink-buildlock-llvm-gcc42-2336.11-7 ...
> Failed: phase installing: llvm-gcc42-2336.11-7 failed
>
>
> Also include the following system information:
> Package manager version: 0.38.4
> Distribution version: selfupdate-cvs Mon May 11 13:10:05 2015, 10.9, x86_64
> Trees: local/main stable/main
> Xcode.app: 6.2
> Xcode command-line tools: 6.2.0.0.1.1424975374
> llvm-gcc42-2336.11-7 is set to build with only one job.
>
>
> Cheers,
> Remi

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
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

Reply via email to