Bug 43863
Summary: | Build with --enable-indexed-database fails on a missing file - JSIDBKey.h | ||
---|---|---|---|
Product: | WebKit | Reporter: | red47514f7 |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | jorlow |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
red47514f7
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Jeremy Orlow
Thanks for the report, but this is a known issue.
*** This bug has been marked as a duplicate of bug 45110 ***