RESOLVED FIXED 206399
[AppleWin] No such file or directory at preprocess-idls.pl line 105
https://bugs.webkit.org/show_bug.cgi?id=206399
Summary [AppleWin] No such file or directory at preprocess-idls.pl line 105
Fujii Hironori
Reported 2020-01-16 22:22:18 PST
Created attachment 388013 [details] AppleWin EWS build log [AppleWin] No such file or directory at preprocess-idls.pl line 105 Occasionally, AppleWin is failing to preprocess IDL. > : No such file or directory at /home/buildbot/worker/Windows-EWS/build/Source/WebCore/bindings/scripts/preprocess-idls.pl line 105. > Died at C:/cygwin/home/buildbot/worker/Windows-EWS/build/Source/WebCore/bindings/scripts/generate-bindings-all.pl line 85. > C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(230,5): error MSB6006: "cmd.exe" exited with code 2. [C:\cygwin\home\buildbot\worker\Windows-EWS\build\WebKitBuild\Release\Source\WebCore\WebCoreBindings.vcxproj] For example, attachment 388011 [details] of Bug 205990 https://ews-build.webkit.org/#/builders//builds/4086
Attachments
AppleWin EWS build log (13.17 KB, text/plain)
2020-01-16 22:22 PST, Fujii Hironori
no flags
Fujii Hironori
Comment 1 2020-01-16 22:49:09 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
Fujii Hironori
Comment 2 2020-01-16 22:51:32 PST
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 $
Fujii Hironori
Comment 3 2020-01-17 03:26:11 PST
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. 🤞
Fujii Hironori
Comment 4 2020-01-22 17:59:28 PST
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.
Fujii Hironori
Comment 5 2020-01-23 20:36:06 PST Comment hidden (obsolete)
Fujii Hironori
Comment 6 2020-01-23 20:47:38 PST Comment hidden (obsolete)
Fujii Hironori
Comment 7 2020-01-29 19:32:01 PST
I haven't observed the issue after the fix (, while observing issues of Bug 206565). Closed.
Note You need to log in before you can comment on or make changes to this bug.