packagegroup-meta-oe: Add kpatch for glibc + x86_64 only
PATCH 1/5 packagegroup-meta-oe: Add kpatch for glibc + x86_64 only
Its not supported on musl
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +2 -1
@@ -641,7 +641,8 @@ RDEPENDS:packagegroup-meta-oe-kernel ="\ usbip-tools \ " RDEPENDS:packagegroup-meta-oe-kernel:append:x86 = " intel-speed-select ipmiutil pm-graph turbostat" -RDEPENDS:packagegroup-meta-oe-kernel:append:x86-64 = " intel-speed-select ipmiutil kpatch pm-graph turbostat bpftool" +RDEPENDS:packagegroup-meta-oe-kernel:append:x86-64 = " intel-speed-select ipmiutil pm-graph turbostat bpftool" +RDEPENDS:packagegroup-meta-oe-kernel:append:x86-64:libc-glibc = " kpatch" RDEPENDS:packagegroup-meta-oe-kernel:append:powerpc64 = " libpfm4" # Kernel-selftest does not build with 5.8 and its exluded from build too so until its fixed remove it
Signature · 1 line
2.40.1
PATCH 2/5 packagegroup-meta-oe: Remove minicoredumper-ptest for musl
They do not yet work on musl
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1 -0
@@ -989,6 +989,7 @@ RDEPENDS:packagegroup-meta-oe-ptest-packages:append:x86-64 = " mcelog-ptest" RDEPENDS:packagegroup-meta-oe-ptest-packages:remove:riscv64 = "oprofile-ptest" RDEPENDS:packagegroup-meta-oe-ptest-packages:remove:riscv32 = "oprofile-ptest" RDEPENDS:packagegroup-meta-oe-ptest-packages:remove:arm = "numactl-ptest" +RDEPENDS:packagegroup-meta-oe-ptest-packages:remove:libc-musl = "minicoredumper-ptest" RDEPENDS:packagegroup-meta-oe-fortran-packages = "\
Signature · 1 line
2.40.1
PATCH 3/5 libimobiledevice: Delete recipe for 1.3.0
In reply to Khem RajSigned-off-by Khem Raj <[email protected]>
--- .../libimobiledevice/libimobiledevice_1.3.0.bb | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_1.3.0.bb
meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_1.3.0.bb deleted +0 -17
@@ -1,17 +0,0 @@ -SUMMARY = "A protocol library to access an iPhone or iPod Touch in Linux" -LICENSE = "GPL-2.0-only & LGPL-2.1-only" -LIC_FILES_CHKSUM = "\ - file://COPYING;md5=ebb5c50ab7cab4baeffba14977030c07 \ - file://COPYING.LESSER;md5=6ab17b41640564434dda85c06b7124f7 \ -" -HOMEPAGE = "http://www.libimobiledevice.org/" - -DEPENDS = "libplist usbmuxd libusbmuxd libtasn1 gnutls libgcrypt" - -SRCREV = "15f8652126664e3a4b980e5d1c039b9053ce8566" -SRC_URI = "git://github.com/libimobiledevice/libimobiledevice;protocol=https;branch=master" - -S = "${WORKDIR}/git" -inherit autotools pkgconfig - -EXTRA_OECONF = " --without-cython "
Signature · 1 line
2.40.1
PATCH 4/5 libimobiledevice: Update to latest tip
In reply to Khem RajThis is to supported latest libplist
Signed-off-by Khem Raj <[email protected]>
--- .../libimobiledevice/libimobiledevice_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_git.bb +1 -1
@@ -10,7 +10,7 @@ DEPENDS = "libplist usbmuxd libusbmuxd libtasn1 gnutls libgcrypt libimobiledevic PV = "1.3.0+git${SRCPV}" -SRCREV = "2eec1b9a172354c8521123a767d998b17bd2ac18" +SRCREV = "860ffb707af3af94467d2ece4ad258dda957c6cd" SRC_URI = "git://github.com/libimobiledevice/libimobiledevice;protocol=https;branch=master" S = "${WORKDIR}/git"
Signature · 1 line
2.40.1
PATCH 5/5 libimobiledevice: Fix build with clang
In reply to Khem RajSigned-off-by Khem Raj <[email protected]>
--- .../0001-include-unistd.h-for-usleep.patch | 31 +++++++++++++++++++ .../libimobiledevice/libimobiledevice_git.bb | 3 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice/0001-include-unistd.h-for-usleep.patch
meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice/0001-include-unistd.h-for-usleep.patch new file +31 -0
@@ -0,0 +1,31 @@ +From 6cb8069cfe08114f1dc7b50a7fcd4dc040cd1bbb Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Tue, 9 May 2023 20:19:23 -0700 +Subject: [PATCH] include unistd.h for usleep() + +clang16 flags the missing header + +Fixes +../../git/tools/idevicedevmodectl.c:363:2: error: call to undeclared function 'usleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + +Upstream-Status: Submitted [https://github.com/libimobiledevice/libimobiledevice/pull/1444] +Signed-off-by: Khem Raj <[email protected]> +--- + tools/idevicedevmodectl.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tools/idevicedevmodectl.c b/tools/idevicedevmodectl.c +index 739bc13..9fe8d6a 100644 +--- a/tools/idevicedevmodectl.c ++++ b/tools/idevicedevmodectl.c +@@ -34,6 +34,7 @@ + #ifndef WIN32 + #include <signal.h> + #endif ++#include <unistd.h> + + #ifdef WIN32 + #include <windows.h> +-- +2.40.1 +
meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_git.bb +2 -1
@@ -11,7 +11,8 @@ DEPENDS = "libplist usbmuxd libusbmuxd libtasn1 gnutls libgcrypt libimobiledevic PV = "1.3.0+git${SRCPV}" SRCREV = "860ffb707af3af94467d2ece4ad258dda957c6cd" -SRC_URI = "git://github.com/libimobiledevice/libimobiledevice;protocol=https;branch=master" +SRC_URI = "git://github.com/libimobiledevice/libimobiledevice;protocol=https;branch=master \ + file://0001-include-unistd.h-for-usleep.patch" S = "${WORKDIR}/git" inherit autotools pkgconfig
Signature · 1 line
2.40.1