Bug 2370932 - F43FailsToInstall: rust-az-cvm-vtpm+verifier-devel, rust-az-cvm-vtpm-devel
Summary: F43FailsToInstall: rust-az-cvm-vtpm+verifier-devel, rust-az-cvm-vtpm-devel
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: rust-az-cvm-vtpm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Uri Lublin
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: F43FailsToInstall F44FailsToInstall, RAWHIDEFailsToInstall 2370933 2372843
TreeView+ depends on / blocked
 
Reported: 2025-06-07 09:31 UTC by Fedora Fails To Install
Modified: 2025-08-12 12:17 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-08-12 12:17:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fedora Fails To Install 2025-06-07 09:31:58 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

Your package (rust-az-cvm-vtpm) Fails To Install in Fedora 43:

can't install rust-az-cvm-vtpm+verifier-devel:
  - nothing provides (crate(sev/openssl) >= 4.0.0 with crate(sev/openssl) < 5.0.0~) needed by rust-az-cvm-vtpm+verifier-devel-0.7.1-3.fc42.noarch
  
can't install rust-az-cvm-vtpm-devel:
  - nothing provides (crate(sev/default) >= 4.0.0 with crate(sev/default) < 5.0.0~) needed by rust-az-cvm-vtpm-devel-0.7.1-3.fc42.noarch
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-43-x86_64 --config-opts mirrored=False install rust-az-cvm-vtpm+verifier-devel rust-az-cvm-vtpm-devel


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Fedora Fails To Install 2025-06-14 14:16:58 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 7+ weeks.
This is the first reminder (step 3) from the policy.

Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.

Comment 2 Uri Lublin 2025-06-15 12:49:57 UTC
Rust 'sev' is a dependency of rust-az-cvm-vtpm package.
Current 'sev' crate version is 6 (and in Fedora too) but current dependency is sev.0.
That causes rust-az-*-vtpm packages build to fail.
Updating Carge.toml fixes "cargo build", but "cargo test" still fails.
I'll create an issue upstream.

$ D=$(mktemp -d /tmp/az-cvm-XXXXX)
$ cd $D
$ git clone http://github.com/kinvolk/azure-cvm-tooling/
$ cd azure-cvm-tooling/az-cvm-vtpm
$ sed '/^sev/s/4.0.0/6/' -i Cargo.toml
$ cargo build # finished successfully
$ cargo test
test hcl::tests::parse_hcl_report ... FAILED

Comment 3 Fabio Valentini 2025-06-15 16:47:58 UTC
This is caused by the "rust-sev" package having gone through an incompatible update without coordinating with all dependent packages (including this one), as I noted here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-57f7169b9d

If just bumping the dependency in this package breaks things (even though they compile), it might be a better idea to un-break this package (and others) by introducing a parallel-available package for sev v4 (rust-sev4), which would address this issue faster than waiting for upstream.

Comment 4 Uri Lublin 2025-06-17 18:26:07 UTC
Upstream issue created: https://github.com/kinvolk/azure-cvm-tooling/issues/70

Comment 5 Uri Lublin 2025-06-26 10:58:54 UTC
Until upstream is updated to support sev-6.0.0, what is preferred:
- bundle sev-4.0.0 source as spec-file Source1
- try to build rust-sev4 (is it a new package?)
- just wait

Comment 6 Fabio Valentini 2025-06-27 15:34:25 UTC
(In reply to Uri Lublin from comment #5)
> Until upstream is updated to support sev-6.0.0, what is preferred:
> - bundle sev-4.0.0 source as spec-file Source1
> - try to build rust-sev4 (is it a new package?)
> - just wait

Even cargo itself doesn't support partial vendoring / bundling, so I'd say that option 1 is immediately out ...

I would suggest to do option 2. (Yes, it's a new package. I can prepare it for you, if that would help.)

Option 3 would only be OK IMO if you know that the brokenness would be limited in time, i.e. a fix was being worked on and would be available within < 1 week.

Keeping packages in a broken state in rawhide isn't great, especially for statically linked languages like Rust where to apply security fixes you need to rebuild the package. And if the package is not buildable, you can't do that :(

Comment 7 Fedora Fails To Install 2025-07-06 19:41:07 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 4+ weeks.
This is the second reminder (step 4) from the policy.

Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.

Comment 8 Uri Lublin 2025-07-10 08:04:23 UTC
Yan and I were able to get a fix for azure-cvm-tooling.
We still need to send it upstream to be reviewed.
I'll probably try to add package rust-sev5 (or rust-sev4)

Comment 9 Fabio Valentini 2025-07-10 19:16:36 UTC
(In reply to Uri Lublin from comment #8)
> Yan and I were able to get a fix for azure-cvm-tooling.
> We still need to send it upstream to be reviewed.
> I'll probably try to add package rust-sev5 (or rust-sev4)

Why 5? To resolve the broken dependency, it *must* be v4.

I offered above to help you with this, if you want.

Comment 10 Uri Lublin 2025-07-16 14:50:22 UTC
Fabio, thank you for the offer to help.

I created a rust-sev4 review-request (bug 2380941).

The idea of rust-sev5 was that it's the most recent version that does
It would not immediately solve the issue, as you mention, until all
broken packages would be rebuilt with sev5 dependency.
Additionally, there was no git commit of rust-sev.spec with version 5

Comment 11 Uri Lublin 2025-08-03 12:49:38 UTC
(In reply to Uri Lublin from comment #8)
> Yan and I were able to get a fix for azure-cvm-tooling.

The fix was accepted. We'll build rust-az-????-vtpm 0.7.3

Comment 12 Fedora Fails To Install 2025-08-12 12:17:24 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 43.

Thanks for taking care of it!


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