Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
carlossanlop opened this issue Feb 11, 2025 · 4 comments
Labels
area-Infrastructure-coreclr blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-linux Linux OS (any supported distro) source-build Issues relating to dotnet/source-build untriaged New issue has not been triaged by the area owner

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Feb 11, 2025

@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

Build Definition Step Name Console log Pull Request
959590 dotnet/runtime Build Log
959287 dotnet/runtime Build Log
958944 dotnet/runtime Build Log
958555 dotnet/runtime Build Log
956643 dotnet/runtime Build Log
955917 dotnet/runtime Build Log
951146 dotnet/runtime Build Log
951012 dotnet/runtime Build Log
950161 dotnet/runtime Build Log
949867 dotnet/runtime Build Log
949051 dotnet/runtime Build Log
948890 dotnet/runtime Build Log
948414 dotnet/runtime Build Log
947948 dotnet/runtime Build Log

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 6 14
@carlossanlop carlossanlop added area-Infrastructure-coreclr blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-linux Linux OS (any supported distro) source-build Issues relating to dotnet/source-build labels Feb 11, 2025
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Feb 11, 2025
Copy link
Contributor

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

@mthalman
Copy link
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

@mthalman
Copy link
Member

@carlossanlop
Copy link
Member Author

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area-Infrastructure-coreclr blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-linux Linux OS (any supported distro) source-build Issues relating to dotnet/source-build untriaged New issue has not been triaged by the area owner
Projects
Status: No status
Development

No branches or pull requests

2 participants