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?
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.
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.
Thanks! I've filed #1942748 to get softhsm build in EPEL as a non-modular package.
@dcavalca Hi, now that BZ #1942748 has been fixed, does this BZ require additional work or can we close it?
Yes, this can be closed, thanks!
*** This bug has been marked as a duplicate of bug 1942748 ***