Bug 1711216
Summary: | Mock on RHEL 8 fails on ".module" named components | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Nico Kadel-Garcia <nkadel> |
Component: | mock | Assignee: | Miroslav Suchý <msuchy> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | epel7 | CC: | jdisnard, jkeating, mebrown, msuchy, nkadel, praiskup, williams |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-10-03 09:04:17 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Nico Kadel-Garcia
2019-05-17 08:50:03 UTC
*** Bug 1711217 has been marked as a duplicate of this bug. *** For the record - the url in step 2 is https://tdawson.fedorapeople.org/epel8/other/ There is no epel-8-x86_64.cfg in Mock, where do you get it? I do not see it on Troy page neither. BTW if the repository contains modules, then it have to have modulemd file and then Yum will treat it as module and mask the presence of the files. You must explicitely enable the modules using yum module enable yum module install I Mock config you can enable/install it using: config_opts['module_enable'] = [] config_opts['module_install'] = [] Thank you for correcting the URL. I've published a copy of the "rhel-8-x86_64.cfg" file I'm using, at https://github.com/nkadel/nkadel-rsync-scripts/blob/master/rhel-8-x86_64.cfg It relies on a copy of tdawson's RHEL 8 beta tools, and local reposync download of all the RHEL 8 channels. My script that I use for the reposync is published at https://github.com/nkadel/nkadel-rsync-scripts/blob/master/reposync-rhel-8.sh The easy fix I've found is to set "best-0" in the .cfg file. This allows dnf to resolve the dependencies without demanding the "best" matches. It's easy to generate with that .cfg file and local RHEL repos by using this command. mock -r rhel-8-x86_64.cfg install perl-Archive-Tar perl-Test-Simple Both of those are required for Samba, and I publish ports of Samba with the the full domain controller features enabled for RHEL and CentOS use. That's how I found this. The generated error logs are fairly bulky, I can copy them in if you like. That value should read "best=0", not "best-0". Sorry about that, I'm using a new keyboard. I believe this is duplicate of bug 1756681. Should be fixed in next version of RHEL. *** This bug has been marked as a duplicate of bug 1756681 *** Similar problem. This is going to be a recurring problem since the introduction of modules, which are being profoundly mishandled in RHEL 8 with the multiple streams. Setting "best=0" is going to be the only reliable fix in RHEL 8 and CentOS 8, which is suffering the same issue. |