Re: [OE-core] [PATCH 2/2] libxml2: Update checksum for testtar

2021-01-19 Thread Junling Zheng via lists.openembedded.org
在 2021/1/19 20:39, Richard Purdie 写道: > On Tue, 2021-01-19 at 14:25 +0800, Junling Zheng via > lists.openembedded.org wrote: >> For some unknown factor, the checksum of testtar(xmlts20080827.tar.gz) >> is mismatch with that of remote. Let's fix it. >> &g

[OE-core] [PATCH 1/2] tcp-wrappers: Update checksum for SRC_URI

2021-01-18 Thread Junling Zheng via lists.openembedded.org
Commit a11edd68b2 (Change ftp:// URIs to http(s)://) changed the URI from ftp to http without updating tarball's checksum, which is different between them unfortunately. Signed-off-by: Junling Zheng --- meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb | 4 ++-- 1 file chang

[OE-core] [PATCH 2/2] libxml2: Update checksum for testtar

2021-01-18 Thread Junling Zheng via lists.openembedded.org
For some unknown factor, the checksum of testtar(xmlts20080827.tar.gz) is mismatch with that of remote. Let's fix it. Signed-off-by: Junling Zheng --- meta/recipes-core/libxml/libxml2_2.9.10.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/l

[OE-core] [PATCH RESEND] security_flags: Remove stack protector flag from LDFLAGS

2020-06-03 Thread Junling Zheng
SECURITY_LDFLAGS contains stack protector flag inappropriately, which has already been contained in SECURITY_CFLAGS. Let's remove it from SECURITY_LDFLAGS. Signed-off-by: Junling Zheng --- meta/conf/distro/include/security_flags.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 dele

[OE-core] [PATCH] security_flags: Remove stack protector flag from LDFLAGS

2020-06-03 Thread Junling Zheng
SECURITY_LDFLAGS contains stack protector flag inappropriately, which has already be contained in SECURITY_CFLAGS. Let's remove it from SECURITY_LDFLAGS. Signed-off-by: Junling Zheng --- meta/conf/distro/include/security_flags.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[OE-core] [PATCH 1/2] buildstats.bbclass: Remove useless variables

2020-06-03 Thread Junling Zheng
Remove useless variables bn and bsdir in write_task_data(). Signed-off-by: Junling Zheng --- meta/classes/buildstats.bbclass | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/classes/buildstats.bbclass b/meta/classes/buildstats.bbclass index 2590c60c63..e7d47c74df 100644 --- a/meta

[OE-core] [PATCH 2/2] buildstats.bbclass: Do not recalculate build start time

2020-06-03 Thread Junling Zheng
The build start time is recorded in __timedata_build, which we should use rather than recalculating it. Signed-off-by: Junling Zheng --- meta/classes/buildstats.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/buildstats.bbclass b/meta/classes

Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-03 Thread Junling Zheng
On 2020/3/3 22:20, Peter Kjellerstedt wrote: >> -Original Message- >> From: Junling Zheng >> Sent: den 3 mars 2020 15:14 >> To: Peter Kjellerstedt ; Khem Raj >> ; openembedded-core@lists.openembedded.org >> Cc: wangn...@huawei.com >> Subject: Re

Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-03 Thread Junling Zheng
On 2020/3/3 19:59, Peter Kjellerstedt wrote: >> -Original Message- >> From: openembedded-core-boun...@lists.openembedded.org > boun...@lists.openembedded.org> On Behalf Of Junling Zheng >> Sent: den 3 mars 2020 04:11 >> To: Khem Raj ; openembedded- >&g

Re: [OE-core] [RESEND PATCH 1/2] security_flags: Remove stack protector flags from LDFLAGS

2020-03-02 Thread Junling Zheng
On 2020/3/3 2:40, Khem Raj wrote: > > > On 3/2/20 9:17 AM, Junling Zheng wrote: >> The stack protector flag is a compile option, not a link option, so >> remove it from LDFLAGS. > > we use compiler driver to do linking as well, what does this change fix for > you.

Re: [OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-02 Thread Junling Zheng
On 2020/3/3 2:29, Khem Raj wrote: > > > On 3/2/20 9:11 AM, Junling Zheng wrote: >> Currently, for arch-arm64, poky will append the MACHINEOVERRIDES with >> "aarch64:", which has the higher priority than TRANSLATED_TARGET_ARCH. >> So, for aarch64 big endian,

[OE-core] [PATCH] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-02 Thread Junling Zheng
et an incorrect variable. Signed-off-by: Junling Zheng --- meta/conf/machine/include/arm/arch-arm64.inc | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/conf/machine/include/arm/arch-arm64.inc b/meta/conf/machine/include/arm/arch-arm64.inc index 53f4566815..32294bd218 100644 --- a/meta

[OE-core] [RESEND PATCH 2/2] arch-arm64.inc: Do not append aarch64 in MACHINEOVERRIDES

2020-03-02 Thread Junling Zheng
et an incorrect variable. Signed-off-by: Junling Zheng --- meta/conf/machine/include/arm/arch-arm64.inc | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/conf/machine/include/arm/arch-arm64.inc b/meta/conf/machine/include/arm/arch-arm64.inc index 53f4566815..32294bd218 100644 --- a/meta

[OE-core] [RESEND PATCH 1/2] security_flags: Remove stack protector flags from LDFLAGS

2020-03-02 Thread Junling Zheng
The stack protector flag is a compile option, not a link option, so remove it from LDFLAGS. Signed-off-by: Junling Zheng --- meta/conf/distro/include/security_flags.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/conf/distro/include/security_flags.inc b/meta

Re: [OE-core] [PATCH] security_flags: Remove stack protector flags from LDFLAGS

2020-01-16 Thread Junling Zheng
Ping... On 2020/1/2 18:53, Junling Zheng wrote: > The stack protector flag is a compile option, not a link option, so > remove it from LDFLAGS. > > Signed-off-by: Junling Zheng > --- > meta/conf/distro/include/security_flags.inc | 4 ++-- > 1 file changed, 2 inser

Re: [OE-core] [PATCH] security_flags: Remove stack protector flags from LDFLAGS

2020-01-07 Thread Junling Zheng
Ping... On 2020/1/2 18:53, Junling Zheng wrote: > The stack protector flag is a compile option, not a link option, so > remove it from LDFLAGS. > > Signed-off-by: Junling Zheng > --- > meta/conf/distro/include/security_flags.inc | 4 ++-- > 1 file changed, 2 inser

[OE-core] [PATCH] security_flags: Remove stack protector flags from LDFLAGS

2020-01-02 Thread Junling Zheng
The stack protector flag is a compile option, not a link option, so remove it from LDFLAGS. Signed-off-by: Junling Zheng --- meta/conf/distro/include/security_flags.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/conf/distro/include/security_flags.inc b/meta

Re: [OE-core] [PATCH v2] staging.bbclass: Fix wrong library paths in sysroot_strip

2019-11-21 Thread Junling Zheng
ping... On 2019/11/16 22:12, Junling Zheng wrote: > Do not reset libdir and base_libdir in sysroot_strip, and just pass crude > paths as they will be reset later in strip_execs. > > Signed-off-by: Junling Zheng > --- > v2: > - Fix undefined variable error. > > m

[OE-core] [PATCH v2] staging.bbclass: Fix wrong library paths in sysroot_strip

2019-11-16 Thread Junling Zheng
Do not reset libdir and base_libdir in sysroot_strip, and just pass crude paths as they will be reset later in strip_execs. Signed-off-by: Junling Zheng --- v2: - Fix undefined variable error. meta/classes/staging.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

Re: [OE-core] [PATCH RESEND] staging.bbclass: Fix wrong library path in sysroot_strip

2019-11-16 Thread Junling Zheng
On 2019/11/16 7:21, Richard Purdie wrote: > On Fri, 2019-11-15 at 18:45 +0800, Junling Zheng wrote: >> Do not reset libdir and base_libdir in sysroot_strip, and just pass >> crude >> paths as they will be reset later in strip_execs. >> >> Signed-off-by: Junli

[OE-core] [PATCH RESEND] staging.bbclass: Fix wrong library path in sysroot_strip

2019-11-15 Thread Junling Zheng
Do not reset libdir and base_libdir in sysroot_strip, and just pass crude paths as they will be reset later in strip_execs. Signed-off-by: Junling Zheng --- meta/classes/staging.bbclass | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/classes/staging.bbclass b/meta/classes

[OE-core] [PATCH] staging.bbclass: Fix wrong library path in sysroot_strip

2019-11-12 Thread Junling Zheng
Do not reset libdir and base_libdir in sysroot_strip, and just pass crude paths as they will be reset later in strip_execs. Signed-off-by: Junling Zheng --- meta/classes/staging.bbclass | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/classes/staging.bbclass b/meta/classes

[OE-core] [PATCH 0/3] busybox: sync and backport some patches

2015-06-07 Thread Junling Zheng
First, synchronize the patches for busybox_git, which is not used by default although. Then, backport two necessary commits from upstream. Junling Zheng (3): busybox: sync the patches for git version busybox: fix double free error for ifconfig busybox: fix the wrong help text for chown

[OE-core] [PATCH 3/3] busybox: fix the wrong help text for chown

2015-06-07 Thread Junling Zheng
Only when DESKTOP is enabled, chown has -L, -H and -P options. Backport a commit from upstream to fix it: http://git.busybox.net/busybox/commit/?id=d291c2fdd5cb8616605c67ecbfb04274fa094242. Signed-off-by: Junling Zheng --- .../busybox/busybox/0001-chown-fix-help-text.patch | 34

[OE-core] [PATCH 2/3] busybox: fix double free error for ifconfig

2015-06-07 Thread Junling Zheng
This patch backports a commit from upstream to fix a potential double free error when executing ifconfig circularly: http://git.busybox.net/busybox/commit/?id=a9889328157bb7d06ec618bad16712a9c345. Thanks to Chen Gang for reporting and analyzing this bug. Signed-off-by: Junling Zheng Signed

[OE-core] [PATCH 1/3] busybox: sync the patches for git version

2015-06-07 Thread Junling Zheng
Synchronize the patches for busybox_git with busybox_1.23.2. Signed-off-by: Junling Zheng --- meta/recipes-core/busybox/busybox_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/busybox/busybox_git.bb b/meta/recipes-core/busybox/busybox_git.bb index 7b868a2

[OE-core] [PATCH 1/2] autoconf: set perl location only for target

2015-05-15 Thread Junling Zheng
We should only fix perl location to /usr/bin/perl for target. It seems to be more appropriate that the perl used by native and nativesdk class of autoconf depends on build host environment. Signed-off-by: Junling Zheng --- meta/recipes-devtools/autoconf/autoconf.inc | 4 ++-- 1 file changed, 2

[OE-core] [PATCH 2/2] automake: set perl location only for target

2015-05-15 Thread Junling Zheng
We should only fix perl location to /usr/bin/perl for target. It seems to be more appropriate that the perl used by native and nativesdk class of automake depends on build host environment. Signed-off-by: Junling Zheng --- meta/recipes-devtools/automake/automake_1.15.bb | 2 +- 1 file changed

[OE-core] [PATCH] less: fix CVE-2014-9488

2015-04-23 Thread Junling Zheng
patch from: https://blog.fuzzing-project.org/3-less-out-of-bounds-read-access-TFPA-0022014.html Thank Claire Robinson for validating it on Mageia 4 i586. Refer to: https://bugs.mageia.org/show_bug.cgi?id=15567 Signed-off-by: Junling Zheng --- ...ossible-buffer-overrun-with-invalid-UTF-8.patch

Re: [OE-core] [PATCH] gmp: remove referencing paths from the build host

2015-04-20 Thread Junling Zheng
On 2015/4/20 23:15, Richard Purdie wrote: > On Mon, 2015-04-20 at 09:30 +0800, Junling Zheng wrote: >> On 2015/4/18 2:24, Andre McCurdy wrote: >>> On Fri, Apr 17, 2015 at 1:50 AM, Junling Zheng >>> wrote: >>>> Currently ${D}${includedir}/gmp.h references

Re: [OE-core] [PATCH] gmp: remove referencing paths from the build host

2015-04-19 Thread Junling Zheng
On 2015/4/18 2:24, Andre McCurdy wrote: > On Fri, Apr 17, 2015 at 1:50 AM, Junling Zheng > wrote: >> Currently ${D}${includedir}/gmp.h references the path of build host >> incorrectly, remove it. >> >> Signed-off-by: Junling Zheng >> --- >> meta/recip

[OE-core] [PATCH] gmp: remove referencing paths from the build host

2015-04-17 Thread Junling Zheng
Currently ${D}${includedir}/gmp.h references the path of build host incorrectly, remove it. Signed-off-by: Junling Zheng --- meta/recipes-support/gmp/gmp.inc | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc index 558ee06

[OE-core] [PATCH] elfutils: fix an incorrect patch for 0.161

2015-04-09 Thread Junling Zheng
The original uclibc-support.patch is not compatible with elfutils-0.161. It should be corrected through adjusting context. So regenerate a new patch for elfutils-0.161, rename the patch for elfutils-0.148, and put them into respective directories. Signed-off-by: Junling Zheng --- .../uclibc

[OE-core] [PATCH] file: add -P prompt into usage info

2015-04-08 Thread Junling Zheng
Currently, file's usage info doesn't contain -P prompt. So add it. Signed-off-by: Junling Zheng --- .../file/0001-Add-P-prompt-into-Usage-info.patch | 39 ++ meta/recipes-devtools/file/file_5.22.bb| 3 +- 2 files changed, 41 insertions(+),

[OE-core] [PATCH v2] uclibc: fix undefinition of '_dl_strchr' in libdl.a

2015-04-02 Thread Junling Zheng
: ld returned 1 exit status I found this problem when compiling gdb in static mode using uclibc. So, add the definition of '_dl_strchr' to fix it. The '_dl_strstr' is added as well. And I regenerated a patch to replace the original one. Signed-off-by: Junling Zheng ---

Re: [OE-core] [PATCH] uclibc: fix undefinition of '_dl_strchr' in libdl.a

2015-04-02 Thread Junling Zheng
OK, I'll submit a patch v2 to both oe-core and uclibc upstream. Cheers, Junling On 2015/4/2 22:35, Bernhard Reutner-Fischer wrote: > On April 2, 2015 11:45:47 AM GMT+02:00, Junling Zheng > wrote: >> On 2015/4/2 14:42, Bernhard Reutner-Fischer wrote: >>> On April 1,

Re: [OE-core] [PATCH] uclibc: fix undefinition of '_dl_strchr' in libdl.a

2015-04-02 Thread Junling Zheng
On 2015/4/2 14:42, Bernhard Reutner-Fischer wrote: > On April 1, 2015 12:00:25 PM GMT+02:00, Junling Zheng > wrote: >> The orign_path.patch introduced '_dl_strchr' into ldso/ldso/dl-elf.c, > > Please fix the origin patch directly. > Thanks, > Hi, Bernhard

Re: [OE-core] [PATCH] uclibc: fix undefinition of '_dl_strchr' in libdl.a

2015-04-01 Thread Junling Zheng
Cc Saul Wold , who is the maintainer of uclibc's recipe. On 2015/4/1 18:00, Junling Zheng wrote: > The orign_path.patch introduced '_dl_strchr' into ldso/ldso/dl-elf.c, and > caused the following undefined referencing compiling error: > > | .../lib

[OE-core] [PATCH] uclibc: fix undefinition of '_dl_strchr' in libdl.a

2015-04-01 Thread Junling Zheng
error: ld returned 1 exit status I found this problem when compiling gdb in static mode using uclibc. Add the definition of '_dl_strchr' to fix it. The '_dl_strstr' is added as well. Signed-off-by: Junling Zheng --- meta/recipes-core/uclibc/uclibc-git.inc| 1 + ...

Re: [OE-core] [PATCH] file: remove the original magic.h

2015-03-29 Thread Junling Zheng
On 2015/3/28 19:05, Richard Purdie wrote: > On Sat, 2015-03-28 at 17:37 +0800, Junling Zheng wrote: >> On 2015/3/28 16:53, Richard Purdie wrote: >>> On Sat, 2015-03-28 at 10:36 +0800, Junling Zheng wrote: >>> We ran into this problem in our branches. You need to ensur

Re: [OE-core] [PATCH] file: remove the original magic.h

2015-03-28 Thread Junling Zheng
On 2015/3/28 16:53, Richard Purdie wrote: > On Sat, 2015-03-28 at 10:36 +0800, Junling Zheng wrote: >> I backport some commits from upstream to fix CVE-2014-9620, and some of them >> involve the modifying of magic.h.in: >> >> 90018fe22ff8b

Re: [OE-core] [PATCH] file: remove the original magic.h

2015-03-27 Thread Junling Zheng
On 2015/3/27 17:56, Burton, Ross wrote: > > On 27 March 2015 at 03:31, Junling Zheng <mailto:zhengjunl...@huawei.com>> wrote: > > So I think the true reason is that if the magic.h exists already, > sometimes Makefile will not generate it again. > > >

Re: [OE-core] [PATCH] file: remove the original magic.h

2015-03-26 Thread Junling Zheng
On 2015/3/26 21:08, Burton, Ross wrote: > > On 26 March 2015 at 12:58, Junling Zheng <mailto:zhengjunl...@huawei.com>> wrote: > > This problem is that sometimes the magic.h wouldn't be generated again by > magic.h.in <http://magic.h.in> if there >

Re: [OE-core] [PATCH] file: remove the original magic.h

2015-03-26 Thread Junling Zheng
On 2015/3/26 19:58, Jack Mitchell wrote: > > > On 26/03/15 11:31, Junling Zheng wrote: >> On 2015/3/26 17:54, Richard Purdie wrote: >>> On Thu, 2015-03-26 at 09:18 +, Junling Zheng wrote: >>>> The magic.h under the src/ directory should be generated

Re: [OE-core] [PATCH] file: remove the original magic.h

2015-03-26 Thread Junling Zheng
On 2015/3/26 17:54, Richard Purdie wrote: > On Thu, 2015-03-26 at 09:18 +0000, Junling Zheng wrote: >> The magic.h under the src/ directory should be generated by magic.h.in >> during compiling. However, if we modify the magic.h.in, we can find that >> sometimes the magic.h w

[OE-core] [PATCH] file: remove the original magic.h

2015-03-26 Thread Junling Zheng
: Junling Zheng --- meta/recipes-devtools/file/file_5.22.bb | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/recipes-devtools/file/file_5.22.bb b/meta/recipes-devtools/file/file_5.22.bb index 9c6bb38..f4ee31b 100644 --- a/meta/recipes-devtools/file/file_5.22.bb +++ b/meta/recipes