-
Notifications
You must be signed in to change notification settings - Fork 50
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
Most charms will not be built w/o the rust compiler #989
Comments
Thank you for reporting us your feedback! The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-6040.
|
Adding the rust toolchain and other dependencies to avoid issues at build time. Part of canonical/bundle-kubeflow#989
Adding the rust toolchain and other dependencies to avoid issues at build time. Part of canonical/bundle-kubeflow#989
Adding the rust toolchain and other dependencies to avoid issues at build time. Part of canonical/bundle-kubeflow#989
Adding the rust toolchain and other dependencies to avoid issues at build time. Part of canonical/bundle-kubeflow#989
I have found something interesting, though. The charms that are failing now are building EDIT: I have found the following in the build logs
Turns out the This |
For reference also look at canonical/charmcraft#1135 (comment) |
The issue with the inconsistent Based on the above then I will proceed with:
This issue should be closed once we confirm that all CIs are running and potentially we should revert the commits that already introduced |
It was confirmed that charmcraft 3.x fixed the issue with PYDEPS overriding the versions of pkgs in requirements.txt |
Bug Description
Recently the dependency on this toolchain was added via packages like
cosl
or libraries like thek8s-service-info
, though this can happen to any charm that depends on a package that uses the rust compiler to be built from source.If the rust compiler is not added,
charmcraft pack
will fail witherror: can't find Rust compiler
.To avoid this issue, the following
build-packages
have to be added to thecharmcraft.yaml
file:To Reproduce
Build any CKF charm from
main
or re-try the CIEnvironment
Same as CI
Relevant Log Output
Additional Context
Example where this is happening.
The text was updated successfully, but these errors were encountered: