WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
34387
GtkLauncher is not compiled when --enable-mathml specified
https://bugs.webkit.org/show_bug.cgi?id=34387
Summary
GtkLauncher is not compiled when --enable-mathml specified
marinalan
Reported
2010-01-30 22:05:12 PST
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*)' collect2: ld returned 1 exit status make[1]: *** [Programs/GtkLauncher] Error 1 make[1]: Leaving directory `/home/marina/src/WebKit' make: *** [all] Error 2
Attachments
Patch to fix WebKitGTK build when --enable-mathml specified.
(606 bytes, patch)
2010-02-03 16:15 PST
,
Clemmitt Sigler
no flags
Details
Formatted Diff
Diff
Patch to fix WebKitGTK build when --enable-mathml specified.
(606 bytes, patch)
2010-02-03 16:17 PST
,
Clemmitt Sigler
hamaji
: review-
Details
Formatted Diff
Diff
Patch to fix WebKitGTK build when --enable-mathml specified.
(1.30 KB, patch)
2010-02-04 13:27 PST
,
Clemmitt Sigler
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
marinalan
Comment 1
2010-01-30 22:06:10 PST
My distribution is fedora 12
Clemmitt Sigler
Comment 2
2010-02-01 09:25:36 PST
(In reply to
comment #0
)
> already second week, after >
...
> CC WebKitTools/GtkLauncher/Programs_GtkLauncher-main.o > CCLD Programs/GtkLauncher > ./.libs/libwebkit-1.0.so: undefined reference to > `WebCore::RenderMathMLBlock::RenderMathMLBlock(WebCore::Node*)' > collect2: ld returned 1 exit status > make[1]: *** [Programs/GtkLauncher] Error 1 > make[1]: Leaving directory `/home/marina/src/WebKit' > 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'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'm trying to find where the build configuration problem lies. I think it's in WebCore/GNUmakefile.am. Will report back if I find a fix for the build error I'm experiencing. Clemmitt
Clemmitt Sigler
Comment 3
2010-02-01 10:18:02 PST
(In reply to
comment #2
)
> I can confirm this build error. Specifics:
...
> Will report back if I find a fix for the build error > I'm experiencing.
Yes, the problem is in WebCore/GNUmakefile.am. It appears to me that when
r53764
(or
r52721
) was committed, GNUmakefile.am wasn'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
Clemmitt Sigler
Comment 4
2010-02-03 16:07:36 PST
(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'll try again by attaching a patch for this problem. Hopefully the patch will be reviewed. Clemmitt
Clemmitt Sigler
Comment 5
2010-02-03 16:15:49 PST
Created
attachment 48072
[details]
Patch to fix WebKitGTK build when --enable-mathml specified. Patch to fix WebKitGTK build when --enable-mathml specified.
Clemmitt Sigler
Comment 6
2010-02-03 16:17:48 PST
Created
attachment 48073
[details]
Patch to fix WebKitGTK build when --enable-mathml specified. Patch to fix WebKitGTK build when --enable-mathml specified.
Shinichiro Hamaji
Comment 7
2010-02-04 04:20:58 PST
Comment on
attachment 48073
[details]
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
Shinichiro Hamaji
Comment 8
2010-02-04 04:21:56 PST
Changing the title of this bug
Clemmitt Sigler
Comment 9
2010-02-04 07:10:50 PST
(In reply to
comment #7
)
> (From update of
attachment 48073
[details]
) > 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.
My apologies. I don't think I've contributed a WebKit patch for over year and a half; my memory failed me :^) I'll get the ChangeLog entry together next.
> For the record, this is the corresponding change: >
http://trac.webkit.org/changeset/53764
Thanks for looking up that change. Clemmitt
Clemmitt Sigler
Comment 10
2010-02-04 13:27:17 PST
Created
attachment 48163
[details]
Patch to fix WebKitGTK build when --enable-mathml specified. Patch to fix WebKitGTK build when --enable-mathml specified.
David Levin
Comment 11
2010-02-04 16:14:01 PST
Comment on
attachment 48163
[details]
Patch to fix WebKitGTK build when --enable-mathml specified.
> Index: WebCore/ChangeLog > +
https://bugs.webkit.org/show_bug.cgi?id=34387
> + > + No new tests.
Typically one would say something like "No change in functionality so no new tests." or "Covered by existing tests for MathML."
WebKit Commit Bot
Comment 12
2010-02-04 16:36:03 PST
Comment on
attachment 48163
[details]
Patch to fix WebKitGTK build when --enable-mathml specified. Clearing flags on attachment: 48163 Committed
r54386
: <
http://trac.webkit.org/changeset/54386
>
WebKit Commit Bot
Comment 13
2010-02-04 16:36:10 PST
All reviewed patches have been landed. Closing bug.
Clemmitt Sigler
Comment 14
2010-02-04 18:40:27 PST
(In reply to
comment #11
)
> Typically one would say something like "No change in functionality so no new > tests." or "Covered by existing tests for MathML."
David, thanks for the pointer and landing :^) Clemmitt
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug