Re: [OE-core] [PATCH V4] u-boot-fw-utils: Add support for libubootenv

2020-01-13 Thread ChenQi
On 01/09/2020 05:31 PM, Stefano Babic wrote: Hi Chen, On 09/01/20 02:29, ChenQi wrote: Resend as previous email forgets to add Stefano. In case of multilib, the do_package fails with ERROR: libubootenv-0.2-r0 do_package: QA Issue: libubootenv: Files/directories were installed but not shipped

Re: [OE-core] [PATCH V4] u-boot-fw-utils: Add support for libubootenv

2020-01-08 Thread ChenQi
Resend as previous email forgets to add Stefano. In case of multilib, the do_package fails with ERROR: libubootenv-0.2-r0 do_package: QA Issue: libubootenv: Files/directories were installed but not shipped in any package: /usr/lib/libubootenv.so /usr/lib/libubootenv.so.0.2 Regards, Chen

Re: [OE-core] [PATCH V4] u-boot-fw-utils: Add support for libubootenv

2020-01-07 Thread ChenQi
In case of multilib, the do_package fails with ERROR: libubootenv-0.2-r0 do_package: QA Issue: libubootenv: Files/directories were installed but not shipped in any package: /usr/lib/libubootenv.so /usr/lib/libubootenv.so.0.2 Regards, Chen Qi On 01/03/2020 08:33 PM, Stefano Babic wrote:

Re: [OE-core] [PATCH] multilib.conf: Ensure that RECIPE_SYSROOT is unchanged for native

2019-12-17 Thread ChenQi
On 12/17/2019 09:55 PM, Mike Crowe wrote: On Tuesday 17 December 2019 at 16:56:11 +0800, ChenQi wrote: On 12/17/2019 04:02 PM, Mike Crowe via Openembedded-core wrote: Ensure that RECIPE_SYSROOT is the same for -native recipes whether multilib.conf is included or not. Without this change task

Re: [OE-core] [PATCH] multilib.conf: Ensure that RECIPE_SYSROOT is unchanged for native

2019-12-17 Thread ChenQi
On 12/17/2019 04:02 PM, Mike Crowe via Openembedded-core wrote: Ensure that RECIPE_SYSROOT is the same for -native recipes whether multilib.conf is included or not. Without this change task signatures for -native recipes change when switching between MACHINEs that require multilib.conf and

Re: [OE-core] [zeus][PATCH 1/2] python3: fix CVE-2019-16935

2019-10-23 Thread ChenQi
On 10/23/2019 06:59 PM, Ross Burton wrote: Zeus and master I presume? Ross Yes. These two are for zeus. I will send out another two for master to avoid conflicts. Best Regards, Chen Qi -- ___ Openembedded-core mailing list

Re: [OE-core] [PATCH] sqlite3: fix CVE-2019-16168

2019-10-15 Thread ChenQi
On 10/15/2019 06:50 PM, Ross Burton wrote: There's a queued upgrade to 3.30 for master, is this fixed in that release? Ross No such problem in 3.30. I've sent out a new patch tagged with '[zeus]'. Regards, Chen Qi -- ___ Openembedded-core mailing

Re: [OE-core] [PATCH V2 1/2] python3: CVE-2019-16056

2019-10-15 Thread ChenQi
Please help cherry pick these two CVE fixes into zeus branch if convenient. Best Regards, Chen Qi On 10/09/2019 04:36 PM, Chen Qi wrote: Signed-off-by: Chen Qi --- ...nt-parse-domains-containing-GH-13079.patch | 132 ++ meta/recipes-devtools/python/python3_3.7.4.bb | 5 +-

Re: [OE-core] Yocto Project Status WW39’19

2019-09-24 Thread ChenQi
On 09/24/2019 10:50 PM, Stephen K Jolley wrote: Current Dev Position: YP 2.8 M4 Feature Freeze Next Deadline: YP 3.0 Final Release 25th Oct SWAT Team Rotation: * SWAT lead is currently: Amanda * SWAT team rotation: Amanda -> Chen on Sept. 27, 2019 * SWAT team rotation:

Re: [OE-core] [PATCH v3] systemd: upgrade to 243

2019-09-23 Thread ChenQi
Hi Scott, This upgrade introduces a regression on NFS. You boot with NFS, you don't get login from serial console. This is because units wanted by multi-user.target are not started, including getty.target. To reproduce: 1. bitbake core-image-minimal 2. bitbake meta-ide-support 3.

Re: [OE-core] [PATCH] bind: fix build with python3 PACKAGECONFIG enabled

2019-08-29 Thread ChenQi
ping On 08/23/2019 04:56 PM, Chen Qi wrote: If the PACKAGECONFIG item, python3, is enabled, we get the following QA issue when multilib is enabled. ERROR: bind-9.11.5-P4-r0 do_package: QA Issue: bind: Files/directories were installed but not shipped in any package: /usr/lib

Re: [OE-core] [PATCH] core-image-sato-sdk: test image with 512M memory

2019-08-19 Thread ChenQi
On 08/16/2019 02:53 PM, Kang Kai wrote: On 2019/8/12 下午4:57, Kang Kai wrote: On 2019/7/27 下午4:42, Kang Kai wrote: On 2019/7/27 上午5:40, richard.pur...@linuxfoundation.org wrote: On Fri, 2019-07-26 at 05:23 -0400, kai.k...@windriver.com wrote: From: Kai Kang When run do_testimage for

Re: [OE-core] [PATCHv3] mdadm:fix mdmonitor.service

2019-07-30 Thread ChenQi
On 07/31/2019 09:50 AM, Zang Ruochen wrote: -The original file mdmonitor.service is as follows: ... |[Service] |Environment= MDADM_MONITOR_ARGS=--scan |EnvironmentFile=-/run/sysconfig/mdadm |ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh |ExecStart=/sbin/mdadm --monitor -y $MDADM_MONITOR_ARGS ...

Re: [OE-core] [PATCH] container-image-busybox: add a reference container image

2019-07-24 Thread ChenQi
On 07/24/2019 08:27 PM, Bruce Ashfield wrote: On Wed, Jul 24, 2019 at 6:00 AM ChenQi wrote: On 07/24/2019 05:38 PM, Burton, Ross wrote: Are you aware of container-test-image.bb? Curious what the point of this is. Ross Yes. It exists in meta-selftest, having an empty /usr/bin/theapp

Re: [OE-core] [PATCH] container-image-busybox: add a reference container image

2019-07-24 Thread ChenQi
On 07/24/2019 05:38 PM, Burton, Ross wrote: Are you aware of container-test-image.bb? Curious what the point of this is. Ross Yes. It exists in meta-selftest, having an empty /usr/bin/theapp, for the purpose of selftest. I think we could have some reference image for container. So I added

Re: [OE-core] [PATCH 1/1] msmtp: fix postinstall to avoid do_rootfs failure

2019-07-15 Thread ChenQi
On 07/15/2019 02:44 PM, Adrian Bunk wrote: On Mon, Jul 15, 2019 at 02:40:28PM +0800, ChenQi wrote: On 07/15/2019 02:17 PM, Adrian Bunk wrote: On Mon, Jul 15, 2019 at 01:35:15PM +0800, Chen Qi wrote: When lsb is enabled, that is, 'linuxstdbase' is in OVERRIDES, do_rootfs would fail if both

Re: [OE-core] [PATCH 1/1] msmtp: fix postinstall to avoid do_rootfs failure

2019-07-15 Thread ChenQi
On 07/15/2019 02:17 PM, Adrian Bunk wrote: On Mon, Jul 15, 2019 at 01:35:15PM +0800, Chen Qi wrote: When lsb is enabled, that is, 'linuxstdbase' is in OVERRIDES, do_rootfs would fail if both 'msmtp' and 'postfix' are installed. This is because they both try to create /usr/lib/sendmail link if

Re: [OE-core] sysstat no longer builds (was: [PATCH 0/1] sysstat: use service file from source codes)

2019-07-14 Thread ChenQi
On 07/12/2019 07:56 PM, Burton, Ross wrote: On Fri, 12 Jul 2019 at 12:21, Peter Kjellerstedt wrote: ERROR: sysstat-12.1.3-r0 do_package: SYSTEMD_SERVICE_sysstat value sysstat.service does not exist ERROR: sysstat-12.1.3-r0 do_package: ERROR: sysstat-12.1.3-r0 do_package: Function

Re: [OE-core] [PATCH V2] llvm: fix link error for powerpc

2019-07-12 Thread ChenQi
I'm recently getting llvm build failure on qemuppc. After reverting this patch, the build succeeds. My host is ubuntu16.04. I'm also wondering why autobuilder does not detect the build failure. No world build for qemuppc? Best Regards, Chen Qi On 04/02/2019 08:43 AM,

Re: [OE-core] [PATCH 1/1] buildtools-tarball: add nativesdk-libxml2-utils

2019-07-09 Thread ChenQi
On 07/09/2019 06:18 PM, Richard Purdie wrote: On Tue, 2019-07-09 at 17:36 +0800, ChenQi wrote: On 07/09/2019 09:38 AM, ChenQi wrote: On 07/09/2019 12:47 AM, Richard Purdie wrote: On Mon, 2019-07-08 at 15:37 +0800, Chen Qi wrote: For build-sysroots.bb, the xmlcatalog would not be in its

Re: [OE-core] [PATCH 1/1] buildtools-tarball: add nativesdk-libxml2-utils

2019-07-09 Thread ChenQi
On 07/09/2019 09:38 AM, ChenQi wrote: On 07/09/2019 12:47 AM, Richard Purdie wrote: On Mon, 2019-07-08 at 15:37 +0800, Chen Qi wrote: For build-sysroots.bb, the xmlcatalog would not be in its staging directory. Causing the following error for eSDK. ERROR: build-sysroots-1.0-r0

Re: [OE-core] [PATCH 1/1] buildtools-tarball: add nativesdk-libxml2-utils

2019-07-08 Thread ChenQi
On 07/09/2019 02:45 AM, Burton, Ross wrote: Agreed, making it a non-fatal dependency just means that some eSDKs break, not all. There needs to be a better fix. But it's already in buildtools, and eSDK installation process involves extracting buildtools and sourcing its script. Under which

Re: [OE-core] [PATCH 1/1] buildtools-tarball: add nativesdk-libxml2-utils

2019-07-08 Thread ChenQi
On 07/09/2019 12:47 AM, Richard Purdie wrote: On Mon, 2019-07-08 at 15:37 +0800, Chen Qi wrote: For build-sysroots.bb, the xmlcatalog would not be in its staging directory. Causing the following error for eSDK. ERROR: build-sysroots-1.0-r0 do_build_native_sysroot: Command

Re: [OE-core] [oe-core][PATCH 1/2] defaultsetup.conf: enable select init manager

2019-07-08 Thread ChenQi
On 07/06/2019 08:31 PM, richard.pur...@linuxfoundation.org wrote: On Sat, 2019-07-06 at 12:53 +0300, Adrian Bunk wrote: On Thu, Jul 04, 2019 at 09:45:19PM +0800, kai.k...@windriver.com wrote: From: Kai Kang Introduce a new variable INIT_MANAGER and create 3 init-manager- *.inc files to

Re: [OE-core] [PATCH 1/1] xmlcatalog.bbclass: execute xmlcatalog only if it's available

2019-07-08 Thread ChenQi
On 07/06/2019 12:38 AM, Burton, Ross wrote: We could just always install libxml2 into the SDK... Good idea. I'll send out a new patch. On Fri, 5 Jul 2019 at 02:18, Chen Qi wrote: For build-sysroots.bb, the xmlcatalog would not be in its staging directory. Causing the following error for

Re: [OE-core] [PATCH] shadow: update to 4.7

2019-07-02 Thread ChenQi
stigate more. Anyway, I think you can disable it via '--without-sssd' in recipe. Best Regards, Chen Qi On 07/03/2019 10:46 AM, Oleksandr Kravchuk wrote: Chen - Absolutely. Just explain me how I can reproduce it, please. On 03/07/2019 04:27, ChenQi wrote: Could you please help check if th

Re: [OE-core] [PATCH] shadow: update to 4.7

2019-07-02 Thread ChenQi
Could you please help check if the following failure is related to this patch? https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/763/steps/7/logs/step1b Best Regards, Chen Qi On 07/03/2019 04:52 AM, Oleksandr Kravchuk wrote: Removed patches were upstreamed. Signed-off-by:

Re: [OE-core] [PATCHv3 1/3] runqemu: Allow to store more than one lock for network interfaces

2019-07-02 Thread ChenQi
Could you please help check if the following failures are related to this patch series? https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/785/steps/7/logs/step1c https://autobuilder.yoctoproject.org/typhoon/#/builders/63/builds/766/steps/7/logs/step1c Regards, Chen Qi On

Re: [OE-core] [PATCH V2 1/1] image.bbclass: fix systemd_preset_all

