Skip to content

fix(librsvg2): resolve BR-unresolvable nightly build failure#17636

Open
WithEnoughCoffee wants to merge 1 commit into
4.0from
fix/librsvg2-br-unresolvable
Open

fix(librsvg2): resolve BR-unresolvable nightly build failure#17636
WithEnoughCoffee wants to merge 1 commit into
4.0from
fix/librsvg2-br-unresolvable

Conversation

@WithEnoughCoffee
Copy link
Copy Markdown
Contributor

@WithEnoughCoffee WithEnoughCoffee commented Jun 5, 2026

Summary

Add overlays to resolve buildroot resolution failure (mock exit 30) in Koji nightly builds (taskID 2590970).

Changes

  • Enable bundled Rust dependencies (%global bundled_rust_deps 1) to avoid dynamic crate BRs that pull in unpackaged dav1d via rust-image+avif-native
  • Replace rust-toolset BR with cargo-rpm-macros (AZL does not ship the Fedora rust-toolset metapackage)
  • Unconditionally disable AVIF support (-Davif=disabled) since dav1d system libraries are not available in AZL4

Testing

  • Build succeeded in mock chroot
  • Smoke-test: rsvg-convert --version runs correctly (v2.61.0)

References

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the librsvg2 component to make Koji nightly builds succeed by avoiding buildroot-unresolvable Rust dependency chains and removing reliance on Fedora-only packaging.

Changes:

  • Force vendored (bundled) Rust dependencies to avoid dynamic BuildRequires generation that pulls in unavailable crates.
  • Replace the Fedora rust-toolset BuildRequires with cargo-rpm-macros for Azure Linux.
  • Update rendered spec output / lock fingerprint to reflect the component changes.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
base/comps/librsvg2/librsvg2.comp.toml Adds overlays to enable bundled Rust deps and replace rust-toolset BR; keeps AVIF disabled in %build.
specs/l/librsvg2/librsvg2.spec Rendered spec reflects the overlay effects plus rpmautospec release/changelog updates.
locks/librsvg2.lock Updates input fingerprint after component config change.

Comment thread base/comps/librsvg2/librsvg2.comp.toml
Comment thread base/comps/librsvg2/librsvg2.comp.toml
Add overlays to resolve buildroot resolution failure (mock exit 30)
in Koji nightly builds (taskID 2590970):

- Enable bundled Rust dependencies (%global bundled_rust_deps 1) to
  avoid dynamic crate BRs that pull in unpackaged dav1d via
  rust-image+avif-native
- Replace rust-toolset BR with cargo-rpm-macros (AZL does not ship
  the Fedora rust-toolset metapackage)
- Unconditionally disable AVIF support (-Davif=disabled) since dav1d
  system libraries are not available in AZL4

Build and smoke-test verified in mock chroot.
@WithEnoughCoffee WithEnoughCoffee force-pushed the fix/librsvg2-br-unresolvable branch from 63c4aef to f9b5ae7 Compare June 5, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants