Skip to content

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

Open

Description

@carlossanlop

@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

Activity

  1. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    os-linuxLinux OS (any supported distro)
    source-buildIssues relating to dotnet/source-build
    on Feb 11, 2025
  2. dotnet-policy-service commented on Feb 11, 2025

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @hoyosjs
    See info in area-owners.md if you want to be subscribed.

  3. mthalman commented on Feb 11, 2025

    @mthalman
    Member

    I think this would be fixed by upgrading to CentOS Stream 9. An image tag for that already exists. Note that 8 is EOL. I know that the 8 image does not contain the brotli-dev package but the 9 image does. So assuming that brotli-dev provides this missing BROTLIDEC, then things should be good.

    Here are the two references to 8 that I see:

    # We use a CentOS Stream 8 image here to test building from source on CentOS Stream 8.
    SourceBuild_centos_x64:
    image: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8

    linux_x64_llvmaot:
    image: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8

  4. mthalman commented on Feb 11, 2025

    @mthalman
    Member
  5. carlossanlop commented on Feb 11, 2025

    @carlossanlop
    ContributorAuthor

    Any fixes for the 9.0 branch need to go directly to the release/9.0 branch right now so that we can unblock internal immediately after merging.

  6. removed
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    on Jun 16, 2025
  7. jeffschwMSFT commented on Jun 16, 2025

    @jeffschwMSFT
    Member

    removing blocking-clean-ci as it has not failed in 30 days

    24-Hour Hit Count 7-Day Hit Count 1-Month Count
    0 0 0
  8. dotnet-policy-service commented on Apr 13, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/runtime-infrastructure
    See info in area-owners.md if you want to be subscribed.

  9. removed
    untriagedNew issue has not been triaged by the area owner
    on Jul 14, 2026
  10. added this to the Future milestone on Jul 14, 2026
  11. zorathvael commented on Oct 8, 2026

    @zorathvael

    Hi @carlossanlop — I found this public issue ([9.0][source-build] Could not find BROTLIDEC using the following names: brotlidec) while looking for specific problems where I can provide a concrete outcome. Zorathvael can deliver ci failure recovery for this case. The fixed price is 10 USDT or Rp149,000. No repository credentials are required; the service uses public repository evidence. If you want it, open the order form here: https://github.com/zorathvael/zorathvael-os/issues/new?template=order.yml&title=%5BORDER%5D%20ci_failure_recovery

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-Infrastructureos-linuxLinux OS (any supported distro)source-buildIssues relating to dotnet/source-build

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions