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

Export test is broken on windows-vs2019 on CI #1464

Open
azat opened this issue May 23, 2023 · 6 comments
Open

Export test is broken on windows-vs2019 on CI #1464

azat opened this issue May 23, 2023 · 6 comments

Comments

@azat
Copy link
Member

azat commented May 23, 2023

https://github.com/libevent/libevent/actions/runs/5042696750/jobs/9043603342

2023-05-22T07:09:24.9308799Z [test-export] use shared library
2023-05-22T07:09:24.9309381Z [test-export] test for build tree
2023-05-22T07:09:24.9309843Z [test-export] success: link core and run core expects and gets success.
2023-05-22T07:09:24.9310335Z [test-export] success: link extra and run extra expects and gets success.
2023-05-22T07:09:24.9310839Z [test-export] success: link openssl and run openssl expects and gets success.
2023-05-22T07:09:24.9311349Z [test-export] success: link mbedtls and run mbedtls expects and gets success.
2023-05-22T07:09:24.9312053Z [test-export] success: link all and run all expects and gets success.
2023-05-22T07:09:24.9313646Z [test-export] success: link extra and run core expects and gets success.
2023-05-22T07:09:24.9314110Z [test-export] success: link openssl and run core expects and gets success.
2023-05-22T07:09:24.9314543Z [test-export] success: link mbedtls and run core expects and gets success.
2023-05-22T07:09:24.9314975Z [test-export] success: link core and run extra expects and gets failure.
2023-05-22T07:09:24.9315472Z [test-export] success: link core and run openssl expects and gets failure.
2023-05-22T07:09:24.9316287Z [test-export] success: link extra and run openssl expects and gets failure.
2023-05-22T07:09:24.9316695Z [test-export] success: link openssl and run extra expects and gets failure.
2023-05-22T07:09:24.9317085Z [test-export] success: link core and run mbedtls expects and gets failure.
2023-05-22T07:09:24.9317699Z [test-export] success: link extra and run mbedtls expects and gets failure.
2023-05-22T07:09:24.9318308Z [test-export] success: link mbedtls and run extra expects and gets failure.
2023-05-22T07:09:24.9318928Z [test-export] test for install tree(in system-wide path)
2023-05-22T07:09:24.9319395Z [test-export] fail: link core and run core expects success but gets failure.
2023-05-22T07:09:33.7099982Z ##[warning]Attempt 2 failed. Reason: Child_process exited with error code 1
@azat
Copy link
Member Author

azat commented May 23, 2023

Looks like the culprit is 4effaee (#1458)

@azat
Copy link
Member Author

azat commented May 23, 2023

2023-05-22T07:13:42.3028898Z   -- Install configuration: "Debug"
2023-05-22T07:13:42.3032108Z   -- Up-to-date: C:/Program Files/libevent/lib/event_core.lib
2023-05-22T07:13:42.3036344Z   -- Up-to-date: C:/Program Files/libevent/lib/event_core.dll
2023-05-22T07:13:42.3038274Z   -- Up-to-date: C:/Program Files/libevent/lib/pkgconfig/libevent_core.pc
2023-05-22T07:13:42.3040316Z   -- Up-to-date: C:/Program Files/libevent/lib/event_extra.lib
2023-05-22T07:13:42.3041317Z   -- Up-to-date: C:/Program Files/libevent/lib/event_extra.dll

No d postfix

And by some reason it think that this is Debug build, while it should be release

2023-05-22T07:13:32.4854914Z -- CMAKE_BUILD_TYPE:         Release

@azat
Copy link
Member Author

azat commented May 23, 2023

Cc: @diizzyy

@diizzyy
Copy link
Contributor

diizzyy commented May 23, 2023

From what I can tell there seems to be some settings caused by templates that tries to enable debug manually/partially without using CMake's framework. There are some /DEBUG switched passed for example, no expert on CI for Windows though. Works as intended on FreeBSD (via CMake's debug setting).

@azat
Copy link
Member Author

azat commented May 24, 2023

From what I can tell there seems to be some settings caused templates that tries to enable debug manually/partially without using CMake's framework. There are some /DEBUG switched passed for example, no expert on CI for Windows though

Yeah, I also have the same though, there is also message like this:

2023-05-23T19:58:27.5156875Z Error: could not load cache

So maybe windows has some presets (cmake -C).

@azat
Copy link
Member Author

azat commented Jan 6, 2024

Now it is broken differently, see #1534

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants