Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Java][CI][Java-Jars][Windows] C++ libraries for Windows #38077

Closed
davisusanibar opened this issue Oct 6, 2023 · 3 comments · Fixed by #38132
Closed

[Java][CI][Java-Jars][Windows] C++ libraries for Windows #38077

davisusanibar opened this issue Oct 6, 2023 · 3 comments · Fixed by #38132

Comments

@davisusanibar
Copy link
Contributor

Describe the bug, including details regarding any error messages, version, and platform.

There are errors on Java building C++ libraries for Windows.

C++ libraries for Windows: https://github.com/ursacomputing/crossbow/actions/runs/6403529915/job/17382219556
Machine name: Microsoft Windows Server 2019
Error: Exit code 0xc0000135

There are more evidences of the error on other days on java-jars task at http://crossbow.voltrondata.com/

Component(s)

Continuous Integration, Java

@danepitkin
Copy link
Member

danepitkin commented Oct 6, 2023

Could be a .NET framework issue[1]. Either the package is missing or the versions are not compatible.

[1] https://stackoverflow.com/questions/11432940/what-does-error-code-0xc0000135-or-1073741515-exit-code-mean-when-starting-a

@danepitkin
Copy link
Member

danepitkin commented Oct 6, 2023

Or maybe something to do with Cmake[1]. Could be related to this commit ad7f6ef cc @kou ?

[1]https://stackoverflow.com/questions/62035689/cmake-linked-library-error-0xc0000135-when-attempting-to-run-on-jenkins-bui

@kou
Copy link
Member

kou commented Oct 7, 2023

Oh, sorry. I'll take a look at this.

kou added a commit to kou/arrow that referenced this issue Oct 8, 2023
To find bundled GoogleTest DLLs, we need to set PATH or output
GoogleTest DLLs to the same directory of test executables. The latter
is used.
kou added a commit to kou/arrow that referenced this issue Oct 8, 2023
To find bundled GoogleTest DLLs, we need to set PATH or output
GoogleTest DLLs to the same directory of test executables. The latter
is used.
@kou kou closed this as completed in #38132 Oct 9, 2023
kou added a commit that referenced this issue Oct 9, 2023
…38132)

### Rationale for this change

To find DLLs on Windows, we need to add a directory of these DLLs to PATH or put these DLLs to the same directory of the target .exe.

### What changes are included in this PR?

Output bundled GoogleTest's DLLs to the same directory of the test .exe.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: #38077

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
JerAguilon pushed a commit to JerAguilon/arrow that referenced this issue Oct 23, 2023
…FIG} (apache#38132)

### Rationale for this change

To find DLLs on Windows, we need to add a directory of these DLLs to PATH or put these DLLs to the same directory of the target .exe.

### What changes are included in this PR?

Output bundled GoogleTest's DLLs to the same directory of the test .exe.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#38077

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
loicalleyne pushed a commit to loicalleyne/arrow that referenced this issue Nov 13, 2023
…FIG} (apache#38132)

### Rationale for this change

To find DLLs on Windows, we need to add a directory of these DLLs to PATH or put these DLLs to the same directory of the target .exe.

### What changes are included in this PR?

Output bundled GoogleTest's DLLs to the same directory of the test .exe.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#38077

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
dgreiss pushed a commit to dgreiss/arrow that referenced this issue Feb 19, 2024
…FIG} (apache#38132)

### Rationale for this change

To find DLLs on Windows, we need to add a directory of these DLLs to PATH or put these DLLs to the same directory of the target .exe.

### What changes are included in this PR?

Output bundled GoogleTest's DLLs to the same directory of the test .exe.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#38077

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants