<?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>37761</bug_id>
          
          <creation_ts>2010-04-17 20:46:43 -0700</creation_ts>
          <short_desc>WebKit won&apos;t build with --disable-database</short_desc>
          <delta_ts>2014-04-08 18:36:25 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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 name="Michael Forney">mforney</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>mrobinson</cc>
    
    <cc>ssiloti</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>213706</commentid>
    <comment_count>0</comment_count>
      <attachid>53622</attachid>
    <who name="Michael Forney">mforney</who>
    <bug_when>2010-04-17 20:46:43 -0700</bug_when>
    <thetext>Created attachment 53622
Patch fixing this issue

JSDOMWindowCustom.cpp tries to include the generated file &quot;JSDatabase.h&quot; even when --disable-database is specified.

Build log:
&lt;snip&gt;
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSCSSStyleDeclarationCustom.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSCSSValueCustom.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSCallbackData.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSCanvasRenderingContextCustom.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSCanvasRenderingContext2DCustom.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSClipboardCustom.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSConsoleCustom.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSCoordinatesCustom.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSCustomPositionCallback.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSCustomPositionErrorCallback.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSCustomVoidCallback.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSCustomXPathNSResolver.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSDOMBinding.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSDOMFormDataCustom.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSDOMGlobalObject.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSDOMWindowBase.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSDOMWindowCustom.lo
WebCore/bindings/js/JSDOMWindowCustom.cpp:39:24: error: JSDatabase.h: No such file or directory
make[1]: *** [WebCore/bindings/js/libwebkit_1_0_la-JSDOMWindowCustom.lo] Error 1
make[1]: Leaving directory `/home/michael/tmp/webkit-gtk&apos;
make: *** [all] Error 2

This is fixed by the attached patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213717</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Forney">mforney</who>
    <bug_when>2010-04-17 22:32:46 -0700</bug_when>
    <thetext>It looks like this is not the only issue preventing webkit from being built with --disable-database.

./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteTransaction::SQLiteTransaction(WebCore::SQLiteDatabase&amp;, bool)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::getColumnDouble(int)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLResultOk&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::bindInt64(int, long)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::executeCommand()&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteDatabase::executeCommand(WebCore::String const&amp;)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::~SQLiteStatement()&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteDatabase::~SQLiteDatabase()&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteDatabase::SQLiteDatabase()&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::SQLiteStatement(WebCore::SQLiteDatabase&amp;, WebCore::String const&amp;)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::getColumnValue(int)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::bindDouble(int, double)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::bindNull(int)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLResultRow&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteDatabase::open(WebCore::String const&amp;)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteTransaction::commit()&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::step()&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::prepare()&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteFileSystem::appendDatabaseFileNameToPath(WebCore::String const&amp;, WebCore::String const&amp;)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteTransaction::~SQLiteTransaction()&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::getColumnInt64(int)&apos;
collect2: ld returned 1 exit status
make[1]: *** [Programs/unittests/testhttpbackend] Error 1
make[1]: *** Waiting for unfinished jobs....
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteTransaction::SQLiteTransaction(WebCore::SQLiteDatabase&amp;, bool)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::getColumnDouble(int)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLResultOk&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::bindInt64(int, long)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::executeCommand()&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteDatabase::executeCommand(WebCore::String const&amp;)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::~SQLiteStatement()&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteDatabase::~SQLiteDatabase()&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteDatabase::SQLiteDatabase()&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::SQLiteStatement(WebCore::SQLiteDatabase&amp;, WebCore::String const&amp;)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::getColumnValue(int)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::bindDouble(int, double)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::bindNull(int)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLResultRow&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteDatabase::open(WebCore::String const&amp;)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteTransaction::commit()&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::step()&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::prepare()&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteFileSystem::appendDatabaseFileNameToPath(WebCore::String const&amp;, WebCore::String const&amp;)&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteTransaction::~SQLiteTransaction()&apos;
./.libs/libwebkit-1.0.so: undefined reference to `WebCore::SQLiteStatement::getColumnInt64(int)&apos;
collect2: ld returned 1 exit status
make[1]: *** [Programs/GtkLauncher] Error 1

I think this is because offline-web-applications is dependent on database, but I&apos;m not quite sure how to fix this one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213863</commentid>
    <comment_count>2</comment_count>
      <attachid>53645</attachid>
    <who name="Michael Forney">mforney</who>
    <bug_when>2010-04-18 16:49:01 -0700</bug_when>
    <thetext>Created attachment 53645
Partially fix build with --disable-database.

Update patch for style requirements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>216044</commentid>
    <comment_count>3</comment_count>
      <attachid>53645</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-04-22 13:03:00 -0700</bug_when>
    <thetext>Comment on attachment 53645
Partially fix build with --disable-database.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>216259</commentid>
    <comment_count>4</comment_count>
      <attachid>53645</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-04-22 21:20:10 -0700</bug_when>
    <thetext>Comment on attachment 53645
Partially fix build with --disable-database.

Clearing flags on attachment: 53645

Committed r58145: &lt;http://trac.webkit.org/changeset/58145&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>216260</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-04-22 21:20:14 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>216691</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Forney">mforney</who>
    <bug_when>2010-04-23 21:49:22 -0700</bug_when>
    <thetext>This bug is not yet fixed because of the second issue I mentioned regarding  linking failures.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>278718</commentid>
    <comment_count>7</comment_count>
    <who name="Steven Siloti">ssiloti</who>
    <bug_when>2010-09-13 21:53:10 -0700</bug_when>
    <thetext>The link errors are due to GeolocationPositionCache depending on SQLite platform support. To fix this we could either include the SQLite platform sources if ENABLE(GEOLOCATION) or make GeolocationPositionCache support conditional on ENABLE(DATABASE). I&apos;m not sure which would be more appropriate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>998992</commentid>
    <comment_count>8</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2014-04-08 18:36:25 -0700</bug_when>
    <thetext>Patch is probably quite out of date. Let&apos;s reopen if this is still an issue and post a new fix.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>53622</attachid>
            <date>2010-04-17 20:46:43 -0700</date>
            <delta_ts>2010-04-18 16:49:01 -0700</delta_ts>
            <desc>Patch fixing this issue</desc>
            <filename>0001-Fix-build-with-disable-database.patch</filename>
            <type>text/plain</type>
            <size>908</size>
            <attacher name="Michael Forney">mforney</attacher>
            
              <data encoding="base64">RnJvbSA0YmExZjNjZjE4ZDc2NzQ3MjMxNGVmZjc0YTc0OTgxMDEwYzdhNWMxIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBNaWNoYWVsIEZvcm5leSA8bWljaGFlbEBvYmJlcm9uLmNvbT4K
