libdnf: upgrade 0.74.0 -> 0.75.0
PATCH 1/1 libdnf: upgrade 0.74.0 -> 0.75.0
From: Wang Mingyu <[email protected]>
optional-check.patch
removed since it's included in 0.75.0
---
.../libdnf/libdnf/optional-check.patch | 52 -------------------
.../{libdnf_0.74.0.bb => libdnf_0.75.0.bb} | 3 +-
2 files changed, 1 insertion(+), 54 deletions(-)
delete mode 100644 meta/recipes-devtools/libdnf/libdnf/optional-check.patch
rename meta/recipes-devtools/libdnf/{libdnf_0.74.0.bb => libdnf_0.75.0.bb} (94%)meta/recipes-devtools/libdnf/libdnf/optional-check.patch deleted +0 -52
@@ -1,52 +0,0 @@ -From a4abd42a6b92f6aa16490c0f482bf08c4a6c2864 Mon Sep 17 00:00:00 2001 -From: Ross Burton <[email protected]> -Date: Thu, 18 Sep 2025 11:23:33 +0100 -Subject: [PATCH] Move libcheck dependency to tests/ - -If we're not building the tests then there's no point in depending on -libcheck, so move the pkg_check_modules() call to tests/CMakeLists. - -Upstream-Status: Backport [https://github.com/rpm-software-management/libdnf/commit/6a127aec78d2ef837776e0e5a8e3636101a54ab0] -Signed-off-by: Ross Burton <[email protected]> ---- - CMakeLists.txt | 1 - - tests/CMakeLists.txt | 7 +++---- - 2 files changed, 3 insertions(+), 5 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index a489ea73..d1969899 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -59,7 +59,6 @@ find_package(LibSolv 0.7.21 REQUIRED COMPONENTS ext) - - - # build dependencies via pkg-config --pkg_check_modules(CHECK REQUIRED check) - pkg_check_modules(GLIB REQUIRED gio-unix-2.0>=2.46.0) - include_directories(${GLIB_INCLUDE_DIRS}) - pkg_check_modules(JSONC REQUIRED json-c) -diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt -index e4909682..78743f4e 100644 ---- a/tests/CMakeLists.txt -+++ b/tests/CMakeLists.txt -@@ -1,3 +1,6 @@ -+pkg_check_modules(CHECK REQUIRED check) -+pkg_check_modules(CPPUNIT REQUIRED cppunit) -+ - add_subdirectory(libdnf/conf) - add_subdirectory(libdnf/module/modulemd) - add_subdirectory(libdnf/module) -@@ -7,10 +10,6 @@ add_subdirectory(libdnf/sack) - add_subdirectory(hawkey) - add_subdirectory(libdnf) - -- -- --pkg_check_modules(CPPUNIT REQUIRED cppunit) -- - set(LIBDNF_TEST_SOURCES - ${LIBDNF_TEST_SOURCES} - ${CMAKE_CURRENT_SOURCE_DIR}/run_tests.cpp --- -2.43.0 -
meta/recipes-devtools/libdnf/libdnf_0.75.0.bb renamed from meta/recipes-devtools/libdnf/libdnf_0.74.0.bb +1 -2
@@ -9,10 +9,9 @@ SRC_URI = "git://github.com/rpm-software-management/libdnf;branch=dnf-4-master;p file://0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch \ file://0001-drop-FindPythonInstDir.cmake.patch \ file://armarch.patch \ - file://optional-check.patch \ " -SRCREV = "91a0bf9aada36a722855051526f012e0b5ab1af9" +SRCREV = "d39573195e24b43687587a8d83b9f6ac274e2412" UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(?!4\.90)\d+(\.\d+)+)" DEPENDS = "glib-2.0 libsolv librepo rpm libmodulemd json-c swig-native util-linux"
Signature · 1 line
2.43.0
Quoted 7 lines · wangmy via lists.openembedded.org
From: Wang Mingyu <[email protected]>
optional-check.patch
removed since it's included in 0.75.0Signed-off-by Wang Mingyu <[email protected]>---
Hi Wang,
Thanks for the update.
It look like the new version is not building against musl:
ERROR: libdnf-0.75.0-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/libdnf/0.75.0/temp/run.do_compile.3947092' failed with exit code 1
...
| /srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/libdnf/0.75.0/sources/libdnf-0.75.0/libdnf/dnf-repo.cpp:971:50: error: 'FNM_EXTMATCH' was not declared in this scope; did you mean 'FNM_NOMATCH'?
| 971 | if (fnmatch(repo_id_pattern, repoId, FNM_EXTMATCH) != 0) {
| | ^~~~~~~~~~~~
| | FNM_NOMATCHhttps://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/2766
https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/2731
https://autobuilder.yoctoproject.org/valkyrie/#/builders/111/builds/1451
Can you have a look at this?
Thanks,
Mathieu
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com