Alexander Hansen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 1/9/10 9:49 PM, Jess H. Brewer wrote:
>> Alexander Hansen wrote:
>> On 1/9/10 11:11 AM, Jess H. Brewer wrote:
>>>>> Every since I upgraded to Snow Leopard I have been unable
>>>>> to complete any `fink update-all' without running into the
>>>>> following error message:
>>>>>
>>> . . .
>>>>> libtool: link: `/usr/lib/libiconv.la' is not a valid libtool archive
>>> . . .
>>>>>
>>>>> Do you think this is related to the OS upgrade, or might it
>>>>> be due to some (unsuccessful) efforts I have made to get
>>>>> cernlib working by hook or crook?  Any help appreciated.  -- Jess
>>>>>
>>>>>
>>
>> It's totally related to the OS upgrade.  Apple decided to ditch .la
>> files that were there in Leopard.
>>
>> A workaround to try is
>>
>>      sudo find /sw/lib -name *.la -delete
>>
>> That will remove all of Fink's .la files, which contain references to
>> the now nonexistent Apple .la files.
>>>
>
>> Aha.  I should have guessed.  Every upgrade is a bus wreck.
>> I did as you said and then `fink selfupdate; fink update-all'
>> which ran all day (gobbling up several GB of disk space,
>> presumably to create new versions of all the .la files) and
>> finally died while building webkit:
>
>> ld: library not found for -lXt
>> collect2: ld returned 1 exit status
>> make[1]: *** [libwebkit-1.0.la] Error 1
>
>> I tried running `fink selfupdate; fink update-all' over again
>> (sometimes it seems to take two passes) and (after another
>> couple of hours) got the same result.  So I'm back where I
>> started except with lots less disk space.<sigh>
>
> 'fink cleanup' will help with the disk space.   Actually, the .la files
> themselves don't force a rebuild; this is just the normal state of being
> a bit behind.
>
> As for the webkit issue, we're going to need to see the full line of
> output just before what you've posted for debugging purposes.
>
> - --
> Alexander Hansen
> Fink User Liaison
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAktKN1kACgkQB8UpO3rKjQ+VSgCfY5MqOGNn4bzQkimvz/5fwy/E
> 18IAnjd/Ae8R4Ovzq8w+MwkssGA13fKo
> =2kMK
> -----END PGP SIGNATURE-----


Hmm, I just tried it again (3rd time in a row) after a `fink cleanup'
and got a more manageable record of the offending command "line" (see
below).  The question is, why was it different this time?



/bin/sh ./libtool --tag=CXX   --mode=link g++ -Wall -W -Wcast-align 
-Wchar-subscripts -Wreturn-type -Wformat -Wformat-security 
-Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith 
-Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions 
-fvisibility=hidden -fvisibility-inlines-hidden -fno-rtti 
-fstrict-aliasing -O3 -Wall -W -Wcast-align -Wchar-subscripts 
-Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef 
-Wmissing-format-attribute -Wpointer-arith -Wwrite-strings 
-Wno-unused-parameter -Wno-parentheses -fno-exceptions 
-fvisibility=hidden -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include 
-DSTD_INSPIRED -DMAC_OS_X_VERSION_MIN_REQUIRED=1040 -I/sw/include -O2 
-L/sw/lib -o libJavaScriptCore.la 
JavaScriptCore/API/libJavaScriptCore_la-JSBase.lo 
JavaScriptCore/API/libJavaScriptCore_la-JSCallbackConstructor.lo 
JavaScriptCore/API/libJavaScriptCore_la-JSCallbackFunction.lo 
JavaScriptCore/API/libJavaScriptCore_la-JSCallbackObject.lo 
JavaScriptCore/API/libJavaScriptCore_la-JSClassRef.lo 
JavaScriptCore/API/libJavaScriptCore_la-JSContextRef.lo 
JavaScriptCore/API/libJavaScriptCore_la-JSObjectRef.lo 
JavaScriptCore/API/libJavaScriptCore_la-JSStringRef.lo 
JavaScriptCore/API/libJavaScriptCore_la-JSValueRef.lo 
JavaScriptCore/API/libJavaScriptCore_la-OpaqueJSString.lo 
JavaScriptCore/jit/libJavaScriptCore_la-JIT.lo 
JavaScriptCore/jit/libJavaScriptCore_la-JITOpcodes.lo 
JavaScriptCore/jit/libJavaScriptCore_la-JITCall.lo 
JavaScriptCore/jit/libJavaScriptCore_la-JITPropertyAccess.lo 
JavaScriptCore/jit/libJavaScriptCore_la-JITArithmetic.lo 
JavaScriptCore/jit/libJavaScriptCore_la-ExecutableAllocator.lo 
JavaScriptCore/jit/libJavaScriptCore_la-JITStubs.lo 
JavaScriptCore/bytecode/libJavaScriptCore_la-StructureStubInfo.lo 
JavaScriptCore/bytecode/libJavaScriptCore_la-CodeBlock.lo 
JavaScriptCore/bytecode/libJavaScriptCore_la-JumpTable.lo 
JavaScriptCore/runtime/libJavaScriptCore_la-ExceptionHelpers.lo 
JavaScriptCore/interpreter/libJavaScriptCore_la-Interpreter.lo 
JavaScriptCore/bytecode/libJavaScriptCore_la-Opcode.lo 
JavaScriptCore/bytecode/libJavaScriptCore_la-SamplingTool.lo 
JavaScriptCore/debugger/libJavaScriptCore_la-DebuggerActivation.lo 
JavaScriptCore/debugger/libJavaScriptCore_la-DebuggerCallFrame.lo 
JavaScriptCore/pcre/libJavaScriptCore_la-pcre_compile.lo 
JavaScriptCore/pcre/libJavaScriptCore_la-pcre_exec.lo 
JavaScriptCore/pcre/libJavaScriptCore_la-pcre_tables.lo 
JavaScriptCore/pcre/libJavaScriptCore_la-pcre_ucp_searchfuncs.lo 
JavaScriptCore/pcre/libJavaScriptCore_la-pcre_xclass.lo 
JavaScriptCore/profiler/libJavaScriptCore_la-HeavyProfile.lo 
JavaScriptCore/profiler/libJavaScriptCore_la-Profile.lo 
JavaScriptCore/profiler/libJavaScriptCore_la-ProfileGenerator.lo 
JavaScriptCore/profiler/libJavaScriptCore_la-ProfileNode.lo 
JavaScriptCore/profiler/libJavaScriptCore_la-Profiler.lo 
JavaScriptCore/profiler/libJavaScriptCore_la-TreeProfile.lo 
JavaScriptCore/interpreter/libJavaScriptCore_la-CallFrame.lo 
JavaScriptCore/runtime/libJavaScriptCore_la-TimeoutChecker.lo 
JavaScriptCore/runtime/libJavaScriptCore_la-InitializeThreading.lo 
JavaScriptCore/runtime/libJavaScriptCore_la-JSActivation.lo 
JavaScriptCore/runtime/libJavaScriptCore_la-JSByteArray.lo 
JavaScriptCore/runtime/libJavaScriptCore_la-JSGlobalData.lo 
JavaScriptCore/runtime/libJavaScriptCore_la-JSNotAnObject.lo 
JavaScriptCore/runtime/libJavaScriptCore_la-JSONObject.lo 
JavaScriptCore/runtime/libJavaScriptCore_la-JSPropertyNameIterator.lo 
JavaScriptCore/runtime/libJavaScriptCore_la-LiteralParser.lo 
JavaScriptCore/runtime/libJavaScriptCore_la-SmallStrings.lo 
JavaScriptCore/runtime/libJavaScriptCore_la-Structure.lo 
JavaScriptCore/runtime/libJavaScriptCore_la-StructureChain.lo 
JavaScriptCore/wtf/libJavaScriptCore_la-Assertions.lo 
JavaScriptCore/wtf/libJavaScriptCore_la-ByteArray.lo 
JavaScriptCore/wtf/libJavaScriptCore_la-CurrentTime.lo 
JavaScriptCore/wtf/libJavaScriptCore_la-DateMath.lo 
JavaScriptCore/wtf/libJavaScriptCore_la-GOwnPtr.lo 
JavaScriptCore/wtf/libJavaScriptCore_la-HashTable.lo 
JavaScriptCore/wtf/libJavaScriptCore_la-MainThread.lo 
JavaScriptCore/wtf/libJavaScriptCore_la-RandomNumber.lo 
JavaScriptCore/wtf/libJavaScriptCore_la-RefCountedLeakCounter.lo 
JavaScriptCore/wtf/libJavaScriptCore_la-Threading.lo 
JavaScriptCore/wtf/libJavaScriptCore_la-ThreadingPthreads.lo 
JavaScriptCore/wtf/libJavaScriptCore_la-TypeTraits.lo 
JavaScriptCore/wtf/gtk/libJavaScriptCore_la-MainThreadGtk.lo 
JavaScriptCore/wtf/gtk/libJavaScriptCore_la-ThreadingGtk.lo 
JavaScriptCore/wtf/unicode/libJavaScriptCore_la-CollatorDefault.lo 
JavaScriptCore/wtf/unicode/libJavaScriptCore_la-UTF8.lo 
JavaScriptCore/jit/libJavaScriptCore_la-ExecutableAllocatorPosix.lo 
JavaScriptCore/wtf/unicode/icu/libJavaScriptCore_la-CollatorICU.lo 
JavaScriptCore/yarr/libJavaScriptCore_la-RegexCompiler.lo 
JavaScriptCore/yarr/libJavaScriptCore_la-RegexInterpreter.lo 
JavaScriptCore/yarr/libJavaScriptCore_la-RegexJIT.lo 
JavaScriptCore/libJavaScriptCore_la-AllInOneFile.lo 
JavaScriptCore/parser/libJavaScriptCore_la-ParserArena.lo  -lpthread -lm 
-L/usr/lib -licucore -lpthread -lm -L/sw/lib -lgobject-2.0 -lgthread-2.0 
-lglib-2.0 -lintl -lpthread
grep: /sw/lib/libiconv.la: No such file or directory
/sw/bin/sed: can't read /sw/lib/libiconv.la: No such file or directory
libtool: link: `/sw/lib/libiconv.la' is not a valid libtool archive
make[1]: *** [libJavaScriptCore.la] Error 1
make: *** [all] Error 2
### execution of /var/tmp/tmp.2.P1TMy0 failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-webkit-1.0.2-1.1.10-5
(Reading database ... 144326 files and directories currently installed.)
Removing fink-buildlock-webkit-1.0.2-1.1.10-5 ...
Updating the list of locally available binary packages.
Scanning dists/stable/main/binary-darwin-i386
New package: 
dists/stable/main/binary-darwin-i386/base/gettext-tools_0.17-17_darwin-i386.deb
New package: 
dists/stable/main/binary-darwin-i386/base/libgettextpo2-dev_0.17-17_darwin-i386.deb
New package: 
dists/stable/main/binary-darwin-i386/base/libgettextpo2-shlibs_0.17-17_darwin-i386.deb
New package: 
dists/stable/main/binary-darwin-i386/graphics/libtheora0-shlibs_1.1.1-1_darwin-i386.deb
New package: 
dists/stable/main/binary-darwin-i386/graphics/libtheora0_1.1.1-1_darwin-i386.deb
New package: 
dists/stable/main/binary-darwin-i386/graphics/libtheoradec1-shlibs_1.1.1-1_darwin-i386.deb
New package: 
dists/stable/main/binary-darwin-i386/graphics/libtheoraenc1-shlibs_1.1.1-1_darwin-i386.deb
Failed: phase compiling: webkit-1.0.2-1.1.10-5 failed


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to