<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/123479>123479</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[CI] LLDB test failures related to zlib
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
boomanaiden154
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
boomanaiden154
</td>
</tr>
</table>
<pre>
When running lldb tests in the new premerge system on Github Actions, we're seeing some test failures due to a missing/misconfigured zlib:
```
2025-01-18T03:38:02.9058314Z FAIL: lldb-shell :: SymbolFile/DWARF/x86/debug-names-compressed.cpp (1587 of 2651)
2025-01-18T03:38:02.9059816Z ******************** TEST 'lldb-shell :: SymbolFile/DWARF/x86/debug-names-compressed.cpp' FAILED ********************
2025-01-18T03:38:02.9061028Z Exit Code: 1
2025-01-18T03:38:02.9061285Z
2025-01-18T03:38:02.9061478Z Command Output (stderr):
2025-01-18T03:38:02.9061975Z --
2025-01-18T03:38:02.9065413Z RUN: at line 6: /__w/llvm-project/llvm-project/build/bin/clang --target=specify-a-target-or-use-a-_host-substitution -c -o /__w/llvm-project/llvm-project/build/tools/lldb/test/Shell/SymbolFile/DWARF/x86/Output/debug-names-compressed.cpp.tmp.o --target=x86_64-pc-linux -gdwarf-5 -gpubnames /__w/llvm-project/llvm-project/lldb/test/Shell/SymbolFile/DWARF/x86/debug-names-compressed.cpp
2025-01-18T03:38:02.9072765Z + /__w/llvm-project/llvm-project/build/bin/clang --target=specify-a-target-or-use-a-_host-substitution -c -o /__w/llvm-project/llvm-project/build/tools/lldb/test/Shell/SymbolFile/DWARF/x86/Output/debug-names-compressed.cpp.tmp.o --target=x86_64-pc-linux -gdwarf-5 -gpubnames /__w/llvm-project/llvm-project/lldb/test/Shell/SymbolFile/DWARF/x86/debug-names-compressed.cpp
2025-01-18T03:38:02.9079018Z RUN: at line 7: /opt/llvm/bin/ld.lld /__w/llvm-project/llvm-project/build/tools/lldb/test/Shell/SymbolFile/DWARF/x86/Output/debug-names-compressed.cpp.tmp.o -o /__w/llvm-project/llvm-project/build/tools/lldb/test/Shell/SymbolFile/DWARF/x86/Output/debug-names-compressed.cpp.tmp --compress-debug-sections=zlib
2025-01-18T03:38:02.9084673Z + /opt/llvm/bin/ld.lld /__w/llvm-project/llvm-project/build/tools/lldb/test/Shell/SymbolFile/DWARF/x86/Output/debug-names-compressed.cpp.tmp.o -o /__w/llvm-project/llvm-project/build/tools/lldb/test/Shell/SymbolFile/DWARF/x86/Output/debug-names-compressed.cpp.tmp --compress-debug-sections=zlib
2025-01-18T03:38:02.9088241Z ld.lld: error: --compress-debug-sections: LLVM was not built with LLVM_ENABLE_ZLIB or did not find zlib at build time
2025-01-18T03:38:02.9089218Z
2025-01-18T03:38:02.9089389Z --
2025-01-18T03:38:02.9089590Z
2025-01-18T03:38:02.9089752Z ********************
```
Doesn't look like it should be too complicated to fix, just wanted to create a bug so I don't lose track of the issue and forget to fix it until I see the failure again.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzsV19v27YX_TT0ywUNiZQs6cEPShz_EMC_DmiyFfCLQYnXMhuKFEiqTvbpBypOuqWYva4DVgwFBMgir6_O_XPEc4X3qjOIS5JfEcYaa3thhJJo0jwjjJF8NRNjOFi3_OPerLHyafnhgAbcaIwyHWgtGwjogwdlIBwQDB5hcNij6xD8kw_YgzXwPxUOYwN1G5Q1nrBrOCJhhUPwiNGTtz1OnmAvlB4depAjQrAgoFfeK9MRtu6Vb63Zq250KOFXrRrCa5LUZJGcrqRmCctpktK0vE844TUvCa8TNq-SvORptoV1fbshvJ7AU39ArSF64TXcPfWN1WulkbD16kP9fk3Y-rFcELaW2IwdNaJHT1vbDw69RzlvhwEIK9O8LMDugS3ylLDqPIqqTBdbIKz-2xfc39zdA2HFPxQCYcWUlZvVN8E6G_YiTVi5hZtHFeDaSoxg0wv_YGW-hQs2WVFu4dr2vTASfhrDMIZYER8kOhdrwS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