-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error "Not find BROTLIDEC" #111995
Comments
Tagging subscribers to this area: @hoyosjs |
Where did you get the list of dependencies from? It seems to be missing brotli. The source-build uses system brotli by default, so it has to be installed as a dependency. cc @omajid |
install brotli
From https://github.com/dotnet/runtime/blob/main/docs/workflow/requirements/linux-requirements.md#debian-and-ubuntu But even if I install brotli directly
this is not help |
These are requirements for building dotnet/runtime repo. Source build has different requirements.
You need to install brotli dev package, like brotli-dev ? |
The VMR readme at https://github.com/dotnet/dotnet/blob/main/README.md#dev-instructions points to https://github.com/dotnet/runtime/tree/main/docs/workflow/requirements and as pointed out in this issue, the build requirements are different between runtime and VMR now. Should we consider adding more conditionals or extra package dependencies to the runtime docs or should we add custom VMR build instructions to the VMR? |
Can we fix this by switching the default dotnet/dotnet build configuration to non-source-build? It would make the set of prerequisites same between dotnet/runtime and dotnet/dotnet by default, and it would make things consistent across platform. (source-build is Linux specific). |
@jkotas That's already the case. The reporter ran |
Indeed, installing libbrotli-dev helped. The error is gone, thanks. |
Description
I try build dotnet/dotnet repo following instructions in:
https://github.com/dotnet/dotnet/blob/main/README.md#dev-instructions
but i get error.
Reproduction Steps
Clone repo
https://github.com/dotnet/dotnet/
and switch to release/9.0.1xx branch
Execute
Expected behavior
Successfully build SDK
Actual behavior
Get Error
Regression?
No response
Known Workarounds
No response
Configuration
OS is Debian 12
Other information
No response
The text was updated successfully, but these errors were encountered: