Bug 2312229 - cannot install rust-cargo-devel due to dependency inconsistency
Summary: cannot install rust-cargo-devel due to dependency inconsistency
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: rust-cargo
Version: epel9
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Rust SIG
QA Contact:
URL:
Whiteboard:
: 2313908 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-13 15:51 UTC by Taketo Kabe
Modified: 2024-11-23 07:55 UTC (History)
3 users (show)

Fixed In Version: rust-cargo-0.79.0-6.el9
Clone Of:
Environment:
Last Closed: 2024-11-23 07:55:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Taketo Kabe 2024-09-13 15:51:33 UTC
Description of problem:
rust-cargo unable to install due to depencency versions inconsistency in EPEL


Version-Release number of selected component (if applicable):
rust-cargo-devel-0.78.1-1.el9.noarch
rust-gix-devel-0.63.0-2.el9.noarch (crate(gix))
rust-gix+progress-tree-devel-0.63.0-2.el9.noarch (crate(gix/progress-tree))
rust-gix+revision-devel-0.63.0-2.el9.noarch (crate(gix/revision))

How reproducible:
always

Steps to Reproduce:
1. dnf install epel-release
2. LANG=C sudo dnf --enablerepo=crb  install  rust-cargo-devel 

Actual results:
[kabe@rocky9 epel]$ LANG=C sudo dnf --enablerepo=crb  install  rust-cargo-devel
Last metadata expiration check: 0:26:26 ago on Sat Sep 14 00:21:23 2024.
Error:
 Problem: conflicting requests
  - nothing provides (crate(gix) >= 0.61.0 with crate(gix) < 0.62.0~) needed by rust-cargo-devel-0.78.1-1.el9.noarch from epel
  - nothing provides (crate(gix/blocking-http-transport-curl) >= 0.61.0 with crate(gix/blocking-http-transport-curl) < 0.62.0~) needed by rust-cargo-devel-0.78.1-1.el9.noarch from epel
  - nothing provides (crate(gix/progress-tree) >= 0.61.0 with crate(gix/progress-tree) < 0.62.0~) needed by rust-cargo-devel-0.78.1-1.el9.noarch from epel
  - nothing provides (crate(gix/revision) >= 0.61.0 with crate(gix/revision) < 0.62.0~) needed by rust-cargo-devel-0.78.1-1.el9.noarch from epel
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)


Expected results:
rust-cargo-devel installed, with dependencies pulled in

Additional info:
Current rust-cargo-devel-0.78.1-1.el9.noarch depends on
crate(gix) >= 0.61.0 with crate(gix) < 0.62.0~,
but currently provided rust-gix-devel-0.63.0-2.el9.noarch (crate(gix)) is not within the version limit.
EIther rust-gix is proceeding too fast, or rust-cargo-devel is lagging.

Comment 1 Fabio Valentini 2024-09-13 15:54:38 UTC
This is a known problem that we can only fix with the next RHEL 9 point release.

That will ship an updated Rust toolchain, which will enable us to update the "rust-cargo" package.

Though I do wonder why you would attempt to install rust-cargo-devel locally?

Comment 2 Taketo Kabe 2024-09-14 18:03:34 UTC
I was trying to compile `rust-cargo-c` package for non-x86_64, which seems to generates the above dependency by %cargo_generate_buildrequires .

Comment 3 Fabio Valentini 2024-09-14 19:29:59 UTC
Are the builds available for aarch64, ppc64le, s390x not enough?
https://koji.fedoraproject.org/koji/buildinfo?buildID=2451680

Or do you want to compile cargo-c with local changes?

As a workaround until I can fix the broken dependencies in the epel9 repo, you could try using the buildroot based on CentOS Stream 9 + EPEL9-Next (centos-stream+epel-next-9-x86_64), which already contains the fix.

Comment 4 Taketo Kabe 2024-09-16 03:09:38 UTC
I am compiling for i686 (for i586, strictly said).
I known that is not a supported architecture, but helps are greatly appreciated.

Comment 5 Fabio Valentini 2024-09-18 13:08:44 UTC
What buildroot are you even using for a build like this? 😅

Anyway, another gix update will be landing in EPEL 9 within the next few days, I'll try to fix the broken dependency in rust-cargo at the same time.

Note that you might have problems building cargo-c on 32-bit x86 anyway - I've had issues in the past that the linker hit OOM when building it on 32-bit architectures.

Comment 6 Fabio Valentini 2024-09-21 14:24:05 UTC
*** Bug 2313908 has been marked as a duplicate of this bug. ***

Comment 7 Fedora Update System 2024-11-15 19:09:14 UTC
FEDORA-EPEL-2024-680c39933a (rust-bitstream-io-2.6.0-1.el9, rust-bitvec_helpers-3.1.6-1.el9, and 11 more) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-680c39933a

Comment 8 Fedora Update System 2024-11-16 02:52:00 UTC
FEDORA-EPEL-2024-680c39933a has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-680c39933a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2024-11-23 07:55:34 UTC
FEDORA-EPEL-2024-680c39933a (rust-bitstream-io-2.6.0-1.el9, rust-bitvec_helpers-3.1.6-1.el9, and 11 more) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.