<?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>43863</bug_id>
          
          <creation_ts>2010-08-11 10:52:42 -0700</creation_ts>
          <short_desc>Build with --enable-indexed-database fails on a missing file - JSIDBKey.h</short_desc>
          <delta_ts>2010-09-06 10:44:13 -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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>45110</dup_id>
          
          <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>red47514f7</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jorlow</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>263339</commentid>
    <comment_count>0</comment_count>
    <who name="">red47514f7</who>
    <bug_when>2010-08-11 10:52:42 -0700</bug_when>
    <thetext>I tried to build latest WebKit nightly with maximal possible feature set. In particular, I passed --enable-indexed-database to autogen.sh

I go the following during compilation of DerivedSources/WebCore/JSIDBKeyRange.cpp :

DerivedSources/WebCore/JSIDBKeyRange.cpp:32:22: error: JSIDBKey.h: No such file or directory  
[some errors related to the lack of definitions expected to be in JSIDBKey.h follow]

The file is actually absent in the nightly itself. There is some code to generate this file (and some more bindings) in WebCore/Android.derived.jscbindings.mk .

The file is mentioned in the following files:

./WebCore/Android.derived.jscbindings.mk
./WebCore/WebCore.vcproj/WebCore.vcproj
./WebCore/WebCore.xcodeproj/project.pbxproj
./WebCore/bindings/js/JSIDBAnyCustom.cpp
./WebCore/bindings/js/JSIDBKeyCustom.cpp

The first one seems Android-specific, the next two are apparently just file list caches for IDEs, and the last two are users of the erroneously not-generated header.

Probably code from ./WebCore/Android.derived.jscbindings.mk could be generalized to generate the needed headers when --enable-indexed-database is passed. 

The Android-specific makefile generates the following headers:

    $(intermediates)/storage/JSIDBAny.h \
    $(intermediates)/storage/JSIDBCursor.h \
    $(intermediates)/storage/JSIDBDatabaseError.h \
    $(intermediates)/storage/JSIDBDatabaseException.h \
    $(intermediates)/storage/JSIDBDatabase.h \
    $(intermediates)/storage/JSIDBErrorEvent.h \
    $(intermediates)/storage/JSIDBEvent.h \
    $(intermediates)/storage/JSIDBFactory.h \
    $(intermediates)/storage/JSIDBIndex.h \
    $(intermediates)/storage/JSIDBKey.h \
    $(intermediates)/storage/JSIDBKeyRange.h \
    $(intermediates)/storage/JSIDBObjectStore.h \
    $(intermediates)/storage/JSIDBRequest.h \
    $(intermediates)/storage/JSIDBSuccessEvent.h \
    $(intermediates)/storage/JSIDBTransaction.h</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>274704</commentid>
    <comment_count>1</comment_count>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2010-09-06 10:44:13 -0700</bug_when>
    <thetext>Thanks for the report, but this is a known issue.

*** This bug has been marked as a duplicate of bug 45110 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>