graalvm / graalvm/mx

Windows failure, works with 6.9.1, fails 6.9.7

Open
#270 1 comment 0 reactions 0 assignees View on GitHub

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...

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.