Bug 1965480 - EPEL build target in Mock/COPR when CentOS Linux 8 is EOL
Summary: EPEL build target in Mock/COPR when CentOS Linux 8 is EOL
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: mock-core-configs
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Raiskup
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1912847
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-27 19:09 UTC by Leon Fauster
Modified: 2021-12-04 18:38 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-12-04 18:38:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github rpm-software-management mock pull 803 0 None Draft config: Migrate EPEL 8 configuration to use AlmaLinux 8 as the base OS 2021-11-22 15:26:37 UTC

Description Leon Fauster 2021-05-27 19:09:15 UTC
Description of problem:

As asked here 

https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org/thread/ISKUUEZWLXWQYAKXR4ZPCN3EGX3KYUIQ/

COPR builds packages based on CentOS Linux 8. What happens at EOL of CentOS Linux 8?  

In the above mentioned "discussion" the possibility to use rhelchroots was depicted. Any plans to switch to RHEL build targets?

Comment 1 Pavel Raiskup 2021-05-28 12:31:05 UTC
This is in progress, but there's no ETA, yet.

Comment 2 Tomas Tomecek 2021-08-18 13:33:09 UTC
Would CentOS Stream 8 be an acceptable solution here?

Comment 3 Pavel Raiskup 2021-08-18 13:42:33 UTC
Not really, we want to be as close as possible to Koji (and koji builds against RHEL).

Comment 4 Neal Gompa 2021-08-18 14:06:29 UTC
My understanding is that AlmaLinux intends to offer all the architectures of RHEL relatively soon, so it could work as a replacement for the base OS for EPEL chroots in COPR.

Comment 5 Pavel Raiskup 2021-09-20 11:54:22 UTC
One detail I forgot about: do Koji EPEL 8 builds use packages on top of
the `baseos + appstream + codeready-builder` RHEL repos?

Comment 6 Pavel Raiskup 2021-09-20 12:05:18 UTC
Another thing is that we can not do emulated builds for RHEL chroots in
mock (with subscription-manager, the entitlements are arch-specific and
can not be used cross-arch).

Comment 7 Neal Gompa 2021-09-20 14:44:11 UTC
(In reply to Pavel Raiskup from comment #5)
> One detail I forgot about: do Koji EPEL 8 builds use packages on top of
> the `baseos + appstream + codeready-builder` RHEL repos?

Yes, they do.

Comment 8 Jack Aboutboul 2021-09-20 18:20:05 UTC
(In reply to Neal Gompa from comment #4)
> My understanding is that AlmaLinux intends to offer all the architectures of
> RHEL relatively soon, so it could work as a replacement for the base OS for
> EPEL chroots in COPR.

Just to follow up ans confirm Neal's statement. Yes we should have all architectures available relatively soon.

Comment 9 Neal Gompa 2021-11-22 15:26:38 UTC
I've got a PR prepared to switch to AlmaLinux now, which is in draft state while I wait to hear back on the ppc64le build of AlmaLinux: https://github.com/rpm-software-management/mock/pull/803

Comment 10 Kevin Kofler 2021-11-24 00:14:56 UTC
I think there are only 2 reasonable defaults: Rocky Linux or AlmaLinux (just pick whatever of those works better in practice, it should not really matter). Anything that requires a subscription of any sort, even a free-as-in-beer one, should be a non-starter. The default EPEL config needs to just work and to be free of field-of-use restrictions, including technically enforced policy restrictions breaking use cases such as emulation. So requiring a RHEL developer subscription is not an acceptable solution. The discrepancy with the EPEL Koji and/or Copr configuration can easily be fixed by changing those, too.

Comment 11 Pavel Raiskup 2021-12-04 18:38:59 UTC
- Mock will follow the decision given by Fedora EPEL Steering Committee:
  https://pagure.io/epel/issue/133
  
- Fedora Copr is going to be updated to use RHEL base for building EPEL
  packages (up to 220 subscriptions)


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