[9.0][source-build] Could not find BROTLIDEC using the following names: brotlidec
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- cmake
- Domain
- build-system
Research direction
Start at src/native/libs/System.IO.Compression.Native/extra_libs.cmake:24 and follow its call from src/native/corehost/apphost/static/CMakeLists.txt:182. Reproduce the CentOS8 Source Build Validation failure with system Brotli enabled; done means CMake finds brotlidec and the CoreCLR component build completes.
Written by the indexing model from the issue text.
Description
@jkoritzinsky
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=947948&view=logs&j=fc3f098e-ab70-5b56-d12d-f5fa32e40725
Build error leg or test failing: Source Build Validation / Source-Build (CentOS8) / Build
Pull request: N/A
Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": "Could not find BROTLIDEC using the following names: brotlidec",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
- Logs:
- https://dev.azure.com/dnceng-public/public/_build/results?buildId=947948&view=logs&j=fc3f098e-ab70-5b56-d12d-f5fa32e40725&t=f94e0a17-94f2-5c47-cbbe-d652f433da1c
- https://dev.azure.com/dnceng-public/public/_build/results?buildId=947948&view=logs&j=46d4bc78-82b7-5486-55ce-7714ebdf0ac0&t=5940e102-b135-58b6-71a4-2593b90abf9d&l=706
- Output:
Detected Linux x86_64
-- Performing Test COMPILER_SUPPORTS_F_STACK_PROTECTOR_STRONG
-- Performing Test COMPILER_SUPPORTS_F_STACK_PROTECTOR_STRONG - Success
-- Performing Test COMPILER_SUPPORTS_W_IMPLICIT_FALLTHROUGH
-- Performing Test COMPILER_SUPPORTS_W_IMPLICIT_FALLTHROUGH - Success
-- Performing Test COMPILER_SUPPORTS_W_RESERVED_IDENTIFIER
-- Performing Test COMPILER_SUPPORTS_W_RESERVED_IDENTIFIER - Success
-- The ASM compiler identification is Clang 17.0.6 with GNU-like command-line
-- Found assembler: /usr/bin/clang-17
-- Performing Test HAVE_LTO
-- Performing Test HAVE_LTO - Success
-- Performing Test COMPILER_SUPPORTS_F_ALIGNED_NEW
-- Performing Test COMPILER_SUPPORTS_F_ALIGNED_NEW - Success
-- Performing Test HAVE_DIRENT_D_TYPE
-- Performing Test HAVE_DIRENT_D_TYPE - Success
-- Looking for getauxval
-- Looking for getauxval - found
-- Looking for include file GSS/GSS.h
-- Looking for include file GSS/GSS.h - not found
CMake Error at /__w/1/s/artifacts/sb/src/src/native/libs/System.IO.Compression.Native/extra_libs.cmake:24 (find_library):
Could not find BROTLIDEC using the following names: brotlidec
Call Stack (most recent call first):
/__w/1/s/artifacts/sb/src/src/native/corehost/apphost/static/CMakeLists.txt:182 (append_extra_compression_libs)
-- Configuring incomplete, errors occurred!
##[error]Failed to generate "CoreCLR component" build project!
/__w/1/s/artifacts/sb/src/src/coreclr/runtime.proj(108,5): error MSB3073: The command ""/__w/1/s/artifacts/sb/src/src/coreclr/build-runtime.sh" -cmakeargs " -DCLR_CMAKE_USE_SYSTEM_BROTLI=true" -x64 -release -ci -portablebuild=false -keepnativesymbols -os linux -outputrid centos.8-x64 -cmakeargs "-DCLR_DOTNET_HOST_PATH=/__w/1/s/.dotnet/dotnet" -cmakeargs "-DCDAC_BUILD_TOOL_BINARY_PATH=/__w/1/s/artifacts/sb/src/artifacts/bin/coreclr/linux.x64.Release/cdac-build-tool/cdac-build-tool.dll"" exited with code 1.
Build FAILED.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=947948
Error message validated: [Could not find BROTLIDEC using the following names: brotlidec]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 2/11/2025 4:18:39 PM UTC
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 0 |
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dotnet/runtime
-
agentic-workflows untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
area-System.Reflection blocking-clean-ci-optional Known Build Error os-mac-os-x untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
area-CodeGen-coreclr untriaged
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
agentic-workflows untriaged
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
area-VM-meta-mono untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·
-
area/docs-content Bug pulumi/docs
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
-
Create parent directories only after the containment check in InstallHelper.TryExtractToDirectory Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PowerShell/PSResourceGet#2056 ·