Windows failure, works with 6.9.1, fails 6.9.7
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 205
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the attached OK/NOK logs for mx 6.9.1 and 6.9.7, focusing on the Windows native build failure for getTerminalWindowColumns.c. Reproduce the Jenkins Windows 2019 build with the stated Mandrel and JDK versions, then bisect the mx updates to identify the regression and confirm that the source file is found and the build succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100