2019-07-02 Thread ChenQi
On 07/03/2019 05:04 AM, Peter Kjellerstedt wrote: -Original Message- From: openembedded-core-boun...@lists.openembedded.org On Behalf Of ChenQi Sent: den 2 juli 2019 03:39 To: Peter Kjellerstedt ; openembedded- c...@lists.openembedded.org Subject: Re: [OE-core] [PATCH V2 1/1

Re: [OE-core] [PATCH] cve-update-db: Use std library instead of urllib3

2019-07-02 Thread ChenQi
I just tired to open the web but failed. The web seems down. Regards, Chen Qi On 07/02/2019 03:39 PM, ChenQi wrote: A recent do_populate_cve_db failure: https://autobuilder.yoctoproject.org/typhoon/#/builders/23/builds/1005/steps/7/logs/errors Could you please help look at what's going

Re: [OE-core] [PATCH] cve-update-db: Use std library instead of urllib3

2019-07-02 Thread ChenQi
A recent do_populate_cve_db failure: https://autobuilder.yoctoproject.org/typhoon/#/builders/23/builds/1005/steps/7/logs/errors Could you please help look at what's going on? Regards, Chen Qi On 06/24/2019 05:44 PM, Pierre Le Magourou wrote: From: Pierre Le Magourou urllib3 was used in this

Re: [OE-core] [PATCH V2 1/1] image.bbclass: fix systemd_preset_all

2019-07-01 Thread ChenQi
On 07/02/2019 07:34 AM, Peter Kjellerstedt wrote: -Original Message- From: openembedded-core-boun...@lists.openembedded.org On Behalf Of Chen Qi Sent: den 1 juli 2019 06:16 To: openembedded-core@lists.openembedded.org Subject: [OE-core] [PATCH V2 1/1] image.bbclass: fix

Re: [OE-core] [PATCH 1/1] devtool: warn user about multiple layer having the same base name

2019-06-27 Thread ChenQi
On 06/28/2019 07:25 AM, Paul Eggleton wrote: On Thursday, 27 June 2019 3:14:55 PM NZST Chen Qi wrote: Currently `devtool finish RECIPE meta' will silently succeed even if there are multiple layers having the same base name of 'meta'. e.g. meta layer from oe-core and meta layer from

Re: [OE-core] [PATCH v1] postinst-intercepts: check tool presence in intercept hooks

2019-06-25 Thread ChenQi
Under which circumstances will the tools be absent? And why do you check the existence of files for some the the existence of directories for others? Best Regards, Chen Qi On 06/26/2019 06:13 AM, Sinan Kaya wrote: do_rootfs: The postinstall intercept hook 'update_udev_hwdb' do_rootfs: The

Re: [OE-core] [PATCH 1/1] pkgdata: fix test_find_path to consider multilib

2019-06-17 Thread ChenQi
On 06/17/2019 11:51 PM, Richard Purdie wrote: On Mon, 2019-06-17 at 16:32 +0800, Chen Qi wrote: Fix test_find_path test case to take into consideration of multilib being enabled. After this change, no matter multilib is enabled or not, the test case should pass. Signed-off-by: Chen Qi ---

Re: [OE-core] [PATCH 1/1] manifest.py: fix test_SDK_manifest_entries

2019-06-17 Thread ChenQi
On 06/17/2019 11:54 PM, Richard Purdie wrote: On Mon, 2019-06-17 at 17:24 +0800, Chen Qi wrote: TOOLCHAIN_OUTPUTNAME could be overridden. So use this variable directly instead of its default value ${SDK_NAME}-toolchain-${SDK_VERSION}. Signed-off-by: Chen Qi ---

Re: [OE-core] [PATCH v2] openssl: Fix a build bug on aarch64BE.

2019-06-16 Thread ChenQi
On 06/06/2019 05:46 AM, Lei Maohui wrote: Fix bug as following on aarch64BE: Error: operand 1 must be an integer register -- `rev v31.16b,v31.16b' https://github.com/openssl/openssl/pull/9151 Upstream-Status: Submitted Signed-off-by: Lei Maohui ---

Re: [OE-core] [PATCH 1/1] util-linux: upgrade to 2.33.2

2019-06-11 Thread ChenQi
On 06/12/2019 01:43 PM, Adrian Bunk wrote: On Wed, Jun 12, 2019 at 10:06:33AM +0800, Chen Qi wrote: The license files' names are changed, but the contents remain the same. Signed-off-by: Chen Qi --- meta/recipes-core/util-linux/util-linux.inc | 16

Re: [OE-core] [PATCH v2 3/4] elfutils: Fix eu-* utils builds for musl

2019-05-29 Thread ChenQi
There's some musl elfutils failure about do_compile_ptest_base on autobuilder. https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/645/steps/7/logs/step1b I noticed that this patch is not yet in master-next. Can this patch solve the problem above? Best Regards, Chen Qi On

Re: [OE-core] Should systemd be marked as incompatible with musl?

2019-05-23 Thread ChenQi
On 05/23/2019 08:22 PM, Burton, Ross wrote: On Thu, 23 May 2019 at 11:34, Adrian Bunk wrote: systemd is fundamentally Linux-only and not portable to other kernels. systemd upstream is using glibc extensions not present in other C libraries. systemd upstream is accepting technically correct

Re: [OE-core] "shutdown now" Hangs Since 1d453c9087f9 ("systemd: upgrade to 242")

2019-05-09 Thread ChenQi
I also just did a simple test, v242 without any oe patches has the same problem. It seems that it's a change in systemd upstream. I'm wondering why oe-selftest did not discover this problem. Best Regards, Chen Qi On 05/09/2019 01:18 PM, He Zhe wrote: Hi, Since 1d453c9087f9 ("systemd:

Re: [OE-core] [meta-oe][PATCH 1/3] systemd: remove 2 obsolete useradds

2019-04-15 Thread ChenQi
On 04/16/2019 05:49 AM, adrian.freiho...@gmail.com wrote: On Mon, 2019-04-15 at 09:40 +0800, ChenQi wrote: On 04/14/2019 09:24 PM, Adrian Freihofer wrote: - Users systemd-journal-remote and systemd-journal-upload are not used by I guess you mean 'systemd-journal-gateway'? You are right. I

Re: [OE-core] [meta-oe][PATCH 1/3] systemd: remove 2 obsolete useradds

2019-04-14 Thread ChenQi
On 04/14/2019 09:24 PM, Adrian Freihofer wrote: - Users systemd-journal-remote and systemd-journal-upload are not used by I guess you mean 'systemd-journal-gateway'? Anyway, I have some concern about this change. Adding these users is not supposed to cause any runtime problem, as if the user

Re: [OE-core] [PATCH 1/1] runqemu: do not check return code of tput

2019-04-11 Thread ChenQi
ping On 01/25/2019 11:18 AM, Chen Qi wrote: The subprocess.run was replaced by subprocess.check_call because of compatibility support down to python 3.4. But we really don't care about whether that command succeeds. Some user reports that in some tmux environment, this command fails and gives

Re: [OE-core] [PATCH] libatomic-ops:upgrade 7.6.8 -> 7.6.10

2019-03-31 Thread ChenQi
It seems that you didn't remove the old version. Best Regards, Chen Qi On 04/01/2019 09:44 AM, Zang Ruochen wrote: -Upgrade from libatomic-ops_7.6.8.bb to libatomic-ops_7.6.10.bb. Signed-off-by: Zang Ruochen --- .../libatomic-ops/libatomic-ops_7.6.10.bb | 22 +++ 1

Re: [OE-core] [PATCH 6/8] binutils: fix upstream version check

2019-03-28 Thread ChenQi
Hi Alexander, I just sent out a patch to change the PV to "2.32". If it's 2.32, does this var still needs to be set? Best Regards, Chen Qi On 03/27/2019 10:09 PM, Alexander Kanavin wrote: Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/binutils/binutils-2.32.inc | 5 + 1

Re: [OE-core] [PATCH] libpcre2: fix CVE-2017-7186

2019-03-07 Thread ChenQi
This patch seems to cause https://autobuilder.yoctoproject.org/typhoon/#/builders/73/builds/370/steps/7/logs/errors Best Regards, Chen Qi On 03/07/2019 06:51 AM, Ross Burton wrote: Signed-off-by: Ross Burton --- .../libpcre/libpcre2/CVE-2017-7186.patch | 83 ++

Re: [OE-core] [PATCH 3/3] systemd-boot: upgrade to 241

2019-03-01 Thread ChenQi
DIR} \ -Defi-libdir=${STAGING_LIBDIR} \ -Dman=false \ - -Defi-cc='${EFI_CC}' \ + -Defi-cc='${CC}' \ -Defi-ld='${LD}' \ " The above change is not needed. I've fixed it and updated the remote b

Re: [OE-core] [PATCH] glibc-locale: Rewrite do_install using install utility instead of cp

2019-02-27 Thread ChenQi
Just to provide some feedback. Even with this patch, this annoying QA issue is still there. WARNING: glibc-locale-2.29-r0 do_package_qa: QA Issue: glibc-locale: /glibc-binary-localedata-wo-sn/usr/lib/locale/wo_SN/LC_CTYPE is owned by uid 1001, which is the same as the user running bitbake. This

Re: [OE-core] [PATCH 1/1] devtool.py: remove fetch results from download directory to avoid failure

2019-01-21 Thread ChenQi
On 01/21/2019 05:53 PM, Richard Purdie wrote: On Mon, 2019-01-21 at 17:29 +0800, Chen Qi wrote: The fetch results need to be removed from the download directory to avoid failures like below. Submodule path 'doxyport': checked out 'db3e1a6eb8677d3166d90d82c3068689803ce547' fatal:

Re: [OE-core] ✗ patchtest: failure for target-sdk-provides-dummy: add more perl modules to avoid populate_sdk failure

2019-01-09 Thread ChenQi
Is this sanity check wrong? I'm pretty sure this patch applies to poky's latest master branch. BTW, I cannot find this 65c419b8c4 commit in both poky and oe-core repo. Best Regards, Chen Qi On 01/10/2019 10:33 AM, Patchwork wrote: == Series Details == Series: target-sdk-provides-dummy: add

Re: [OE-core] [PATCH 1/1] netbase/base-files: move /etc/hosts from netbase to base-files

2019-01-08 Thread ChenQi
On 01/08/2019 09:00 PM, Burton, Ross wrote: On Tue, 8 Jan 2019 at 12:47, wrote: Not so good if hostname isn't set? hostname = "${MACHINE}" Hostname is always set. :) Its the kind of thing people likely bbappend and change, or set from overrides. Which was one of the reasons I'm nervous

Re: [OE-core] [PATCH 1/1] netbase: add entry to /etc/hosts according to /etc/hostname

2019-01-07 Thread ChenQi
On 01/07/2019 10:38 PM, Richard Purdie wrote: On Fri, 2018-12-14 at 21:45 +, Burton, Ross wrote: On Fri, 30 Nov 2018 at 02:18, Chen Qi wrote: We default hostname to ${MACHINE}, but it's not in /etc/hosts, resulting in commands like `hostname -f' failing due to lack of entry. So add entry

Re: [OE-core] gdb failure on simplest hello world program -- oe-selftest

2019-01-06 Thread ChenQi
Hi All, I've filed a bug for this issue. https://bugzilla.yoctoproject.org/show_bug.cgi?id=13123 I could spend time to work on it, but I really don't know how to start. Hope some experts could help or give me some advice. Best Regards, Chen Qi On 12/29/2018 11:26 AM, ChenQi wrote: On 12/29

Re: [OE-core] [PATCH 0/7] systemd patches

2019-01-01 Thread ChenQi
Hi Jonas, I'd like to talk about this patchset from a non-technical view. And to be brief, my conclusion is suggesting using some switch, e.g. DISTRO_FEATURE, to control this 'stateless' behavior. Please see details below. This patchset is based on two assumptions: 1) Users would generally

Re: [OE-core] gdb failure on simplest hello world program -- oe-selftest

2018-12-28 Thread ChenQi
On 12/29/2018 01:09 AM, Khem Raj wrote: On 12/28/18 8:31 AM, richard.pur...@linuxfoundation.org wrote: On Fri, 2018-12-28 at 17:49 +0800, ChenQi wrote: On 12/26/2018 07:06 PM, richard.pur...@linuxfoundation.org wrote: On Wed, 2018-12-26 at 10:09 +0800, ChenQi wrote: Hi All, 'oe-selftest

Re: [OE-core] gdb failure on simplest hello world program -- oe-selftest

2018-12-28 Thread ChenQi
On 12/26/2018 07:06 PM, richard.pur...@linuxfoundation.org wrote: On Wed, 2018-12-26 at 10:09 +0800, ChenQi wrote: Hi All, 'oe-selftest -r package.PackageTests.test_gdb_hardlink_debug' fails. I did the tests on both my Fedora27 and ubuntu16.04 servers. They both failed. I can also reproduce

[OE-core] gdb failure on simplest hello world program -- oe-selftest

2018-12-25 Thread ChenQi
Hi All, 'oe-selftest -r package.PackageTests.test_gdb_hardlink_debug' fails. I did the tests on both my Fedora27 and ubuntu16.04 servers. They both failed. I can also reproduce this issue manually. I did some investigation. No clue how to fix this it. So I want to seek help from community.

Re: [OE-core] [PATCH 4/4] oeqa/sdk: rewrite lzip test

2018-12-11 Thread ChenQi
There's a failure related to this patch. https://autobuilder.yoctoproject.org/typhoon/#/builders/48/builds/80/steps/7/logs/step1c Best Regards, Chen Qi On 12/11/2018 01:11 AM, Ross Burton wrote: Don't use the helper class as it gets in the way more than it helps, exercise the out-of-tree

Re: [OE-core] [PATCH 1/1] oeqa: drop support of listing machines in QEMU_USE_KVM

2018-12-09 Thread ChenQi
On 12/07/2018 07:02 PM, Richard Purdie wrote: On Thu, 2018-12-06 at 14:30 +0800, Chen Qi wrote: We want QEMU_USE_KVM to only set to some boolean value, with possible MACHINE override. Drop the support of listing machines in this variable, and give users error message if they still do so. Error

Re: [OE-core] [PATCH] util-linux: split out blkdiscard into its own package

2018-12-03 Thread ChenQi
I think this is a good idea. I opened a new bug in bugzilla to track it, and assigned it to myself. Ross, please check the bug description to see if that's what you want. Andre, if you want to work on it, take the bug and let me know. Best Regards, Chen Qi On 12/04/2018 12:40 AM, Burton, Ross

Re: [OE-core] [PATCH 6/8] busybox: remove three hostname test cases

2018-11-21 Thread ChenQi
On 11/21/2018 08:16 PM, Burton, Ross wrote: On Wed, 21 Nov 2018 at 05:35, Chen Qi wrote: These three test case are removed because of two reasons. 1) net-tools' hostname have different behaviour regarding some options So when net-tools is installed, test cases may fail. e.g. test

Re: [OE-core] [PATCH 5/8] busybox: use example.org instead of google.com in wget test case

2018-11-19 Thread ChenQi
On 11/16/2018 01:43 AM, Burton, Ross wrote: On Thu, 15 Nov 2018 at 01:57, Chen Qi wrote: Use example.org to ensure it's always reachible. Is this because of China's firewall? You'd think that google.com would have excellent uptime. Ross I guess so. I agree that google.com has excellent

Re: [OE-core] [PATCH 8/8] busybox: add coreutils to RDEPENDS of busybox-ptest

2018-11-15 Thread ChenQi
On 11/15/2018 05:23 PM, Richard Purdie wrote: On Thu, 2018-11-15 at 10:02 +0800, Chen Qi wrote: busybox's echo test cases needs 'od' command to have '-t' option support. However, our busybox disable it by default by not setting CONFIG_DESKTOP. CONFIG_DESKTOP affects many busybox utilities. So

Re: [OE-core] [PATCH] oeqa/runtime: Add tests for gstreamer CLI

2018-11-08 Thread ChenQi
Hi Peng, Does it require some gstreamer packages to be available on target? Maybe some @OEHasPackage decorator needs to be added? Best Regards, Chen Qi On 11/08/2018 04:02 PM, Yeoh Ee Peng wrote: We should not be finding GStreamer issues right around release time but that's what we seem to

