-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
CI build failure: Bash exited with code '1' failure - Could NOT find ZLIB #86324
Comments
Tagging subscribers to this area: @directhex Issue DetailsSeen when running Build InformationBuild: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=274202 Error MessageFill the error message using known issues guidance. {
"ErrorMessage": "Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)",
"BuildRetry": false,
"ErrorPattern": "",
"ExcludeConsoleLog": false
}
|
Nothing to do with ZLIB, that's just CMake lying to you. The true build error here is Once upon a time, we had two code paths in mono.proj - So, for example, build for In 2021 I wrote a new build system, intended to allow a many:many relationship, and part of that was changing Fast forward to recently, when we started building everything possible with CBL-Mariner. One of the changes forced by Mariner is treating all compiles as cross-compiles - instead of "compile for the host which is always x64 or cross-compile for the OS in /crossrootfs", all architectures are cross-compiles. This is great! However, it runs into a problem with the legacy-BuildMonoCross lanes like this one, because we cannot This is the patch to enable cross-compiler mode for legacy
But it won't work. Therefore we have three choices:
|
Thanks for the explanation. It sounds to me that the 3rd option is aligned with the official builds and may be a path we want to consider. If that makes sense, I can try to split this job into offset generation and the AOT compilation. |
@directhex @kotlarmilos @steveisok - Milos reminded me of this while checking on another PR We need to move forward with this, given a lack of desktop full aot llvm lane. Two things we should do asap - 1. Disable this lane (even in extra-platforms) prior to RC1 cutoff. 2. Work on option 3 suggested above for 9.0 (essentially at the earliest once RC1 is out of the way next week). For this we will need some help understanding the cross-compiler/official build. Moving this to 9.0, but we need to disable the lane prior to rc1 cutoff for cleaner CI to remove the blocking green ci tag |
@directhex can you please do this before Monday's cutoff? |
Seen when running
runtime-extra-platforms
onlinux-arm64 Release AllSubsets_Mono_LLVMFullAot_RuntimeTests llvmfullaot
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=274202
Build error leg or test failing: Build / linux-arm64 Release AllSubsets_Mono_LLVMFullAot_RuntimeTests llvmfullaot / Build Mono LLVM AOT cross compiler
Pull request: #86266
Error Message
Fill the error message using known issues guidance.
Report
Summary
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=323893
Error message validated:
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 6/28/2023 9:28:40 PM UTC
The text was updated successfully, but these errors were encountered: