Excluded required packages, when compiling srpm's on RHEL 8 Beta

Latest response

I was using Mock recompiled from Centos 7 to build packages. So far minimal issues but having some serious issues with some perl dependencies. (I am suspecting probably something I have misconfigured with modules)

Using the codeready, appstream, and baseos repositories.

# /usr/bin/dnf builddep --installroot /var/lib/mock/ncoulson/centos-8-x86_64/root/ --releasever 8 --disableplugin=local --setopt=deltarpm=False /var/lib/mock/ncoulson/centos-8-x86_64/root//builddir/build/SRPMS/cyrus-imapd-3.0.7-15.ncoulson.el8.centos.src.rpm
appstream 2.7 kB/s | 2.8 kB 00:01
baseos 2.7 kB/s | 2.7 kB 00:01
codeready-builder 1.2 MB/s | 4.4 kB 00:00
Package gcc-8.2.1-3.3.el8.x86_64 is already installed.
Package gcc-c++-8.2.1-3.3.el8.x86_64 is already installed.
Package perl-ExtUtils-MakeMaker-1:7.34-1.el8.noarch is already installed.
Package perl-Pod-Html-1.22.02-414.el8.noarch is already installed.
Package perl-devel-4:5.26.2-414.el8.x86_64 is already installed.
Package pkgconf-pkg-config-1.4.2-1.el8.x86_64 is already installed.
Error:
Problem: cannot install the best candidate for the job
- package perl-generators-1.10-7.el8+1703+3db27f7b.noarch is excluded

As an example, I used the cyrus-imapd SRPM, disabled cassandra (Lots of missing dependencies, and just wanted to test), which resulted in the above.

I also get the same issues with the commented out dnf command above.c

Another example, is rebuilding perl-Nagios-Plugin-0.36-7.el7.src.rpm,
Error:
Problem 1: cannot install the best candidate for the job
- package perl-Exporter-5.72-1000.el8+1703+3db27f7b.noarch is excluded
Problem 2: cannot install the best candidate for the job
- package perl-constant-1.33-1000.el8+1703+3db27f7b.noarch is excluded

Responses