Bug 1942240 - softhsm is not available in the EPEL 8 buildroot
Summary: softhsm is not available in the EPEL 8 buildroot
Keywords:
Status: CLOSED DUPLICATE of bug 1942748
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: softhsm
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Alexander Bokovoy
QA Contact: Kaleem
URL:
Whiteboard:
Depends On: 1942748
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-23 23:09 UTC by Davide Cavalca
Modified: 2021-09-24 14:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-24 14:16:38 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-6922 0 None None None 2021-09-24 13:52:50 UTC

Description Davide Cavalca 2021-03-23 23:09:03 UTC
I'm trying to package swtpm for EPEL 8 in #1939674, which depends on softhsm, among other packages. The dependency lookup currently fails with:

Error: 
 Problem: conflicting requests
  - package softhsm-2.6.0-3.module_el8.3.0+482+9e103aab.x86_64 is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

which makes sense, as softhsm is part of the DL1 module stream in the idm module. What would be the right approach to make it available for EPEL builds in this case?

Comment 1 Davide Cavalca 2021-03-23 23:10:53 UTC
Note: I'm not putting this down as a blocking bug for #1939674 because luckily softhsm isn't actually required to build swtpm, so I think I can workaround things for the time being, but it would still be good to get this sorted out.

Comment 2 Alexander Bokovoy 2021-03-24 06:55:33 UTC
There are two solutions here, both purely EPEL-related.

1. You can package swtpm as a module stream. In that module definition you can mark dependency on idm:DL1 both in build and regular dependencies. This would make swtpm buildable and installable with automatic enablement of idm:DL1 to pick up softhsm.

2. According to the https://fedoraproject.org/wiki/EPEL/GuidelinesAndPolicies#Policy, 

------
In EPEL8 or later, it is also permitted to provide an alternative non-modular package to any package found only in a non-default RHEL module.
------

The the latter case it would be your own packaging of softhsm.

Comment 3 Davide Cavalca 2021-03-24 20:44:01 UTC
Thanks! I've filed #1942748 to get softhsm build in EPEL as a non-modular package.

Comment 4 Florence Blanc-Renaud 2021-09-24 13:47:24 UTC
@dcavalca 
Hi,
now that BZ #1942748 has been fixed, does this BZ require additional work or can we close it?

Comment 5 Davide Cavalca 2021-09-24 14:15:21 UTC
Yes, this can be closed, thanks!

Comment 6 Florence Blanc-Renaud 2021-09-24 14:16:38 UTC

*** This bug has been marked as a duplicate of bug 1942748 ***


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