Bug 2307705 - vaultwarden: FTBFS in Fedora 40 and 39
Summary: vaultwarden: FTBFS in Fedora 40 and 39
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: vaultwarden
Version: 40
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jonathan Wright
QA Contact:
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F40FTBFS
TreeView+ depends on / blocked
 
Reported: 2024-08-24 09:14 UTC by Fabio Valentini
Modified: 2025-01-29 05:24 UTC (History)
2 users (show)

Fixed In Version: vaultwarden-1.32.7-4.el9 vaultwarden-1.32.7-4.fc41 vaultwarden-1.32.7-4.fc40
Clone Of:
Environment:
Last Closed: 2025-01-26 00:42:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fabio Valentini 2024-08-24 09:14:42 UTC
Description of problem:
Package vaultwarden fails to build from source in Fedora 40 and 39.

Version-Release number of selected component (if applicable):
1.30.5-1.fc40

Steps to Reproduce:
koji build --scratch f40 vaultwarden-1.30.5-1.fc40.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/vaultwarden

================================================================================

It looks like this is caused by the update to Rust 1.80. It introduced type inference changes in some edge cases that were hit by older versions of the "time" crate, leading to compilation failures due to missing disambiguating type annotations.

for more information see this thread:
https://internals.rust-lang.org/t/type-inference-breakage-in-1-80-has-not-been-handled-well/21374

Since this package uses vendored Rust dependencies, it doesn't benefit from the fact that the "time" crate in Fedora has already been updated to a version that is not affected by this issue. Either the vendor tarball for the versions on f40 and f39 will need to be updated and / or patched to include a fixed version of the "time" crate and its dependencies, or the 1.32 version in f40+ needs to be merged into older branches as well.


Reproducible: Always

Comment 1 Fabio Valentini 2024-12-20 11:54:26 UTC
This issue is still present. If possible, I would recommend to merge the update from rawhide / f41 that fixed this issue to Fedora 40 too. Keeping an old version of a Password Manager that can't be rebuilt for security issues around seems like a bad idea.

Comment 2 Fedora Update System 2025-01-21 18:27:50 UTC
FEDORA-EPEL-2025-cd95859e4b (vaultwarden-1.32.7-4.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-cd95859e4b

Comment 3 Fedora Update System 2025-01-21 18:27:51 UTC
FEDORA-2025-4cb7637c98 (vaultwarden-1.32.7-4.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-4cb7637c98

Comment 4 Fedora Update System 2025-01-22 01:27:17 UTC
FEDORA-2025-4cb7637c98 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-4cb7637c98`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-4cb7637c98

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

Comment 5 Fedora Update System 2025-01-22 01:28:06 UTC
FEDORA-2025-3dff292265 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-3dff292265`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-3dff292265

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

Comment 6 Fedora Update System 2025-01-22 01:38:33 UTC
FEDORA-EPEL-2025-cd95859e4b 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-2025-cd95859e4b

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

Comment 7 Fedora Update System 2025-01-26 00:42:07 UTC
FEDORA-EPEL-2025-cd95859e4b (vaultwarden-1.32.7-4.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2025-01-29 05:02:36 UTC
FEDORA-2025-4cb7637c98 (vaultwarden-1.32.7-4.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2025-01-29 05:24:01 UTC
FEDORA-2025-3dff292265 (vaultwarden-1.32.7-4.fc40) has been pushed to the Fedora 40 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.