Windows failure, works with 6.9.1, fails 6.9.7
Karm opened this issue · comments
Karm Michal Babacek commented
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...
- mx-6.9.7-jdk11-mandrel-22.3-0fce31f57d4-NOK.txt.zip
- mx-6.9.7-jdk17-mandrel-22.3-0fce31f57d4-NOK.txt.zip
- mx-6.9.1-jdk11-mandrel-22.3-0fce31f57d4-OK.txt.zip
- mx-6.9.1-jdk17-mandrel-22.3-0fce31f57d4-OK.txt.zip
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
Douglas Simon commented
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