[oe] [meta-oe] [PATCH] minifi-cpp: Fix do_configure error builder aarch64
From: Robert Yang Fixed do_configure error when build on aarch64 host: error: cannot guess build type; you must specify one Signed-off-by: Robert Yang --- ...onfig.guess-Support-build-on-aarch64.patch | 31 +++ .../minifi-cpp/minifi-cpp_0.7.0.bb| 1 + 2 files changed, 32 insertions(+) create mode 100644 meta-oe/recipes-extended/minifi-cpp/files/0001-config.guess-Support-build-on-aarch64.patch diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0001-config.guess-Support-build-on-aarch64.patch b/meta-oe/recipes-extended/minifi-cpp/files/0001-config.guess-Support-build-on-aarch64.patch new file mode 100644 index 00..3086a70455 --- /dev/null +++ b/meta-oe/recipes-extended/minifi-cpp/files/0001-config.guess-Support-build-on-aarch64.patch @@ -0,0 +1,31 @@ +From 92fdbfdd6b55ff0b65edd9a283ac85ad349e325b Mon Sep 17 00:00:00 2001 +From: Robert Yang +Date: Tue, 12 Dec 2023 07:27:52 + +Subject: [PATCH] config.guess: Fix do_configure error builder aarch64 + +Fixed configure error when build on aarch64 host: +error: cannot guess build type; you must specify one + +Upstream-Status: Pending + +Signed-off-by: Robert Yang +--- + config.guess | 2 +- + 1 files changed, 1 insertion(+), 1 deletion(-) + +diff --git a/thirdparty/uuid-1.6.2/config.guess b/thirdparty/uuid-1.6.2/config.guess +index ca2a03c..a858bfd 100755 +--- a/thirdparty/uuid-1.6.2/config.guess b/thirdparty/uuid-1.6.2/config.guess +@@ -835,7 +835,7 @@ EOF + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit ;; +-arm*:Linux:*:*) ++arm*:Linux:*:*|aarch64:Linux:*:*) + eval $set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ +-- +2.34.1 + diff --git a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb index 67a2d9fa5f..5059b63212 100644 --- a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb +++ b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb @@ -40,6 +40,7 @@ SRC_URI = "git://github.com/apache/nifi-minifi-cpp.git;branch=master;protocol=ht file://minifi.service \ file://systemd-volatile.conf \ file://sysvinit-volatile.conf \ +file://0001-config.guess-Support-build-on-aarch64.patch \ " SRC_URI[curl.md5sum] = "d0bcc586873cfef08b4b9594e5395a33" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#107331): https://lists.openembedded.org/g/openembedded-devel/message/107331 Mute This Topic: https://lists.openembedded.org/mt/103126866/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-oe] [PATCH] minifi-cpp: Fix do_configure error builder aarch64
Hi Khem and Ross, On 12/14/23 07:42, Khem Raj wrote: Robert, can you test and send improvements that Ross is suggesting here. I'm working on upgrade minifi-cpp from 0.7.0 to 0.15.0, I think that the patch is not needed after upgrade, but the upgrade is not easy. // Robert. On Wed, Dec 13, 2023 at 7:55 AM Khem Raj wrote: On Wed, Dec 13, 2023 at 3:31 AM Ross Burton wrote: On 13 Dec 2023, at 07:07, Khem Raj via lists.openembedded.org wrote: On Tue, 12 Dec 2023 17:38:04 +0800, liezhi.y...@windriver.com wrote: Fixed do_configure error when build on aarch64 host: error: cannot guess build type; you must specify one Applied, thanks! [1/1] minifi-cpp: Fix do_configure error builder aarch64 commit: adecc463a3c090e5a9c54875a42047a427384f71 I stand by my comment that patching the config.guess is the wrong thing when we explicitly have a command whose job is to install updated config.guess files. This is vendored code but I think overwriting config.guess might be better way still. Ross -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#107449): https://lists.openembedded.org/g/openembedded-devel/message/107449 Mute This Topic: https://lists.openembedded.org/mt/103126866/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-oe][PATCH] v4l-utils: Add PACKAGECONFIG for v4l2-tracer to fix determinstic build
From: Robert Yang Fixed do_package error when json-c is in the build dependencies chain: ERROR: QA Issue: -dev package libv4l-dev contains non-symlink .so '/usr/lib/libv4l2tracer.so' [dev-elf] This recipe builds out files such as av4l1compat.so v4l2convert.so and libv4l2tracer.so which are not symlinks. Signed-off-by: Robert Yang --- meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.24.1.bb | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.24.1.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.24.1.bb index c02645a6b8..f314d9b6ae 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.24.1.bb +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.24.1.bb @@ -24,6 +24,7 @@ PACKAGECONFIG ??= "media-ctl" PACKAGECONFIG[media-ctl] = "--enable-v4l-utils,--disable-v4l-utils,," PACKAGECONFIG[qv4l2] = ",--disable-qv4l2" PACKAGECONFIG[qvidcap] = ",--disable-qvidcap" +PACKAGECONFIG[v4l2-tracer] = ",--disable-v4l2-tracer,json-c" SRC_URI = "\ git://git.linuxtv.org/v4l-utils.git;protocol=https;branch=stable-1.24 \ @@ -77,7 +78,9 @@ FILES:${PN} = "${bindir} ${sbindir}" FILES:libv4l += "${libdir}/libv4l*${SOLIBS} ${libdir}/libv4l/*.so ${libdir}/libv4l/plugins/*.so \ ${libdir}/libdvbv5*${SOLIBS} \ - ${libdir}/libv4l/*-decomp" + ${libdir}/libv4l/*-decomp \ + ${libdir}/libv4l2tracer.so \ +" FILES:libv4l-dev += "${includedir} ${libdir}/pkgconfig \ ${libdir}/libv4l*${SOLIBSDEV} ${libdir}/*.la \ -- 2.42.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#108006): https://lists.openembedded.org/g/openembedded-devel/message/108006 Mute This Topic: https://lists.openembedded.org/mt/103478327/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-filesystems][PATCH 1/1] yaffs2-utils: Upgrade to 20221209
From: Robert Yang * The 20221209 is the commit date of SRCREV since this recipe has no version. * Add 0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch to fix build error: yaffs_guts.h:501:9: error: unknown type name 'YTIME_T' Signed-off-by: Robert Yang --- ...efine-YTIME_T-if-not-already-defined.patch | 34 +++ .../yaffs2/yaffs2-utils_git.bb| 6 ++-- 2 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch new file mode 100644 index 0..98c27d265 --- /dev/null +++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch @@ -0,0 +1,34 @@ +From 05cc2b958090f96d6fa128da43aa69669625e529 Mon Sep 17 00:00:00 2001 +From: Robert Yang +Date: Tue, 5 Mar 2024 12:03:23 + +Subject: [PATCH] yaffs_guts.h: define YTIME_T if not already defined + +Fixed: +yaffs_guts.h:501:9: error: unknown type name 'YTIME_T' + 501 | YTIME_T yst_uid; + +Upstream-Status: Pending + +Signed-off-by: Robert Yang +--- + yaffs_guts.h | 4 + 1 file changed, 4 insertions(+) + +diff --git a/yaffs_guts.h b/yaffs_guts.h +index 74ded0b..598271b 100644 +--- a/yaffs_guts.h b/yaffs_guts.h +@@ -487,6 +487,10 @@ struct yaffs_obj { + + YCHAR short_name[YAFFS_SHORT_NAME_LENGTH + 1]; + ++#ifndef YTIME_T ++#define YTIME_T time_t ++#endif ++ + #ifdef CONFIG_YAFFS_WINCE + //these are always 64 bits + u32 win_ctime[2]; +-- +2.35.5 + diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb index 7228172b8..ca5e3302b 100644 --- a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb +++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb @@ -9,7 +9,8 @@ LIC_FILES_CHKSUM = "file://utils/mkyaffs2image.c;beginline=11;endline=13;md5=5f5 file://utils/mkyaffsimage.c;beginline=10;endline=12;md5=5f5464f9b3e981ca574e65b00e438561 \ " -PV = "0.0+git" +# The commit date of SRCREV +PV = "20221209" DEPENDS = "mtd-utils" @@ -17,9 +18,10 @@ DEPENDS = "mtd-utils" SRC_URI = "git://www.aleph1.co.uk/yaffs2;protocol=git;branch=master \ file://makefile-add-ldflags.patch \ file://0001-define-loff_t-if-not-already-defined.patch \ + file://0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch \ " -SRCREV = "9a6f486e56f927eeb8dc7e4e0d84f6bb95eeaa0f" +SRCREV = "613a901a229e8a701c18f003dd0aee18453e0670" UPSTREAM_CHECK_COMMITS = "1" -- 2.42.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#109227): https://lists.openembedded.org/g/openembedded-devel/message/109227 Mute This Topic: https://lists.openembedded.org/mt/104805700/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-filesystems][PATCH 1/1] xfsprogs: 6.5.0 -> 6.6.0
From: Robert Yang Rebased 0005-Replace-off64_t-stat64-with-off_t-stat.patch for 6.6.0. Signed-off-by: Robert Yang --- ...place-off64_t-stat64-with-off_t-stat.patch | 40 +-- .../{xfsprogs_6.5.0.bb => xfsprogs_6.6.0.bb} | 2 +- 2 files changed, 21 insertions(+), 21 deletions(-) rename meta-filesystems/recipes-utils/xfsprogs/{xfsprogs_6.5.0.bb => xfsprogs_6.6.0.bb} (96%) diff --git a/meta-filesystems/recipes-utils/xfsprogs/files/0005-Replace-off64_t-stat64-with-off_t-stat.patch b/meta-filesystems/recipes-utils/xfsprogs/files/0005-Replace-off64_t-stat64-with-off_t-stat.patch index 731c001e1..940d63c01 100644 --- a/meta-filesystems/recipes-utils/xfsprogs/files/0005-Replace-off64_t-stat64-with-off_t-stat.patch +++ b/meta-filesystems/recipes-utils/xfsprogs/files/0005-Replace-off64_t-stat64-with-off_t-stat.patch @@ -42,18 +42,18 @@ Signed-off-by: Khem Raj 26 files changed, 74 insertions(+), 74 deletions(-) diff --git a/copy/xfs_copy.c b/copy/xfs_copy.c -index 79f6594..854fd7f 100644 +index 0420649..98a578a 100644 --- a/copy/xfs_copy.c +++ b/copy/xfs_copy.c -@@ -888,7 +888,7 @@ main(int argc, char **argv) +@@ -881,7 +881,7 @@ main(int argc, char **argv) } } else { - char*lb[XFS_MAX_SECTORSIZE] = { NULL }; + char*lb = memalign(wbuf_align, XFS_MAX_SECTORSIZE); - off64_t off; + off_t off; + ssize_t len; /* ensure device files are sufficiently large */ - diff --git a/fsr/xfs_fsr.c b/fsr/xfs_fsr.c index ba02506..12fffbd 100644 --- a/fsr/xfs_fsr.c @@ -68,7 +68,7 @@ index ba02506..12fffbd 100644 int ct, wc, wc_b4; charffname[SMBUFSZ]; diff --git a/io/bmap.c b/io/bmap.c -index 27383ca..0b14bb7 100644 +index 722a389..6182e1c 100644 --- a/io/bmap.c +++ b/io/bmap.c @@ -257,7 +257,7 @@ bmap_f( @@ -186,7 +186,7 @@ index 7db5184..bf11963 100644 swidth = (fsgeo->swidth * fsgeo->blocksize); diff --git a/io/io.h b/io/io.h -index 64b7a66..5f42301 100644 +index fe474fa..68e5e48 100644 --- a/io/io.h +++ b/io/io.h @@ -53,7 +53,7 @@ extern int stat_f(int argc, char **argv); @@ -603,7 +603,7 @@ index 1d04919..a74b613 100644 init_cvtnum(&blocksize, §size); diff --git a/libxfs/rdwr.c b/libxfs/rdwr.c -index d5aad3e..0faa05b 100644 +index 0e33211..153007d 100644 --- a/libxfs/rdwr.c +++ b/libxfs/rdwr.c @@ -576,7 +576,7 @@ libxfs_balloc( @@ -615,8 +615,8 @@ index d5aad3e..0faa05b 100644 { int sts; -@@ -639,7 +639,7 @@ libxfs_readbufr_map(struct xfs_buftarg *btp, struct xfs_buf *bp, int flags) - fd = libxfs_device_to_fd(btp->bt_bdev); +@@ -638,7 +638,7 @@ libxfs_readbufr_map(struct xfs_buftarg *btp, struct xfs_buf *bp, int flags) + buf = bp->b_addr; for (i = 0; i < bp->b_nmaps; i++) { - off64_t offset = LIBXFS_BBTOOFF64(bp->b_maps[i].bm_bn); @@ -624,7 +624,7 @@ index d5aad3e..0faa05b 100644 int len = BBTOB(bp->b_maps[i].bm_len); error = __read_buf(fd, buf, len, offset, flags); -@@ -798,7 +798,7 @@ err: +@@ -797,7 +797,7 @@ err: } static int @@ -633,7 +633,7 @@ index d5aad3e..0faa05b 100644 { int sts; -@@ -864,7 +864,7 @@ libxfs_bwrite( +@@ -863,7 +863,7 @@ libxfs_bwrite( void*buf = bp->b_addr; for (i = 0; i < bp->b_nmaps; i++) { @@ -643,20 +643,20 @@ index d5aad3e..0faa05b 100644 bp->b_error = __write_buf(fd, buf, len, offset, diff --git a/mdrestore/xfs_mdrestore.c b/mdrestore/xfs_mdrestore.c -index 7c1a66c..bb54e38 100644 +index 8e3998d..334bdd2 100644 --- a/mdrestore/xfs_mdrestore.c +++ b/mdrestore/xfs_mdrestore.c -@@ -116,7 +116,7 @@ perform_restore( +@@ -160,7 +160,7 @@ verify_device_size( + } else { /* ensure device is sufficiently large enough */ - - char*lb[XFS_MAX_SECTORSIZE] = { NULL }; + charlb[XFS_MAX_SECTORSIZE] = { 0 }; - off64_t off; + off_t off; - off = sb.sb_dblocks * sb.sb_blocksize - sizeof(lb); - if (pwrite(dst_fd, lb, sizeof(lb), off) < 0) + off = nr_blocks * blocksize - sizeof(lb); + if (pwrite(dev_fd, lb, sizeof(lb), off) < 0) diff --git a/repair/prefetch.c b/repair/prefetch.c -index 017750e..35b5013 100644 +index 78c1e39..b0dd197 100644 --- a/repair/prefetch.c +++ b/repair/prefetch.c @@ -475,7 +475,7 @@ pf_batch_read( @@ -669,7 +669,7 @@ index 017750e..35b5013 100644 int i; int inode_bufs; diff --git a/scrub/spacemap.c b/scrub/spacemap.c -index 03440d3..00bee17 100644 +index b6fd411..9cefe07 100644 --- a/scrub/spacemap.c +++ b/scrub/spacemap.c @@ -97,11 +97,11 @@ scan_ag_rmaps( @@ -688,7 +688,7 @@ inde
[oe] [meta-oe][PATCH 1/1] gnulib: 2018-12-18 -> 202401
From: Robert Yang Change version format to keep align with upstream branch name stable-${PV}. Signed-off-by: Robert Yang --- .../gnulib/{gnulib_2018-12-18.bb => gnulib_202401.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-oe/recipes-support/gnulib/{gnulib_2018-12-18.bb => gnulib_202401.bb} (88%) diff --git a/meta-oe/recipes-support/gnulib/gnulib_2018-12-18.bb b/meta-oe/recipes-support/gnulib/gnulib_202401.bb similarity index 88% rename from meta-oe/recipes-support/gnulib/gnulib_2018-12-18.bb rename to meta-oe/recipes-support/gnulib/gnulib_202401.bb index 9e09b971c..41675d358 100644 --- a/meta-oe/recipes-support/gnulib/gnulib_2018-12-18.bb +++ b/meta-oe/recipes-support/gnulib/gnulib_202401.bb @@ -11,9 +11,9 @@ SECTION = "devel" LICENSE = "LGPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=56a22a6e5bcce45e2c8ac184f81412b5" -SRCREV = "0d6e3307bbdb8df4d56043d5f373eeeffe4cbef3" +SRCREV = "c99c8d491850dc3a6e0b8604a2729d8bc5c0eff1" -SRC_URI = "git://git.savannah.gnu.org/git/gnulib.git;branch=master;protocol=https \ +SRC_URI = "git://git.savannah.gnu.org/git/gnulib.git;branch=stable-${PV};protocol=https \ " S = "${WORKDIR}/git" -- 2.42.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#109229): https://lists.openembedded.org/g/openembedded-devel/message/109229 Mute This Topic: https://lists.openembedded.org/mt/104805726/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-oe][PATCH 1/1] thin-provisioning-tools: 1.0.9 -> 1.0.12
From: Robert Yang Signed-off-by: Robert Yang --- .../thin-provisioning-tools-crates.inc| 242 +++--- ...9.bb => thin-provisioning-tools_1.0.12.bb} | 2 +- 2 files changed, 97 insertions(+), 147 deletions(-) rename meta-oe/recipes-support/thin-provisioning-tools/{thin-provisioning-tools_1.0.9.bb => thin-provisioning-tools_1.0.12.bb} (95%) diff --git a/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc b/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc index 52a8180d2..d71aa442f 100644 --- a/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc +++ b/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc @@ -4,28 +4,26 @@ SRC_URI += " \ crate://crates.io/adler/1.0.2 \ crate://crates.io/aho-corasick/1.1.2 \ -crate://crates.io/anstyle/1.0.4 \ -crate://crates.io/anyhow/1.0.75 \ +crate://crates.io/anstyle/1.0.6 \ +crate://crates.io/anyhow/1.0.80 \ crate://crates.io/atty/0.2.14 \ crate://crates.io/autocfg/1.1.0 \ -crate://crates.io/base64/0.21.5 \ +crate://crates.io/base64/0.21.7 \ crate://crates.io/bitflags/1.3.2 \ -crate://crates.io/bitflags/2.4.1 \ -crate://crates.io/bytemuck/1.14.0 \ +crate://crates.io/bitflags/2.4.2 \ +crate://crates.io/bytemuck/1.14.3 \ crate://crates.io/byteorder/1.5.0 \ crate://crates.io/cassowary/0.3.0 \ crate://crates.io/cfg-if/1.0.0 \ -crate://crates.io/clap/4.4.11 \ -crate://crates.io/clap_builder/4.4.11 \ -crate://crates.io/clap_lex/0.6.0 \ -crate://crates.io/console/0.15.7 \ -crate://crates.io/crc32c/0.6.4 \ -crate://crates.io/crc32fast/1.3.2 \ +crate://crates.io/clap/4.5.1 \ +crate://crates.io/clap_builder/4.5.1 \ +crate://crates.io/clap_lex/0.7.0 \ +crate://crates.io/console/0.15.8 \ +crate://crates.io/crc32c/0.6.5 \ +crate://crates.io/crc32fast/1.4.0 \ crate://crates.io/data-encoding/2.5.0 \ -crate://crates.io/difflib/0.4.0 \ crate://crates.io/downcast/0.11.0 \ -crate://crates.io/duct/0.13.6 \ -crate://crates.io/either/1.9.0 \ +crate://crates.io/duct/0.13.7 \ crate://crates.io/encode_unicode/0.3.6 \ crate://crates.io/env_logger/0.8.4 \ crate://crates.io/errno/0.3.8 \ @@ -33,130 +31,105 @@ SRC_URI += " \ crate://crates.io/fastrand/2.0.1 \ crate://crates.io/fixedbitset/0.4.2 \ crate://crates.io/flate2/1.0.28 \ -crate://crates.io/float-cmp/0.9.0 \ crate://crates.io/fragile/2.0.0 \ -crate://crates.io/getrandom/0.2.11 \ +crate://crates.io/getrandom/0.2.12 \ crate://crates.io/hermit-abi/0.1.19 \ -crate://crates.io/hermit-abi/0.3.3 \ -crate://crates.io/indicatif/0.17.7 \ +crate://crates.io/hermit-abi/0.3.6 \ +crate://crates.io/indicatif/0.17.8 \ crate://crates.io/instant/0.1.12 \ crate://crates.io/iovec/0.1.4 \ -crate://crates.io/itertools/0.10.5 \ crate://crates.io/lazy_static/1.4.0 \ -crate://crates.io/libc/0.2.150 \ -crate://crates.io/linux-raw-sys/0.4.12 \ +crate://crates.io/libc/0.2.153 \ +crate://crates.io/linux-raw-sys/0.4.13 \ crate://crates.io/log/0.4.20 \ -crate://crates.io/memchr/2.6.4 \ +crate://crates.io/memchr/2.7.1 \ crate://crates.io/minimal-lexical/0.2.1 \ -crate://crates.io/miniz_oxide/0.7.1 \ -crate://crates.io/mockall/0.11.4 \ -crate://crates.io/mockall_derive/0.11.4 \ +crate://crates.io/miniz_oxide/0.7.2 \ +crate://crates.io/mockall/0.12.1 \ +crate://crates.io/mockall_derive/0.12.1 \ crate://crates.io/nom/7.1.3 \ -crate://crates.io/normalize-line-endings/0.3.0 \ -crate://crates.io/num-derive/0.4.1 \ -crate://crates.io/num-traits/0.2.17 \ +crate://crates.io/num-derive/0.4.2 \ +crate://crates.io/num-traits/0.2.18 \ crate://crates.io/num_cpus/1.16.0 \ crate://crates.io/number_prefix/0.4.0 \ crate://crates.io/numtoa/0.1.0 \ crate://crates.io/once_cell/1.19.0 \ -crate://crates.io/os_pipe/1.1.4 \ +crate://crates.io/os_pipe/1.1.5 \ crate://crates.io/portable-atomic/1.6.0 \ crate://crates.io/ppv-lite86/0.2.17 \ -crate://crates.io/predicates/2.1.5 \ +crate://crates.io/predicates/3.1.0 \ crate://crates.io/predicates-core/1.0.6 \ crate://crates.io/predicates-tree/1.0.9 \ -crate://crates.io/proc-macro2/1.0.70 \ -crate://crates.io/quick-xml/0.29.0 \ +crate://crates.io/proc-macro2/1.0.78 \ +crate://crates.io/quick-xml/0.31.0 \ crate://crates.io/quickcheck/1.0.3 \ crate://crates.io/quickcheck_macros/1.0.0 \ -crate://crates.io/quote/1.0.33 \ +crate://crates.io/quote/1.0.35 \ crate://crates.io/rand/0.8.5 \ crate://crates.io/rand_chacha/0.3.1 \ crate://crates.io/rand_core/0.6.4 \ -crate://crates.io/rangemap/1.4.0 \ +crate://crates.io/rangemap/1.5.0 \ crate://crates.io/redox_syscall/0.2.16 \ -
[oe] [meta-oe][PATCH] gperftools: 2.10 -> 2.15
From: Robert Yang * Remove 0001-Support-Atomic-ops-on-clang.patch because of: commit 54605b8a5807fe893a4b9ff8def982a264cdc6c9 Author: Aliaksey Kandratsenka Date: Wed Jun 21 10:39:18 2023 -0400 amputate old atomic ops implementation * Remove sgidef.patch because of: commit e78238d94d41764dc72edb37e3d6510255d3dcd4 Author: Aliaksey Kandratsenka Date: Wed Jun 21 10:39:38 2023 -0400 reworked heap leak checker for more portability * Remove 0001-Define-off64_t-as-off_t-on-musl.patch because of: commit 8be84e4a5c28c33bfdb7da3ee0c92d9620cd552f Author: Aliaksey Kandratsenka Date: Fri Jul 21 14:18:12 2023 -0400 drop old mmap hooks and introduce internal & simpler mmap_hook.h * Rebased 0001-Support-Atomic-ops-on-clang.patch for 2.15 * Rebased ppc-musl.patch for 2.15 * Add 0001-src-mmap_hook.cc-Fix-build-for-32bit-machine.patch to fix build error for 32bit machine. Signed-off-by: Robert Yang --- ...0001-Define-off64_t-as-off_t-on-musl.patch | 33 --- .../0001-Support-Atomic-ops-on-clang.patch| 31 -- ...checkers-and-debug-allocator-on-musl.patch | 8 ++- ..._hook.cc-Fix-build-for-32bit-machine.patch | 59 +++ .../gperftools/gperftools/ppc-musl.patch | 38 +++- .../gperftools/gperftools/sgidef.patch| 23 ...{gperftools_2.10.bb => gperftools_2.15.bb} | 6 +- 7 files changed, 74 insertions(+), 124 deletions(-) delete mode 100644 meta-oe/recipes-support/gperftools/gperftools/0001-Define-off64_t-as-off_t-on-musl.patch delete mode 100644 meta-oe/recipes-support/gperftools/gperftools/0001-Support-Atomic-ops-on-clang.patch create mode 100644 meta-oe/recipes-support/gperftools/gperftools/0001-src-mmap_hook.cc-Fix-build-for-32bit-machine.patch delete mode 100644 meta-oe/recipes-support/gperftools/gperftools/sgidef.patch rename meta-oe/recipes-support/gperftools/{gperftools_2.10.bb => gperftools_2.15.bb} (91%) diff --git a/meta-oe/recipes-support/gperftools/gperftools/0001-Define-off64_t-as-off_t-on-musl.patch b/meta-oe/recipes-support/gperftools/gperftools/0001-Define-off64_t-as-off_t-on-musl.patch deleted file mode 100644 index 2b782c2040..00 --- a/meta-oe/recipes-support/gperftools/gperftools/0001-Define-off64_t-as-off_t-on-musl.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 41260e21e271eb1dc8b34f952ea3f90a0dc35e9e Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sun, 25 Dec 2022 20:01:29 -0800 -Subject: [PATCH] Define off64_t as off_t on musl - -Musl's default bitlength for off_t is always 64bit therefore define -off64_t as off_t on musl - -Upstream-Status: Submitted [https://github.com/gperftools/gperftools/pull/1379] -Signed-off-by: Khem Raj - src/malloc_hook_mmap_linux.h | 5 + - 1 file changed, 5 insertions(+) - -diff --git a/src/malloc_hook_mmap_linux.h b/src/malloc_hook_mmap_linux.h -index c7d8b4b..a10687e 100644 a/src/malloc_hook_mmap_linux.h -+++ b/src/malloc_hook_mmap_linux.h -@@ -45,6 +45,11 @@ - #include - #include - -+// musl's off_t is already 64-bit -+#if defined(__linux__) && !defined(__GLIBC__) -+typedef off_t off64_t; -+#endif -+ - // The x86-32 case and the x86-64 case differ: - // 32b has a mmap2() syscall, 64b does not. - // 64b and 32b have different calling conventions for mmap(). --- -2.39.0 - diff --git a/meta-oe/recipes-support/gperftools/gperftools/0001-Support-Atomic-ops-on-clang.patch b/meta-oe/recipes-support/gperftools/gperftools/0001-Support-Atomic-ops-on-clang.patch deleted file mode 100644 index 2fd21c2783..00 --- a/meta-oe/recipes-support/gperftools/gperftools/0001-Support-Atomic-ops-on-clang.patch +++ /dev/null @@ -1,31 +0,0 @@ -From aa0a63209af6813d87255ec3ab339f2dbbf27d6d Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Mon, 6 Mar 2017 13:38:46 -0800 -Subject: [PATCH] Support Atomic ops on clang - -clang pretends to be gcc 4.2 which is a lie -it actually supports a lot more features then -gcc 4.2, here it depends on gcc 4.7 to enable -the atomics and fails for clang - -Signed-off-by: Khem Raj - -Upstream-Status: Pending - - src/base/atomicops.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/base/atomicops.h b/src/base/atomicops.h -index dac95be..390733c 100644 a/src/base/atomicops.h -+++ b/src/base/atomicops.h -@@ -124,7 +124,7 @@ - #include "base/atomicops-internals-linuxppc.h" - #elif defined(__GNUC__) && defined(__mips__) - #include "base/atomicops-internals-mips.h" --#elif defined(__GNUC__) && GCC_VERSION >= 40700 -+#elif defined(__GNUC__) && GCC_VERSION >= 40700 || defined(__clang__) - #include "base/atomicops-internals-gcc.h" - #elif defined(__clang__) && CLANG_VERSION >= 30400 - #include "base/atomicops-internals-gcc.h" diff --git a/meta-oe/recipes-support/gperftools/gperftools/0001-disbale-heap-checkers-and-debug-allocator-on-musl.patch b/meta-oe/recipes-support/gperftools/gperftools/0001-disbale-heap-checkers-and-debug-allocator-on-musl.patch index e3e857f0c2..2ea54e
[oe] [meta-networking][PATCH] freeradius: 3.0.26 -> 3.2.3
From: Robert Yang * Add --without-rlm_json to fix: configure: error: set --without-rlm_json to disable it explicitly * Add --without-rlm_cache_redis to fix: configure: error: set --without-rlm_cache_redis to disable it explicitly. * Drop 0017-add-python.m4-for-detecting-python-3.10.patch and add 0017-Add-acinclude.m4-to-include-required-macros.patch to fix python3 related build errors * Rebased other patches for 3.2.3. Signed-off-by: Robert Yang --- ...configure.ac-allow-cross-compilation.patch | 32 +- .../0006-Avoid-searching-host-dirs.patch | 331 +++--- ..._python-add-PY_INC_DIR-in-search-dir.patch | 19 +- ...ncludedir-instead-of-hardcoding-usr-.patch | 21 +- ...nclude.m4-to-include-required-macros.patch | 61 +++ ...-python.m4-for-detecting-python-3.10.patch | 427 -- ...eeradius_3.0.26.bb => freeradius_3.2.3.bb} | 9 +- 7 files changed, 278 insertions(+), 622 deletions(-) create mode 100644 meta-networking/recipes-connectivity/freeradius/files/0017-Add-acinclude.m4-to-include-required-macros.patch delete mode 100644 meta-networking/recipes-connectivity/freeradius/files/0017-add-python.m4-for-detecting-python-3.10.patch rename meta-networking/recipes-connectivity/freeradius/{freeradius_3.0.26.bb => freeradius_3.2.3.bb} (97%) diff --git a/meta-networking/recipes-connectivity/freeradius/files/0003-configure.ac-allow-cross-compilation.patch b/meta-networking/recipes-connectivity/freeradius/files/0003-configure.ac-allow-cross-compilation.patch index e5442360b..3635412d3 100644 --- a/meta-networking/recipes-connectivity/freeradius/files/0003-configure.ac-allow-cross-compilation.patch +++ b/meta-networking/recipes-connectivity/freeradius/files/0003-configure.ac-allow-cross-compilation.patch @@ -12,26 +12,28 @@ Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Jackie Huang Signed-off-by: Yi Zhao -update to new version 3.0.17 to fix patch warning +Update to new version 3.0.17 to fix patch warning Signed-off-by: Changqing Li + +Rebased for 3.2.3 +Signed-off-by: Randy MacLeod +Signed-off-by: Robert Yang + --- src/modules/rlm_krb5/configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/rlm_krb5/configure.ac b/src/modules/rlm_krb5/configure.ac -index a0f510cfb3..d2f3eca03e 100644 +index 9ee6379ea4..1dad481da8 100644 --- a/src/modules/rlm_krb5/configure.ac +++ b/src/modules/rlm_krb5/configure.ac -@@ -140,7 +140,8 @@ if test x$with_[]modname != xno; then - FR_SMART_CHECK_LIB(krb5, krb5_is_thread_safe) - if test "x$ac_cv_lib_krb5_krb5_is_thread_safe" = xyes; then - AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include ]], [[return krb5_is_thread_safe() ? 0 : 1]])], -- [krb5threadsafe="-DKRB5_IS_THREAD_SAFE"], [AC_MSG_WARN([[libkrb5 is not threadsafe]])]) -+ [krb5threadsafe="-DKRB5_IS_THREAD_SAFE"], [AC_MSG_WARN([[libkrb5 is not threadsafe]])], -+ [AC_MSG_WARN(cross compiling: not checking)]) - fi - else - krb5threadsafe="" --- -2.25.1 - +@@ -143,7 +143,8 @@ if test "$krb5threadsafe" != "no"; then + FR_SMART_CHECK_LIB(krb5, krb5_is_thread_safe) + if test "x$ac_cv_lib_krb5_krb5_is_thread_safe" = xyes; then + AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include ]], [[return krb5_is_thread_safe() ? 0 : 1]])], +- [krb5threadsafe="-DKRB5_IS_THREAD_SAFE"], [AC_MSG_WARN([[libkrb5 is not threadsafe]])]) ++ [krb5threadsafe="-DKRB5_IS_THREAD_SAFE"], [AC_MSG_WARN([[libkrb5 is not threadsafe]])], ++ [AC_MSG_WARN(cross compiling: not checking)]) + fi + else + krb5threadsafe="" diff --git a/meta-networking/recipes-connectivity/freeradius/files/0006-Avoid-searching-host-dirs.patch b/meta-networking/recipes-connectivity/freeradius/files/0006-Avoid-searching-host-dirs.patch index 8fd0dca44..510136da1 100644 --- a/meta-networking/recipes-connectivity/freeradius/files/0006-Avoid-searching-host-dirs.patch +++ b/meta-networking/recipes-connectivity/freeradius/files/0006-Avoid-searching-host-dirs.patch @@ -10,189 +10,214 @@ Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Jackie Huang Signed-off-by: Yi Zhao + +Rebased for 3.2.3 +Signed-off-by: Robert Yang --- - acinclude.m4| 4 ++-- - src/modules/rlm_sql/drivers/rlm_sql_db2/configure.ac| 4 ++-- - src/modules/rlm_sql/drivers/rlm_sql_firebird/configure.ac | 4 ++-- - src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure.ac | 4 ++-- - src/modules/rlm_sql/drivers/rlm_sql_mysql/configure.ac | 6 +++--- - src/modules/rlm_sql/drivers/rlm_sql_oracle/configure.ac | 2 +- - src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure.ac | 4 ++-- - src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure.ac | 4 ++-- - 8 f
Re: [oe] [meta-networking][PATCH] freeradius: upgrade 3.0.21 -> 3.0.26 --> Should we update to 3.2.x?
On 3/31/24 1:03 AM, Khem Raj wrote: last three point releases of 3.2.x series has been stability releases, and I think it will become next stable following the release pattern, so I am fine with upgrading to 3.2.3, please rebase the patch on top of master-next and send here please. Thanks Khem and Randy, I've sent the patch based on master-next to the mailing list just now: freeradius: 3.0.26 -> 3.2.3 A lot of lines are changed: .../recipes-connectivity/freeradius/files/0003-configure.ac-allow-cross-compilation.patch | 32 ++-- .../recipes-connectivity/freeradius/files/0006-Avoid-searching-host-dirs.patch | 331 + .../freeradius/files/0007-rlm_python-add-PY_INC_DIR-in-search-dir.patch | 19 +- .../freeradius/files/0011-rlm_mschap-Use-includedir-instead-of-hardcoding-usr-.patch | 21 +-- .../freeradius/files/0017-Add-acinclude.m4-to-include-required-macros.patch | 61 +++ .../freeradius/files/0017-add-python.m4-for-detecting-python-3.10.patch | 427 --- .../recipes-connectivity/freeradius/{freeradius_3.0.26.bb => freeradius_3.2.3.bb} | 9 +- 7 files changed, 278 insertions(+), 622 deletions(-) I've tested it on both qemux86-64/qemuarm64 + glibc/musl, all the builds are OK. // Robert On Sat, Mar 30, 2024 at 8:05 AM Randy MacLeod wrote: Robert and I had an internal discussion about whether we should update freeradius to the 3.2.x branch. See below. If there's no objection, Robert please send you local update to the list so that it makes it into 5.0. Robert said: I've updated it to 3.2.3 in my local repo, but 3.2.x are 'Features' release, and 3.0.x are 'Stable' release: https://freeradius.org/releases/ I think that keep it as 3.0.x is better than 3.2.x for LTS24 (YP-5.0)? I think it's a judgment call. You are right that there are new features being introduced: https://freeradius.org/release_notes/?br=3.2.x but there is also a dedciated branch for 3.2.x: https://github.com/FreeRADIUS/freeradius-server/tree/v3.2.x separate from the master branch and there's talk of a major update happening for the 4.0 release: https://freeradius.org/4.0/alpha.html If you look around at what other distros are carrying, the more recently updated/released distros (Fedora 39, Debian 12) have 3.2.x: https://pkgs.org/download/freeradius and ubuntu-24.04, will ship 3.2: https://repology.org/project/freeradius/versions I wasn't able to find a document about FR's release schedule or EOL dates but it seems to me that we should add 3.2.x. ../Randy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#109698): https://lists.openembedded.org/g/openembedded-devel/message/109698 Mute This Topic: https://lists.openembedded.org/mt/105233195/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-