Issues with mock and dnf on rawhide/F40

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

  while testing building some packages on rawhide, using mock --rebuild, I got into trouble with the following error:


$ mock -r fedora-40-x86_64 --rebuild pygsl-2.3.4-1.fc41.src.rpm


Start: installing minimal buildroot with dnf5

execv(/usr/bin/dnf5) failed: No such file or directory

ERROR: Exception(pygsl-2.3.4-1.fc41.src.rpm) Config(fedora-rawhide-x86_64) 0 minutes 2 seconds

INFO: Results and/or logs in: /var/lib/mock/fedora-rawhide-x86_64/result

ERROR: Command failed:

 # /usr/bin/systemd-nspawn -q -M 3740df7c87a249ebb62eeaed758aea07 -D /var/lib/mock/fedora-rawhide-x86_64-bootstrap/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.dpfedow6:/etc/resolv.conf --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/var/lib/mock/fedora-rawhide-x86_64/root/installation-homedir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --setenv=LC_MESSAGES=C.UTF-8 --resolv-conf=off /usr/bin/dnf5 --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 41 install @buildsys-build --setopt=deltarpm=False --setopt=allow_vendor_change=yes --allowerasing --setopt=tsflags=nocontexts

execv(/usr/bin/dnf5) failed: No such file or directory


This happened last week from F39 and now also with F40.


The only option for me was to add --config-opts='package_manager=dnf' to the call.


How can I fix that? Either to use dnf4 or dnf5 without further changes?

Are there any configuration files that are changed on my installation?


Best regards,

--

José Abílio Matos

--
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/packaging@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux