Re: [OE-core] [scarthgap][master][PATCH] rt_bmark.py: fix TypeError

2024-07-25 Thread Changqing Li via lists.openembedded.org
ping On 7/16/24 11:24, Changqing Li via lists.openembedded.org wrote: From: Changqing Li Fix following error: File "/usr/lib64/rt-tests/ptest/./rt_bmark.py", line 287, in run_cyclictest_once m = rex.search(line) TypeError: cannot use a stri

Re: [OE-core] [master][PATCH V2] pixman: update patch for fixing inline failure with -Og

2024-07-18 Thread Changqing Li via lists.openembedded.org
On 7/19/24 10:37, Changqing Li via lists.openembedded.org wrote: On 7/18/24 21:16, Ross Burton wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. Can you submit

Re: [OE-core] [master][PATCH V2] pixman: update patch for fixing inline failure with -Og

2024-07-18 Thread Changqing Li via lists.openembedded.org
/pixman/pixman/-/merge_requests Sure, I will send out the link after done. Thanks Ross Thanks, Ross On 16 Jul 2024, at 10:49, Changqing Li via lists.openembedded.org wrote: From: Changqing Li Previous patch works on fedora40 with gcc-14, but not works on ubuntu2004 with gcc-9. Update

Re: [OE-core] [PATCH] gettext: fix a parallel build issue

2024-07-16 Thread Changqing Li via lists.openembedded.org
Hi, Steve Could you help to cherry-pick this patch to scarthgap? Thanks Regards Changqing On 5/28/24 17:11, Changqing Li wrote: From: Changqing Li Occasionally, gettext will build failed with error: In file included from ../../../gettext-0.22.5/gettext-runtime/intl/gettextP.h:71

Re: [OE-core] [scarthgap][PATCH] pixman: fixing inline failure with -Og

2024-07-16 Thread Changqing Li via lists.openembedded.org
noticed [1] is not on scarthgap,  so I send this patch. Regards Changqing https://git.openembedded.org/openembedded-core/commit/?id=4ab0d5c24b32a80432d9cfa6c904027b8a6710b5 Steve On Tue, Jul 16, 2024 at 2:58 AM Changqing Li via lists.openembedded.org wrote: From: Changqing Li When debug

Re: [OE-core] [scarthgap][master][PATCH] pixman: update patch for fixing inline failure with -Og

2024-07-16 Thread Changqing Li via lists.openembedded.org
Please ignore this mail,  the patch will send out for scarthgap and master separately. On 7/16/24 17:46, Changqing Li via lists.openembedded.org wrote: From: Changqing Li Previous patch works on fedora40 with gcc-14, but not works on ubuntu2004 with gcc-9. Update the patch to fix

[OE-core] [scarthgap][PATCH] pixman: fixing inline failure with -Og

2024-07-16 Thread Changqing Li via lists.openembedded.org
From: Changqing Li When debug build is enabled(-Og is used), pixman-native do_compile failed with error: In function ‘combine_inner’, inlined from ‘combine_soft_light_ca_float’ at ../pixman-0.42.2/pixman/pixman-combine-float.c:655:1: ../pixman-0.42.2/pixman/pixman-combine-float.c:370:5

[OE-core] [master][PATCH V2] pixman: update patch for fixing inline failure with -Og

2024-07-16 Thread Changqing Li via lists.openembedded.org
From: Changqing Li Previous patch works on fedora40 with gcc-14, but not works on ubuntu2004 with gcc-9. Update the patch to fix the do_compile failure: In function ‘combine_inner’, inlined from ‘combine_soft_light_ca_float’ at ../pixman-0.42.2/pixman/pixman-combine-float.c:655:1

[OE-core] [scarthgap][master][PATCH] pixman: update patch for fixing inline failure with -Og

2024-07-16 Thread Changqing Li via lists.openembedded.org
From: Changqing Li Previous patch works on fedora40 with gcc-14, but not works on ubuntu2004 with gcc-9. Update the patch to fix the do_compile failure: In function ‘combine_inner’, inlined from ‘combine_soft_light_ca_float’ at ../pixman-0.42.2/pixman/pixman-combine-float.c:655:1

[OE-core] [scarthgap][master][PATCH] rt_bmark.py: fix TypeError

2024-07-15 Thread Changqing Li via lists.openembedded.org
From: Changqing Li Fix following error: File "/usr/lib64/rt-tests/ptest/./rt_bmark.py", line 287, in run_cyclictest_once m = rex.search(line) TypeError: cannot use a string pattern on a bytes-like object Signed-off-by: Changqing Li --- meta/recipes-r

Re: [OE-core] [scarthgap][master][PATCH 1/2] apt-native: don't let dpkg overwrite files by default

2024-07-14 Thread Changqing Li via lists.openembedded.org
On 6/18/24 11:30, Changqing Li via lists.openembedded.org wrote: From: Changqing Li With --force-overwrite (implied by --force-all), dpkg will not abort when a package overwrites files from different packages. As this can also lead to "The following package disappeared from your system a

[OE-core] [scarthgap][PATCH V2 2/2] webkitgtk: fix do_compile errors on beaglebone-yocto

2024-07-12 Thread Changqing Li via lists.openembedded.org
From: Changqing Li Backport 2 patches to fix following compile errors: webkitgtk-2.44.1/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNeonParallelApplier.cpp:545:37: error: 'LS_POINT' was not declared in this scope; did you mean 'WebCore::LightType::LS_POINT'? 545

