Skip to contentSkip to conversation

dnf: upgrade 4.22.0 -> 4.23.0

PATCH Superseded Moritz Haase 2 participants 2 messages Jun 23, 2025

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dnf: upgrade 4.22.0 -> 4.23.0

New version includes support to build against CMake 4+, see [0].

Release notes are available at [1].

[0]: https://github.com/rpm-software-management/dnf/pull/2217
[1]: https://github.com/rpm-software-management/dnf/releases/tag/4.23.0

---
changes in v2:
- Add missing 'Signed-off-by' footer

---
 meta/recipes-devtools/dnf/{dnf_4.22.0.bb => dnf_4.23.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/dnf/{dnf_4.22.0.bb => dnf_4.23.0.bb} (98%)
meta/recipes-devtools/dnf/dnf_4.23.0.bb renamed from meta/recipes-devtools/dnf/dnf_4.22.0.bb +1 -1
similarity index 98%
rename from meta/recipes-devtools/dnf/dnf_4.22.0.bb
rename to meta/recipes-devtools/dnf/dnf_4.23.0.bb
index ae77fda31ce5969a7db0d8d8159c4ce8609363b1..29b895924420fd3e211031e629a010a65d26fa14 100644
@@ -20,7 +20,7 @@ SRC_URI = "git://github.com/rpm-software-management/dnf.git;branch=master;protoc
 
 SRC_URI:append:class-native = " file://0001-dnf-write-the-log-lock-to-root.patch"
 
-SRCREV = "da9a7066be8e1628d9453428d33685225cd9c90d"
+SRCREV = "8fa4bb94a99eadaed91ad2ee51f27a4baafcebed"
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
 
 inherit cmake gettext bash-completion setuptools3-base systemd
#1 lore raw
Quoted 8 lines · Moritz Haase via lists.openembedded.org

New version includes support to build against CMake 4+, see [0].

Release notes are available at [1].

[0]: https://github.com/rpm-software-management/dnf/pull/2217
[1]: https://github.com/rpm-software-management/dnf/releases/tag/4.23.0

Quoted 8 lines

---
changes in v2:
- Add missing 'Signed-off-by' footer

---
 meta/recipes-devtools/dnf/{dnf_4.22.0.bb => dnf_4.23.0.bb} | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)

 rename meta/recipes-devtools/dnf/{dnf_4.22.0.bb => dnf_4.23.0.bb} (98%)

This works in many cases but this did show up:

https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/1951

Traceback (most recent call last):
File "/usr/bin/dnf", line 56, in <module>
from dnf.cli import main
File "/usr/lib/python3.13/site-packages/dnf/__init__.py", line 30, in <module>
import dnf.base
File "/usr/lib/python3.13/site-packages/dnf/base.py", line 32, in <module>
from dnf.comps import CompsQuery
File "/usr/lib/python3.13/site-packages/dnf/comps.py", line 27, in <module>
from dnf.exceptions import CompsError
File "/usr/lib/python3.13/site-packages/dnf/exceptions.py", line 22, in <module>
import dnf.util
File "/usr/lib/python3.13/site-packages/dnf/util.py", line 28, in <module>
import ctypes
ModuleNotFoundError: No module named 'ctypes'

As well as:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/80/builds/1745
https://autobuilder.yoctoproject.org/valkyrie/#/builders/11/builds/1874

Not sure what the pattern is...

Cheers,

Richard