Hello maintainers!
Let me announce a new release of Mock Core Configs v39.3, aka the configuration files for Mock, the chroot build environment manager for building RPMs.
The notable change in this release is that we are switching the default package_manager from DNF4 to DNF5, according to the F40 change: https://fedoraproject.org/wiki/Changes/BuildWithDNF5 Full release notes: https://rpm-software-management.github.io/mock/Release-Notes-Configs-39.3
We plan to push this update into Fedora Copr to get some early testing next week. Then, depending on the releng team, we might push this into Koji soon. The Bodhi updates links are here:
F39 https://bodhi.fedoraproject.org/updates/FEDORA-2023-0a947db1d0 F38 https://bodhi.fedoraproject.org/updates/FEDORA-2023-6ef1e12930 F37 https://bodhi.fedoraproject.org/updates/FEDORA-2023-cd9c489f40 EL9 https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-c2c4082053 EL8 https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-eab5217f46
Note that we **will not** push these updates into Fedora stable earlier than on Monday 2023-12-18 (but very likely we'll wait till the next year, depending on the feedback).
Happy (faster) building! Pavel
On pátek 1. prosince 2023 15:04:10 CET Pavel Raiskup wrote:
Hello maintainers!
Let me announce a new release of Mock Core Configs v39.3, aka the configuration files for Mock, the chroot build environment manager for building RPMs.
The notable change in this release is that we are switching the default package_manager from DNF4 to DNF5, according to the F40 change: https://fedoraproject.org/wiki/Changes/BuildWithDNF5 Full release notes: https://rpm-software-management.github.io/mock/Release-Notes-Configs-39.3
We plan to push this update into Fedora Copr to get some early testing next week. Then, depending on the releng team, we might push this into Koji soon. The Bodhi updates links are here:
F39 https://bodhi.fedoraproject.org/updates/FEDORA-2023-0a947db1d0 F38 https://bodhi.fedoraproject.org/updates/FEDORA-2023-6ef1e12930 F37 https://bodhi.fedoraproject.org/updates/FEDORA-2023-cd9c489f40 EL9 https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-c2c4082053 EL8 https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-eab5217f46
Note that we **will not** push these updates into Fedora stable earlier than on Monday 2023-12-18 (but very likely we'll wait till the next year, depending on the feedback).
And the push eventually happened, despite that I did not want it to happen, yet. I probably messed up the Bodhi updates (I thought I disabled the stable-by-time feature). Sorry, folks.
The builds often just work. But there are two issues that blocks us from letting this update go to Fedora Copr at least:
- the builddep globbing issue https://github.com/rpm-software-management/dnf5/pull/1088 which is going to be fixed by a new release (just a new DNF5 release into Rawhide means the problem is fixed)
- the weird hangs against Fedora Copr repositories https://github.com/fedora-copr/copr/issues/3067 - this will probably not hit you locally, but I am not sure yet.
In any case, if you need to - stay with DNF4 for a while - either do
$ cat ~/.config/mock/fedora-rawhide-x86_64.cfg include("/etc/mock/fedora-rawhide-x86_64.cfg") config_opts["package_manager"] = "dnf"
... or stay with the `mock-core-configs v39.2` a bit longer please.
Sorry again for the inconvenience, Pavel
On 18. 12. 23 10:08, Pavel Raiskup wrote:
In any case, if you need to - stay with DNF4 for a while - either do
$ cat ~/.config/mock/fedora-rawhide-x86_64.cfg include("/etc/mock/fedora-rawhide-x86_64.cfg") config_opts["package_manager"] = "dnf"
... or stay with the `mock-core-configs v39.2` a bit longer please.
Hi Pavel, this works locally, but not in Copr.
Our Python 3.13 Copr builds started failing today with the builddep globbing issue.
What do we do?
On pondělí 18. prosince 2023 11:46:07 CET Miro Hrončok wrote:
On 18. 12. 23 10:08, Pavel Raiskup wrote:
In any case, if you need to - stay with DNF4 for a while - either do
$ cat ~/.config/mock/fedora-rawhide-x86_64.cfg include("/etc/mock/fedora-rawhide-x86_64.cfg") config_opts["package_manager"] = "dnf"
... or stay with the `mock-core-configs v39.2` a bit longer please.
Hi Pavel, this works locally, but not in Copr.
Our Python 3.13 Copr builds started failing today with the builddep globbing issue.
What do we do?
I should work again actually, so no explicit action is needed.
I reverted the change for Fedora Copr, per https://github.com/fedora-copr/copr/issues/3067
Pavel
On pondělí 18. prosince 2023 10:08:06 CET Pavel Raiskup wrote:
On pátek 1. prosince 2023 15:04:10 CET Pavel Raiskup wrote:
Hello maintainers!
Let me announce a new release of Mock Core Configs v39.3, aka the configuration files for Mock, the chroot build environment manager for building RPMs.
The notable change in this release is that we are switching the default package_manager from DNF4 to DNF5, according to the F40 change: https://fedoraproject.org/wiki/Changes/BuildWithDNF5 Full release notes: https://rpm-software-management.github.io/mock/Release-Notes-Configs-39.3
We plan to push this update into Fedora Copr to get some early testing next week. Then, depending on the releng team, we might push this into Koji soon. The Bodhi updates links are here:
F39 https://bodhi.fedoraproject.org/updates/FEDORA-2023-0a947db1d0 F38 https://bodhi.fedoraproject.org/updates/FEDORA-2023-6ef1e12930 F37 https://bodhi.fedoraproject.org/updates/FEDORA-2023-cd9c489f40 EL9 https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-c2c4082053 EL8 https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-eab5217f46
Note that we **will not** push these updates into Fedora stable earlier than on Monday 2023-12-18 (but very likely we'll wait till the next year, depending on the feedback).
And the push eventually happened, despite that I did not want it to happen, yet. I probably messed up the Bodhi updates (I thought I disabled the stable-by-time feature). Sorry, folks.
The builds often just work. But there are two issues that blocks us from letting this update go to Fedora Copr at least:
the builddep globbing issue https://github.com/rpm-software-management/dnf5/pull/1088 which is going to be fixed by a new release (just a new DNF5 release into Rawhide means the problem is fixed)
the weird hangs against Fedora Copr repositories https://github.com/fedora-copr/copr/issues/3067 - this will probably not hit you locally, but I am not sure yet.
In any case, if you need to - stay with DNF4 for a while - either do
$ cat ~/.config/mock/fedora-rawhide-x86_64.cfg include("/etc/mock/fedora-rawhide-x86_64.cfg") config_opts["package_manager"] = "dnf"
... or stay with the `mock-core-configs v39.2` a bit longer please.
Just a quick update, we already have DNF5 5.1.10 submitted for Fedora Rawhide repos (should be in mirrors tomorrow). This DNF5 release has no known "blocker" issues.
I just wanted to give you a quick heads-up that I plan to enable the BuildWithDNF5 change in Fedora Copr as soon as the new Rawhide compose gets distributed to mirrors.
Pavel
On středa 3. ledna 2024 8:46:22 CET Pavel Raiskup wrote:
I just wanted to give you a quick heads-up that I plan to enable the BuildWithDNF5 change in Fedora Copr as soon as the new Rawhide compose gets distributed to mirrors.
This has happened now. Fedora Copr builds F40 (Rawhide) with DNF5 now. Should you face any issue, please report it.
Thanks! Pavel
On čtvrtek 4. ledna 2024 19:20:46 CET Pavel Raiskup wrote:
On středa 3. ledna 2024 8:46:22 CET Pavel Raiskup wrote:
I just wanted to give you a quick heads-up that I plan to enable the BuildWithDNF5 change in Fedora Copr as soon as the new Rawhide compose gets distributed to mirrors.
This has happened now. Fedora Copr builds F40 (Rawhide) with DNF5 now. Should you face any issue, please report it.
Two more hints:
- I noticed that `dnf5` on Fedora Copr builders (F38) was buggy (old version) because the latest update was not yet in the stable repository. This was breaking Rawhide builds in Copr projects with `bootstrap=off` (using dnf5 on host). This is no longer the case, the DNF5 package has been updated to v5.1.10. If you observed a suspicious problem, please consider `bootstrap=on` or at least check that DNF v5.1.10 is used.
- DNF5 isn't downloading filelists (resource cost optimization), which in turn means that the packages can not (build)depend on random file paths. So just a small reminder that, per the updated packaging guidelines https://pagure.io/packaging-committee/pull-request/1321 , you MUST NOT do things like `BuildRequires: /some/random/file/name`.
Pavel
On pátek 5. ledna 2024 10:06:34 CET Pavel Raiskup wrote:
On čtvrtek 4. ledna 2024 19:20:46 CET Pavel Raiskup wrote:
On středa 3. ledna 2024 8:46:22 CET Pavel Raiskup wrote:
I just wanted to give you a quick heads-up that I plan to enable the BuildWithDNF5 change in Fedora Copr as soon as the new Rawhide compose gets distributed to mirrors.
This has happened now. Fedora Copr builds F40 (Rawhide) with DNF5 now. Should you face any issue, please report it.
Two more hints:
I noticed that `dnf5` on Fedora Copr builders (F38) was buggy (old version) because the latest update was not yet in the stable repository. This was breaking Rawhide builds in Copr projects with `bootstrap=off` (using dnf5 on host). This is no longer the case, the DNF5 package has been updated to v5.1.10. If you observed a suspicious problem, please consider `bootstrap=on` or at least check that DNF v5.1.10 is used.
DNF5 isn't downloading filelists (resource cost optimization), which in turn means that the packages can not (build)depend on random file paths. So just a small reminder that, per the updated packaging guidelines https://pagure.io/packaging-committee/pull-request/1321 , you MUST NOT do things like `BuildRequires: /some/random/file/name`.
I just want to bump this thread; @kevin updated Fedora Koji today - the Fedora 40+ (current Rawhide) builds are already handled with DNF5.
Happy (faster) building! And should you face any issue, please report. Pavel
buildsys@lists.fedoraproject.org