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
This is awesome!
I grabbed the RPM and then attempted to run a `fedpkg --release rawhide mockbuild` using it and ran into this error:
INFO: Package manager dnf5 detected and used (direct choice) Start: dnf5 update execv(/usr/bin/dnf5) failed: No such file or directory
Shouldn't it call dnf5 as a dep if it's going to be using it to make sure that it is installed?
On Fri, Dec 1, 2023 at 8:04 AM Pavel Raiskup praiskup@redhat.com 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).
Happy (faster) building! Pavel
-- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@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, report it: https://pagure.io/fedora-infrastructure/new_issue
Erm, I do already have dnf5 present within my f39 install where I was trying to run the mockbuild.
$ which /usr/bin/dnf5 /usr/bin/dnf5
Any ideas as to the cause of the error?
On Fri, Dec 1, 2023 at 9:06 AM Jonathan Wright jonathan@almalinux.org wrote:
This is awesome!
I grabbed the RPM and then attempted to run a `fedpkg --release rawhide mockbuild` using it and ran into this error:
INFO: Package manager dnf5 detected and used (direct choice) Start: dnf5 update execv(/usr/bin/dnf5) failed: No such file or directory
Shouldn't it call dnf5 as a dep if it's going to be using it to make sure that it is installed?
On Fri, Dec 1, 2023 at 8:04 AM Pavel Raiskup praiskup@redhat.com 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).
Happy (faster) building! Pavel
-- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@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, report it: https://pagure.io/fedora-infrastructure/new_issue
-- Jonathan Wright AlmaLinux Foundation Mattermost: chat https://chat.almalinux.org/almalinux/messages/@jonathan
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
copr-devel@lists.fedorahosted.org