[9.0][source-build] Could not find BROTLIDEC using the following names: brotlidec

Open
#112,423 6 comments 0 reactions 0 assignees View on GitHub

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

area-Infrastructure Known Build Error os-linux source-build

@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
}
   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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/runtime

All issues in dotnet/runtime

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.