On Sunday, December 19, 2021 4:55:28 PM CET Maxwell G via devel wrote: > 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
Mock doesn't default to RHEL, there must be some other problem. I quickly tried running that command, and fedpkg seems to create some temporary configuration directory and defaults to building from Koji repos (aka `--enablerepo local`?). Thank you for the report though, I will take a look. ATM I'm curious if this is a bug in Mock ... > _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`. This is an innocent warning, new DNF will not pollute the stderr: https://github.com/rpm-software-management/libdnf/pull/1276 > > - 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. This is unfortunate, I hope we can get an update soon. > > In my opinion, this update should not be pushed until these crucial issues > > are fixed. This all looks like the same issue. There's no "RHEL default", same as no "Alma default". According to the previous discussion. Thanks again, Pavel > > Thanks, > > > > Maxwell > > > _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure