Bug 1948957
| Summary: | perl-Crypt-CBC-3.02 requires perl-Math-Int128 which does not exist on 32-bit platforms | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> |
| Component: | perl-Crypt-CBC | Assignee: | Paul Howarth <paul> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | andreas, paul, perl-devel |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | perl-Crypt-CBC-3.02-2.fc35 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-04-15 18:42:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
I removed the BuildRequires: (CTR mode is not tested) and dropped the Requires: down to a Recommends: Hope that helps. I requested support for fallback to the old implementation using Math::BigInt if Math::Int128 is unavailable (https://github.com/lstein/Lib-Crypt-CBC/issues/3). Rawhide build: https://koji.fedoraproject.org/koji/taskinfo?taskID=66014072 |
This commit added a hard-dependency on perl(Math::Int128): commit 83ca22c6b56fadcbf8914ec52cdb381dc2efb88d (HEAD -> rawhide, origin/rawhide, origin/main, origin/HEAD) Author: Paul Howarth <paul> Date: Mon Apr 12 09:39:41 2021 +0100 Update to 3.02 - New upstream release 3.02 - CTR mode now requires the Math::Int128 module, which gives a ~5x performance boost over Math::BigInt diff --git a/perl-Crypt-CBC.spec b/perl-Crypt-CBC.spec index 436c3cf..caffc3c 100644 --- a/perl-Crypt-CBC.spec +++ b/perl-Crypt-CBC.spec @@ -1,6 +1,6 @@ Summary: Encrypt Data with Cipher Block Chaining Mode Name: perl-Crypt-CBC -Version: 3.01 +Version: 3.02 Release: 1%{?dist} # Upstream confirms that they're under the same license as perl. # Wording in CBC.pm is less than clear, but still. @@ -24,7 +24,7 @@ BuildRequires: perl(Crypt::PBKDF2) BuildRequires: perl(Digest::MD5) >= 2.00 BuildRequires: perl(Digest::SHA) BuildRequires: perl(File::Basename) -BuildRequires: perl(Math::BigInt) +BuildRequires: perl(Math::Int128) But perl(Math::Int128) is not available on 32-bit platforms <https://koji.fedoraproject.org/koji/buildinfo?buildID=1686388>. You should relax the dependency.