[OE-core] [PATCH] perl/tcl: fix /usr/share/man/man3/Thread.3 conflicts

2019-12-20 Thread Hongxu Jia
While installing perl-doc and tcl-doc to image, there is a file conflicts at do_rootfs ... |file /usr/share/man/man3/Thread.3 conflicts between attempted installs of perl-doc-5.30.1-r0.core2_64 and tcl-doc-8.6.10-r0.core2_64 ... Use update-alternatives to fix Signed-off-by: Hongxu Jia --- meta

[OE-core] [PATCH V2] kbd: avoid vlock conflict with busybox

2019-12-13 Thread Hongxu Jia
Khem Raj The vlock doesn't exist if PAM isn't enabled. Signed-off-by: Hongxu Jia --- meta/recipes-core/kbd/kbd_2.2.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/kbd/kbd_2.2.0.bb b/meta/recipes-core/kbd/kbd_2.2.0.bb index 9556302..f252161 1006

[OE-core] [PATCH] assimp: fix search library failed on multilib

2019-12-12 Thread Hongxu Jia
ork/aarch64-wrs-linux/vulkan-demos/git-r0/recipe-sysroot/usr/lib/libassimp.so.5" | but this file does not exist. Possible reasons include: ... Since oe-core set ASSIMP_LIB_INSTALL_DIR to baselib, use it rather than hardcoded `/lib' to search library Signed-off-by: Hongxu Jia ---

Re: [OE-core] [PATCH] libpam: drop yylex to static force

2019-12-10 Thread Hongxu Jia
On 12/10/19 6:58 PM, Ross Burton wrote: +diff --git a/modules/pam_console/sed-static b/modules/pam_console/sed-static +index b9a6fa2..c7a850e 100644 +--- a/modules/pam_console/sed-static b/modules/pam_console/sed-static do_patch fails with: can't find file to patch at input line 40 I gu

[OE-core] [PATCH] libpam: drop yylex to static force

2019-12-09 Thread Hongxu Jia
yylex-to-static-force.patch @@ -0,0 +1,51 @@ +From 53f0fd76d6eb0ba5149d316647f83d3c56d1f9aa Mon Sep 17 00:00:00 2001 +From: Hongxu Jia +Date: Mon, 9 Dec 2019 18:31:06 -0800 +Subject: [PATCH] drop yylex to static force + +Since flex was upgraded to 2.6.4, there is a build failure +... +In file included

Re: [OE-core] [PATCH V4] gnupg-native: fix GPG homedir path length limit

2019-11-24 Thread Hongxu Jia
Ping //Hongxu On 11/11/19 3:43 PM, Hongxu Jia wrote: The gpg uses unix socket to communicate with its agent, before doing that, it checks whether the extra socketdir prefix (/tmp/gnupg,/run/,/var/run/gnupg, /var/run) has proper permissions. If all these checking failed, it will choose gpg

[OE-core] [PATCH V4] gnupg-native: fix GPG homedir path length limit

2019-11-10 Thread Hongxu Jia
ted-to-a-hundred-chars [4] https://lists.gnupg.org/pipermail/gnupg-users/2017-January/057451.html Signed-off-by: Hongxu Jia --- ...uild-GnuPG-with-an-extra-socketdir-below-.patch | 51 ...t-check-socketdir-to-be-owned-by-the-user.patch | 71 ++ meta/reci

[OE-core] [PATCH V3] gnupg-native: fix GPG homedir path length limit

2019-11-10 Thread Hongxu Jia
ted-to-a-hundred-chars [4] https://lists.gnupg.org/pipermail/gnupg-users/2017-January/057451.html Signed-off-by: Hongxu Jia --- ...uild-GnuPG-with-an-extra-socketdir-below-.patch | 51 ...t-check-socketdir-to-be-owned-by-the-user.patch | 71 ++ meta/reci

Re: [OE-core] [PATCH V2] gnupg-native: fix GPG homedir path length limit

2019-11-10 Thread Hongxu Jia
On 11/11/19 3:36 PM, Hongxu Jia wrote: The gpg uses unix socket to communicate with its agent, before doing that, it checks whether the extra socketdir prefix (/tmp/gnupg,/run/,/var/run/gnupg, /var/run) has proper permissions. If all these checking failed, it will choose gpg homedir as prefix to

[OE-core] [PATCH V2] gnupg-native: fix GPG homedir path length limit

2019-11-10 Thread Hongxu Jia
ted-to-a-hundred-chars [4] https://lists.gnupg.org/pipermail/gnupg-users/2017-January/057451.html Signed-off-by: Hongxu Jia --- ...uild-GnuPG-with-an-extra-socketdir-below-.patch | 51 ...t-check-socketdir-to-be-owned-by-the-user.patch | 71 ++ meta/reci

[OE-core] [PATCH] gnupg-native: fix GPG homedir path length limit

2019-11-10 Thread Hongxu Jia
ted-to-a-hundred-chars [4] https://lists.gnupg.org/pipermail/gnupg-users/2017-January/057451.html Signed-off-by: Hongxu Jia --- ...uild-GnuPG-with-an-extra-socketdir-below-.patch | 51 ...t-check-socketdir-to-be-owned-by-the-user.patch | 71 ++ meta/reci

[OE-core] [PATCH V2] go: fix CVE-2019-17596

2019-11-04 Thread Hongxu Jia
https://github.com/golang/go/commit/2017d88dbc096381d4f348d2fb08bfb3c2b7ed73 Signed-off-by: Hongxu Jia --- meta/recipes-devtools/go/go-1.12.inc | 1 + .../go/go-1.12/0010-fix-CVE-2019-17596.patch | 42 +++ 2 files changed, 43 insertions(+) create mode 100644 meta

[OE-core] [PATCH] go: fix CVE-2019-17596

2019-11-04 Thread Hongxu Jia
https://github.com/golang/go/commit/2017d88dbc096381d4f348d2fb08bfb3c2b7ed73 Signed-off-by: Hongxu Jia --- meta/recipes-devtools/go/go-1.12.inc | 1 + .../go/go-1.12/0010-fix-CVE-2019-17596.patch | 42 +++ 2 files changed, 43 insertions(+) create mode 100644 meta

[OE-core] [PATCH V2] python3-git: add python3-nose to RDEPENDS

2019-11-04 Thread Hongxu Jia
ine 10, in from nose.tools import ( ModuleNotFoundError: No module named 'nose' Signed-off-by: Hongxu Jia --- meta/recipes-devtools/python/python3-git_3.0.2.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/python/python3-git_3.0.2.bb b/meta/recipes-devt

[OE-core] [PATCH] add python3-nose to RDEPENDS

2019-11-04 Thread Hongxu Jia
ine 10, in from nose.tools import ( ModuleNotFoundError: No module named 'nose' Signed-off-by: Hongxu Jia --- meta/recipes-devtools/python/python3-git_3.0.2.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/python/python3-git_3.0.2.bb b/meta/recipes-devt

[OE-core] [PATCH] classes/image_types_wic.bbclass: fix racing risk on rootfs

2019-10-28 Thread Hongxu Jia
image based on the copy. Signed-off-by: Hongxu Jia --- meta/classes/image_types_wic.bbclass | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/meta/classes/image_types_wic.bbclass b/meta/classes/image_types_wic.bbclass index f350dc2..2a93143 100644 --- a/meta/classes

[OE-core] [PATCH] openssh: fix CVE-2019-16905

2019-10-18 Thread Hongxu Jia
Backport a patch from upstream to fix CVE-2019-16905 https://github.com/openssh/openssh-portable/commit/a546b17bbaeb12beac4c9aeed56f74a42b18a93a Signed-off-by: Hongxu Jia --- ...x-integer-overflow-in-XMSS-private-key-pa.patch | 40 ++ meta/recipes-connectivity/openssh

Re: [OE-core] [PATCH 3/3] elfutils: 0.176 -> 0.177

2019-08-23 Thread Hongxu Jia
On 8/23/19 10:26 PM, Adrian Bunk wrote: On Fri, Aug 23, 2019 at 09:28:11AM +0800, Hongxu Jia wrote: On 8/23/19 1:01 AM, Adrian Bunk wrote: On Thu, Aug 22, 2019 at 09:40:18AM +0800, Hongxu Jia wrote: - Update Debian patches http://ftp.de.debian.org/debian/pool/main/e/elfutils

[OE-core] [PATCH V2] elfutils: 0.176 -> 0.177

2019-08-22 Thread Hongxu Jia
debian/mips_cfi.patch - Fix build failure while applying debian patches 0001-fix-compile-failure-with-debian-patches.patch - Rebase musl patches Signed-off-by: Hongxu Jia --- .../{elfutils_0.176.bb => elfutils_0.177.bb} | 8 +- ...ferences-between-mips-machine-identifiers.patch |

Re: [OE-core] [PATCH 3/3] elfutils: 0.176 -> 0.177

2019-08-22 Thread Hongxu Jia
On 8/23/19 1:01 AM, Adrian Bunk wrote: On Thu, Aug 22, 2019 at 09:40:18AM +0800, Hongxu Jia wrote: - Update Debian patches http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.176-1.debian.tar.xz - Rebase Debian patches to 0.177 debian/hppa_backend.diff debian

Re: [OE-core] [PATCH 3/3] elfutils: 0.176 -> 0.177

2019-08-22 Thread Hongxu Jia
On 8/22/19 9:27 PM, Richard Purdie wrote: On Thu, 2019-08-22 at 09:40 +0800, Hongxu Jia wrote: - Update Debian patches http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.176-1.debian.tar.xz - Rebase Debian patches to 0.177 debian/hppa_backend.diff debian

[OE-core] [PATCH V2 2/3] ncurses: upgrade 6.1+20181013 -> 6.1+20190803

2019-08-21 Thread Hongxu Jia
--- .../ncurses/{ncurses_6.1+20181013.bb => ncurses_6.1+20190803.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-core/ncurses/{ncurses_6.1+20181013.bb => ncurses_6.1+20190803.bb} (87%) diff --git a/meta/recipes-core/ncurses/ncurses_6.1+20181013.bb b/meta/re

[OE-core] [PATCH V2 1/3] distcc: upgrade 3.3.2 -> 3.3.3

2019-08-21 Thread Hongxu Jia
--- meta/recipes-devtools/distcc/{distcc_3.3.2.bb => distcc_3.3.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/distcc/{distcc_3.3.2.bb => distcc_3.3.3.bb} (98%) diff --git a/meta/recipes-devtools/distcc/distcc_3.3.2.bb b/meta/recipes-devtools/distcc/dis

[OE-core] [PATCH 3/3] elfutils: 0.176 -> 0.177

2019-08-21 Thread Hongxu Jia
debian/mips_cfi.patch - Fix build failure while applying debian patches 0001-fix-compile-failure-with-debian-patches.patch Signed-off-by: Hongxu Jia --- .../{elfutils_0.176.bb => elfutils_0.177.bb} | 8 +- ...ferences-between-mips-machine-identifiers.patch | 12 +- ...1-fix-comp

[OE-core] [PATCH 1/3] distcc: upgrade 3.3.2 -> 3.3.3

2019-08-21 Thread Hongxu Jia
From: Upgrade Helper --- meta/recipes-devtools/distcc/{distcc_3.3.2.bb => distcc_3.3.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/distcc/{distcc_3.3.2.bb => distcc_3.3.3.bb} (98%) diff --git a/meta/recipes-devtools/distcc/distcc_3.3.2.bb b/meta/reci

[OE-core] [PATCH 2/3] ncurses: upgrade 6.1+20181013 -> 6.1+20190803

2019-08-21 Thread Hongxu Jia
From: Upgrade Helper --- .../ncurses/{ncurses_6.1+20181013.bb => ncurses_6.1+20190803.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-core/ncurses/{ncurses_6.1+20181013.bb => ncurses_6.1+20190803.bb} (87%) diff --git a/meta/recipes-core/ncurses/ncurses_6.1

[OE-core] [PATCH] util-linux: fix uuidd failed with /run/uuidd not found

2019-08-20 Thread Hongxu Jia
It failed to run uuidd ... root@qemux86-64:~# uuidd uuidd: cannot open /run/uuidd/uuidd.pid: No such file or directory ... Create dir /run/uuidd for both of systemd and sysvinit Signed-off-by: Hongxu Jia --- meta/recipes-core/util-linux/util-linux.inc | 21 + 1 file changed

[OE-core] [PATCH V3] nfs-utils: decrease RLIMIT_NOFILE to 4k for systemd

2019-08-19 Thread Hongxu Jia
: loaded (/etc/systemd/system/nfs-mountd.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2019-08-20 03:19:01 UTC; 1min 21s ago Main PID: 451 (rpc.mountd) Tasks: 1 (limit: 271) Memory: 736.0K Suggested-by: Chen Qi Signed-off-by: Hongxu Jia --- meta/recipes

[OE-core] [PATCH V2] systemd: add menson option to decrease RLIMIT_NOFILE on qemu bsp

2019-08-19 Thread Hongxu Jia
keep RLIMIT_NOFILE to 512k by default Signed-off-by: Hongxu Jia --- ...001-meson-add-option-to-set-RLIMIT_NOFILE.patch | 50 ++ meta/recipes-core/systemd/systemd_242.bb | 5 +++ 2 files changed, 55 insertions(+) create mode 100644 meta/recipes-core/systemd

Re: [OE-core] [PATCH] systemd: decreasing default RLIMIT_NOFILE on qemu bsp

2019-08-19 Thread Hongxu Jia
test //Hongxu Alex On Mon, 19 Aug 2019 at 15:34, Hongxu Jia <mailto:hongxu@windriver.com>> wrote: Since do_testimage for core-image-sato-sdk has memory limitation (256Mib) which caused rpc.statd failed with out of memory. [  531.306146] Out of memory: Ki

[OE-core] [PATCH] systemd: decreasing default RLIMIT_NOFILE on qemu bsp

2019-08-19 Thread Hongxu Jia
keep sync with sysvinit After applying the patch, the memory cost is the same with sysvinit rpcuser340 0.0 1.0 3212 2588 ?Ss 13:20 0:00 /usr/sbin/rpc.statd -F root 473 0.0 0.2 3464 496 ?Ss 13:23 0:00 /usr/sbin/rpc.mountd Signed-off-by: Hongxu Jia

[OE-core] [PATCH] grub: add grub-native

2019-08-07 Thread Hongxu Jia
Not only grub-efi-native, but also add grub-native to provide grub utilities on host Signed-off-by: Hongxu Jia --- meta/recipes-bsp/grub/grub-efi_2.04.bb | 2 -- meta/recipes-bsp/grub/grub2.inc| 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-bsp/grub

[OE-core] [PATCH] archive: fix racing between do_ar_patched and do_kernel_configme

2019-07-25 Thread Hongxu Jia
r.bbclass: do not cause kernel rebuilds] Signed-off-by: Hongxu Jia --- meta/classes/archiver.bbclass | 8 ++-- meta/lib/oe/sstatesig.py | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass index af9f010..72c

Re: [OE-core] [PATCH] xmlto: set CLEANBROKEN = "1"

2019-06-16 Thread Hongxu Jia
Ping //Hongxu On 5/21/19 4:49 PM, Hongxu Jia wrote: While rebuilding xmlto or xmlto-native, `make clean' in do_configure will remove man/man1/xmlif.1 which triger failure in do_compile $ bitbake xmlto-native $ bitbake xmlto-native -cconfigure -f $ bitbake xmlto-native -ccompi

Re: [OE-core] [PATCH] openssh: fix potential signed overflow in pointer arithmatic

2019-06-16 Thread Hongxu Jia
On 6/17/19 10:17 AM, Hongxu Jia wrote: Pointer arithmatic results in implementation defined signed integer type, so that 'd - dst’ in strlcat may trigger signed overflow if pointer ‘d’ is near 0x7fff in 32 bits system. In case of ompilation by gcc or clang with -ftrapv option, the ove

[OE-core] [PATCH] openssh: fix potential signed overflow in pointer arithmatic

2019-06-16 Thread Hongxu Jia
d-off-by: hguo3 Signed-off-by: Hongxu Jia --- ...ial-signed-overflow-in-pointer-arithmatic.patch | 26 -- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/meta/recipes-connectivity/openssh/openssh/fix-potential-signed-overflow-in-pointer-arithmatic.patch b

Re: [OE-core] [PATCH] diffutils/run-ptest: support to run at arbitrary path

2019-06-13 Thread Hongxu Jia
t.in1 not found, and 1 is my deeper improvement. I know most of ptest require to run in specific dir //Hongxu Ross On Thu, 13 Jun 2019 at 09:08, Hongxu Jia wrote: 1. Run run-ptest at arbitrary path 2. Fix large-subopt.in1 not found ... |diff: /lib32-diffutils/3.7-r0/build/../diffutils-3.7/

[OE-core] [PATCH] diffutils/run-ptest: support to run at arbitrary path

2019-06-13 Thread Hongxu Jia
-by: Hongxu Jia --- meta/recipes-extended/diffutils/diffutils/run-ptest | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-extended/diffutils/diffutils/run-ptest b/meta/recipes-extended/diffutils/diffutils/run-ptest index 695c5e8a7b..ad467d9bd0 100644 --- a/meta

Re: [OE-core] meta-openembedded git repo in some of the openembedded-core-contrib branches

2019-06-11 Thread Hongxu Jia
On 6/12/19 4:01 AM, Martin Jansa wrote: Hi, when accidentally checking for some old meta-oe commit in oe-core repository I was surprised that it was found in some of the contrib branches: Sorry for the mistake ~/openembedded-core $ git branch -a --contains 30bbde3d09e remotes/contrib/hong

[OE-core] [PATCH] groff: improve reproducibility

2019-06-03 Thread Hongxu Jia
ducibility Signed-off-by: Hongxu Jia --- .../groff/files/0001-fix-shebang-for-taget.patch | 31 -- meta/recipes-extended/groff/groff_1.22.4.bb| 3 +-- 2 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 meta/recipes-extended/groff/files/0001-fix-s

Re: [OE-core] [PATCH] grub/grub-efi: fix unrecognized command line option '-pipe-Wno-error' in CFLAGS

2019-06-03 Thread Hongxu Jia
Ping //Hongxu On 5/15/19 11:17 AM, Hongxu Jia wrote: Since commit [330fc83 grub: Use -Wno-error instead of doing this on a per-warning basis] applied in oe-core, it missed a space in append. Signed-off-by: Hongxu Jia --- meta/recipes-bsp/grub/grub2.inc | 2 +- 1 file changed, 1 insertion

[OE-core] [PATCH] lib/oe/reciputils.py: support character `+' in git pv

2019-06-03 Thread Hongxu Jia
6.1 6.1+20181013Hongxu Jia 7a97a7f937762ba342d5b2fd7cd090885a809835 With the commit: INFO: ncurses 6.1+20181013MATCH Hongxu Jia 7a97a7f937762ba342d5b2fd7cd090885a809835 Signed-off-by: Hongxu Jia --- meta/lib/oe/recipeutils.py | 2 +- 1

Re: [OE-core] [PATCH 05/10] ncurses: fix incorrect UPSTREAM_CHECK_GITTAGREGEX

2019-06-02 Thread Hongxu Jia
On 6/1/19 4:27 AM, Alexander Kanavin wrote: On Sun, 12 May 2019 at 10:18, Hongxu Jia <mailto:hongxu@windriver.com>> wrote: The upstream git tag has a `upstream/' prefix, such as: >>> import re >>> pattern = "upstream/(?P\d+(\.\d+)+(\+\

Re: [OE-core] [PATCH] xmlto: set CLEANBROKEN = "1"

2019-05-21 Thread Hongxu Jia
On 5/21/19 4:49 PM, Hongxu Jia wrote: While rebuilding xmlto or xmlto-native, `make clean' in do_configure will remove man/man1/xmlif.1 which triger failure in do_compile $ bitbake xmlto-native $ bitbake xmlto-native -cconfigure -f $ bitbake xmlto-native -ccompile -f Clarify two thing so

[OE-core] [PATCH] xmlto: set CLEANBROKEN = "1"

2019-05-21 Thread Hongxu Jia
ff-by: Hongxu Jia --- meta/recipes-devtools/xmlto/xmlto_0.0.28.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb index df798df..7d27c43 100644 --- a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb +++ b

Re: [OE-core] [PATCH] virglrenderer: fix compiling failure with `-fvisibility=default'

2019-05-19 Thread Hongxu Jia
On 5/19/19 10:30 PM, Hongxu Jia wrote: On 5/19/19 6:10 PM, Alexander Kanavin wrote: On Sun, 19 May 2019 at 07:01, Hongxu Jia wrote: +Extern global variable `util_cpu_caps' to multiple C source files is +not a good habit, it caused linking failure when making a shard object +in some

Re: [OE-core] [PATCH] virglrenderer: fix compiling failure with `-fvisibility=default'

2019-05-19 Thread Hongxu Jia
On 5/19/19 6:10 PM, Alexander Kanavin wrote: On Sun, 19 May 2019 at 07:01, Hongxu Jia wrote: +Extern global variable `util_cpu_caps' to multiple C source files is +not a good habit, it caused linking failure when making a shard object +in some cross compiling circumstance +... +|ld: ga

Re: [OE-core] [PATCH] virglrenderer: fix compiling failure with `-fvisibility=default'

2019-05-19 Thread Hongxu Jia
On 5/19/19 6:10 PM, Alexander Kanavin wrote: On Sun, 19 May 2019 at 07:01, Hongxu Jia wrote: +Extern global variable `util_cpu_caps' to multiple C source files is +not a good habit, it caused linking failure when making a shard object +in some cross compiling circumstance +... +|ld: ga

[OE-core] [PATCH] virglrenderer: fix compiling failure with `-fvisibility=default'

2019-05-18 Thread Hongxu Jia
ymbol `util_cpu_caps' can not be used when making a shared object |ld: final link failed: bad value ... Covert global variable to static and assign it only in one C source file, provide get function for other C source files Signed-off-by: Hongxu Jia --- ...util_cpu_caps-can-not-be-used-when-making.

Re: [OE-core] [PATCH V2] autotools.bbclass: output failed config.log

2019-05-15 Thread Hongxu Jia
On 5/15/19 10:01 PM, richard.pur...@linuxfoundation.org wrote: On Wed, 2019-05-15 at 21:32 +0800, Hongxu Jia wrote: If do_configure failed, output content of config.log to configure log, it is helpful to trace the do_configure failure on the build system which is hard to login. (such as

Re: [OE-core] [PATCH] autotools.bbclass: output failed config.log

2019-05-15 Thread Hongxu Jia
On 5/15/19 9:50 PM, Hongxu Jia wrote: The best available option might be to have a knob with default off, and autobuilders might be configured to dump config.log. See my V2 for detail //Hongxu -- ___ Openembedded-core mailing list Openembedded

Re: [OE-core] [PATCH] autotools.bbclass: output failed config.log

2019-05-15 Thread Hongxu Jia
On 5/15/19 9:42 PM, Adrian Bunk wrote: On Wed, May 15, 2019 at 08:30:03PM +0800, Hongxu Jia wrote: On 5/15/19 7:08 PM, Adrian Bunk wrote: The end of config.log often contains expected error messages completely unrelated to the actual problem. I am afraid you did not suffer pain from it, the

[OE-core] [PATCH V2] autotools.bbclass: output failed config.log

2019-05-15 Thread Hongxu Jia
If do_configure failed, output content of config.log to configure log, it is helpful to trace the do_configure failure on the build system which is hard to login. (such as autobuilder) Add a knob OUTPUT_CONFIG_LOG to control config.log output Signed-off-by: Hongxu Jia --- meta/classes

Re: [OE-core] [PATCH] autotools.bbclass: output failed config.log

2019-05-15 Thread Hongxu Jia
On 5/15/19 7:08 PM, Adrian Bunk wrote: The end of config.log often contains expected error messages completely unrelated to the actual problem. I am afraid you did not suffer pain from it, the most related message with do_configure failure is config.log. Take a example, as my previous commit

Re: [OE-core] [PATCH] autotools.bbclass: output failed config.log

2019-05-15 Thread Hongxu Jia
On 5/15/19 6:54 PM, Andreas Müller wrote: On Wed, May 15, 2019 at 11:50 AM Hongxu Jia wrote: On 5/15/19 5:32 PM, Andreas Müller wrote: --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass @@ -90,7 +90,11 @@ oe_runconf () { bbnote "Running $cfgs

Re: [OE-core] [PATCH] autotools.bbclass: output failed config.log

2019-05-15 Thread Hongxu Jia
On 5/15/19 5:32 PM, Andreas Müller wrote: --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass @@ -90,7 +90,11 @@ oe_runconf () { bbnote "Running $cfgscript ${CONFIGUREOPTS} ${EXTRA_OECONF} $@" if ! ${CACHED_CONFIGUREVARS} $cfgscript ${CONFIG

[OE-core] [PATCH] autotools.bbclass: output failed config.log

2019-05-15 Thread Hongxu Jia
If do_configure failed, output content of config.log to configure log, it is helpful to trace the do_configure failure on the build system which is hard to login. (such as autobuilder) Signed-off-by: Hongxu Jia --- meta/classes/autotools.bbclass | 6 +- 1 file changed, 5 insertions(+), 1

[OE-core] [PATCH] grub/grub-efi: fix unrecognized command line option '-pipe-Wno-error' in CFLAGS

2019-05-14 Thread Hongxu Jia
Since commit [330fc83 grub: Use -Wno-error instead of doing this on a per-warning basis] applied in oe-core, it missed a space in append. Signed-off-by: Hongxu Jia --- meta/recipes-bsp/grub/grub2.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-bsp/grub/grub2

[OE-core] [PATCH] oeqa/targetcontrol.py: fix qemuparams not work in runqemu with launch_cmd

2019-05-13 Thread Hongxu Jia
dden by latter qemuparams="-serial tcp:127.0.0.1" in QemuRunner.launch(); So we set qemuparams as a parameter in runqemu, the fix makes it work Signed-off-by: Hongxu Jia --- meta/lib/oeqa/targetcontrol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe

[OE-core] [PATCH] groff: imporve musl support

2019-05-12 Thread Hongxu Jia
Drop local fix, backport upstream gnulib fix and translate to tarball groff. Suggested-by: Adrian Bunk Signed-off-by: Hongxu Jia --- .../groff/files/0001-support-musl.patch| 39 ++ 1 file changed, 17 insertions(+), 22 deletions(-) diff --git a/meta/recipes

Re: [OE-core] [PATCH V2] groff: upgrade 1.22.3 -> 1.22.4

2019-05-12 Thread Hongxu Jia
It seems the patch has been merged to master, so I will send a fix rebased on that, please drop this V2, sorry for the noisy //Hongxu On 5/13/19 10:04 AM, Hongxu Jia wrote: - Drop groff-1.22.2-correct-man.local-install-path.patch and 0001-Unset-need_charset_alias-when-building-for

[OE-core] [PATCH V2] groff: upgrade 1.22.3 -> 1.22.4

2019-05-12 Thread Hongxu Jia
on to build the documentation.] - Remove groff depends groff-native, and add DEPENDS bison-native - Add 0001-fix-shebang-for-taget.patch - Add 0001-support-musl.patch Signed-off-by: Hongxu Jia --- .../groff/files/0001-fix-shebang-for-taget.patch | 31 .../00

Re: [OE-core] [PATCH 08/10] groff: upgrade 1.22.3 -> 1.22.4

2019-05-12 Thread Hongxu Jia
On 5/13/19 9:36 AM, Hongxu Jia wrote: It's a long story, the git version groff is using submodule gnulib rather than itself http://git.savannah.gnu.org/cgit/groff.git/commit/?id=5fec19d453983bc3127052e4f100110efda93786 Your suggestion works in this situation. But we do not use git

Re: [OE-core] [PATCH 08/10] groff: upgrade 1.22.3 -> 1.22.4

2019-05-12 Thread Hongxu Jia
On 5/13/19 3:20 AM, Adrian Bunk wrote: On Sun, May 12, 2019 at 04:16:28PM +0800, Hongxu Jia wrote: .. --- /dev/null +++ b/meta/recipes-extended/groff/files/0001-support-musl.patch @@ -0,0 +1,46 @@ +From f73df5196c35ef9c4531e4b6b26800c41954fd77 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia +Date

Re: [OE-core] [PATCH 04/10] bash: upgrade 4.4.18 -> 5.0

2019-05-12 Thread Hongxu Jia
On 5/12/19 4:30 PM, Adrian Bunk wrote: On Sun, May 12, 2019 at 04:16:24PM +0800, Hongxu Jia wrote: ... ...1-help-fix-printf-format-security-warning.patch | 35 - meta/recipes-extended/bash/bash/build-tests.patch | 7 +++- meta/recipes-extended/bash/bash/execute_cmd.patch

[OE-core] [PATCH 10/10] ghostscript: 9.26 -> 9.27

2019-05-12 Thread Hongxu Jia
- Rebase ghostscript-9.02-genarch.patch - Drop backported CVE patches Signed-off-by: Hongxu Jia --- .../ghostscript/CVE-2019-3835-0001.patch | 99 .../ghostscript/CVE-2019-3835-0002.patch | 71 --- .../ghostscript/CVE-2019-3835-0003.patch | 295

[OE-core] [PATCH 07/10] subversion: upgrade 1.11.1 -> 1.12.0

2019-05-12 Thread Hongxu Jia
* in build/ac-macros/ax_boost_base.m4 * in build/ac-macros/ax_boost_unit_test_framework.m4 Signed-off-by: Hongxu Jia --- .../subversion/subversion/disable_macos.patch | 45 + .../subversion/subversion/serfmacro.patch | 27 -- .../subversion-1.12.0-apr_1.7.0_fix-1.patch

[OE-core] [PATCH 09/10] libxml2: upgrade 2.9.8 -> 2.9.9

2019-05-12 Thread Hongxu Jia
- Drop backported fix-CVE-2017-8872.patch, fix-CVE-2018-14404.patch and 0001-Fix-infinite-loop-in-LZMA-decompression.patch Signed-off-by: Hongxu Jia --- ...1-Fix-infinite-loop-in-LZMA-decompression.patch | 55 -- .../libxml/libxml2/fix-CVE-2017-8872.patch | 65

[OE-core] [PATCH 00/10] Upgrade 9 recipes and 1 fix

2019-05-12 Thread Hongxu Jia
/openembedded-core-contrib/log/?h=hongxu/upgrade-20190510 Hongxu Jia (10): apr: upgrade 1.6.5 -> 1.7.0 man-pages: upgrade 4.16 -> 5.01 man-db: upgrade 2.8.4 -> 2.8.5 bash: upgrade 4.4.18 -> 5.0 ncurses: fix incorrect UPSTREAM_CHECK_GITTAGREGEX gpgme: upgrade 1.12.0 -> 1.13.0 subv

[OE-core] [PATCH 06/10] gpgme: upgrade 1.12.0 -> 1.13.0

2019-05-12 Thread Hongxu Jia
all installed python versions.] License-update: SPDX identifiers site and formats [8d91c0f Add SPDX identifiers to most source files] "s/LGPL-2.1+/LGPL-2.1-or-later/" "s#https://www.gnu.org/licenses#https://gnu.org/licenses#"; Signed-off-by: Hongxu Jia --- ...d-Make-gpgme.m4-u

[OE-core] [PATCH 05/10] ncurses: fix incorrect UPSTREAM_CHECK_GITTAGREGEX

2019-05-12 Thread Hongxu Jia
The upstream git tag has a `upstream/' prefix, such as: >>> import re >>> pattern = "upstream/(?P\d+(\.\d+)+(\+\d+)*)" >>> string = "upstream/6.1+20181013" >>> result = re.match(pattern, string) >>> result['pver&

[OE-core] [PATCH 04/10] bash: upgrade 4.4.18 -> 5.0

2019-05-12 Thread Hongxu Jia
- Rebase build-tests.patch and execute_cmd.patch to 5.0 - Drop 0001-help-fix-printf-format-security-warning.patch and pathexp-dep.patch, upstream has fixed them in commit [d233b48 bash-5.0 distribution sources and documentation] Signed-off-by: Hongxu Jia --- ...1-help-fix-printf-format

[OE-core] [PATCH 03/10] man-db: upgrade 2.8.4 -> 2.8.5

2019-05-12 Thread Hongxu Jia
Upstream shipped a systemd service in the following commit [bc52248 Ship a systemd timer for daily DB maintenance] Backward compatible, disable it by default Signed-off-by: Hongxu Jia --- .../recipes-extended/man-db/{man-db_2.8.4.bb => man-db_2.8.5.bb} | 9 ++--- 1 file changed

[OE-core] [PATCH 08/10] groff: upgrade 1.22.3 -> 1.22.4

2019-05-12 Thread Hongxu Jia
on to build the documentation.] - Remove groff depends groff-native, and add DEPENDS bison-native - Add 0001-fix-shebang-for-taget.patch - Add 0001-support-musl.patch Signed-off-by: Hongxu Jia --- .../groff/files/0001-fix-shebang-for-taget.patch | 31 +++ .../00

[OE-core] [PATCH 01/10] apr: upgrade 1.6.5 -> 1.7.0

2019-05-12 Thread Hongxu Jia
Signed-off-by: Hongxu Jia --- ..._t-size-doesn-t-match-in-glibc-when-cross.patch | 26 ++ .../apr/{apr_1.6.5.bb => apr_1.7.0.bb} | 4 ++-- 2 files changed, 14 insertions(+), 16 deletions(-) rename meta/recipes-support/apr/{apr_1.6.5.bb => apr_1.7.0.b

[OE-core] [PATCH 02/10] man-pages: upgrade 4.16 -> 5.01

2019-05-12 Thread Hongxu Jia
Signed-off-by: Hongxu Jia --- .../man-pages/{man-pages_4.16.bb => man-pages_5.01.bb}| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-extended/man-pages/{man-pages_4.16.bb => man-pages_5.01.bb} (87%) diff --git a/meta/recipes-extended/man-pag

[OE-core] [PATCH V2] acpica: use update-alternatives for acpidump

2019-05-05 Thread Hongxu Jia
acpidump is both provided by acpica and pmtools, so use update-alternatives to fix conflicts: ... |Error: Transaction check error: | file /usr/bin/acpidump conflicts between attempted installs of pmtools-20130209+git0+3ebe0e54c5-r0.i586 and acpica-20190405-r0.i586 ... Signed-off-by: Hongxu Jia

Re: [OE-core] [PATCH] acpica: use update-alternatives for acpidump

2019-05-05 Thread Hongxu Jia
On 5/6/19 10:26 AM, Hongxu Jia wrote: acpixtract is both provided by acpica and pmtools, so use s/acpixtract/acpica/ Sorry for the typo, V2 incoming //Hongxu update-alternatives to fix conflicts: ... |Error: Transaction check error: | file /usr/bin/acpidump conflicts between attempted

[OE-core] [PATCH] acpica: use update-alternatives for acpidump

2019-05-05 Thread Hongxu Jia
acpixtract is both provided by acpica and pmtools, so use update-alternatives to fix conflicts: ... |Error: Transaction check error: | file /usr/bin/acpidump conflicts between attempted installs of pmtools-20130209+git0+3ebe0e54c5-r0.i586 and acpica-20190405-r0.i586 ... Signed-off-by: Hongxu Jia

[OE-core] [PATCH] cpio/tar/native.bbclass: move rmt to sbindir and add a prefix to avoid native clashing

2019-05-05 Thread Hongxu Jia
The rmt in cpio-native and tar-native is clashing, since tar-native has set var-NATIVE_PACKAGE_PATH_SUFFIX, we move rmt to sbindir, and add suffix NATIVE_PACKAGE_PATH_SUFFIX to sbindir could avoid the clashing. And in Ubuntu, rmt is in sbindir $ which rmt /usr/sbin/rmt Signed-off-by: Hongxu Jia

[OE-core] [PATCH] image_types.bbclass: fix a race between the ubi and ubifs FSTYPES

2019-04-12 Thread Hongxu Jia
o not call mkfs.ubifs in do_image_ubi and depend on do_image_ubifs to create UBIFS images. The fix does not affect do_image_multiubi which still call mkfs.ubifs to create multiple UBIFS images and symlinks. [YOCTO #13272] Signed-off-by: Hongxu Jia --- meta/classes/image_types.bbclass | 5 +++

Re: [OE-core] [PATCH] linux-libc-headers: workaround do_install failure while host gcc version < 4.5

2018-12-14 Thread Hongxu Jia
Talked with Zhe, there is already fix on the thread, so please ignore this one [PATCH v4] linux-libc-headers: Fix build failure by using fixed temporary file instead of pip //Hongxu On 2018/12/14 下午4:54, Hongxu Jia wrote: Since kernel commit [e501ce9 x86: Force asm-goto], running `make

[OE-core] [PATCH] linux-libc-headers: workaround do_install failure while host gcc version < 4.5

2018-12-14 Thread Hongxu Jia
M_GOTO="1" to workaround the checking https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e501ce957a786ecd076ea0cfb10b114e6e4d0f40 https://unix.stackexchange.com/questions/456767/make-menuconfig-error-while-trying-to-build-kernel Signed-off-by: Hongxu Jia --- me

[OE-core] [PATCH] mdadm: fix gcc-8 format-truncation warning

2018-12-13 Thread Hongxu Jia
.c:236:3: note: 'snprintf' output between 5 and 12 bytes into a destination of size 11 | snprintf(nb, sizeof(nb), "%4d", d); [snip] Signed-off-by: Hongxu Jia --- .../0001-fix-gcc-8-format-truncation-warning.patch | 39 ++ meta/recipes-extended/mdadm/mdadm

[OE-core] [PATCH V3] pulseaudio: improve reproducibility

2018-12-11 Thread Hongxu Jia
There are two fixes, one is sent to upstream, and another is oe specific. [YOCTO #12638] Signed-off-by: Hongxu Jia --- meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 5 +- ...-special-build-flag-to-explicitly-disable.patch | 161 + ...lay-CLFAGS-to-improve

Re: [OE-core] [PATCH V2] pulseaudio: improve reproducibility

2018-12-07 Thread Hongxu Jia
On 2018/12/7 上午12:18, Burton, Ross wrote: Rejecting for the reasons discussed on the pulseaudio list. Look forward to a V3 :) OK, I will send it to upstream first, if they are OK with it, then I will send V3 //Hongxu Ross On Thu, 6 Dec 2018 at 06:36, Hongxu Jia wrote: There are two

[OE-core] [PATCH V2] glibc: improve reproducibility with multilib

2018-12-06 Thread Hongxu Jia
rebase it to 2.28 Here is the log of lib32-glibc [log.do_compile] |Adjust ldd script |ldd "/lib64/ld-linux-x86-64.so.2 /lib/ld-linux.so.2 /lib/ld-linux.so.2 /lib64/ld-linux-x86-64.so.2" -> "/lib/ld-linux.so.2 /lib64/ld-linux-x86-64.so.2" [log.do_compile] Signed-off-by: Hongxu

[OE-core] [PATCH V2] pulseaudio: improve reproducibility

2018-12-05 Thread Hongxu Jia
There are two fixes, one is sent to upstream, and another is oe specific. [YOCTO #12638] Signed-off-by: Hongxu Jia --- .../0001-improve-reproducibility-build.patch | 97 ++ ...lay-CLFAGS-to-improve-reproducibility-bui.patch | 30 +++ .../pulseaudio/pulseaudio_12.2

[OE-core] [PATCH 2/2] autoconf-doc: improve reproducibility

2018-12-04 Thread Hongxu Jia
entation. In particular: more details on usage, and on workarounds for non-updated projects. [YOCTO #12524] Signed-off-by: Juro Bystricky With applying this fix: "This manual (24 April 2012) .." Signed-off-by: Hongxu Jia --- .../AC_HEADER_MAJOR-port-to-glibc-2.25.patch | 8

[OE-core] [PATCH 1/2] pulseaudio: improve reproducibility

2018-12-04 Thread Hongxu Jia
Remove build host paths from generated binaries, the modification is harmless for build time compiling and runtime executing. [YOCTO #12638] Signed-off-by: Hongxu Jia --- .../pulseaudio/0001-improve-reproducibility.patch | 50 ++ .../pulseaudio/pulseaudio_12.2.bb

[OE-core] [PATCH 3/4] initramfs-module-setup-live: add umountfs

2018-12-03 Thread Hongxu Jia
7; Signed-off-by: Hongxu Jia --- meta/recipes-core/initrdscripts/initramfs-framework/umountfs | 10 ++ .../initrdscripts/initramfs-module-setup-live_1.0.bb | 3 +++ 2 files changed, 13 insertions(+) create mode 100644 meta/recipes-core/initrdscripts/initramfs-framework/umou

[OE-core] [PATCH 2/4] initramfs-module-setup-live: add realroot

2018-12-03 Thread Hongxu Jia
The setup-live module of initramfs-framework is introduced to integrate the functionality of init-live.sh, but it missed to create /media/realroot Refer init-live.sh, add scriptlet named `realroot' after scriptlet `union-fs' Signed-off-by: Hongxu Jia --- .../initrdscripts/initramfs

[OE-core] [PATCH 4/4] initrdscripts/init-live.sh: umount extra mount points

2018-12-03 Thread Hongxu Jia
' >> conf/local.conf $ echo 'KERNEL_FEATURES_append = " features/overlayfs/overlayfs.scc"' >> conf/local.conf $ bitbake core-image-minimal $ runqemu core-image-minimal slirp iso qemux86-64 login: root root@qemux86-64:~# touch /abc Signed-off-by: Hongxu Jia ---

[OE-core] [PATCH 1/4] initramfs-module-setup-live: support union fs

2018-12-03 Thread Hongxu Jia
;' >> conf/local.conf $ bitbake core-image-minimal $ runqemu core-image-minimal slirp iso qemux86-64 login: root root@qemux86-64:~# touch /abc Signed-off-by: Hongxu Jia --- .../initrdscripts/initramfs-framework/union-fs | 55 ++ .../initramfs-module-setup-live_1.0.

[OE-core] [PATCH] ghostscript: 9.25 -> 9.26

2018-11-27 Thread Hongxu Jia
- Drop backported CVE fixes 000[1-8]*.patch Signed-off-by: Hongxu Jia --- ...add-operand-checking-to-.setnativefontmap.patch | 59 --- ...Improve-hiding-of-security-critical-custo.patch | 434 - ...32-add-control-over-hiding-error-handlers.patch | 172

Re: [OE-core] [PATCH] devshell.bbclass/terminal.bbclass: add a shell check at devshell

2018-11-25 Thread Hongxu Jia
Ping, any comments? //Hongxu On 2018/9/3 下午3:09, Hongxu Jia wrote: While var-SHELL is neither `bash' or `dash', such as `csh', loading the wrapper script will fail at devshell, because csh does not support syntax `export'. Add a shell check at devshell, and use `/bin/sh&

Re: [OE-core] [PATCH] Revert "terminal.bbclass: use var-SHELL as the shebang of wrapper script"

2018-11-25 Thread Hongxu Jia
use since `ecdfdd7 sanity.bbclass: check /bin/sh is dash or bash' Signed-off-by: Hongxu Jia ---  meta/classes/devshell.bbclass | 4  meta/classes/terminal.bbclass | 4 +++-  2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/meta/classes/devshell.bbclass b/meta/cla

Re: [OE-core] ✗ patchtest: failure for Upgrade elfutils/gnupg/libgcrypt/ncurses

2018-11-23 Thread Hongxu Jia
On 2018/11/23 下午4:03, Patchwork wrote: == Series Details == Series: Upgrade elfutils/gnupg/libgcrypt/ncurses Revision: 1 URL : https://patchwork.openembedded.org/series/15056/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated

[OE-core] [PATCH 3/4] libgcrypt: upgrade 1.8.3 -> 1.8.4

2018-11-22 Thread Hongxu Jia
Signed-off-by: Hongxu Jia --- .../libgcrypt/{libgcrypt_1.8.3.bb => libgcrypt_1.8.4.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-support/libgcrypt/{libgcrypt_1.8.3.bb => libgcrypt_1.8.4.bb} (93%) diff --git a/meta/recipes-support/lib

[OE-core] [PATCH 0/4] Upgrade elfutils/gnupg/libgcrypt/ncurses

2018-11-22 Thread Hongxu Jia
://cgit.openembedded.org/openembedded-core-contrib/log/?h=hongxu/upgrade-20181109 Hongxu Jia (4): elfutils: 0.174 -> 0.175 gnupg: upgrade 2.2.10 -> 2.2.11 libgcrypt: upgrade 1.8.3 -> 1.8.4 ncurses: upgrade 6.1 -> 6.1+20181013 ...ses_6.1+20180714.bb => ncurses_6.1+20181013.bb} | 2 +- .../

  1   2   3   4   5   6   7   8   9   10   >