<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>34387</bug_id>
          
          <creation_ts>2010-01-30 22:05:12 -0800</creation_ts>
          <short_desc>GtkLauncher is not compiled when --enable-mathml specified</short_desc>
          <delta_ts>2010-02-04 18:40:27 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>marinalan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cmsigler</cc>
    
    <cc>commit-queue</cc>
    
    <cc>hamaji</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>186164</commentid>
    <comment_count>0</comment_count>
    <who name="">marinalan</who>
    <bug_when>2010-01-30 22:05:12 -0800</bug_when>
    <thetext>already second week, after

svn update
./autogen.sh --enable-web-sockets --enable-mathml --enable-geolocation --enable-3D-transforms --enable-filters
make

it compiles everything, except GtkLauncher.
Last messages on console are:

--------------------------------------------------------------
 CXX    JavaScriptCore/Programs_jsc-jsc.o
  CXXLD  Programs/jsc
  CC     JavaScriptCore/API/tests/Programs_minidom-JSNode.o
  CC     JavaScriptCore/API/tests/Programs_minidom-JSNodeList.o
  CC     JavaScriptCore/API/tests/Programs_minidom-Node.o
  CC     JavaScriptCore/API/tests/Programs_minidom-NodeList.o
  CC     JavaScriptCore/API/tests/Programs_minidom-minidom.o
  CCLD   Programs/minidom
  CC     WebKitTools/GtkLauncher/Programs_GtkLauncher-main.o
  CCLD   Programs/GtkLauncher
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::RenderMathMLBlock::RenderMathMLBlock(WebCore::Node*)&apos;
collect2: ld returned 1 exit status
make[1]: *** [Programs/GtkLauncher] Error 1
make[1]: Leaving directory `/home/marina/src/WebKit&apos;
make: *** [all] Error 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186165</commentid>
    <comment_count>1</comment_count>
    <who name="">marinalan</who>
    <bug_when>2010-01-30 22:06:10 -0800</bug_when>
    <thetext>My distribution is fedora 12</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186454</commentid>
    <comment_count>2</comment_count>
    <who name="Clemmitt Sigler">cmsigler</who>
    <bug_when>2010-02-01 09:25:36 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; already second week, after
&gt; 
...
&gt;   CC     WebKitTools/GtkLauncher/Programs_GtkLauncher-main.o
&gt;   CCLD   Programs/GtkLauncher
&gt; ./.libs/libwebkit-1.0.so: undefined reference to
&gt; `WebCore::RenderMathMLBlock::RenderMathMLBlock(WebCore::Node*)&apos;
&gt; collect2: ld returned 1 exit status
&gt; make[1]: *** [Programs/GtkLauncher] Error 1
&gt; make[1]: Leaving directory `/home/marina/src/WebKit&apos;
&gt; make: *** [all] Error 2

I can confirm this build error.  Specifics:

- Gentoo 10.0/current on amd64 (x86_64) platform (this is wholly independent of marinalan&apos;s Fedora 12 dist., FWIW)
- svn update run, updated to revision r54134
- Ran the following:
   $ make distclean
   $ ./autogen.sh --enable-mathml
   $ ./configure --enable-mathml
   $ make
- Identical build error as reported by marinalan
- Building without --enable-mathml succeeds

In inspecting my local dir tree after the build failed, I see that neither WebCore/mathml/RenderMathMLBlock.cpp nor WebCore/mathml/MathMLTextElement.cpp is being built.

I have little experience in working with autoconf/automake, but I&apos;m trying to find where the build configuration problem lies.  I think it&apos;s in WebCore/GNUmakefile.am.  Will report back if I find a fix for the build error I&apos;m experiencing.

Clemmitt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186471</commentid>
    <comment_count>3</comment_count>
    <who name="Clemmitt Sigler">cmsigler</who>
    <bug_when>2010-02-01 10:18:02 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; I can confirm this build error.  Specifics:
...
&gt; Will report back if I find a fix for the build error
&gt; I&apos;m experiencing.

Yes, the problem is in WebCore/GNUmakefile.am.  It appears to me that when r53764 (or r52721) was committed, GNUmakefile.am wasn&apos;t updated correspondingly.  Here is a QnD patch:

=== Cut here -- START ===
--- WebCore/GNUmakefile.am.orig	2010-02-01 09:32:29.000000000 -0500
+++ WebCore/GNUmakefile.am	2010-02-01 12:20:18.000000000 -0500
@@ -2713,7 +2713,11 @@
 	WebCore/mathml/MathMLInlineContainerElement.cpp \
 	WebCore/mathml/MathMLInlineContainerElement.h  \
 	WebCore/mathml/MathMLMathElement.cpp \
-	WebCore/mathml/MathMLMathElement.h
+	WebCore/mathml/MathMLMathElement.h \
+	WebCore/mathml/MathMLTextElement.cpp \
+	WebCore/mathml/MathMLTextElement.h \
+	WebCore/mathml/RenderMathMLBlock.cpp \
+	WebCore/mathml/RenderMathMLBlock.h
 
 webcore_built_sources += \
 	DerivedSources/MathMLElementFactory.cpp \
=== Cut here -- END ===

I hope someone with commit privileges will be able to patch this into the trunk.  TIA for your help, and for WebKit.

Clemmitt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187526</commentid>
    <comment_count>4</comment_count>
    <who name="Clemmitt Sigler">cmsigler</who>
    <bug_when>2010-02-03 16:07:36 -0800</bug_when>
    <thetext>(In reply to comment #3)

I wonder what one does to get the attention of a developer, if no one goes through bugzilla examining reported problems or looking for fixes?  I&apos;ll try again by attaching a patch for this problem.  Hopefully the patch will be reviewed.

Clemmitt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187531</commentid>
    <comment_count>5</comment_count>
      <attachid>48072</attachid>
    <who name="Clemmitt Sigler">cmsigler</who>
    <bug_when>2010-02-03 16:15:49 -0800</bug_when>
    <thetext>Created attachment 48072
Patch to fix WebKitGTK build when --enable-mathml specified.

Patch to fix WebKitGTK build when --enable-mathml specified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187534</commentid>
    <comment_count>6</comment_count>
      <attachid>48073</attachid>
    <who name="Clemmitt Sigler">cmsigler</who>
    <bug_when>2010-02-03 16:17:48 -0800</bug_when>
    <thetext>Created attachment 48073
Patch to fix WebKitGTK build when --enable-mathml specified.

Patch to fix WebKitGTK build when --enable-mathml specified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187733</commentid>
    <comment_count>7</comment_count>
      <attachid>48073</attachid>
    <who name="Shinichiro Hamaji">hamaji</who>
    <bug_when>2010-02-04 04:20:58 -0800</bug_when>
    <thetext>Comment on attachment 48073
Patch to fix WebKitGTK build when --enable-mathml specified.

Thanks for sending this patch. This seems to be OK, but please add a ChangeLog entry for your change. WebKitTools/Scripts/prepare-ChangeLog should do the trick. Please read the following document for the detail.

http://webkit.org/coding/contributing.html

For the record, this is the corresponding change: http://trac.webkit.org/changeset/53764</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187734</commentid>
    <comment_count>8</comment_count>
    <who name="Shinichiro Hamaji">hamaji</who>
    <bug_when>2010-02-04 04:21:56 -0800</bug_when>
    <thetext>Changing the title of this bug</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187781</commentid>
    <comment_count>9</comment_count>
    <who name="Clemmitt Sigler">cmsigler</who>
    <bug_when>2010-02-04 07:10:50 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; (From update of attachment 48073 [details])
&gt; Thanks for sending this patch. This seems to be OK, but please add a ChangeLog
&gt; entry for your change. WebKitTools/Scripts/prepare-ChangeLog should do the
&gt; trick.

My apologies.  I don&apos;t think I&apos;ve contributed a WebKit patch for over year and a half; my memory failed me :^)  I&apos;ll get the ChangeLog entry together next.

&gt; For the record, this is the corresponding change:
&gt; http://trac.webkit.org/changeset/53764

Thanks for looking up that change.

Clemmitt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187916</commentid>
    <comment_count>10</comment_count>
      <attachid>48163</attachid>
    <who name="Clemmitt Sigler">cmsigler</who>
    <bug_when>2010-02-04 13:27:17 -0800</bug_when>
    <thetext>Created attachment 48163
Patch to fix WebKitGTK build when --enable-mathml specified.

Patch to fix WebKitGTK build when --enable-mathml specified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187992</commentid>
    <comment_count>11</comment_count>
      <attachid>48163</attachid>
    <who name="David Levin">levin</who>
    <bug_when>2010-02-04 16:14:01 -0800</bug_when>
    <thetext>Comment on attachment 48163
Patch to fix WebKitGTK build when --enable-mathml specified.

&gt; Index: WebCore/ChangeLog
&gt; +        https://bugs.webkit.org/show_bug.cgi?id=34387
&gt; +
&gt; +        No new tests.

Typically one would say something like &quot;No change in functionality so no new tests.&quot; or &quot;Covered by existing tests for MathML.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188002</commentid>
    <comment_count>12</comment_count>
      <attachid>48163</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-02-04 16:36:03 -0800</bug_when>
    <thetext>Comment on attachment 48163
Patch to fix WebKitGTK build when --enable-mathml specified.

Clearing flags on attachment: 48163

Committed r54386: &lt;http://trac.webkit.org/changeset/54386&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188003</commentid>
    <comment_count>13</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-02-04 16:36:10 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188047</commentid>
    <comment_count>14</comment_count>
    <who name="Clemmitt Sigler">cmsigler</who>
    <bug_when>2010-02-04 18:40:27 -0800</bug_when>
    <thetext>(In reply to comment #11)
&gt; Typically one would say something like &quot;No change in functionality so no new
&gt; tests.&quot; or &quot;Covered by existing tests for MathML.&quot;

David, thanks for the pointer and landing :^)

Clemmitt</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>48072</attachid>
            <date>2010-02-03 16:15:49 -0800</date>
            <delta_ts>2010-02-03 16:17:48 -0800</delta_ts>
            <desc>Patch to fix WebKitGTK build when --enable-mathml specified.</desc>
            <filename>WebCore_GNUmakefile.am.patch</filename>
            <type>text/plain</type>
            <size>606</size>
            <attacher name="Clemmitt Sigler">cmsigler</attacher>
            
              <data encoding="base64">LS0tIFdlYkNvcmUvR05VbWFrZWZpbGUuYW0ub3JpZwkyMDEwLTAyLTAzIDE5OjEyOjE5LjAwMDAw
MDAwMCAtMDUwMAorKysgV2ViQ29yZS9HTlVtYWtlZmlsZS5hbQkyMDEwLTAyLTAzIDE5OjEzOjAx
LjAwMDAwMDAwMCAtMDUwMApAQCAtMjcxOCw3ICsyNzE4LDExIEBACiAJV2ViQ29yZS9tYXRobWwv
TWF0aE1MSW5saW5lQ29udGFpbmVyRWxlbWVudC5jcHAgXAogCVdlYkNvcmUvbWF0aG1sL01hdGhN
TElubGluZUNvbnRhaW5lckVsZW1lbnQuaCAgXAogCVdlYkNvcmUvbWF0aG1sL01hdGhNTE1hdGhF
bGVtZW50LmNwcCBcCi0JV2ViQ29yZS9tYXRobWwvTWF0aE1MTWF0aEVsZW1lbnQuaAorCVdlYkNv
cmUvbWF0aG1sL01hdGhNTE1hdGhFbGVtZW50LmggXAorCVdlYkNvcmUvbWF0aG1sL01hdGhNTFRl
eHRFbGVtZW50LmNwcCBcCisJV2ViQ29yZS9tYXRobWwvTWF0aE1MVGV4dEVsZW1lbnQuaCBcCisJ
V2ViQ29yZS9tYXRobWwvUmVuZGVyTWF0aE1MQmxvY2suY3BwIFwKKwlXZWJDb3JlL21hdGhtbC9S
ZW5kZXJNYXRoTUxCbG9jay5oCiAKIHdlYmNvcmVfYnVpbHRfc291cmNlcyArPSBcCiAJRGVyaXZl
ZFNvdXJjZXMvTWF0aE1MRWxlbWVudEZhY3RvcnkuY3BwIFwK
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>48073</attachid>
            <date>2010-02-03 16:17:48 -0800</date>
            <delta_ts>2010-02-04 13:27:17 -0800</delta_ts>
            <desc>Patch to fix WebKitGTK build when --enable-mathml specified.</desc>
            <filename>WebCore_GNUmakefile.am.patch</filename>
            <type>text/plain</type>
            <size>606</size>
            <attacher name="Clemmitt Sigler">cmsigler</attacher>
            
              <data encoding="base64">LS0tIFdlYkNvcmUvR05VbWFrZWZpbGUuYW0ub3JpZwkyMDEwLTAyLTAzIDE5OjEyOjE5LjAwMDAw
MDAwMCAtMDUwMAorKysgV2ViQ29yZS9HTlVtYWtlZmlsZS5hbQkyMDEwLTAyLTAzIDE5OjEzOjAx
LjAwMDAwMDAwMCAtMDUwMApAQCAtMjcxOCw3ICsyNzE4LDExIEBACiAJV2ViQ29yZS9tYXRobWwv
TWF0aE1MSW5saW5lQ29udGFpbmVyRWxlbWVudC5jcHAgXAogCVdlYkNvcmUvbWF0aG1sL01hdGhN
TElubGluZUNvbnRhaW5lckVsZW1lbnQuaCAgXAogCVdlYkNvcmUvbWF0aG1sL01hdGhNTE1hdGhF
bGVtZW50LmNwcCBcCi0JV2ViQ29yZS9tYXRobWwvTWF0aE1MTWF0aEVsZW1lbnQuaAorCVdlYkNv
cmUvbWF0aG1sL01hdGhNTE1hdGhFbGVtZW50LmggXAorCVdlYkNvcmUvbWF0aG1sL01hdGhNTFRl
eHRFbGVtZW50LmNwcCBcCisJV2ViQ29yZS9tYXRobWwvTWF0aE1MVGV4dEVsZW1lbnQuaCBcCisJ
V2ViQ29yZS9tYXRobWwvUmVuZGVyTWF0aE1MQmxvY2suY3BwIFwKKwlXZWJDb3JlL21hdGhtbC9S
ZW5kZXJNYXRoTUxCbG9jay5oCiAKIHdlYmNvcmVfYnVpbHRfc291cmNlcyArPSBcCiAJRGVyaXZl
ZFNvdXJjZXMvTWF0aE1MRWxlbWVudEZhY3RvcnkuY3BwIFwK
</data>
<flag name="review"
          id="30691"
          type_id="1"
          status="-"
          setter="hamaji"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>48163</attachid>
            <date>2010-02-04 13:27:17 -0800</date>
            <delta_ts>2010-02-04 16:36:02 -0800</delta_ts>
            <desc>Patch to fix WebKitGTK build when --enable-mathml specified.</desc>
            <filename>WebCore_GNUmakefile.am.patch</filename>
            <type>text/plain</type>
            <size>1327</size>
            <attacher name="Clemmitt Sigler">cmsigler</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1NDM2NSkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTYgQEAKKzIwMTAtMDItMDQgIENsZW1taXR0IFNpZ2xlciAgPGNtc2lnbGVyQGdt
YWlsLmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAg
ICBXZWJLaXRHVEsgZG9lc24ndCBidWlsZCBHdGtMYXVuY2hlciB3aGVuIC0tZW5hYmxlLW1hdGht
bCBpcyBzcGVjaWZpZWQuCisgICAgICAgIFVwZGF0ZWQgV2ViQ29yZS9HTlVtYWtlZmlsZS5hbSB0
byBpbmNsdWRlIG5lZWRlZCBmaWxlcyBpbiBidWlsZC4KKyAgICAgICAgCisgICAgICAgIGh0dHBz
Oi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9p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hdGhNTEVsZW1l
bnRGYWN0b3J5LmNwcCBcCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>