Bug 279255
| Summary: | REGRESSION(253243@main): [webkitperl] Warning about undefined import with Perl 5.40 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adrian Perez <aperez> |
| Component: | Tools / Tests | Assignee: | Adrian Perez <aperez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Minor | CC: | mcatanzaro, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | All | ||
| OS: | Linux | ||
Adrian Perez
Arch Linux is updating Perl to 5.40.0, and since the new version got
installed many scripts from Toools/Scripts/ (like build-webkit) will
produce the following message:
Attempt to call undefined import method with arguments ("prohibitUnknownPort") via package "webkitdirs" (Perhaps you forgot to load the package?) at /usr/share/perl5/core_perl/autouse.pm line 28.
The scripts seem to work normally for now, but we may want to fix that
in case a future Perl update may convert it into a fatal error.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/135943612>
Adrian Perez
This is caused by this change in Perl:
https://perldoc.perl.org/5.39.1/perldelta#Calling-the-import-method-of-an-unknown-package-produces-an-error
Adrian Perez
Pull request: https://github.com/WebKit/WebKit/pull/35209
EWS
Committed 285203@main (f9ad4b6bfce5): <https://commits.webkit.org/285203@main>
Reviewed commits have been landed. Closing PR #35209 and removing active labels.
Michael Catanzaro
*** Bug 279760 has been marked as a duplicate of this bug. ***