Ensure linux uses zlib-ng and not system ZLIB#105352
Ensure linux uses zlib-ng and not system ZLIB#105352carlossanlop merged 2 commits intodotnet:mainfrom
Conversation
|
Tagging subscribers to this area: @dotnet/area-system-io-compression |
|
Before: After: |
|
It's causing build failures. |
|
I applied the suggestion because the build is breaking and we're short on time since we need to backport this to Preview7 too. |
|
Yes macOS wasn't liking the syntax, while linux was passing. |
|
/backport to release/9.0-preview7 |
|
Started backporting to release/9.0-preview7: https://github.com/dotnet/runtime/actions/runs/10066382223 |
|
I see that most of the Unix build legs have finished and they were successful. Strangely, the build is still breaking for me in ubuntu after applying the latest fix. I just ran Still appending |
|
Have you tried with a clean build: |
|
Yes, it's completely clean. Note that I do not have zlib1g-dev installed here. So I'm trying to determine why in my machine we're trying to use the system zlib. |
|
It's the build ordering issue. and tries to use system libz. |
|
I'm being told that this is expected but it's also temporary: cdacreader.csproj uses the LKG toolchain, so it won't have zlib-ng available until we consume an SDK that has it. The workaround is to keep installing zlib1g-dev. |
Fix cmake expression syntax in System.IO.Compression.Native.