On Fri, Dec 1, 2023 at 4:09 PM Jonathan Wright via devel <
devel@lists.fedoraproject.org> wrote:

> 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?
>

I bet the bootstrap chroot is "cached" by Mock on your box.  Can you please
try:
$ mock -r fedora-rawhide-x86_64 --scrub=bootstrap  # or --scrub=all

Pavel



> On Fri, Dec 1, 2023 at 9:06 AM Jonathan Wright <jonat...@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 <prais...@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-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, report it:
>>> https://pagure.io/fedora-infrastructure/new_issue
>>>
>>
>>
>> --
>> Jonathan Wright
>> AlmaLinux Foundation
>> Mattermost: chat
>> <https://chat.almalinux.org/almalinux/messages/@jonathan>
>>
>
>
> --
> Jonathan Wright
> AlmaLinux Foundation
> Mattermost: chat <https://chat.almalinux.org/almalinux/messages/@jonathan>
> --
> _______________________________________________
> 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, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>
--
_______________________________________________
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, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to