Bug 147132 - Use of uninitialized value $type in IDLParser.pm
Summary: Use of uninitialized value $type in IDLParser.pm
Status: RESOLVED DUPLICATE of bug 149406
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-20 17:16 PDT by Michael Catanzaro
Modified: 2022-08-19 16:49 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2015-07-20 17:16:49 PDT
I don't understand Perl nor what is going on here, but it looks bad:

[622/1038] Generating ../../DerivedSou...ces/webkitdom/WebKitDOMCharacterData.h
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
[623/1038] Generating ../../DerivedSou...rces/webkitdom/WebKitDOMDocumentType.h
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
[625/1038] Generating ../../DerivedSou.../webkitdom/WebKitDOMDocumentFragment.h
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
[631/1038] Generating ../../DerivedSou...dSources/webkitdom/WebKitDOMDocument.h
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
[633/1038] Generating ../../DerivedSou...edSources/webkitdom/WebKitDOMElement.h
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.
Use of uninitialized value $type in pattern match (m//) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 302.
Use of uninitialized value $type in substitution (s///) at /home/mcatanzaro/WebKit/Source/WebCore/bindings/scripts/IDLParser.pm line 308.

Nothing has changed here recently, so I have no clue why I am only now seeing the warnings.
Comment 1 Ahmad Saleem 2022-08-10 10:29:32 PDT
I could only find two changes to IDLParser.pm near July 2015:

https://github.com/WebKit/WebKit/commit/05fa8411002fefbd0a66859046f0ac4a78e3bb2f

https://github.com/WebKit/WebKit/commit/1d068a4b1cc7149de5fc6fc443950fb085d004ed

First one seems to be more about fixing these type of warnings. Just wanted to share what I could fine and I could be completely but just wanted to update. Thanks!
Comment 2 Alexey Proskuryakov 2022-08-19 16:49:27 PDT
Yes, 167542@main was the fix.

*** This bug has been marked as a duplicate of bug 149406 ***