Bug 132565 - [GTK] Can't parse the DOMWindow.idl
Summary: [GTK] Can't parse the DOMWindow.idl
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh Intel OS X 10.9
: P3 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-05 06:53 PDT by Mikkel Kruse Johnsen
Modified: 2015-04-09 06:28 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikkel Kruse Johnsen 2014-05-05 06:53:41 PDT
/usr/bin/perl -I./Source/WebCore/bindings/scripts ./Source/WebCore/bindings/scripts/generate-bindings.pl --include ./Source/WebCore/Modules --include ./Source/WebCore/dom --include ./Source/WebCore/html --include ./Source/WebCore/css --include ./Source/WebCore/page --include ./Source/WebCore/fileapi --include ./Source/WebCore/xml --include ./Source/WebCore/svg --outputDir "./DerivedSources/webkitdom" --defines "LANGUAGE_GOBJECT=1 ENABLE_DIRECTORY_UPLOAD=0 ENABLE_MEDIA_STREAM=0 ENABLE_CSS_BOX_DECORATION_BREAK=1 ENABLE_BLOB=1 ENABLE_REQUEST_ANIMATION_FRAME=1 ENABLE_METER_ELEMENT=1 ENABLE_LEGACY_NOTIFICATIONS=0 ENABLE_WEB_AUDIO=1 ENABLE_DOM4_EVENTS_CONSTRUCTOR=0 ENABLE_LINK_PREFETCH=0 ENABLE_CHANNEL_MESSAGING=1 ENABLE_WORKERS=1 ENABLE_IFRAME_SEAMLESS=1 ENABLE_3D_RENDERING=0 ENABLE_INPUT_TYPE_DATE=0 ENABLE_INPUT_TYPE_DATETIMELOCAL=0 ENABLE_CSS_EXCLUSIONS=1 ENABLE_CSS_FILTERS=0 ENABLE_STYLE_SCOPED=0 ENABLE_FILTERS=1 ENABLE_XHR_TIMEOUT=1 ENABLE_LEGACY_VENDOR_PREFIXES=1 ENABLE_PROXIMITY_EVENTS=0 ENABLE_VIDEO_TRACK=0 ENABLE_CUSTOM_SCHEME_HANDLER=0 ENABLE_CSS3_TEXT=0 ENABLE_ORIENTATION_EVENTS=0 ENABLE_NAVIGATOR_CONTENT_UTILS=0 ENABLE_GAMEPAD=0 ENABLE_MOUSE_CURSOR_SCALE=0 ENABLE_DASHBOARD_SUPPORT=0 ENABLE_INPUT_TYPE_TIME=0 ENABLE_CSS_IMAGE_ORIENTATION=0 ENABLE_THREADED_HTML_PARSER=0 ENABLE_WEBGL=0 ENABLE_RESOURCE_TIMING=0 ENABLE_CANVAS_PATH=0 ENABLE_WEB_SOCKETS=1 ENABLE_TEMPLATE_ELEMENT=0 ENABLE_JAVASCRIPT_DEBUGGER=1 ENABLE_GEOLOCATION=0 ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED=0 ENABLE_NETSCAPE_PLUGIN_API=1 ENABLE_TEXT_AUTOSIZING=0 ENABLE_INSPECTOR=1 ENABLE_CANVAS_PROXY=0 ENABLE_CSS_SHADERS=0 ENABLE_DOWNLOAD_ATTRIBUTE=0 ENABLE_MEDIA_CAPTURE=0 ENABLE_SHADOW_DOM=0 ENABLE_VIBRATION=0 ENABLE_FONT_LOAD_EVENTS=0 ENABLE_LEGACY_CSS_VENDOR_PREFIXES=0 ENABLE_CSS3_CONDITIONAL_RULES=0 ENABLE_MHTML=1 ENABLE_DEVICE_ORIENTATION=0 ENABLE_DETAILS_ELEMENT=1 ENABLE_SUBPIXEL_LAYOUT=1 ENABLE_CSS_DEVICE_ADAPTATION=0 ENABLE_FILE_SYSTEM=0 ENABLE_CSP_NEXT=0 ENABLE_CSS_REGIONS=0 ENABLE_INDEXED_DATABASE=0 ENABLE_VIEW_MODE_CSS_MEDIA=1 ENABLE_ICONDATABASE=1 ENABLE_SQL_DATABASE=1 ENABLE_DIALOG_ELEMENT=0 ENABLE_NOTIFICATIONS=0 ENABLE_LEGACY_WEB_AUDIO=0 ENABLE_CSS_VARIABLES=0 ENABLE_WEB_TIMING=1 ENABLE_MEDIA_SOURCE=0 ENABLE_INPUT_TYPE_MONTH=0 ENABLE_NETWORK_INFO=0 ENABLE_CSS_IMAGE_RESOLUTION=0 ENABLE_DATA_TRANSFER_ITEMS=0 ENABLE_DATALIST_ELEMENT=0 ENABLE_HIGH_DPI_CANVAS=0 ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE=0 ENABLE_SPELLCHECK=1 ENABLE_INPUT_TYPE_COLOR=0 ENABLE_CSS_COMPOSITING=0 ENABLE_QUOTA=0 ENABLE_INPUT_SPEECH=0 ENABLE_INPUT_TYPE_WEEK=0 ENABLE_USER_TIMING=0 ENABLE_PAGE_VISIBILITY_API=1 ENABLE_CSS_SHAPES=1 ENABLE_BATTERY_STATUS=0 ENABLE_ACCELERATED_2D_CANVAS=0 ENABLE_CSS_STICKY_POSITION=0 ENABLE_MEDIA_STATISTICS=0 ENABLE_SHARED_WORKERS=1 ENABLE_TOUCH_ICON_LOADING=0 ENABLE_PERFORMANCE_TIMELINE=0 ENABLE_VIDEO=1 ENABLE_SCRIPTED_SPEECH=0 ENABLE_TOUCH_EVENTS=0 ENABLE_CSS_IMAGE_SET=0 ENABLE_MATHML=0 ENABLE_FTPDIR=0 ENABLE_SMOOTH_SCROLLING=1 ENABLE_FULLSCREEN_API=1 ENABLE_PROGRESS_ELEMENT=1 ENABLE_INDEXED_DATABASE=0" --generator GObject --supplementalDependencyFile ./DerivedSources/WebCore/idl_supplemental_dependencies ./Source/WebCore/page/DOMWindow.idl
Unexpected token - at 2:     attribute -nConstructor -n; IDLParser.pm:1781 at Source/WebCore/bindings/scripts/IDLParser.pm line 162.
 in /Users/mkj/rpm/BUILD/webkitgtk-2.2.6/DerivedSources/WebCore/DOMWindowConstructors.idl at Source/WebCore/bindings/scripts/IDLParser.pm line 199.
make: *** [DerivedSources/webkitdom/WebKitDOMDOMWindow.h] Error 255


This is compilation on Mac OS X 10.9 Maverick.
Comment 1 Mikkel Kruse Johnsen 2014-05-05 23:11:02 PDT
This i WebKitGtk 2.2.6.

This error occurs on all versions of 2.2 and 2.4
Comment 2 Mikkel Kruse Johnsen 2014-05-07 07:37:58 PDT
I have tried to install Perl 5.16.3, but with no luck. Still the same error.

I don't understand how this works on Linux but on mac the Perl script fails.