graalvm / mx

Command-line tool used for the development of Graal projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows failure, works with 6.9.1, fails 6.9.7

Karm opened this issue · comments

Hello,
Our Jenkins build on Windows 2019 server, VS 2019 has been running just fine for months, GraalVM (Mandrel distribution) 21.3, 22.x, master... Up until some mx updates I haven't yet took the time to bisect.

Logs

OK are fine, NOK have the same failure record...

e.g.

Processing line: 490 0000000D SECT112 notype ()    Static      | __catch$Java_sun_awt_windows_WToolkit_makeColorModel$0[all files are up to date - skipping org.graalvm.compiler.options][1/7] cl -nologo -showIncludes -I..\..\..\..\src\com.oracle.svm.native.libchelper\include -Zi -O2 -D_LITTLE_ENDIAN -DJDK_VER=11 -c ..\..\..\..\src\com.oracle.svm.native.libchelper\src\macrosAsFunctions.c -Fosrc\macrosAsFunctions.obj
[1/3] cl -nologo -showIncludes -IC:\workspace\workspace\mandrel-22-3----211f9094\JDK_RELEASE\ga\JDK_VERSION\11\LABEL\w2k19\jdk-11.0.16.1+1\include -IC:\workspace\workspace\mandrel-22-3----211f9094\JDK_RELEASE\ga\JDK_VERSION\11\LABEL\w2k19\jdk-11.0.16.1+1\include\win32 -MD -Wall -c ..\..\..\..\src\com.oracle.svm.native.reporterchelper\src\getTerminalWindowColumns.c -Fosrc\getTerminalWindowColumns.obj

FAILED: src/getTerminalWindowColumns.obj
Processing line: 491 0000002E SECT112 notype ()    Static      | __catch$Java_sun_awt_windows_WToolkit_makeColorModel$1cl -nologo -showIncludes -IC:\workspace\workspace\mandrel-22-3----211f9094\JDK_RELEASE\ga\JDK_VERSION\11\LABEL\w2k19\jdk-11.0.16.1+1\include -IC:\workspace\workspace\mandrel-22-3----211f9094\JDK_RELEASE\ga\JDK_VERSION\11\LABEL\w2k19\jdk-11.0.16.1+1\include\win32 -MD -Wall -c ..\..\..\..\src\com.oracle.svm.native.reporterchelper\src\getTerminalWindowColumns.c -Fosrc\getTerminalWindowColumns.obj
Processing line: 492 00000000 SECT111 notype       Label       | $LN16
Processing line: 493 0000017A SECT103 notype       Label       | $LN25
Processing line: 494 0000000D SECT104 notype ()    Static      | __catch$Java_sun_awt_windows_WToolkit_getScreenInsets$0
Processing line: 495 0000002E SECT104 notype ()    Static      | __catch$Java_sun_awt_windows_WToolkit_getScreenInsets$1

c1: fatal error C1083: Cannot open source file: '..\..\..\..\src\com.oracle.svm.native.reporterchelper\src\getTerminalWindowColumns.c': No such file or directory

ninja: build stopped: subcommand failed.Processing line: 496 00000000 SECT103 notype       Label       | $LN48

Compiler:

C:\Windows\System32>cl /v
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30145 for x64

Mx is now a versioned dependency, like all other dependencies.

You probably need to fix it like we did for the GitHub actions gate: https://github.com/oracle/graal/blob/master/.github/workflows/main.yml#L116