Bug 2059362 - Can't install amavis on EPEL9
Summary: Can't install amavis on EPEL9
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: amavis
Version: epel9
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Juan Orti
QA Contact: Fedora Extras Quality Assurance
Depends On: 2037930 2054125 2091511
TreeView+ depends on / blocked
Reported: 2022-02-28 21:51 UTC by Diego Herrera
Modified: 2022-06-09 00:41 UTC (History)
7 users (show)

Fixed In Version: amavis-2.12.2-4.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2022-06-09 00:41:26 UTC
Type: Bug

Attachments (Terms of Use)
amavis-2.12.1-libidn2.patch (4.60 KB, patch)
2022-05-30 18:14 UTC, Robert Scheck
no flags Details | Diff

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):

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:

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 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]

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.

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