Bug 126329 - JavaScriptCore/JSCallbackFunction.h is missing in tarball
Summary: JavaScriptCore/JSCallbackFunction.h is missing in tarball
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 126492
  Show dependency treegraph
 
Reported: 2013-12-30 22:16 PST by Jeremy Huddleston Sequoia
Modified: 2015-05-10 14:08 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston Sequoia 2013-12-30 22:16:33 PST
The webkit-gtk tarball is missing JavaScriptCore/JSCallbackFunction.h which causes the build to fail.  This is the case with 2.2.2 and 2.2.3

In file included from Source/JavaScriptCore/runtime/JSGlobalObject.cpp:83:
./Source/JavaScriptCore/API/ObjCCallbackFunction.h:32:9: fatal error: 'JavaScriptCore/JSCallbackFunction.h' file not found
#import <JavaScriptCore/JSCallbackFunction.h>
        ^

To work around this, we're setting JSC_OBJC_API_ENABLED 0
Comment 1 Alberto Garcia 2014-01-03 10:58:12 PST
(In reply to comment #0)
> The webkit-gtk tarball is missing
> JavaScriptCore/JSCallbackFunction.h which causes the build to fail.
> This is the case with 2.2.2 and 2.2.3

That file is actually in the tarball (as
JavaScriptCore/API/JSCallbackFunction.h), but it looks like the forwarding
header is not being generated in your case.
Comment 2 Jeremy Huddleston Sequoia 2014-01-03 11:17:53 PST
(In reply to comment #1)
> (In reply to comment #0)
> > The webkit-gtk tarball is missing
> > JavaScriptCore/JSCallbackFunction.h which causes the build to fail.
> > This is the case with 2.2.2 and 2.2.3
> 
> That file is actually in the tarball (as
> JavaScriptCore/API/JSCallbackFunction.h), but it looks like the forwarding
> header is not being generated in your case.

Yes, Source/JavaScriptCore/API/JSCallbackFunction.h is present, but there is no JavaScriptCore/JSCallbackFunction.h.

Where is it supposed to be generated from?  I'll try to debug that.
Comment 3 Alberto Garcia 2014-01-03 15:58:19 PST
(In reply to comment #2)
> there is no JavaScriptCore/JSCallbackFunction.h.

> Where is it supposed to be generated from?  I'll try to debug that.

That should be generate-forwarding-headers.pl
Comment 4 Michael Catanzaro 2015-05-10 14:08:36 PDT
I believe this issue is obsolete based on comments in bug #126492. If this issue is still present in 2.8.1 or 2.9.1 please leave a note so we can reopen.