I can't find a url for this at the moment, but I believe that 
CoreDuo/CoreSolo
were never fully debugged on darwin and will not build libasan. Previously we 
just
suggested that the users commment the libasan entries in the files and shlibs 
field
as there is no clean way to special case the CoreDuo/CoreSolo machines in the 
info
field short of disabling libsanitizer for all users which is unacceptable.
         Jack
ps MacPorts sees the same issue...

https://trac.macports.org/ticket/40098

but can gracefully handle the missing libasan with...

https://trac.macports.org/changeset/109386/trunk/dports/lang/gcc48/Portfile

since they don't maintain explicit shared library lists.

On Thu, Nov 07, 2013 at 09:56:57AM -0500, Hanspeter Niederstrasser wrote:
> On 11/7/2013 1:04 AM, James Gunning wrote:
>> Hi All,
>>          I see a build fail for gcc4.8  (needed by octave etc) due to missing
>> libasan.
>> Log at end of /long/ build is....
>> /
>> //
>> //if [ "i386" != "powerpc" ] ; then//
>> //   cp
>> /sw/src/fink.build/gcc48-4.8.1-1000/gcc-4.8.1/gcc/config/darwin-sections.def
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/lib/gcc4.8/lib/gcc/i386-apple-darwin${darwinvers}/4.8.1/plugin/include/config//
>> // fi//
>> //
>> // # remove build path from .la files//
>> // perl -pi -e "s, \-L[^ ']*/gcc48-4.8.1-1000/darwin_objdir/[^ ']*,,g" `find
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/lib/gcc4.8/lib -name '*.la'`//
>> //find /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/lib/gcc4.8/lib -name 
>> '*.la'//
>> // find /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/lib/gcc4.8/lib -name
>> 'libasan.la' | xargs perl -pi -e "s, /[^ 
>> ']*/gcc48-4.8.1-1000/darwin_objdir/[^
>> ']*,,g"//
>> //sudo -u fink-bld [ENV] sh -c /tmp/fink.W3ROU//
>> ///bin/rm -f /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/info/dir
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/info/dir.old
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/share/info/dir
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/share/info/dir.old//
>> ///bin/rm -rf /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000//
>> ///bin/mkdir -p /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000/sw//
>> ///bin/mkdir -p /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000/DEBIAN//
>> ///usr/sbin/chown -R fink-bld:fink-bld
>> /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000//
>> //sudo -u fink-bld [ENV] sh -c /tmp/fink.vAaaR//
>> ///usr/bin/install -d -m 755
>> /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000/sw/lib/gcc4.8/lib//
>> ///bin/mv
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/lib/gcc4.8/lib/libgfortran.3*.dylib
>> /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000/sw/lib/gcc4.8/lib///
>> ///bin/mv
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/lib/gcc4.8/lib/libstdc++.6*.dylib
>> /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000/sw/lib/gcc4.8/lib///
>> ///bin/mv
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/lib/gcc4.8/lib/libgcc_s.1*.dylib
>> /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000/sw/lib/gcc4.8/lib///
>> ///bin/mv
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/lib/gcc4.8/lib/libgcc_ext.1*.dylib
>> /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000/sw/lib/gcc4.8/lib///
>> ///bin/mv
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/lib/gcc4.8/lib/libgcj.14*.dylib
>> /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000/sw/lib/gcc4.8/lib///
>> ///bin/mv
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/lib/gcc4.8/lib/libgcj-tools.14*.dylib
>>  /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000/sw/lib/gcc4.8/lib///
>> ///bin/mv
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/lib/gcc4.8/lib/libgij.14*.dylib
>> /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000/sw/lib/gcc4.8/lib///
>> ///bin/mv
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/lib/gcc4.8/lib/libitm.1*.dylib
>> /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000/sw/lib/gcc4.8/lib///
>> ///bin/mv
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/lib/gcc4.8/lib/libssp.0*.dylib
>> /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000/sw/lib/gcc4.8/lib///
>> ///bin/mv
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/lib/gcc4.8/lib/libobjc-gnu.4*.dylib
>> /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000/sw/lib/gcc4.8/lib///
>> ///bin/mv
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/lib/gcc4.8/lib/libgomp.1*.dylib
>> /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000/sw/lib/gcc4.8/lib///
>> ///bin/mv
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/lib/gcc4.8/lib/libquadmath.0*.dylib
>> /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000/sw/lib/gcc4.8/lib///
>> ///bin/mv
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/lib/gcc4.8/lib/libatomic.1*.dylib
>> /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000/sw/lib/gcc4.8/lib///
>> ///bin/mv
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/lib/gcc4.8/lib/libasan.0*.dylib
>> /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000/sw/lib/gcc4.8/lib///
>> //mv: rename
>> /sw/src/fink.build/root-gcc48-4.8.1-1000/sw/lib/gcc4.8/lib/libasan.0*.dylib 
>> to
>> /sw/src/fink.build/root-gcc48-shlibs-4.8.1-1000/sw/lib/gcc4.8/lib/libasan.0*.dylib:
>> No such file or directory//
>> //### execution of /bin/mv failed, exit code 1//
>> //### execution of /tmp/fink.vAaaR failed, exit code 1//
>> //Removing runtime build-lock...//
>> //Removing build-lock package...//
>> ///sw/bin/dpkg-lockwait -r fink-buildlock-gcc48-4.8.1-1000//
>> //(Reading database ... 279577 files and directories currently installed.)//
>> //Removing fink-buildlock-gcc48-4.8.1-1000 ...//
>> //Failed: phase installing: gcc48-shlibs-4.8.1-1000 failed//
>> //
>> /# uname -smp
>> Darwin i386 i386
>>
>>
>> Any suggestions for cures? Google tells me Jack Howarth had seen it but I'm 
>> not
>> sure where things are...
>
> libasan.dylib is part of the gcc48 build and the Fink failure you show  
> happens when the install process is unable to find the (supposedly)  
> compiled libasan library.  Look earlier through your log to see if you  
> can find an error when gcc48 tries to compile the libasan library.
>
> Hanspeter

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
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