[OE-core] [scarthgap][PATCH V2 1/2] webkitgtk: fix do_configure error on beaglebone-yocto

2024-07-12 Thread Changqing Li via lists.openembedded.org
From: Changqing Li * According to latest comment [1] and the mentioned pull request [2], build an ENABLE(WEBASSEMBLY) && !ENABLE(JIT) configuration is supported, so original issue already fixed in current version, the EXTRA_OECMAKE setting is not needed anymore. * This EXTRA_OECMAKE

[OE-core] [scarthgap][PATCH 2/2] webkitgtk: fix do_compile errors on beaglebone-yocto

2024-07-11 Thread Changqing Li via lists.openembedded.org
From: Changqing Li Backport 2 patches to fix following compile errors: webkitgtk-2.44.1/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNeonParallelApplier.cpp:545:37: error: 'LS_POINT' was not declared in this scope; did you mean 'WebCore::LightType::LS_POINT'? 545

[OE-core] [scarthgap][PATCH 1/2] webkitgtk: fix do_configure error on beaglebone-yocto

2024-07-11 Thread Changqing Li via lists.openembedded.org
From: Changqing Li * According to latest comment [1] and the mentioned pull request [2], build an ENABLE(WEBASSEMBLY) && !ENABLE(JIT) configuration is supported, so original issue already fixed in current version, the EXTRA_OECMAKE setting is not needed anymore. * This EXTRA_OECMAKE

[OE-core] [scarthgap][master][PATCH] multilib.conf: remove appending to PKG_CONFIG_PATH

2024-07-11 Thread Changqing Li via lists.openembedded.org
From: Changqing Li * Since commit [a23c482cab allarch: only enable allarch when multilib is not used], allarch recipes will also be installed into ${MLPREFIX}recipe-sysroot, so this appending is not needed. * This appending also causes some QA errors. Eg: for lib32-php, the recipe will use 's

Re: [OE-core] [scarthgap][master][PATCH] vulkan-samples: fix do_compile error when -Og enabled

2024-07-09 Thread Changqing Li via lists.openembedded.org
need to see  if upstream Vulkan-Samples will like to update the libktx? //Changqing On Tue 9. Jul 2024 at 9.32, Changqing Li via lists.openembedded.org <https://urldefense.com/v3/__http://lists.openembedded.org__;!!AjveYdw8

[OE-core] [scarthgap][master][PATCH] vulkan-samples: fix do_compile error when -Og enabled

2024-07-09 Thread Changqing Li via lists.openembedded.org
From: Changqing Li When debug build is enabled(-Og is used), vulkan-samples do_compile failed with error: In function 'ZSTD_compressBlock_lazy_generic', inlined from 'ZSTD_compressBlock_greedy' at TOPDIR/tmp-glibc/work/core2-32-wrs-linux/vulkan-samples/git/git/third_party/ktx/lib/basisu

[OE-core] [scarthgap][master][PATCH] pixman: fix do_compile error

2024-07-05 Thread Changqing Li via lists.openembedded.org
From: Changqing Li When debug build is enabled(-Og is used), pixman-native do_compile failed with error: In function ‘combine_inner’, inlined from ‘combine_soft_light_ca_float’ at ../pixman-0.42.2/pixman/pixman-combine-float.c:655:1: ../pixman-0.42.2/pixman/pixman-combine-float.c:370:5

Re: [OE-core] [scarthgap][master][PATCH v2 2/2] apt: runtime error: filename too long (tmpdir length)

2024-07-03 Thread Changqing Li via lists.openembedded.org
ping On 6/18/24 18:52, Changqing Li via lists.openembedded.org wrote: From: Changqing Li when the tmpdir dir is longer than 220, there is no files saved in tmp/sysroots/x86_64-linux/var/lib/apt/lists/ after run apt-get update, this is because apt-get uses the path as the file name

[OE-core] [scarthgap][master][PATCH v2 2/2] apt: runtime error: filename too long (tmpdir length)

2024-06-18 Thread Changqing Li via lists.openembedded.org
From: Changqing Li when the tmpdir dir is longer than 220, there is no files saved in tmp/sysroots/x86_64-linux/var/lib/apt/lists/ after run apt-get update, this is because apt-get uses the path as the file name, but the file name can't be longer than 255 according to /usr/include/linux/limits.h

Re: [OE-core] [scarthgap][master][PATCH 2/2] apt: runtime error: filename too long (tmpdir length)

2024-06-18 Thread Changqing Li via lists.openembedded.org
On 6/18/24 16:01, Alexander Kanavin wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Tue, 18 Jun 2024 at 05:30, Changqing Li via lists.openembedded.org wrote: From

[OE-core] [scarthgap][master][PATCH 1/2] apt-native: don't let dpkg overwrite files by default

2024-06-17 Thread Changqing Li via lists.openembedded.org
From: Changqing Li With --force-overwrite (implied by --force-all), dpkg will not abort when a package overwrites files from different packages. As this can also lead to "The following package disappeared from your system as all files have been overwritten by other packages: " and su

[OE-core] [scarthgap][master][PATCH 0/2] apt: Take back two old patches

2024-06-17 Thread Changqing Li via lists.openembedded.org
From: Changqing Li The two old patches are dropped in commit: https://git.openembedded.org/openembedded-core/commit/?id=f058272de9cba188d96940c8c921cf31727fe4d1 But we still have those issues, so take them back Changqing Li (2): apt-native: don't let dpkg overwrite files by default apt

[OE-core] [scarthgap][master][PATCH 2/2] apt: runtime error: filename too long (tmpdir length)

2024-06-17 Thread Changqing Li via lists.openembedded.org
From: Changqing Li when the tmpdir dir is longer than 220, there is no files saved in tmp/sysroots/x86_64-linux/var/lib/apt/lists/ after run apt-get update, this is because apt-get uses the path as the file name, but the file name can't be longer than 255 according to /usr/include/linux/limits.h

[OE-core] [scarthgap][PATCH 7/8] expect: ignore various issues now fatal with gcc-14

2024-06-17 Thread Changqing Li via lists.openembedded.org
From: Martin Jansa (From OE-Core rev: 83e9790fe27c310a4f5a66fedb29b232d23a22e5) Signed-off-by: Martin Jansa Signed-off-by: Khem Raj Signed-off-by: Richard Purdie Signed-off-by: Changqing Li --- meta/recipes-devtools/expect/expect_5.45.4.bb | 4 1 file changed, 4 insertions(+) diff

[OE-core] [scarthgap][PATCH 3/8] zip: Fix build with gcc-14

2024-06-17 Thread Changqing Li via lists.openembedded.org
emove 0002-unix.c-Do-not-redefine-DIR-as-FILE.patch which is now unnecessary. (From OE-Core rev: 3422411eb750c7e960b81676637cfb321dbadefb) Signed-off-by: Zoltán Böszörményi Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie Signed-off-by: Changqing Li

[OE-core] [scarthgap][PATCH 8/8] expect-native: fix build with gcc-14

2024-06-17 Thread Changqing Li via lists.openembedded.org
From: Changqing Li * do_configure failed with gcc-14: error in build/config.log: conftest.c:56:3: error: return type defaults to 'int' [-Wimplicit-int] conftest.c:59:5: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] * this recipe set "BBCLASSEXTEND = &q

[OE-core] [scarthgap][PATCH 1/8] yocto-uninative: Update to 4.5 for gcc 14

2024-06-17 Thread Changqing Li via lists.openembedded.org
From: Michael Halstead (From OE-Core rev: f5638681cef7e250ac64832dbe791418d97f05ba) Signed-off-by: Michael Halstead Signed-off-by: Richard Purdie Signed-off-by: Changqing Li --- meta/conf/distro/include/yocto-uninative.inc | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

[OE-core] [scarthgap][PATCH 6/8] cdrtools-native: Fix build with GCC 14

2024-06-17 Thread Changqing Li via lists.openembedded.org
Signed-off-by: Changqing Li --- .../cdrtools/cdrtools-native_3.01.bb| 6 +- .../cdrtools/cdrtools/gcc14-fix.patch | 13 + 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/cdrtools/cdrtools/gcc14-fix.patch

[OE-core] [scarthgap][PATCH 5/8] cdrtools-native: fix build with gcc-14

2024-06-17 Thread Changqing Li via lists.openembedded.org
ore rev: 094273bd7d1768e14fbdcd2f239bee14c630a625) Signed-off-by: Martin Jansa Signed-off-by: Richard Purdie Signed-off-by: Changqing Li --- meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/c

[OE-core] [scarthgap][PATCH 4/8] db: ignore implicit-int and implicit-function-declaration issues fatal with gcc-14

2024-06-17 Thread Changqing Li via lists.openembedded.org
checking for atomic operations... x86/gcc-assembly (From OE-Core rev: 6108da955e7c553247ff5356cf1c990b3d334edf) Signed-off-by: Martin Jansa Signed-off-by: Richard Purdie Signed-off-by: Changqing Li --- meta/recipes-support/db/db_5.3.28.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta

[OE-core] [scarthgap][PATCH 2/8] cracklib: Modify patch to compile with GCC 14

2024-06-17 Thread Changqing Li via lists.openembedded.org
: 914128f6bd988cde278e087fb9457a0c70c7e5ec) Signed-off-by: Zoltán Böszörményi Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie Signed-off-by: Changqing Li --- ...0001-packlib.c-support-dictionary-byte-order-dependent.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended

[OE-core] [scarthgap][PATCH 0/8] backports from master

2024-06-17 Thread Changqing Li via lists.openembedded.org
From: Changqing Li * backport 7 patches from master, so we can build scarthgap on host with gcc-14, like fedora 40 * Add one patch for fixing build failure for expect-native Changqing Li (1): expect-native: fix build with gcc-14 Khem Raj (1): zip: Fix build with gcc-14 Martin Jansa (3

[OE-core] [PATCH] expect-native: fix build with gcc-14

2024-06-13 Thread Changqing Li via lists.openembedded.org
From: Changqing Li * do_configure failed with gcc-14: error in build/config.log: conftest.c:56:3: error: return type defaults to 'int' [-Wimplicit-int] conftest.c:59:5: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] * this recipe set "BBCLASSEXTEND = &q

Re: [OE-core] [PATCH] VOLATILE_TMP_DIR: Extend to specify the persistence of /var/tmp

2024-06-11 Thread Changqing Li via lists.openembedded.org
doc change. Regards Changqing On 5/30/24 17:02, Changqing Li wrote: From: Changqing Li Currently, set VOLATILE_TMP_DIR to "no", only make /tmp as persistent. This patch extends VOLATILE_TMP_DIR to also specify the persistence of /var/tmp by following changes: * change FILESYSTEM_PE

Re: [OE-core] [PATCH] systemd: fix wrong path of tmp.mount

2024-06-11 Thread Changqing Li via lists.openembedded.org
ping On 5/30/24 17:02, Changqing Li wrote: From: Changqing Li According to meson.build, tmp.mount is installed under "prefixdir/'lib/systemd/system'", but for 64bit system, rootlibdir is /usr/lib64/systemd/system, this make tmp.mount not removed, and /tmp still mounted as tmpfs

Re: [OE-core] [PATCH 4/4] man-pages: upgrade 6.06 -> 6.8

2024-06-04 Thread Changqing Li via lists.openembedded.org
On 6/3/24 08:52, Changqing Li wrote: On 6/2/24 17:51, Alexandre Belloni via lists.openembedded.org <https://urldefense.com/v3/__http://lists.openembedded.org__;!!AjveYdw8EvQ!YpM6rnmmGg65JY6sfVj_MxBUznl6qzyT3RdMMxR3XIrTOHzwo2745-xRd0GCTlYjdgB5_0Sae7m8nFzKjddLq9mWjQwfOHCdBr5w1Q$>

[OE-core] [PATCH V2] man-pages: upgrade 6.06 -> 6.8

2024-06-04 Thread Changqing Li via lists.openembedded.org
From: Changqing Li * drop 0001-man.ml-do-not-use-dev-stdin.patch since upstream already fix the issue, refer [1] * drop 0001-GNUmakefile-use-env-from-PATH.patch since upstream already fix the issue, refer [2], and drop depends on coreutils-native [1] https://git.kernel.org/pub/scm/docs/man

Re: [OE-core] [master][scarthgap][PATCH] ptest-runner: Bump to 2.4.4 (95f528c)

2024-06-02 Thread Changqing Li
ping for branch scarthgap Regards Changqing On 5/13/24 15:32, Changqing Li wrote: From: Changqing Li Changes in 2.4.4: 95f528c utils.c: run_ptests improve error handling on ptests iteration c48e5fc utils.c: run-ptests improve pseudo-terminal handling Signed-off-by: Changqing Li

Re: [OE-core] [PATCH 13/42] gdk-pixbuf: upgrade 2.42.11 -> 2.42.12

2024-06-02 Thread Changqing Li
Hi, Steve Could you backport this patch  and the patch gdk-pixbuf: upgrade 2.42.10 -> 2.42.11 to branch Scarthgap? Thanks. 2.42.12 contains CVE fix: CVE-2022-48622 Regards Changqing On 5/22/24 17:14, wangmy via lists.openembedded.org wrote: CAUTION: This email comes from a non Wind River

Re: [OE-core] [PATCH 4/4] man-pages: upgrade 6.06 -> 6.8

2024-06-02 Thread Changqing Li
On 6/2/24 17:51, Alexandre Belloni via lists.openembedded.org wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On 27/05/2024 09:37:05+0800, Changqing Li wrote: diff --git

[OE-core] [PATCH] VOLATILE_TMP_DIR: Extend to specify the persistence of /var/tmp

2024-05-30 Thread Changqing Li
From: Changqing Li Currently, set VOLATILE_TMP_DIR to "no", only make /tmp as persistent. This patch extends VOLATILE_TMP_DIR to also specify the persistence of /var/tmp by following changes: * change FILESYSTEM_PERMS_TABLES to remove symlink /var/tmp -> /var/volatile/tmp for

[OE-core] [PATCH] systemd: fix wrong path of tmp.mount

2024-05-30 Thread Changqing Li
From: Changqing Li According to meson.build, tmp.mount is installed under "prefixdir/'lib/systemd/system'", but for 64bit system, rootlibdir is /usr/lib64/systemd/system, this make tmp.mount not removed, and /tmp still mounted as tmpfs filesystem. Fixed by using rootlibexecdir, which i

[OE-core] [PATCH] gettext: fix a parallel build issue

2024-05-28 Thread Changqing Li
From: Changqing Li Occasionally, gettext will build failed with error: In file included from ../../../gettext-0.22.5/gettext-runtime/intl/gettextP.h:71, from ../../../gettext-0.22.5/gettext-runtime/intl/log.c:24: ./libgnuintl.h:98:1: error: unterminated comment 98

[OE-core] [PATCH 4/4] man-pages: upgrade 6.06 -> 6.8

2024-05-26 Thread Changqing Li
From: Changqing Li * drop 0001-man.ml-do-not-use-dev-stdin.patch since upstream already fix the issue, see [1] * drop 0001-GNUmakefile-use-env-from-PATH.patch and drop depends on coreutils-native since ubuntu18.04 is not supported linux distro now [1] https://git.kernel.org/pub/scm/docs/man

[OE-core] [PATCH 1/4] libgpg-error: upgrade 1.48 -> 1.49

2024-05-26 Thread Changqing Li
From: Changqing Li Noteworthy changes in version 1.49 (2024-04-25) [C36/A36/R0] --- * Two new functions to improve the logging interface. The gpgrt_logv_domain is currently the same as gpgrt_logv_prefix but allows to pass a domain string so

[OE-core] [PATCH 3/4] libxml2: upgrade 2.12.6 -> 2.12.7

2024-05-26 Thread Changqing Li
From: Changqing Li Changes: - [CVE-2024-34459] Fix buffer overread with `xmllint --htmlout` - xmllint: Fix --pedantic option - save: Handle invalid parent pointers in xhtmlNodeDumpOutput Signed-off-by: Changqing Li --- .../libxml/{libxml2_2.12.6.bb => libxml2_2.12.7.bb}

[OE-core] [PATCH 2/4] ghostscript: upgrade 10.03.0 -> 10.03.1

2024-05-26 Thread Changqing Li
From: Changqing Li Patch release to address security bugs: CVE-2024-33869 CVE-2023-52722 CVE-2024-33870 CVE-2024-33871 CVE-2024-29510 Signed-off-by: Changqing Li --- .../{ghostscript_10.03.0.bb => ghostscript_10.03.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ren

Re: [OE-core] [master][scarthgap][PATCH] ptest-runner: Bump to 2.4.4 (95f528c)

2024-05-21 Thread Changqing Li
Kindly ping On 5/13/24 15:32, Changqing Li wrote: From: Changqing Li Changes in 2.4.4: 95f528c utils.c: run_ptests improve error handling on ptests iteration c48e5fc utils.c: run-ptests improve pseudo-terminal handling Signed-off-by: Changqing Li --- .../{ptest-runner_2.4.3.bb => pt

[OE-core] [master][scarthgap][PATCH] ptest-runner: Bump to 2.4.4 (95f528c)

2024-05-13 Thread Changqing Li
From: Changqing Li Changes in 2.4.4: 95f528c utils.c: run_ptests improve error handling on ptests iteration c48e5fc utils.c: run-ptests improve pseudo-terminal handling Signed-off-by: Changqing Li --- .../{ptest-runner_2.4.3.bb => ptest-runner_2.4.4.bb}| 2 +- 1 file changed

Re: [OE-core] [PATCH] base.bbclass: make do_fetch depends on PREMIRRORS MIRRORS

2024-04-17 Thread Changqing Li
to provide me some background and notes. Regards Changqing Alex On Tue, 16 Apr 2024 at 03:48, Changqing Li via lists.openembedded.org wrote: On 4/15/24 18:05, Richard Purdie wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you

Re: [OE-core] [PATCH] base.bbclass: make do_fetch depends on PREMIRRORS MIRRORS

2024-04-15 Thread Changqing Li
On 4/15/24 18:05, Richard Purdie wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Mon, 2024-04-15 at 16:30 +0800, Changqing Li via lists.openembedded.org wrote: From

Re: [OE-core] [PATCH] base.bbclass: make do_fetch depends on PREMIRRORS MIRRORS

2024-04-15 Thread Changqing Li
On 4/15/24 16:30, Changqing Li wrote: From: Changqing Li When there are tarballs in local mirrorfile://, do_fetch will create symlink under DL_DIR, eg: pseudo-prebuilt-2.33.tar.xz -> /project/path/to/localmirrorA/pseudo-prebuilt-2.33.tar.xz after user update path from localmirr

[OE-core] [PATCH] base.bbclass: make do_fetch depends on PREMIRRORS MIRRORS

2024-04-15 Thread Changqing Li
From: Changqing Li When there are tarballs in local mirror file://, do_fetch will create symlink under DL_DIR, eg: pseudo-prebuilt-2.33.tar.xz -> /project/path/to/localmirrorA/pseudo-prebuilt-2.33.tar.xz after user update path from localmirrorA to localmirrorB, because do_fetch don't depe

[OE-core] [PATCH] dnf: fix Exception handling for class ProcessLock

2024-03-24 Thread Changqing Li
From: Changqing Li Yocto based systems will sometimes have log_lock.pid left in target filesystems. Users typing 'ls /' will notice it, and will never be removed. It happened when log rotate happened, refer [1], since the problem descripted in patch 0001-lock.py-fix-Exception-handling.patch

Re: [OE-core] [PATCH V2] dnf: remove log_lock.pid before exit

2024-03-14 Thread Changqing Li
On 3/7/24 19:42, Alexander Kanavin wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Thu, 7 Mar 2024 at 11:21, Chen Qi via lists.openembedded.org wrote: You can see

[OE-core] [PATCH V2] dnf: remove log_lock.pid before exit

2024-03-07 Thread Changqing Li
From: Changqing Li dnf has a bug, refer [1], it causes that log_lock.pid may not removed after dnf exit. And for native dnf, since we change the lock file path to /, it will never be removed, and make the rootfs not clean,refer [2][3]. This patch is a workaround to fix above issue. [1] https

Re: [OE-core] [PATCH] dnf: remove log_lock.pid before exit

2024-03-07 Thread Changqing Li
2024 at 07:49, Changqing Li wrote: From: Changqing Li dnf has a bug, refer [1], it causes that log_lock.pid may not removed after dnf exit. And for native dnf, since we change the lock file path to /, it will never be removed, and make the rootfs not clean,refer [2][3]. This patch

[OE-core] [PATCH V6] systemd: fix dead link /var/log/README

2024-03-06 Thread Changqing Li
From: Changqing Li There are 2 issues here: First, in package systemd, there is a file /usr/lib/tmpfile.d/legacy.conf, which will create a symlink to /usr/share/doc/systemd/README.logs during boot time. But for oe, /usr/share/doc/systemd/README.logs is packaged in systemd-doc, which will make

[OE-core] [PATCH V7] rxvt-unicode: Fix installing of terminfo

2024-03-06 Thread Changqing Li
From: Changqing Li For cross compile, TIC will be native tic in recipe-sysroot-native, and the terminfo path will be native path, the rxvt-unicode terminfo will be wrongly installed to native path. install terminfo to correct path in do_install Signed-off-by: Changqing Li --- meta/recipes

[OE-core] [PATCH] go: filter out build specific path from the linker flags

2024-03-06 Thread Changqing Li
From: Changqing Li patch 0007-exec.go-do-not-write-linker-flags-into-buildids.patch removes linker flags from buildids for not breaking reproducibility, but it seems that this will make go not rebuild when linker flag changes, Refer [1]. So remove this oe-specific patch, and change to filter out

[OE-core] [PATCH] dnf: remove log_lock.pid before exit

2024-03-06 Thread Changqing Li
From: Changqing Li dnf has a bug, refer [1], it causes that log_lock.pid may not removed after dnf exit. And for native dnf, since we change the lock file path to /, it will never be removed, and make the rootfs not clean,refer [2][3]. This patch is a workaround to fix above issue. [1] https

Re: [OE-core] [PATCH] go: filter out build specific path from the linker flags

2024-03-03 Thread Changqing Li
On 3/4/24 00:32, Richard Purdie wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Thu, 2024-02-29 at 09:21 +0800, Changqing Li wrote: From: Changqing Li patch 0007

Re: [OE-core] [PATCH V5] systemd: fix a dead link under /var/log

2024-02-29 Thread Changqing Li
On Behalf Of Alexander Kanavin Sent: den 29 februari 2024 10:01 To: Changqing Li Cc: Changqing Li;openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH V5] systemd: fix a dead link under /var/log On Thu, 29 Feb 2024 at 06:56, Changqing Li wrote: The solution is also good. But package

Re: [OE-core] [PATCH V5] systemd: fix a dead link under /var/log

2024-02-28 Thread Changqing Li
On 2/29/24 14:04, Khem Raj wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Wed, Feb 28, 2024 at 9:56 PM Changqing Li wrote: On 2/28/24 17:45, Alexander Kanavin

Re: [OE-core] [PATCH V5] systemd: fix a dead link under /var/log

2024-02-28 Thread Changqing Li
On 2/28/24 17:45, Alexander Kanavin wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Wed, 28 Feb 2024 at 04:19, Changqing Li wrote: 1. Currently, There is one line

[OE-core] [PATCH] go: filter out build specific path from the linker flags

2024-02-28 Thread Changqing Li
From: Changqing Li patch 0007-exec.go-do-not-write-linker-flags-into-buildids.patch removes linker flags from buildids for not breaking reproducibility, but it seems that this will make go not rebuild when linker flag changes, Refer [1]. So remove this oe-specific patch, and change to filter out

Re: [OE-core] [PATCH V5] systemd: fix a dead link under /var/log

2024-02-27 Thread Changqing Li
t references it from other files. What is beoding done with sed and grep is *really* hard to understand. I think these is what I am doing. Any more comments? if not, I can update the description of this patch to make things more clear. Thanks //Changqing Alex On Tue, 27 Feb 2024 at

Re: [OE-core] [PATCH V6] rxvt-unicode: Fix installing of terminfo

2024-02-27 Thread Changqing Li
On 2/27/24 17:37, Alexander Kanavin wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Tue, 27 Feb 2024 at 08:10, Changqing Li wrote: + + install -d ${D

[OE-core] [PATCH V6] rxvt-unicode: Fix installing of terminfo

2024-02-26 Thread Changqing Li
From: Changqing Li For cross compile, TIC will be native tic in recipe-sysroot-native, and the terminfo path will be native path, the rxvt-unicode terminfo will be wrongly installed to native path. disable the terminfo installation by setting TIC to : and use qemu to install terminfo to make

[OE-core] [PATCH V5] systemd: fix a dead link under /var/log

2024-02-26 Thread Changqing Li
From: Changqing Li Commit 6fe23ff31c0 changed README to a symlink to README.logs, and install README.logs under systemd doc dir. But for OE, systemd doc dir is splited into package systemd-doc, when it is not installed on the target, there will be an dead link: Eg: root@intel-x86-64:/var/log

Re: [OE-core] [PATCH V3] systemd: fix a dead link under /var/log

2024-02-17 Thread Changqing Li
On Behalf Of Changqing Li Sent: den 7 februari 2024 09:34 To:openembedded-core@lists.openembedded.org Subject: [OE-core] [PATCH V3] systemd: fix a dead link under /var/log From: Changqing Li Commit 6fe23ff31c0 changed README to a symlink to README.logs, and install README.logs under systemd doc dir

[OE-core] [PATCH V4] systemd: fix a dead link under /var/log

2024-02-17 Thread Changqing Li
From: Changqing Li Commit 6fe23ff31c0 changed README to a symlink to README.logs, and install README.logs under systemd doc dir. But for OE, systemd doc dir is splited into package systemd-doc, when it is not installed on the target, there will be an dead link: Eg: root@intel-x86-64:/var/log

[OE-core] [PATCH V2] tcmode-default.inc: use ?= to set PREFERRED_VERSION_llvm/llvm-native/nativesdk-llvm

2024-01-22 Thread Changqing Li
From: Changqing Li If meta-clang is included, LLVMVERSION might set to version different from llvm version in oe-core, and PREFERRED_PROVIDER_llvm set to clang, In this condition, following warning is reported: WARNING: preferred version 16.0.1 of llvm-native not available (for item llvm-native

Re: [OE-core] [PATCH] tcmode-default.inc: use ?= to set PREFERRED_VERSION_llvm/llvm-native/nativesdk-llvm

2024-01-21 Thread Changqing Li
7-1-martin.ja...@gmail.com/__;!!AjveYdw8EvQ!fHtiSeYD8TPEVNtjfDtPZrodZY3GykPPupY5y-fmJHKZ6GInFWbYKkRN5UpNDB4pdgdmAzzT-aah4fEExz_0nBedyN8m3FE$> On Fri, Jan 19, 2024 at 8:35 AM Changqing Li wrote: From: Changqing Li use ?= to set following configs in order to allow user to override the d

Re: [OE-core] [PATCH] tcmode-default.inc: use ?= to set PREFERRED_VERSION_llvm/llvm-native/nativesdk-llvm

2024-01-21 Thread Changqing Li
On 1/19/24 17:29, Richard Purdie wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Fri, 2024-01-19 at 15:35 +0800, Changqing Li wrote: From: Changqing Li use ?= to set

[OE-core] [PATCH] tcmode-default.inc: use ?= to set PREFERRED_VERSION_llvm/llvm-native/nativesdk-llvm

2024-01-18 Thread Changqing Li
From: Changqing Li use ?= to set following configs in order to allow user to override the default settings: PREFERRED_VERSION_llvm PREFERRED_VERSION_llvm-native PREFERRED_VERSION_nativesdk-llvm Signed-off-by: Changqing Li --- meta/conf/distro/include/tcmode-default.inc | 6 +++--- 1 file

Re: [OE-core] [RFC PATCH V2 0/5] Fix persistent tmp

2024-01-05 Thread Changqing Li
this patch to make it work for both sysV and systemd. Not sure if you still have those concerns now, so just kindly ping to check. Thanks Changqing On 12/11/23 08:58, Changqing Li wrote: From: Changqing Li Hi, All Currently, VOLATILE_TMP_DIR not works, set VOLATILE_TMP_DIR="no&quo

Re: [OE-core] [PATCH V4] rxvt-unicode: set correct outdir for tic

2023-12-26 Thread Changqing Li
suggestion about  which solution is better? [1] https://git.openembedded.org/openembedded-core/tree/meta/recipes-core/ncurses/ncurses.inc#n81 Thanks Changqing Ross On 22 Dec 2023, at 08:38, Changqing Li via lists.openembedded.org wrote: From: Changqing Li * tic is from ncurses-native, and set

[OE-core] [PATCH V4] rxvt-unicode: set correct outdir for tic

2023-12-22 Thread Changqing Li
From: Changqing Li * tic is from ncurses-native, and set TERMINFO as ${RECIPE_SYSROOT_NATIVE}/${datadir}/terminfo of ncurses-native, so the rxvt-unicode terminfo will be wrongly installed in there. set the outdir explicitly to install them to correct dir. * Add ncurses-native as DEPENDS to fix

[OE-core] [PATCH V3] man-pages: remove conflict pages

2023-12-20 Thread Changqing Li
From: Changqing Li Remove the pages which libxcrypt and shadow already have to avoid following conflicts during install man-pages and libxcrypt/shadow at the same time. Error: Transaction test error: file /usr/share/man/man3/crypt.3 from install of libcrypt-doc-4.4.33-r0.x86_64 conflicts

Re: [OE-core] [PATCH V2] libxcrypt.inc: use alternatives to resolve crypt.3 conflict

2023-12-20 Thread Changqing Li
On 12/19/23 16:29, Richard Purdie wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Tue, 2023-12-19 at 12:07 +0800, Changqing Li wrote: Kindly ping And why have

[OE-core] [PATCH V3] rxvt-unicode: set correct outdir for tic

2023-12-20 Thread Changqing Li
From: Changqing Li * tic is from ncurses-native, and set TERMINFO as ${RECIPE_SYSROOT_NATIVE}/${datadir}/terminfo of ncurses-native, so the rxvt-unicode terminfo will be wrongly installed in there. set the outdir explicitly to install them to correct dir. * Add ncurses-native as DEPENDS to fix

Re: [OE-core] [RFC PATCH V2 0/5] Fix persistent tmp

2023-12-18 Thread Changqing Li
kindly ping On 12/11/23 08:58, Changqing Li wrote: From: Changqing Li Hi, All Currently, VOLATILE_TMP_DIR not works, set VOLATILE_TMP_DIR="no", VOLATILE_LOG_DIR="no", after boot target, /var/tmp still link to tmpfs /var/volatile/tmp lrwxrwxrwx 1 root root 11 Mar 9

Re: [OE-core] [PATCH V2] libxcrypt.inc: use alternatives to resolve crypt.3 conflict

2023-12-18 Thread Changqing Li
. Regards Changqing On 12/6/23 13:34, Changqing Li wrote: From: Changqing Li To fix: Error: Transaction test error: file /usr/share/man/man3/crypt.3 from install of libcrypt-doc-4.4.33-r0.x86_64 conflicts with file from package man-pages-6.04-r0.x86_64 Signed-off-by: Changqing Li

Re: [OE-core] [PATCH] rxvt-unicode: set correct outdir for tic

2023-12-14 Thread Changqing Li
On 12/14/23 00:28, Alexander Kanavin wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Wed, 13 Dec 2023 at 09:30, Changqing Li wrote: +From

[OE-core] [PATCH V2] rxvt-unicode: set correct outdir for tic

2023-12-14 Thread Changqing Li
From: Changqing Li tic is from ncurses-native, and set TERMINFO as ${RECIPE_SYSROOT_NATIVE}/${datadir}/terminfo of ncurses-native, so the rxvt-unicode terminfo will be wrongly installed in there. set the outdir explicitly to install them to correct dir. Signed-off-by: Changqing Li

[OE-core] [PATCH] rxvt-unicode: set correct outdir for tic

2023-12-13 Thread Changqing Li
From: Changqing Li tic is from ncurses-native, and set TERMINFO as ${RECIPE_SYSROOT_NATIVE}/${datadir}/terminfo of ncurses-native, so the rxvt-unicode terminfo will be wrongly installed in there. set the outdir explicitly to install them to correct dir. Signed-off-by: Changqing Li

Re: [OE-core] [PATCH] rpm: workaround to remove dnf lock file

2023-12-10 Thread Changqing Li
On 12/8/23 18:21, Alexander Kanavin wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Fri, 8 Dec 2023 at 11:13, Changqing Li wrote: dnf has a bug, refer [1], it cause

Re: [OE-core] [PATCH 2/5] base-files: update dirs1777 and volatiles according to VOLATILE_TMP_DIR

2023-12-10 Thread Changqing Li
On Behalf Of Changqing Li Sent: den 8 december 2023 11:13 To: openembedded-core@lists.openembedded.org Subject: [OE-core] [PATCH 2/5] base-files: update dirs1777 and volatiles according to VOLATILE_TMP_DIR From: Changqing Li * update dirs1777 so that only create /var/volatiles/tmp when VOLATILE_TMP_DIR

[OE-core] [PATCH 5/5] eudev: create dir /tmp if persistent tmp is used

2023-12-10 Thread Changqing Li
From: Changqing Li the automount rule for udev needs /tmp directory available, if VOLATILE_TMP_DIR = yes, to make sure /var/volatile/tmp exist, if VOLATILE_TMP_DIR = no, to make sure /tmp exist. Signed-off-by: Changqing Li --- meta/recipes-core/udev/eudev_3.2.14.bb | 4 1 file changed, 4

[OE-core] [PATCH 3/5] initscripts: support persistent tmp

2023-12-10 Thread Changqing Li
From: Changqing Li * default volatiles file is for VOLATILE_TMP_DIR=yes, and VOLATILE_LOG_DIR=yes, if they set to no, remove volatile related config * replace /var/volatile/tmp with /var/tmp for populate-volatile.sh Signed-off-by: Changqing Li --- .../initscripts/initscripts-1.0/volatiles

[OE-core] [PATCH 4/5] systemd: support persistent tmp

2023-12-10 Thread Changqing Li
From: Changqing Li * update 00-create-volatile.conf, for volatile tmp, make /tmp -> /var/tmp, /var/tmp -> /var/volatile/tmp and set age of /var/volatile/tmp to 10d * if VOLATILE_TMP_DIR/VOLATILE_LOG_DIR set to no, remove volatile related configs from 00-create-volatile.conf Sign

[OE-core] [PATCH 1/5] bitbake.conf: set correct FILESYSTEM_PERMS_TABLES

2023-12-10 Thread Changqing Li
From: Changqing Li * Update fs-perms.txt as an common fs-perms file * Remove fs-perms-persistent-log.txt * Add fs-perms-volatile-log.txt and fs-perms-volatile-tmp.txt to be used when VOLATILE_LOG_DIR/VOLATILE_TMP_DIR set to yes Signed-off-by: Changqing Li --- meta/conf/bitbake.conf

[OE-core] [PATCH 2/5] base-files: update dirs1777 and volatiles according to VOLATILE_TMP_DIR

2023-12-10 Thread Changqing Li
From: Changqing Li * update dirs1777 so that only create /var/volatiles/tmp when VOLATILE_TMP_DIR set to yes, create /var/tmp when VOLATILE_TMP_DIR set to no * update volatiles so that only symlink /var/tmp to /var/volatiles/tmp when VOLATILE_TMP_DIR set to yes * mount /tmp as tmpfs fs when

[OE-core] [RFC PATCH V2 0/5] Fix persistent tmp

2023-12-10 Thread Changqing Li
From: Changqing Li Hi, All Currently, VOLATILE_TMP_DIR not works, set VOLATILE_TMP_DIR="no", VOLATILE_LOG_DIR="no", after boot target, /var/tmp still link to tmpfs /var/volatile/tmp lrwxrwxrwx 1 root root 11 Mar 9 2018 lock -> ../run/lock drwxr-xr-x 4 root roo

[OE-core] [PATCH 3/5] initscripts: support persistent tmp

2023-12-08 Thread Changqing Li
From: Changqing Li * default volatiles file is for VOLATILE_TMP_DIR=yes, and VOLATILE_LOG_DIR=yes, if they set to no, remove volatile related config * replace /var/volatile/tmp with /var/tmp for populate-volatile.sh Signed-off-by: Changqing Li --- .../initscripts/initscripts-1.0/volatiles

[OE-core] [PATCH 5/5] eudev: create dir /tmp if persistent tmp is used

2023-12-08 Thread Changqing Li
From: Changqing Li the automount rule for udev needs /tmp directory available, if VOLATILE_TMP_DIR = yes, to make sure /var/volatile/tmp exist, if VOLATILE_TMP_DIR = no, to make sure /tmp exist. Signed-off-by: Changqing Li --- meta/recipes-core/udev/eudev_3.2.14.bb | 4 1 file changed, 4

[OE-core] [PATCH 4/5] systemd: support persistent tmp

2023-12-08 Thread Changqing Li
From: Changqing Li * update 00-create-volatile.conf, for volatile tmp, make /tmp -> /var/tmp, /var/tmp -> /var/volatile/tmp and set age of /var/volatile/tmp to 10d * if VOLATILE_TMP_DIR/VOLATILE_LOG_DIR set to no, remove volatile related configs from 00-create-volatile.conf Sign

  1   2   3   4   5   >