runtime icon indicating copy to clipboard operation
runtime copied to clipboard

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

Open carlossanlop opened this issue 9 months ago • 4 comments

@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: :mag_right: 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: :white_check_mark: 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

carlossanlop avatar Feb 11 '25 16:02 carlossanlop

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

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:

https://github.com/dotnet/runtime/blob/689f4e9a5a2f8430455266a27921444ec1605eb6/eng/pipelines/common/templates/pipeline-with-resources.yml#L82-L84

https://github.com/dotnet/runtime/blob/689f4e9a5a2f8430455266a27921444ec1605eb6/eng/pipelines/common/templates/pipeline-with-resources.yml#L108-L109

mthalman avatar Feb 11 '25 16:02 mthalman

Related: https://github.com/dotnet/dotnet-buildtools-prereqs-docker/pull/1197

mthalman avatar Feb 11 '25 16:02 mthalman

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.

carlossanlop avatar Feb 11 '25 17:02 carlossanlop

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

jeffschwMSFT avatar Jun 16 '25 18:06 jeffschwMSFT