[MacPorts] #23464: webkit-gtk 1.1.15.4: multiple definitions of symbol _kJSClassDefinitionEmpty

MacPorts noreply at macports.org
Tue Mar 23 04:45:47 PDT 2010


#23464: webkit-gtk 1.1.15.4: multiple definitions of symbol
_kJSClassDefinitionEmpty
---------------------------------+------------------------------------------
 Reporter:  vinc17@…             |       Owner:  myschizobuddy@…        
     Type:  defect               |      Status:  new                    
 Priority:  Normal               |   Milestone:                         
Component:  ports                |     Version:  1.8.2                  
 Keywords:                       |        Port:  webkit-gtk             
---------------------------------+------------------------------------------

Comment(by guy.linton@…):

 I have applied the patch in bugs.webkit.org bug 36088 through a MacPorts
 Portfile, and confirmed that WebKitTools/GNUmakefile.am is correctly
 updated. However, it doesn't make any difference to the build failure.
 (This is on Mac OS X 10.4.11 PowerPC G5).

 Do I need to do something else to make the patch to the GNUmakefile.am
 file take effect?



 {{{
 Portfile changed since last build; discarding previous state.
 --->  Computing dependencies for webkit-gtk
 --->  Fetching webkit-gtk
 --->  Verifying checksum(s) for webkit-gtk
 --->  Extracting webkit-gtk
 --->  Applying patches to webkit-gtk
 --->  Configuring webkit-gtk
 --->  Building webkit-gtk
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_www_webkit-gtk/work/webkit-1.1.15.4" && /usr/bin/make
 -j1 all " returned error 2
 Command output:   CC     JavaScriptCore/API/tests/Programs_minidom-
 NodeList.o
   CC     JavaScriptCore/API/tests/Programs_minidom-minidom.o
   CCLD   Programs/minidom
 libtool: link: warning: `-no-install' is ignored for powerpc-apple-
 darwin8.11.0
 libtool: link: warning: assuming `-no-fast-install' instead
   CC     WebKitTools/GtkLauncher/Programs_GtkLauncher-main.o
   CCLD   Programs/GtkLauncher
 libtool: link: warning: `-no-install' is ignored for powerpc-apple-
 darwin8.11.0
 libtool: link: warning: assuming `-no-fast-install' instead
   CXX    WebKitTools/DumpRenderTree/Programs_DumpRenderTree-
 AccessibilityController.o
   CXX    WebKitTools/DumpRenderTree/Programs_DumpRenderTree-
 AccessibilityUIElement.o
   CXX    WebKitTools/DumpRenderTree/Programs_DumpRenderTree-GCController.o
   CXX    WebKitTools/DumpRenderTree/Programs_DumpRenderTree-
 LayoutTestController.o
   CXX    WebKitTools/DumpRenderTree/Programs_DumpRenderTree-WorkQueue.o
   CXX    WebKitTools/DumpRenderTree/gtk/Programs_DumpRenderTree-
 AccessibilityControllerGtk.o
   CXX    WebKitTools/DumpRenderTree/gtk/Programs_DumpRenderTree-
 AccessibilityUIElementGtk.o
   CXX    WebKitTools/DumpRenderTree/gtk/Programs_DumpRenderTree-
 DumpRenderTree.o
   CXX    WebKitTools/DumpRenderTree/gtk/Programs_DumpRenderTree-
 EventSender.o
   CXX    WebKitTools/DumpRenderTree/gtk/Programs_DumpRenderTree-
 GCControllerGtk.o
   CXX    WebKitTools/DumpRenderTree/gtk/Programs_DumpRenderTree-
 LayoutTestControllerGtk.o
   CXX    WebKitTools/DumpRenderTree/gtk/Programs_DumpRenderTree-
 WorkQueueItemGtk.o
   CXXLD  Programs/DumpRenderTree
 libtool: link: warning: `-no-install' is ignored for powerpc-apple-
 darwin8.11.0
 libtool: link: warning: assuming `-no-fast-install' instead
 /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
 symbol _kJSClassDefinitionEmpty
 ./.libs/libwebkit-1.0.dylib(single module) definition of
 _kJSClassDefinitionEmpty
 ./.libs/libJavaScriptCore.a(libJavaScriptCore_la-JSClassRef.o) definition
 of _kJSClassDefinitionEmpty in section (__TEXT,__const)
 collect2: ld returned 1 exit status
 make[1]: *** [Programs/DumpRenderTree] Error 1
 make: *** [all] Error 2

 Error: Status 1 encountered during processing.
 Before reporting a bug, first run the command again with the -d flag to
 get complete output.
 }}}



 The GNUmakefile at the top level still has the
 Programs_DumpRenderTree_LDADD in the wrong order, but manually changing
 the order of these gives a warning about the process, but ultimately still
 gives the same error:


 {{{
 --->  Computing dependencies for webkit-gtk
 --->  Building webkit-gtk
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_www_webkit-gtk/work/webkit-1.1.15.4" && /usr/bin/make
 -j1 all " returned error 2
 Command output:          you modified `Makefile.am', `acinclude.m4' or
 `configure.ac'.
          You might want to install the `Automake' and `Perl' packages.
          Grab them from any GNU archive site.
   GEN    DerivedSources/webkitenumtypes.cpp
   GEN    stamp-webkitenumtypes.h
 /usr/bin/make  all-am
  cd . && /bin/sh
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_www_webkit-gtk/work/webkit-1.1.15.4/autotools/missing
 --run automake-1.11 --foreign GNUmakefile
 configure.ac:42: version mismatch.  This is Automake 1.11.1,
 configure.ac:42: but the definition used by this AM_INIT_AUTOMAKE
 configure.ac:42: comes from Automake 1.11.  You should recreate
 configure.ac:42: aclocal.m4 with aclocal and run automake again.
 WARNING: `automake-1.11' is probably too old.  You should only need it if
          you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
          You might want to install the `Automake' and `Perl' packages.
          Grab them from any GNU archive site.
   CXX    DerivedSources/libwebkit_1_0_la-webkitenumtypes.lo
   CXXLD  libwebkit-1.0.la
 warning: no debug map in executable (-arch ppc)
   CCLD   Programs/GtkLauncher
 libtool: link: warning: `-no-install' is ignored for powerpc-apple-
 darwin8.11.0
 libtool: link: warning: assuming `-no-fast-install' instead
   CXXLD  Programs/DumpRenderTree
 libtool: link: warning: `-no-install' is ignored for powerpc-apple-
 darwin8.11.0
 libtool: link: warning: assuming `-no-fast-install' instead
 /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
 symbol _kJSClassDefinitionEmpty
 ./.libs/libwebkit-1.0.dylib(single module) definition of
 _kJSClassDefinitionEmpty
 ./.libs/libJavaScriptCore.a(libJavaScriptCore_la-JSClassRef.o) definition
 of _kJSClassDefinitionEmpty in section (__TEXT,__const)
 collect2: ld returned 1 exit status
 make[1]: *** [Programs/DumpRenderTree] Error 1
 make: *** [all] Error 2

 Error: Status 1 encountered during processing.
 Before reporting a bug, first run the command again with the -d flag to
 get complete output.

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/23464#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list