| Summary: | [AppleWin] No such file or directory at preprocess-idls.pl line 105 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> | ||||
| Component: | Bindings | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | aakash_jain, cdumez, pvollan | ||||
| Priority: | P2 | ||||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | 206407 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Fujii Hironori
2020-01-16 22:22:18 PST
Giving "" to Cwd::realpath results different result on Cygwin Perl, Windows perl, Linux perl.
perl -e 'use Cwd; print Cwd::realpath("")."\n"'
Cygwin and Windows: An error occurs. "No such file or directory"
Linux: It returns the current directory
Bug #117944 for PathTools: realpath: different behavior on non-existent directory between Unix and Windows
https://rt.cpan.org/Public/Bug/Display.html?id=117944
Cygwin Perl
$ perl -e 'use Cwd; print Cwd::realpath("")."\n"'
: No such file or directory at -e line 1.
$
Linux Perl
$ perl -e 'use Cwd; print Cwd::realpath("")."\n"'
/home/fujii
$
Bug 206407 – preprocess-idls.pl: CygwinPathIfNeeded should use Cygwin::win_to_posix_path instead of invoking cygpath I hope above change would happen to solve this issue. 🤞 This error still happened today. https://ews-build.webkit.org/#/builders/10/builds/4541 r254954 landed Bug 206407 change. I'll keep eyes on AppleWin EWS bots for a few days. A similar error happened today. > /home/buildbot/worker/Windows-EWS/build/Source/WebCore/dom/SpectreGadget.idl: No such file or directory at /home/buildbot/worker/Windows-EWS/build/Source/WebCore/bindings/scripts/preprocess-idls.pl line 101. https://ews-build.webkit.org/#/builders/10/builds/4686 This patch (attachment 388639 [details]) actually removed SpectreGadget.idl. Oops. It's not an issue. The patch doesn't change CMakeLists.txt. I haven't observed the issue after the fix (, while observing issues of Bug 206565). Closed. |