On Wed, Jan 27, 2021 at 11:11 AM Neal Gompa
On Wed, Jan 27, 2021 at 11:10 AM Julio González Gil
wrote: Hi,
We noticed today at Uyuni that, since yesterday, our CentOS8 client tools packages [1] were marked as unresolvable with the error:
nothing provides perl(:MODULE_COMPAT_5.26.3) needed by perl-Term-Table
We didn't change anything at the prjconfig or the meta config during the last days, so after several tests, we noticed we were having this problem because we dependend on openSUSE:Tools:
<repository name="CentOS_8"> <releasetarget project="systemsmanagement:Uyuni:Stable:CentOS8-Uyuni- Client-Tools" repository="CentOS_8" trigger="manual"/> <path project="openSUSE:Tools" repository="CentOS_8"/> <path project="CentOS:CentOS-8" repository="standard"/> <arch>x86_64</arch> <arch>ppc64le</arch> </repository>
After checking openSUSE:Tools we noticed that pretty much all packages are marked as unresolvable for CentOS8, a lot of them with the same problem we had.
So after removing the inheritance against openSUSE:Tools and copypac'ing the packages we need, our packages are building again just fine.
I am not sure of what's broken at openSUSE:Tools, but I'd say it's something at this part of the pjconf:
%if "%_repository" == "CentOS_8" || "%_repository" == "RHEL_8" ExpandFlags: module:perl-5.30 ExpandFlags: module:perl-libwww-perl-6.34 ExpandFlags: module:perl-YAML-1.24 ExpandFlags: module:python36-3.6 %endif
Maybe more expandflags are needed?
The default Perl runtime is perl-5.26, you've got perl-5.30 enabled, so now everything broke since you have some stuff from one and some stuff from the other.
Also, to make it clear: this is possible because OBS does not process modular dependencies to evaluate them for conflicting requests. -- 真実はいつも一つ!/ Always, there's only one truth!