Bug 2059362

Summary: Can't install amavis on EPEL9
Product: [Fedora] Fedora EPEL Reporter: Diego Herrera <dherrera>
Component: amavisAssignee: Juan Orti Alcaine <jorti>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: filbar, jorti, lance, linux, redhat-bugzilla, steve, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: amavis-2.12.2-4.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-09 00:41:26 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:
Bug Depends On: 2037930, 2054125, 2091511    
Bug Blocks:    
Attachments:
Description Flags
amavis-2.12.1-libidn2.patch none

Description Diego Herrera 2022-02-28 21:51:00 UTC
Description of problem:
amavis doesn't install on EPEL9 because nothing provides perl(Net::LibIDN)

Version-Release number of selected component (if applicable):
amavis-2.12.2-3.el9.noarch


Steps to Reproduce:
1. sudo dnf -y install amavis

Actual results:
...
 Problem: conflicting requests
  - nothing provides perl(Net::LibIDN) needed by amavis-2.12.2-3.el9.noarch

Additional info:

From what I'm seeing, there are 2 ways to deal with this

1) Solve bug 2037930, since this would remove the perl(Net::LibIDN) dependency

2) Wait for perl(Net::LibIDN) to get ported to EPEL9. This packet is not available because libidn was removed from RHEL9, but there is already interest for bringing this package to EPEL9 (bug 2054125).

This problem was found using the following service:
https://tdawson.fedorapeople.org/epel/willit/epel9/status-wont-install.html

Comment 1 Diego Herrera 2022-05-04 17:37:16 UTC
From what I'm seeing, bug 2054125 is already resolved, so you could ask the perl(Net::LibIDN) maintainer to bring their package to EPEL9 [0] as an alternative to solving this problem.

[0] https://docs.fedoraproject.org/en-US/epel/epel-package-request/

Comment 2 Juan Orti Alcaine 2022-05-30 07:51:49 UTC
Amavis upstream has already switched to Net::LibIDN2 and that change is already in rawhide, however I don't want to bring a git snapshot to epel, so I will wait for an official release before publishing those changes in epel.

On the other side, I've requested perl(Net::LibIDN) for epel9 in bug 2091511, that will fix the current situation.

Comment 3 Robert Scheck 2022-05-30 18:14:21 UTC
Created attachment 1885235 [details]
amavis-2.12.1-libidn2.patch

Backport of "Switch from Net::LibIDN to Net::LibIDN2" from the upstream Git. This should hopefully avoid a) perl-Net-LibIDN in EPEL 9 and b) Git snapshots in EPEL.

The requirement for "perl(Net::LibIDN)" in the amavis.spec file should be changed to "perl(Net::LibIDN2)" as well, when applying this patch.

Comment 4 Fedora Update System 2022-05-31 14:34:29 UTC
FEDORA-EPEL-2022-b4bb5710db has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-b4bb5710db

Comment 5 Fedora Update System 2022-06-01 03:10:30 UTC
FEDORA-EPEL-2022-b4bb5710db 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-2022-b4bb5710db

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

Comment 6 Fedora Update System 2022-06-09 00:41:26 UTC
FEDORA-EPEL-2022-b4bb5710db has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.