On Thursday, December 16, 2021 12:25:12 PM CST Pavel Raiskup wrote:
Hello!
I'm glad I can announce that we have a new release of Mock. See the full
release notes [1]. The major change that happened is the removal of
'epel-8' config files, as a follow-up for [2] discussion (and of course on
*devel lists, big thanks to everyone for the discussion).
Note that this is is the last v2 release being shipped to all supported
Fedora/EPEL versions. From now on, we'll move to v3 with development (in
'main' branch) and EPEL 7 stays on v2 (in 'mock-2' branch, bugfix only).
[1]
https://rpm-software-management.github.io/mock/Release-Notes-2.16
[2]
https://pagure.io/epel/issue/133
[Fedora 35]:
https://bodhi.fedoraproject.org/updates/FEDORA-2021-a7d4aaa6fe
[Fedora 34]:
https://bodhi.fedoraproject.org/updates/FEDORA-2021-0947974f0a
[EPEL 8]:
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-2d0f959e00
[EPEL 7]:
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-82ccb8f2b7
Happy building!
Pavel
I have tested this update and found a couple problems. Please see my comment on the Fedora
35 update page (linked above) or see below:
Hi @praiskup et. al,
There are a couple problems:
- `fedpkg --release epel8 mockbuild ` does not work properly. It defaults to rhel8, which
does not work by default and results in a 403 error when dnf/mock attempts to install
packages. After running `ln -s /etc/mock/alma+epel-8-x86
_64.cfg
~/.config/mock/epel-8-x86_64.cfg`, it breaks entirely:
```
$ fedpkg --release epel8 mockbuild --no-cleanup-after
Not downloading already downloaded ansible-core-2.12.1.tar.gz
setting SOURCE_DATE_EPOCH=1638921600
Wrote:
/home/gotmax/Sync/git-repos/packaging/fedora_rpms/forks.repos/ansible.repos/ansible-core/ansible-core-2.12.1-2.el8.src.rpm
mockbuild.exception.ConfigError: Could not find included config file:
/tmp/epel-8-x86_64.v230b0w7mockconfig/templates/almalinux-8.tpl
ERROR: Error in configuration
Could not execute mockbuild: Failed to execute command.
```
It is possible to override the buildroot with `--root alma+epel-8-x86_64`, but that is
cumbersome and shouldn't be necessary.
- Using `alma+epel-8-x86_64` works with `mock` itself and with `fedpkg` after applying
the aforementioned fix, but mock/dnf repeatedly prints out the following error when
installing packages: `Invalid configuration value: failoverm
ethod=priority in
/var/lib/mock/alma+epel-8-x86_64/root/etc/dnf/dnf.conf; Configuration: OptionBinding with
id "failovermethod" does not exist`.
- Even if I wanted to use the `rhel+epel-8-*` configs, they don't work at all, as
`subscription-manager` is broken (rhbz#1995465) and it is impossible to obtain an
entitlement.
In my opinion, this update should not be pushed until these crucial issues are fixed.
Thanks,
Maxwell
--
Maxwell G (@gotmax23)
Pronouns: He/Him/His
PGP Key Fingerprint: f57c76e5a238fe0a628e2ecef79e4e25e8c661f8
PGP Keyserver:
hkp://keyserver.ubuntu.com
gotmax(a)e.email