RGF0ZTogU2F0LCAxNyBBcHIgMjAxMCAyMDoyNDowOSAtMDcwMApTdWJqZWN0OiBbUEFUQ0hdIEZp
eCBidWlsZCB3aXRoIC0tZGlzYWJsZS1kYXRhYmFzZS4KCk5vdywgSlNEYXRhYmFzZS5oIGFuZCBK
U0RhdGFiYXNlQ2FsbGJhY2suaCBhcmUgb25seSBpbmNsdWRlZCB3aGVuCmRhdGFiYXNlIGlzIGVu
YWJsZWQuCi0tLQogV2ViQ29yZS9iaW5kaW5ncy9qcy9KU0RPTVdpbmRvd0N1c3RvbS5jcHAgfCAg
ICAyICsrCiAxIGZpbGVzIGNoYW5nZWQsIDIgaW5zZXJ0aW9ucygrKSwgMCBkZWxldGlvbnMoLSkK
CmRpZmYgLS1naXQgYS9XZWJDb3JlL2JpbmRpbmdzL2pzL0pTRE9NV2luZG93Q3VzdG9tLmNwcCBi
L1dlYkNvcmUvYmluZGluZ3MvanMvSlNET01XaW5kb3dDdXN0b20uY3BwCmluZGV4IDdmMDU5OTEu
LjQ4OGFjMDQgMTAwNjQ0Ci0tLSBhL1dlYkNvcmUvYmluZGluZ3MvanMvSlNET01XaW5kb3dDdXN0
b20uY3BwCisrKyBiL1dlYkNvcmUvYmluZGluZ3MvanMvSlNET01XaW5kb3dDdXN0b20uY3BwCkBA
IC0zNiw4ICszNiwxMCBAQAogI2luY2x1ZGUgIkhUTUxEb2N1bWVudC5oIgogI2luY2x1ZGUgIkhp
c3RvcnkuaCIKICNpbmNsdWRlICJKU0F1ZGlvQ29uc3RydWN0b3IuaCIKKyNpZiBFTkFCTEUoREFU
QUJBU0UpCiAjaW5jbHVkZSAiSlNEYXRhYmFzZS5oIgogI2luY2x1ZGUgIkpTRGF0YWJhc2VDYWxs
YmFjay5oIgorI2VuZGlmCiAjaW5jbHVkZSAiSlNET01XaW5kb3dTaGVsbC5oIgogI2luY2x1ZGUg
IkpTRXZlbnQuaCIKICNpbmNsdWRlICJKU0V2ZW50TGlzdGVuZXIuaCIKLS0gCjEuNy4wCgo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>53645</attachid>
            <date>2010-04-18 16:49:01 -0700</date>
            <delta_ts>2010-06-11 11:36:04 -0700</delta_ts>
            <desc>Partially fix build with --disable-database.</desc>
            <filename>0001-Partially-fix-build-with-disable-database.patch</filename>
            <type>text/plain</type>
            <size>1618</size>
            <attacher name="Michael Forney">mforney</attacher>
            
              <data encoding="base64">RnJvbSAyNWE5ZWZhNTU0NWUyMWY3NzkyZjQ5YTA1ODQzYzFkYTUzYjg4ZjZlIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBNaWNoYWVsIEZvcm5leSA8bWZvcm5leUBtZm9ybmV5Lm9yZz4K
RGF0ZTogU3VuLCAxOCBBcHIgMjAxMCAxNTo0NDozNSAtMDcwMApTdWJqZWN0OiBbUEFUQ0hdIFBh
cnRpYWxseSBmaXggYnVpbGQgd2l0aCAtLWRpc2FibGUtZGF0YWJhc2UuCgpPbmx5IGluY2x1ZGUg
SlNEYXRhYmFzZS5oIGFuZCBKU0RhdGFiYXNlQ2FsbGJhY2suaCB3aGVuIGRhdGFiYXNlIGlzCmVu
YWJsZWQuCi0tLQogV2ViQ29yZS9DaGFuZ2VMb2cgICAgICAgICAgICAgICAgICAgICAgICAgfCAg
IDEyICsrKysrKysrKysrKwogV2ViQ29yZS9iaW5kaW5ncy9qcy9KU0RPTVdpbmRvd0N1c3RvbS5j
cHAgfCAgICAyICsrCiAyIGZpbGVzIGNoYW5nZWQsIDE0IGluc2VydGlvbnMoKyksIDAgZGVsZXRp
b25zKC0pCgpkaWZmIC0tZ2l0IGEvV2ViQ29yZS9DaGFuZ2VMb2cgYi9XZWJDb3JlL0NoYW5nZUxv
ZwppbmRleCA4MTlkMDU1Li44MTFhZDQwIDEwMDY0NAotLS0gYS9XZWJDb3JlL0NoYW5nZUxvZwor
KysgYi9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1IEBACisyMDEwLTA0LTE4ICBNaWNo
YWVsIEZvcm5leSAgPG1mb3JuZXlAbWZvcm5leS5vcmc+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkg
Tk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19i
dWcuY2dpP2l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