Re: [OE-core] [PATCH] ghostscript: Define COMPATIBLE_HOST with supported platforms

2018-11-07 Thread ChenQi
This patch causes the following failure on autobuilder. https://autobuilder.yoctoproject.org/typhoon/#/builders/32/builds/183/steps/7/logs/step1c Best Regards, Chen Qi On 11/07/2018 04:47 PM, Nathan Rossi wrote: Setup the COMPATIBLE_HOST variable with all supported hosts based on the provided

Re: [OE-core] [PATCH] shadow: improve reproducibility by hard-coding shell path

2018-11-07 Thread ChenQi
On 11/07/2018 04:00 PM, Martin Hundebøll wrote: The shadow configure script tries really hard to detect the running shell to make sure it doesn't do unsupported calls. On my system the shell is detected as /bin/sh, while a build in an ubuntu docker it resolves to /bin/bash. And since the shell

Re: [OE-core] ✗ patchtest: failure for systemd: backport patches to fix 3 CVEs (rev2)

2018-11-02 Thread ChenQi
Hi All, I finally found out the problem. I think the cve tag checking logic in patchtest-oe has some problem. The current logic errors out if and only if the patch has a line which begins with 'CVE--' and contains nothing else. It does not error out if the patch contains no CVE

Re: [OE-core] [PATCH 1/2] go: Upgrade to 1.11.1

2018-10-28 Thread ChenQi
Hi Khem, This patch seems to cause do_compile_ptest_base failure for go-dep recipe on qemumips and qemumips64. Reproduce steps: 1. ensure ptest is in distro features 2. MACHINE=qemumips64 bitbake go-dep I tried to look into the failure but I really do not know much about go. Could you please

Re: [OE-core] [meta-python][PATCHV2] Add recipes for django rest framework

2018-10-26 Thread ChenQi
Hi Joris, I think this patch should be sent to openembedded-de...@lists.openembedded.org Title should be "[oe][meta-python][PATCH] Add recipes for django rest framework" Best Regards, Chen Qi On 10/26/2018 03:54 PM, Joris Offouga wrote: For create a database with django Signed-off-by:

Re: [OE-core] [PATCH] sysklogd: add alternatives for klogd and syslogd

2018-10-25 Thread ChenQi
On 10/26/2018 12:53 PM, Victor Kamensky via Openembedded-core wrote: Otherwise when used in presense of busybox that provides its own version of klogd and syslogd, image packaging complains that klogd exists and it is not syymbolic link. Failure happens only if image packaging script install

[OE-core] About uninative-tarball update

2018-10-24 Thread ChenQi
Hi Richard, We recently got the following warning when building on ubuntu 18.10. WARNING: Your host glibc verson (2.28) is newer than that in uninative (2.27). Disabling uninative so that sstate is not corrupted. I checked the official uninative tarball on

Re: [OE-core] [PATCH 1/1] systemd: add back alternatives for init utitilies

2018-10-24 Thread ChenQi
On 10/24/2018 05:48 AM, Richard Purdie wrote: On Mon, 2018-10-22 at 15:03 +0800, Chen Qi wrote: Add back alternatives for init utilities to avoid regression. These alternatives were removed when upgradeing systemd to 239. They were removed out of the logic that init utitilies should be bound

Re: [OE-core] [PATCH 1/1] systemd: add back alternatives for init utitilies

2018-10-22 Thread ChenQi
On 10/21/2018 05:37 AM, Richard Purdie wrote: On Fri, 2018-10-19 at 13:19 +0800, Chen Qi wrote: Add back alternatives for init utilities to avoid regression. These alternatives were removed when upgradeing systemd to 239. They were removed out of the logic that init utitilies should be bound

Re: [OE-core] [PATCH] os-release: move to nonarch_libdir

2018-10-18 Thread ChenQi
I suspect this is the correct fix for multilib conflict of os-release after the allarch/multilib change. Kai, could you please verify if the following patch could be dropped with this patch applied? commit 591a11ba58ce3c2c147bb1f8202bc6a0092b70eb Author: Kai Kang Date: Wed Oct 3 00:27:14

Re: [OE-core] [PATCH 1/4] systemd: Remove items that made this machine (qemu) specific

2018-10-18 Thread ChenQi
On 10/18/2018 12:43 AM, Mark Hatle wrote: Create a new systemd-conf recipe to contain the specific system/machine configuration items. This new package is now machine specific. Without doing this trying to create a single system with multiple BSPs, one of which was qemu based, would result in

Re: [OE-core] [PATCH] util-linux: Fix unshare alternative package

2018-10-11 Thread ChenQi
I sent a similar patch which, in addition to changes in this patch, also removes 'unshare' from ALTERNATIVE_${PN}. The title is "util-linux: fix alternatives setting for unshare". Best Regards, Chen Qi On 10/11/2018 09:44 PM, Otavio Salvador wrote: The link was not being generated for the

Re: [OE-core] [PATCH 1/1] glibc: refresh patch to also fix qemuppc

2018-10-08 Thread ChenQi
Richard, I'll consider more about maintenance issue next time. Martin, thanks for taking care of this. Best Regards, Chen Qi On 09/29/2018 08:55 PM, Martin Jansa wrote: I'm refreshing the patch based on feedback from upstream, I'll integrate the changes for ppc as well. On Sat, Sep 29, 2018

Re: [OE-core] [PATCH 2/2] webkitgtk: fix to build without opengl

2018-10-08 Thread ChenQi
On 10/01/2018 07:11 PM, Burton, Ross wrote: >From the libepoxy web site: "Epoxy is a library for handling OpenGL function pointer management for you" libepoxy is essentially a glorified wrapper around dlopen()/dlsym(). Are you simply moving the failure from build time to run time? libepoxy

Re: [OE-core] [PATCH 1/2] webkitgtk: add opengl to REQUIRED_DISTRO_FEATURES

2018-10-08 Thread ChenQi
ping I think webkitgtk does require the 'opengl' distro feature. We have in mesa.inc: PACKAGECONFIG ??= " \ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl egl gles gbm dri', '', d)} \ ..." PROVIDES = " \

Re: [OE-core] [PATCH 1/2] webkitgtk: add opengl to REQUIRED_DISTRO_FEATURES

2018-10-08 Thread ChenQi
ping I think webkitgtk does require the 'opengl' distro feature. Best Regards, Chen Qi On 09/03/2018 05:35 PM, Hongxu Jia wrote: They can't be built without opengl in DISTRO_FEATURES. [snip] |webkitgtk-2.20.3/Source/WebCore/platform/graphics/OpenGLShims.h:23:10: fatal error: GL/gl.h: No such

Re: [OE-core] [PATCH 1/1] runqemu: fix handling of SIGTERM and the problem of line wrapping

2018-09-24 Thread ChenQi
On 09/21/2018 11:05 PM, Burton, Ross wrote: Is there a good reason why shell=True is used in the first place? Just change the cmd to a list, stop passing shell=True, and you don't need to dance around process groups. Thanks for your suggestion. I'll send out V2 if all things go well with my

Re: [OE-core] [PATCH 1/1] autotools: do more cleanup when in do_configure

2018-09-10 Thread ChenQi
On 09/10/2018 06:24 PM, Burton, Ross wrote: On 10 September 2018 at 11:02, Chen Qi wrote: I met the following error when compiling some projects. | configure: error: `LDFLAGS' has changed since the previous run: | configure: former value: `-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed' |

Re: [OE-core] [PATCH] systemd: set split-bin to true by default

2018-09-09 Thread ChenQi
Thanks for fixing this error. I saw you were sending this patch to the yocto mailing list. That's not necessary. This mailing list is the correct place to send patch. Please wait for merge. Best Regards, Chen Qi On 09/07/2018 11:41 PM, Anton Gerasimov wrote: Not doing so will make meson

Re: [OE-core] [PATCH 7/8] busybox: Put klogd/syslogd alternative links in syslog package

2018-09-06 Thread ChenQi
On 09/06/2018 04:19 PM, richard.pur...@linuxfoundation.org wrote: On Thu, 2018-09-06 at 10:11 +0800, ChenQi wrote: Hi Richard, I think my previous patch has covered this case. git://git.pokylinux.org/poky-contrib ChenQi/busybox-alternatives http://git.pokylinux.org/cgit.cgi/poky

Re: [OE-core] Dependency loops when enabling ptest with Ångström

2018-09-06 Thread ChenQi
On 09/06/2018 02:52 PM, Steffen Sledz wrote: After some hours of analysis I could identify the following commit in meta-angstrom introducing the loops. ---> snip <-- commit c94ca0759c34e637b725f648a1925e007bbe60e9 (HEAD -> work, m/angstrom-v2017.12-rocko,

Re: [OE-core] [PATCH 1/1] staging.bbclass: avoid staging native components for target sysroot

2018-09-06 Thread ChenQi
ping On 08/27/2018 04:46 PM, Chen Qi wrote: In the staging_populate_sysroot_dir function, components are staged by pkgarch matching. In case of x86-64 targets, it's possible that the native components are also matched, and thus are expectedly installed. The negative effect is at least

Re: [OE-core] [PATCH 7/8] busybox: Put klogd/syslogd alternative links in syslog package

2018-09-05 Thread ChenQi
Hi Richard, I think my previous patch has covered this case. git://git.pokylinux.org/poky-contrib ChenQi/busybox-alternatives http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/busybox-alternatives Chen Qi (1): busybox: fix the alternatives logic Is there some problem

Re: [OE-core] [PATCH 3/7] sysklogd: Use update-alternatives

2018-08-30 Thread ChenQi
On 08/30/2018 03:44 PM, Peter Kjellerstedt wrote: -Original Message- From: openembedded-core-boun...@lists.openembedded.org On Behalf Of Khem Raj Sent: den 30 augusti 2018 05:56 To: openembedded-core@lists.openembedded.org Subject: [OE-core] [PATCH 3/7] sysklogd: Use update-alternatives

Re: [OE-core] [PATCH 1/1] testsdkext: remove workspace/sources to avoid failure in case of multilib

2018-08-26 Thread ChenQi
ping On 05/08/2018 04:07 PM, Chen Qi wrote: When multilib is enabled, there are multiple environment scripts, and the test cases for eSDK are executed for each environment script. And we will have the following problem when executing test cases for the second environment script. ERROR:

Re: [OE-core] [V2][PATCH 0/3] allarch: disable allarch when multilib is used

2018-08-21 Thread ChenQi
And also a few other failures: https://autobuilder.yocto.io/builders/nightly-qa-extras/builds/1242/steps/BuildImages_7/logs/stdio https://autobuilder.yocto.io/builders/nightly-multilib/builds/1255/steps/BuildImages_3/logs/stdio Best Regards, Chen Qi On 08/22/2018 10:36 AM, ChenQi wrote

Re: [OE-core] [V2][PATCH 0/3] allarch: disable allarch when multilib is used

2018-08-21 Thread ChenQi
There's some oe-selftest failures on autobuiler. https://autobuilder.yocto.io/builders/nightly-oe-selftest/builds/1300/steps/Running%20oe-selftest/logs/stdio Best Regards, Chen Qi On 08/21/2018 02:36 PM, kai.k...@windriver.com wrote: From: Kai Kang V2: * move content of allarch.bbclass to

Re: [OE-core] [PATCH V2] nasm: fix CVE-2018-8883 & CVE-2018-8882 & CVE-2018-10016 & CVE-2018-10316

2018-08-20 Thread ChenQi
Caused ovmf do_compile failure. https://autobuilder.yocto.io/builders/nightly-musl/builds/1254/steps/BuildImages/logs/stdio Best Regards, Chen Qi On 08/20/2018 09:23 AM, Hongxu Jia wrote: Signed-off-by: Hongxu Jia --- ...t-we-are-not-reading-past-end-of-a-buffer.patch | 65

Re: [OE-core] [PATCH 1/1] assimp.py: fix AttributeError in tearDownClass

2018-08-20 Thread ChenQi
On 08/21/2018 12:53 AM, Richard Purdie wrote: On Fri, 2018-08-17 at 17:17 +0800, Chen Qi wrote: When running this test case, we will see the following error. AttributeError: type object 'BuildAssimp' has no attribute 'project' assimp.py test case does not make use of SDKBuildProject, so

Re: [OE-core] [PATCH 8/9] gdb: Upgrade to 8.1.1

2018-08-19 Thread ChenQi
There's a build failure on autobuilder. https://autobuilder.yocto.io/builders/nightly-musl-x86-64/builds/700/steps/BuildImages/logs/stdio | x86_64-poky-linux-musl-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse

Re: [OE-core] [oe-core][rocko][sumo][master][PATCH 1/2] bitbake.conf: add PERSISTENT_LOG_DIR variable

2018-08-19 Thread ChenQi
The requirement is to put logs into directories other than /var/log. Could it be achieved by modifying the syslog daemon configuration file (e.g. /etc/syslog.conf) to replace /var/log with the specified directory. Maybe the corresponding logrotate configuration file also needs to be modified.

Re: [OE-core] [PATCH 1/1] glibc: re-package for libnss-db

2018-08-16 Thread ChenQi
On 08/16/2018 04:41 AM, Randy MacLeod wrote: On 08/15/2018 10:02 AM, Richard Purdie wrote: On Wed, 2018-08-15 at 15:00 +0800, Chen Qi wrote: From: Jackie Huang On other distros like ubuntu/centos, libnss-db usually provides: - The libraries - The Makefile to create database (in /var/db

Re: [OE-core] [PATCH 1/1] base-files: fix handling of resize

2018-08-05 Thread ChenQi
ping On 08/01/2018 01:25 PM, Chen Qi wrote: The current handling of resize is incorrect. Using `resize > /dev/null 2>&1 && resize > /dev/null' will cause the second resize command to not execute because 'resize > /dev/null 2>&1' will fail for resize utility from busybox. What we really should

Re: [OE-core] Why do we use sysklogd as the default syslog?

2018-08-05 Thread ChenQi
On 07/30/2018 08:58 PM, Alexander Kanavin wrote: 2018-07-30 8:48 GMT+02:00 ChenQi : I just noticed that we are using sysklogd as the default syslog. meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb:VIRTUAL-RUNTIME_syslog ?= "sysklogd" sysklogd has stopped d

Re: [OE-core] [PATCH 1/1] busybox: move init related configs to init.cfg

2018-08-05 Thread ChenQi
ping On 07/30/2018 05:41 PM, Chen Qi wrote: Move init related configs to init.cfg. These config items do not make much sense unless busybox is selected as the init manager. They should belong to init.cfg. Signed-off-by: Chen Qi --- meta/recipes-core/busybox/busybox/defconfig | 12

  1   2   3   4   5   6   >