Changes between Initial Version and Version 1 of Ticket #36880


Ignore:
Timestamp:
Nov 4, 2012, 10:04:35 AM (7 years ago)
Author:
ryandesign (Ryan Schmidt)
Comment:

Please compress large files; I've uploaded a compressed version of your log and deleted the original.

Remember also to use WikiFormatting when writing in Trac, to fill in the Port field, and to Cc the maintainer of that port.

The first error I see in the log is:

:info:build libtool: link: /usr/bin/llvm-g++-4.2 -pipe -O2 -arch x86_64 -O2 -arch x86_64 -o Programs/TestWebKitAPI/TestWTF Tools/TestWebKitAPI/Tests/WTF/Programs_TestWebKitAPI_TestWTF-AtomicString.o Tools/TestWebKitAPI/Tests/WTF/Programs_TestWebKitAPI_TestWTF-CString.o Tools/TestWebKitAPI/Tests/WTF/Programs_TestWebKitAPI_TestWTF-CheckedArithmeticOperations.o Tools/TestWebKitAPI/Tests/WTF/Programs_TestWebKitAPI_TestWTF-Functional.o Tools/TestWebKitAPI/Tests/WTF/Programs_TestWebKitAPI_TestWTF-HashMap.o Tools/TestWebKitAPI/Tests/WTF/Programs_TestWebKitAPI_TestWTF-MediaTime.o Tools/TestWebKitAPI/Tests/WTF/Programs_TestWebKitAPI_TestWTF-RedBlackTree.o Tools/TestWebKitAPI/Tests/WTF/Programs_TestWebKitAPI_TestWTF-StringBuilder.o Tools/TestWebKitAPI/Tests/WTF/Programs_TestWebKitAPI_TestWTF-StringImpl.o Tools/TestWebKitAPI/Tests/WTF/Programs_TestWebKitAPI_TestWTF-StringOperators.o Tools/TestWebKitAPI/Tests/WTF/Programs_TestWebKitAPI_TestWTF-TemporaryChange.o Tools/TestWebKitAPI/Tests/WTF/Programs_TestWebKitAPI_TestWTF-VectorBasic.o Tools/TestWebKitAPI/Tests/WTF/Programs_TestWebKitAPI_TestWTF-Vector.o Tools/TestWebKitAPI/Tests/WTF/Programs_TestWebKitAPI_TestWTF-VectorReverse.o  -L/opt/local/lib Libraries/.libs/libTestWebKitAPIMain.a Libraries/.libs/libgtest.a ./.libs/libWTF.a -licui18n -licuuc -licudata /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libgdk-x11-2.0.dylib /opt/local/lib/libatk-1.0.dylib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libXinerama.dylib /opt/local/lib/libXi.dylib /opt/local/lib/libXrandr.dylib /opt/local/lib/libXext.dylib /opt/local/lib/libXcursor.dylib /opt/local/lib/libXcomposite.dylib /opt/local/lib/libXdamage.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libXfixes.dylib /opt/local/lib/libcairo.dylib /opt/local/lib/libpixman-1.dylib /opt/local/lib/libpng15.dylib /opt/local/lib/libxcb-shm.dylib /opt/local/lib/libX11-xcb.dylib /opt/local/lib/libxcb-render.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libxcb.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib /opt/local/lib/libpango-1.0.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/libfreetype.dylib -lbz2 /opt/local/lib/libexpat.dylib /opt/local/lib/libsoup-2.4.dylib /opt/local/lib/libxml2.dylib -lpthread /opt/local/lib/liblzma.dylib -lm /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib -lz /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libffi.dylib /opt/local/lib/libglib-2.0.dylib -lresolv /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc -pthread
:info:build Undefined symbols for architecture x86_64:
:info:build   "_objc_registerThreadWithCollector", referenced from:
:info:build       WTF::initializeCurrentThreadInternal(char const*)in libWTF.a(libWTF_la-ThreadingPthreads.o)
:info:build ld: symbol(s) not found for architecture x86_64
:info:build collect2: ld returned 1 exit status

I see this same error was also filed as upstream bug 58737 last year against Snow Leopard. There is a small patch attached there.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36880

    • Property Owner changed from macports-tickets@… to jeremyhu@…
    • Property Port webkit-gtk added
    • Property Summary changed from webkit-gtk 1.10.1 fails to build to webkit-gtk: Undefined symbols _objc_registerThreadWithCollector
  • Ticket #36880 – Description

    initial v1  
    11The subject says it all... The system is 10.8.2 with Xcode 4.5.2 on a retina MBP. To make sure that I wasn't using an outdated port, I did:
    22
     3{{{
    34sudo port -yds sync
    45sudo port -vds selfupdate
     
    67sudo port -v clean webkit-gtk
    78sudo port install -s webkit-gtk
     9}}}
    810
    911The output of the last command is:
    1012
     13{{{
    1114--->  Computing dependencies for webkit-gtk
    1215--->  Fetching distfiles for webkit-gtk
     
    2225    http://guide.macports.org/#project.tickets
    2326Error: Processing of port webkit-gtk failed
     27}}}
    2428
    2529I will attach the log file.