[OE-core] [PATCH] gmp: do the multilib_header magic for gmp.h

2018-05-18 Thread changqing.li
From: Changqing Li Add multilib support feature for this recipe Signed-off-by: Changqing Li --- meta/recipes-support/gmp/gmp.inc | 2 +- meta/recipes-support/gmp/gmp_6.1.2.bb | 4 2 files changed, 5 insertions(+), 1 deletion(-)

[OE-core] [PATCH] liberation-fonts/cantarell-fonts: fix postinst failed warning

2018-05-23 Thread changqing.li
From: Changqing Li font is not arch related, but these receipes inherit fontcache, fontcache called update_font_cache, update_font_cache use qemuwrapper, qemuwrapper is arch related, so these receipes cannot inherit allarch, or update_font_cache will core dumped as

[OE-core] [PATCH] systemd/pixbufcache/gio-module-cache/fontcache: fix build warning when using qemu usermode

2018-05-23 Thread changqing.li
From: Changqing Li udev-hwdb/pixbufcache/gio-module-cache/fontcache uses qemu usermode by default, but some architecture such as Intel skylake does not support qemu usermode, this can lead to a build warning as below: warning: %post(udev-hwdb-1:234-r0.skylake_64)

[OE-core] [PATCH] qemuwrapper-cross: fix postinst failed warning

2018-05-29 Thread changqing.li
From: Changqing Li 1. some binary like udev-hwdb/pixbufcache/gio-module-cache/fontcache uses qemu usermode by default, but some architecture such as Intel skylake does not support qemu usermode, this can lead to a build warning as below: warning: %post(udev-hwdb-1:234-r0.skylake_64) scriptlet

[OE-core] [PATCH V2] curl: support multilib installation

2018-07-29 Thread changqing.li
From: Changqing Li curl-config is generated to displays information about the curl and libcurl installation. So the content is different for 32bit and 64bit package. eg: maybe for 32bit, use i686-linux-gnu-gcc, and for 64bit, use x86-64-linux-gnu-gcc. Use update-alternatives to add base_libdir

[OE-core] [PATCH] curl: support multilib installation

2018-07-27 Thread changqing.li
From: Changqing Li curl-config is generated to displays information about the curl and libcurl installation. So the content is different for 32bit and 64bit package. eg: maybe for 32bit, use i686-linux-gnu-gcc, and for 64bit, use x86-64-linux-gnu-gcc. Use update-alternatives to add base_libdir

[OE-core] [PATCH] libxml2: fix libxml2 ptest fails

2018-07-31 Thread changqing.li
From: Changqing Li for core-image-minimal image, missing these two dependency will cause below warning and error: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) ./test/icu_parse_test.xml generated an error Signed-off-by: Changqing Li ---

[OE-core] [PATCH] rpm: remove depend on dbus for rpm native

2018-08-15 Thread changqing.li
From: Changqing Li This depend cause a big problem that for one package, build enviroment for clean compile and second time compile are different. And also rpm-native actually don't need to depend on dbus, so remove it. Take libfastjson as example: (libfastjson don't have

[OE-core] [PATCH] unzip: fix CVE-2018-1000035

2018-08-15 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../unzip/0001-unzip-fix-CVE-2018-135.patch| 46 ++ meta/recipes-extended/unzip/unzip_6.0.bb | 1 + 2 files changed, 47 insertions(+) create mode 100644

[OE-core] [PATCH V2] unzip: fix CVE-2018-1000035

2018-08-16 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../unzip/0001-unzip-fix-CVE-2018-135.patch| 48 ++ meta/recipes-extended/unzip/unzip_6.0.bb | 1 + 2 files changed, 49 insertions(+) create mode 100644

[OE-core] [PATCH] sstate: Avoid indirect auto-archive-native dependencies (via SSTATE_EXCLUDEDEPS_SYSROOT)

2018-08-17 Thread changqing.li
From: Changqing Li remove the indirect dependcy of auto-archive-native to avoid not needed .m4 installed into sysroot, which may cause compile problem. Signed-off-by: Changqing Li --- meta/conf/layer.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[OE-core] [PATCH V2] rpm: remove dbus depend for natove rpm

2018-08-17 Thread changqing.li
From: Changqing Li remove dbus from rpm native, PACKAGECONFIG disable rpm already there Signed-off-by: Changqing Li --- meta/recipes-devtools/rpm/rpm_4.14.1.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/rpm/rpm_4.14.1.bb

[OE-core] [PATCH] bind: upgrade 9.11.4 -> 9.13.2

2018-08-13 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-connectivity/bind/{bind_9.11.4.bb => bind_9.13.2.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-connectivity/bind/{bind_9.11.4.bb => bind_9.13.2.bb} (97%) diff --git

[OE-core] [PATCH] curl: support multilib installation of curl-config

2018-08-10 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-support/curl/curl_7.61.0.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-support/curl/curl_7.61.0.bb b/meta/recipes-support/curl/curl_7.61.0.bb index 76f5509..cabfcff 100644 ---

[OE-core] [PATCH] flac: patch for CVE-2017-6888

2018-08-21 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../flac/flac/CVE-2017-6888.patch | 36 ++ meta/recipes-multimedia/flac/flac_1.3.2.bb | 4 ++- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644

[OE-core] [PATCH V4] sstate: Avoid indirect autoconf-archive-native dependencies

2018-08-20 Thread changqing.li
From: Changqing Li remove the indirect dependcy of autoconf-archive-native via SSTATE_EXCLUDEDEPS_SYSROOT to avoid not needed .m4 installed into sysroot, which may cause compile problem. Signed-off-by: Changqing Li --- meta/conf/layer.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git

[OE-core] [PATCH] freetype: Upgrade 2.9 -> 2.9.1

2018-08-21 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../freetype/fix-potential-numeric-overflow.patch | 28 -- .../{freetype_2.9.bb => freetype_2.9.1.bb} | 10 2 files changed, 4 insertions(+), 34 deletions(-) delete mode 100644

[OE-core] [PATCH] u-boot: patch for CVE-2018-1000205

2018-08-21 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../u-boot/files/CVE-2018-1000205-1.patch | 59 + .../u-boot/files/CVE-2018-1000205-2.patch | 143 + meta/recipes-bsp/u-boot/u-boot-common_2018.07.inc | 5 +- 3 files changed, 206

[OE-core] [PATCH] libcroco: patch for CVE-2017-7960

2018-08-28 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../libcroco/libcroco/CVE-2017-7960.patch | 56 ++ meta/recipes-support/libcroco/libcroco_0.6.12.bb | 2 + 2 files changed, 58 insertions(+) create mode 100644

[OE-core] [PATCH] squashfs-tools: patch for CVE-2015-4645(4646)

2018-08-28 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- ...-squashfs-tools-patch-for-CVE-2015-4645-6.patch | 47 ++ .../squashfs-tools/squashfs-tools_git.bb | 1 + 2 files changed, 48 insertions(+) create mode 100644

[OE-core] [PATCH] libice: patch for CVE-2017-2626

2018-08-26 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../xorg-lib/libice/CVE-2017-2626.patch| 149 + meta/recipes-graphics/xorg-lib/libice_1.0.9.bb | 2 + 2 files changed, 151 insertions(+) create mode 100644

[OE-core] [PATCH] libsndfile1: patch for CVE-2017-14634

2018-08-26 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../libsndfile/libsndfile1/CVE-2017-14634.patch| 42 ++ .../libsndfile/libsndfile1_1.0.28.bb | 1 + 2 files changed, 43 insertions(+) create mode 100644

[OE-core] [PATCH V2] sstate: Avoid indirect autoconf-archive-native dependencies (via SSTATE_EXCLUDEDEPS_SYSROOT)

2018-08-19 Thread changqing.li
From: Changqing Li remove the indirect dependcy of autoconf-archive-native to avoid not needed .m4 installed into sysroot, which may cause compile problem. Signed-off-by: Changqing Li --- meta/conf/layer.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[OE-core] [PATCH V3] sstate: Avoid indirect autoconf-archive-native dependencies

2018-08-19 Thread changqing.li
From: Changqing Li remove the indirect dependcy of autoconf-archive-native via SSTATE_EXCLUDEDEPS_SYSROOT to avoid not needed .m4 installed into sysroot, which may cause compile problem. Signed-off-by: Changqing Li --- meta/conf/layer.conf | 4 +++- 1 file changed, 3 insertions(+), 1

[OE-core] [PATCH] libid3tag: patch for CVE-2004-2779

2018-08-27 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../libid3tag/libid3tag/10_utf16.dpatch| 33 ++ .../libid3tag/libid3tag_0.15.1b.bb | 1 + 2 files changed, 34 insertions(+) create mode 100644

[OE-core] [PATCH] libjpeg-turbo: Upgrade 1.5.3 -> 2.0.0

2018-08-27 Thread changqing.li
From: Changqing Li License-Update: Copyright Year Update 1. Upgrade from 1.5.3 -> 2.0.0, change from autools to cmake 2. Add a patch for fix package qa error 3. remove --with-build-date since 2.0.0 not support config build date Signed-off-by: Changqing Li ---

[OE-core] [PATCH] libexif: patch for CVE-2017-7544

2018-08-28 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../libexif/libexif/CVE-2017-7544.patch| 40 ++ meta/recipes-support/libexif/libexif_0.6.21.bb | 3 +- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644

[OE-core] [PATCH] apr: fix ptest hangs since enter non-terminating loop

2018-07-23 Thread changqing.li
From: Changqing Li ptest hangs in teststr since enter non-terminating loop, fixed by a backport patch Signed-off-by: Changqing Li --- .../apr/0008-apr-fix-ptest-hang-in-teststr.patch | 32 ++ meta/recipes-support/apr/apr_1.6.3.bb | 1 + 2 files changed, 33

[OE-core] [PATCH] qemu: patch for CVE-2018-15746

2018-09-06 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../qemu/qemu/CVE-2018-15746.patch | 64 ++ meta/recipes-devtools/qemu/qemu_3.0.0.bb | 1 + 2 files changed, 65 insertions(+) create mode 100644

[OE-core] [PATCH] qemu: patch for CVE-2018-15746

2018-09-09 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../qemu/qemu/CVE-2018-15746.patch | 64 ++ meta/recipes-devtools/qemu/qemu_3.0.0.bb | 1 + 2 files changed, 65 insertions(+) create mode 100644

[OE-core] [PATCH] libx11: Upgrade 1.6.5 ->1.6.6

2018-09-09 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../{libx11-diet_1.6.5.bb => libx11-diet_1.6.6.bb} | 8 +- .../{X18NCMSstubs.diff => X18NCMSstubs.patch} | 159 +++-- .../xorg-lib/libx11/fix-disable-xlocale.diff | 17 ---

[OE-core] [PATCH] bind: patch for CVE-2018-5740

2018-09-10 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../bind/bind/CVE-2018-5740.patch | 72 ++ meta/recipes-connectivity/bind/bind_9.11.4.bb | 1 + 2 files changed, 73 insertions(+) create mode 100644

[OE-core] [PATCH V2] bind: patch for CVE-2018-5740

2018-09-10 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../bind/bind/CVE-2018-5740.patch | 72 ++ meta/recipes-connectivity/bind/bind_9.11.4.bb | 1 + 2 files changed, 73 insertions(+) create mode 100644

[OE-core] [PATCH] libjpeg-turbo: fix wrongly defined HAVE_STDLIB_H

2018-08-30 Thread changqing.li
From: Changqing Li After uprade to 2.0.0, build system change from autotools to cmake, wrong usage of #cmakedefine cause wrongly defined HAVE_STDLIB_H, which cause some other package compile failed. Signed-off-by: Changqing Li --- ...bo-fix-wrongly-defined-define-HAVE_STDLIB.patch | 119

[OE-core] [PATCH] epiphany: fix epiphany cannot start problem

2018-07-12 Thread changqing.li
From: Changqing Li Add RDEPEND of gsettings-desktop-schemas to fix below error: Error: GLib-GIO-ERROR: Settings schema 'org.gnome.desktop.background' is not installed This depend was setted in gnome-desktop before, but dropped when we drop gnome-desktop after upgrade epiphany to 3.28.1.1.

[OE-core] [PATCH] openssh: Restore TCP wrappers support

2018-07-13 Thread changqing.li
From: Changqing Li From: Wenzong Fan The /etc/hosts.deny doesn't work for sshd without tcp-wrappers support, apply below patch from Debian to fix it. Signed-off-by: Changqing Li --- .../0001-Restore-TCP-wrappers-support.patch| 171 +

[OE-core] [PATCH] coreutils: fix compile error since use wrong libnss_nis.so

2018-07-09 Thread changqing.li
From: Changqing Li id: relocation error: /lib/x86_64-linux-gnu/libnss_nis.so.2: symbol _nsl_default_nss version GLIBC_PRIVATE not defined in file libnsl.so.1 with link time reference Recent glibc change removed libnss-nis module from glibc and a new recipe libnss-nis.bb was added. After this

[OE-core] [PATCH] apr-util: fix ptest fail problem

2018-09-12 Thread changqing.li
From: Changqing Li test_dbm test suite failed since upgrade of gdbm, from gdbm 13.1, return value changed for some function. Signed-off-by: Changqing Li --- .../apr-util/0001-apr-util-fix-ptest-fail.patch| 44 ++ meta/recipes-support/apr/apr-util_1.6.1.bb | 1

[OE-core] [PATCH V3] e2fsprogs: fix test f_detect_junk print error msg

2018-10-11 Thread changqing.li
From: Changqing Li This test need to check config.h, so install it to fix below err msg: grep: ../lib/config.h: No such file or directory ./test/f_detect_junk/script: line 3: [: : integer expression expected f_detect_junk: detect non-fs file data: ok Signed-off-by: Changqing Li ---

[OE-core] [PATCH] update-rc.d: add -f into postinst OPT

2018-10-15 Thread changqing.li
From: Changqing Li add -f into postinst OPT to fix run postinst scriptlet fail problem during do rootfs, while INITSCRIPT_PARAMS set to remove. + type update-rc.d + '[' -n qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs ']' + OPT='-r qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs' +

[OE-core] [PATCH] freetype: remove compile of windows resource files

2018-10-14 Thread changqing.li
From: Changqing Li remove compile of windows resource file to fix compile fail problem of freetype when build windows sdk. when build windows sdk, include meta-mingw layer, and SDKMACHINE set to i686-mingw32, meta-mingw have export variable RC, and from freetype 3.29, it add better support to

[OE-core] [PATCH] qemu: fix CVE-2018-17958/17962/17963

2018-10-15 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../qemu/qemu/CVE-2018-17958.patch | 52 .../qemu/qemu/CVE-2018-17962.patch | 70 ++ .../qemu/qemu/CVE-2018-17963.patch | 51

[OE-core] [PATCH] python/python3: use cc_basename to replace CC for checking compiler

2018-10-22 Thread changqing.li
From: Changqing Li When working path contains "clang"/"gcc"/"icc", it might be part of $CC because of the "--sysroot" parameter. That could cause judgement error about clang/gcc/icc compilers. eg: if build under /yocto/builds/xicc/, bitbake python, $CC will contains xicc, will make $CC match

[OE-core] [PATCH] git: upgrade 2.18.0 -> 2.18.1

2018-10-24 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-devtools/git/git_2.18.0.bb | 11 --- meta/recipes-devtools/git/git_2.18.1.bb | 11 +++ 2 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 meta/recipes-devtools/git/git_2.18.0.bb create mode

[OE-core] [PATCH] openssl: change make install run serially

2018-10-24 Thread changqing.li
From: Changqing Li openssl offcially don't supprt parallel make install, and have occasionally install fail problem for parallel build, according to upstream suggestion, just make install serially. refer: https://github.com/openssl/openssl/issues/7466#issuecomment-432148137 Signed-off-by:

[OE-core] [PATCH V2] openssl: change make install run serially

2018-10-24 Thread changqing.li
From: Changqing Li openssl offcially don't supprt parallel make install, and have occasionally install fail problem for parallel build, according to upstream suggestion, just make install serially. refer: https://github.com/openssl/openssl/issues/7466#issuecomment-432148137 Signed-off-by:

[OE-core] [PATCH] apt: update SRC_URI

2018-10-31 Thread changqing.li
From: Changqing Li update SRC_URI since previous link is not valid now Signed-off-by: Changqing Li --- meta/recipes-devtools/apt/apt.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/apt/apt.inc b/meta/recipes-devtools/apt/apt.inc index

[OE-core] [PATCH] dbus: fix ptest failure

2018-10-31 Thread changqing.li
From: Changqing Li 1. since one bug in run-ptest, testcase test-bus have never been actually run (althrough it's result is PASS) until oe-core commit 0828850 "dbus-test_1.12.2: various fixes" fixed it. After commit 0828850, test-bus can actually run, but failed, install

[OE-core] [PATCH V2] dbus: fix ptest failure

2018-11-01 Thread changqing.li
From: Changqing Li 1. since one bug in run-ptest, testcase test-bus have never been actually run (althrough it's result is PASS) until oe-core commit 0828850 "dbus-test_1.12.2: various fixes" fixed it. After commit 0828850, test-bus can actually run, but failed, install

[OE-core] [PATCH] xserver-xorg: fix for CVE-2018-14665

2018-11-02 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../xorg-xserver/xserver-xorg/CVE-2018-14665.patch | 56 ++ 1 file changed, 56 insertions(+) create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg/CVE-2018-14665.patch diff --git

[OE-core] [PATCH] qemu: fix for CVE-2018-10839

2018-11-02 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../qemu/qemu/CVE-2018-10839.patch | 52 ++ 1 file changed, 52 insertions(+) create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2018-10839.patch diff --git

[OE-core] [PATCH] curl: fix for CVE-2018-16839/CVE-2018-16840/CVE-2018-16842

2018-11-02 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../recipes-support/curl/curl/CVE-2018-16839.patch | 35 ++ .../recipes-support/curl/curl/CVE-2018-16840.patch | 43 ++ .../recipes-support/curl/curl/CVE-2018-16842.patch | 35 ++ 3 files

[OE-core] [PATCH] unzip: fix for CVE-2018-18384

2018-11-02 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../unzip/unzip/CVE-2018-18384.patch | 39 ++ 1 file changed, 39 insertions(+) create mode 100644 meta/recipes-extended/unzip/unzip/CVE-2018-18384.patch diff --git

[OE-core] [PATCH] openssl: fix occasionally install fail for parallel build

2018-10-23 Thread changqing.li
From: Changqing Li when do parallel build, like run "make install -j 48", openssl will do_install failed with below error: mv: cannot stat 'openssl/1.1.1-r0/image/usr/lib/libcrypto.so.1.1.new': No such file or directory Makefile:318: recipe for target 'install_dev' failed problem caused by

[OE-core] [PATCH] python-native: fix one do_populate_sysroot warning

2018-10-25 Thread changqing.li
From: Changqing Li Fix below warning: WARNING: Skipping RPATH /usr/lib64 as is a standard search path for work/x86_64-linux/python-native/2.7.15-r1.1/recipe-sysroot-native/ usr/lib/python2.7/lib-dynload/_bsddb.so setup.py will check db.h under include_dirs, for native build, /usr/lib64 will be

[OE-core] [PATCH] oepydevshell-internal.py: decode only when readdata is valid

2018-11-13 Thread changqing.li
From: Changqing Li fix below problem: pydevshell raises exception when maximize the python shell window. when click maximize, rlist of select return ready object, but the pty.read is None, so throw exception of 'NoneType' object has no attribute 'decode', change to only decode when readdata is

[OE-core] [PATCH V2] oepydevshell-internal.py: decode only when readdata is valid

2018-11-14 Thread changqing.li
From: Changqing Li fix below problem: pydevshell raises exception when maximize the python shell window. when click maximize, rlist of select return ready object, but the pty.read is None, so throw exception of 'NoneType' object has no attribute 'decode', change to only decode when readdata is

[OE-core] [PATCH] checklayer: generate locked-sigs.inc under builddir

2018-11-15 Thread changqing.li
From: Changqing Li yocto-check-layer will find locked-sigs.inc under builddir, but locked-sigs.inc is generated under current bitbake working dir. if run yocto-check-layer outside builddir, we will met error like "No such file or directory: *locked-sigs.inc". change to run bitbake -S under

[OE-core] [PATCH] update-rc.d.bbclass: remove preinst and remove -f for postinst

2018-11-09 Thread changqing.li
From: Changqing Li *preinst use "-f remove" to remove any links in the /etc/rcrunlevel.d but this will make user cannot keep previous config by default after upgrade eg: user disable one service before upgrade, after upgrade, service could be started since during preinst, all link have been

[OE-core] [PATCH V3] dbus: fix ptest failure

2018-11-04 Thread changqing.li
From: Changqing Li 1. since one bug in run-ptest, testcase test-bus have never been actually run (althrough it's result is PASS). After commit 0828850, test-bus can actually run but it did not install: test-service, test-shell-service, test-segfault, and dbus-daemon-launch-helper-test Add

[OE-core] [PATCH] libsndfile1: CVE-2018-13139

2018-10-09 Thread changqing.li
From: Changqing Li A stack-based buffer overflow in psf_memset in common.c in libsndfile 1.0.28. Fixed in https://github.com/erikd/libsndfile/issues/397 Signed-off-by: Changqing Li --- .../libsndfile/libsndfile1/CVE-2018-13139.patch| 35 ++

[OE-core] [PATCH] mime.bbclass: fix do_package_qa_multilib error of lib32-fltk

2018-09-29 Thread changqing.li
From: Changqing Li fltk.bb inherit mime.bbclass, mime.bbclass add RDEPEND during populate_package, so need add mlprefix manually. ERROR: QA Issue: lib32-fltk package lib32-fltk-dev - suspicious values 'shared-mime-info-data-dev' in RRECOMMENDS [multilib] ERROR: QA Issue: lib32-fltk package

[OE-core] [PATCH] multilib.bbclass: fix do_package_qa_multilib error

2018-09-29 Thread changqing.li
From: Changqing Li lib32-packagegroup-anaconda-support have RDEPENDS to kernel-image, but kernel-image don't have lib32, so skip it. ERROR: QA Issue: lib32-packagegroup-anaconda-support package lib32-packagegroup-anaconda-support - suspicious values 'kernel-image' in RDEPENDS [multilib]

[OE-core] [PATCH] pango: fix ptest failed problem

2018-09-29 Thread changqing.li
From: Changqing Li disable-debug will cause compiling with G_DISABLE_ASSERT, but ptest need it, so don't disable-debug when ptest is enabled. ptest fail error: Tests were compiled with G_DISABLE_ASSERT and are likely no-ops. Aborting. FAIL: pango/test-font.test (Child process exited with code

[OE-core] [PATCH] e2fsprogs: fix test i_bitmaps failed

2018-10-11 Thread changqing.li
From: Changqing Li without diffutils, diff from busybox will be used, diff of busybox cause diff result different with expect file under test. The diff result generated by 2 /usr/bin/diff is different. change to use diff under diffutils to fix it Signed-off-by: Changqing Li ---

[OE-core] [PATCH V2] e2fsprogs: fix test f_detect_junk print error msg

2018-10-11 Thread changqing.li
From: Changqing Li 1. This test need to check config.h, so install it 2. Test script have problem when the file want to grep don't exist, change the check command to fix this problem even we install the config.h, but the script use relative path, and will find the config.h decide by in which

[OE-core] [PATCH V2] dbus-test: fix ptest failed problem when multilib is enabled

2018-09-19 Thread changqing.li
From: Changqing Li Fix some failed info like: | ./test/test-bus: relocation error: ./test/test-bus: symbol | _dbus_threads_init_debug, version LIBDBUS_PRIVATE_1.10.10 not defined | in file libdbus-1.so.3 with link time reference | FAIL: test/test-bus In run-ptest, LD_LIBRARY_PATH is set to

[OE-core] [PATCH V2] populate_sdk_base: provide options to set sdk type

2019-01-17 Thread changqing.li
From: Changqing Li Current sdk type is tar.xz, but for mingw sdk, since we have symlink under the sdk folder, 7zip which used to extract tar.xz cannot handle it, refer 7zip upstream bug: https://sourceforge.net/p/sevenzip/discussion/45797/thread/c71d6b96/ so add option for usr can select the sdk

[OE-core] [PATCH V2] populate_sdk_base: provide options to set sdk type

2019-01-17 Thread changqing.li
change in V2: 1. add overrides to provide options for sdk type 2. move zip part into oe-core for more flexible who want to use type zip, only need to set SDK_ARCHIVE_TYPE to override the default tar.xz Changqing Li (1): populate_sdk_base: provide options to set sdk type

[OE-core] [PATCH V2] populate_sdk_base: provide options to set sdk type

2019-01-17 Thread changqing.li
change in V2: 1. add overrides to provide options for sdk type 2. move zip part into oe-core for more flexible who want to use type zip, only need to set SDK_ARCHIVE_TYPE to override the default tar.xz Changqing Li (1): populate_sdk_base: provide options to set sdk type

[OE-core] [PATCH V2 2/2] piglit: support build piglit without x11

2019-01-15 Thread changqing.li
From: Changqing Li * test PIGLIT_BUILD_GL_TESTS depend on glx library, so depend on x11, so respect the DISTRO_FEATURES, only enable it when x11 is enabled. * mesa-demos depend on libGL.so which is provide by recipe mesa, but when x11 is disabled, libGL.so is not generated. so we

[OE-core] [PATCH V2 1/2] waffle: supprt build waffle without x11

2019-01-15 Thread changqing.li
From: Changqing Li respect DISTRO_FEATURES to make waffle support different platform, gbm platform is supported by default. Signed-off-by: Changqing Li --- meta/recipes-graphics/waffle/waffle_1.5.2.bb | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git

[OE-core] [PATCH V2 0/2] piglit support build without x11

2019-01-15 Thread changqing.li
From: Changqing Li To support piglit without x11 by disable PIGLIT_BUILD_GL_TESTS, but the result is piglit can use without x11, but only small part of it can be used. Most of testcase will be skipped. Changqing Li (2): waffle: supprt build waffle without x11 piglit: support build piglit

[OE-core] [PATCH V3] populate_sdk_base: provide options to set sdk type

2019-01-20 Thread changqing.li
From: Changqing Li Current sdk type is tar.xz, but for mingw sdk, since we have symlink under the sdk folder, 7zip which used to extract tar.xz cannot handle it, refer 7zip upstream bug: https://sourceforge.net/p/sevenzip/discussion/45797/thread/c71d6b96/ so add option for usr can select the sdk

[OE-core] [PATCH] populate_sdk_base: add option of add other type of sdk

2019-01-16 Thread changqing.li
From: Changqing Li Current sdk type is tar.xz, but for mingw sdk, since we have symlink under the sdk folder, 7zip which used to extract tar.xz cannot handle it, refer 7zip upstream bug: https://sourceforge.net/p/sevenzip/discussion/45797/thread/c71d6b96/ so add option for usr can select the sdk

[OE-core] [PATCH 2/2] piglit: support build piglit without x11

2019-01-14 Thread changqing.li
From: Changqing Li 1. Only depend on X11_DEPS when DISTRO_FEATURES enabled x11 2. test PIGLIT_BUILD_GL_TESTS depend on glx library, so depend on x11, so disable it when x11 is not enabled. 3. mesa-demos depend on libGL.so which is provide by recipe mesa, but when x11 is disabled, libGL.so

[OE-core] [PATCH 0/2] piglit support build without x11

2019-01-14 Thread changqing.li
Fixes bug: [YOCTO #6077] To support piglit without x11 by disable PIGLIT_BUILD_GL_TESTS, but the result is piglit can use without x11, but only small part of it can be used. Most of testcase will be skipped. Changqing Li (2): waffle: supprt build waffle without x11 piglit: support build

[OE-core] [PATCH 1/2] waffle: supprt build waffle without x11

2019-01-14 Thread changqing.li
From: Changqing Li glx depend on x11, so only enable glx when DISTRO_FEATURES enabled x11. build waffle support gbm platform when x11 is not enabled Signed-off-by: Changqing Li --- meta/recipes-graphics/waffle/waffle_1.5.2.bb | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff

[OE-core] [PATCH] strace: fix ptest fail and strip ptest host references

2018-12-05 Thread changqing.li
From: Changqing Li 1. Add LDFLAGS_FOR_BUILD for strip host reference 2. Revert one previous replace operation for fix ptest fail. refer oe commit: 74b5088f1cc1708db43c33ac2dc7f01f4a4db9c1 Signed-off-by: Changqing Li --- meta/recipes-devtools/strace/strace_4.25.bb | 3 ++- 1 file changed, 2

[OE-core] [PATCH] libsndfile1: Security fix CVE-2017-17456/17457 CVE-2018-19661/19662

2019-01-07 Thread changqing.li
From: Changqing Li fix 4 CVEs, which is backport from https://github.com/erikd/libsndfile/commit/585cc28a93be27d6938f276af0011401b9f7c0ca Signed-off-by: Changqing Li --- ...-a-ulaw-fix-multiple-buffer-overflows-432.patch | 101 + .../libsndfile/libsndfile1_1.0.28.bb

[OE-core] [PATCH V3] apr-util: fix ptest fail problem

2018-09-12 Thread changqing.li
From: Changqing Li Test suite test_dbm failed after gdbm upgrtade to 13.1, from 13.1, return value of some function are changed. * gdbm_fetch, gdbm_firstkey, and gdbm_nextkey behavior If the requested key was not found, these functions return datum with dptr pointing to NULL and set gdbm_errno

[OE-core] [PATCH] apr-util: fix ptest fail problem

2018-09-12 Thread changqing.li
From: Changqing Li test_dbm test suite failed since upgrade of gdbm, from gdbm 13.1, return value changed for some function. Signed-off-by: Changqing Li --- .../apr-util/0001-apr-util-fix-ptest-fail.patch| 44 ++ meta/recipes-support/apr/apr-util_1.6.1.bb | 1

[OE-core] [PATCH V2] apr-util: fix ptest fail problem

2018-09-12 Thread changqing.li
From: Changqing Li Test suite test_dbm failed after gdbm upgrtade to 13.1, from 13.1, return value of some function are changed. * gdbm_fetch, gdbm_firstkey, and gdbm_nextkey behavior If the requested key was not found, these functions return datum with dptr pointing to NULL and set gdbm_errno

[OE-core] [PATCH] dbus-test: fix ptest failed problem when multilib is enabled

2018-09-19 Thread changqing.li
From: Changqing Li Fix some failed info like: | ./test/test-bus: relocation error: ./test/test-bus: symbol | _dbus_threads_init_debug, version LIBDBUS_PRIVATE_1.10.10 not defined | in file libdbus-1.so.3 with link time reference | FAIL: test/test-bus In run-ptest, LD_LIBRARY_PATH is set to

[OE-core] [PATCH] openssl10: fix compile error for debian-mips64

2018-09-19 Thread changqing.li
From: Changqing Li Current configuration for debian-mips64 is not correct, 'SIXTY_FOUR_BIT_LONG' need to be specified. otherwise, it will cause other recipe like crda compile failed since use default THIRTY_TWO_BIT mode. Signed-off-by: Changqing Li ---

[OE-core] [PATCH] cogl: fix compile error with -Werror=maybe-uninitialized

2019-04-02 Thread changqing.li
From: Changqing Li fix below compile error with -Werror=maybe-uninitialized | ../../cogl-1.22.2/cogl/driver/gl/gles/cogl-driver-gles.c:217:17: error: 'gltype' may be used uninitialized in this function [-Werror=maybe-uninitialized] | *out_gltype = gltype; | ^~~~ |

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

2019-04-01 Thread changqing.li
From: Changqing Li fix below link error for powerpc lib/libLLVMSupport.a(CommandLine.cpp.o): in function `llvm::cl::opt_storage<(anonymous namespace): :HelpPrinterWrapper, true, true>::setLocation(llvm::cl::Option&, (anonymous namespace)::HelpPrinterWrapper&) [clone .isra.189]':

[OE-core] [PATCH] gdk-pixbuf: fix run query-loaders fail

2019-03-29 Thread changqing.li
From: Changqing Li Reproduce steps: 1. add below config into local.conf IMAGE_INSTALL_append = " packagegroup-xfce-base" DISTRO_FEATURES_append = " polkit" 2. bitbake core-image-minimal do_rootfs failed with below error: qemu-i386 -r 3.2.0 -E

[OE-core] [PATCH] gdk-pixbuf: fix run query-loaders fail

2019-03-29 Thread changqing.li
From: Changqing Li Reproduce steps: 1. add below config into local.conf IMAGE_INSTALL_append = " packagegroup-xfce-base" DISTRO_FEATURES_append = " polkit" 2. bitbake core-image-minimal do_rootfs failed with below error: qemu-i386 -r 3.2.0 -E

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

2019-04-01 Thread changqing.li
From: Changqing Li fix below link error for powerpc lib/libLLVMSupport.a(CommandLine.cpp.o): in function `llvm::cl::opt_storage<(anonymous namespace): :HelpPrinterWrapper, true, true>::setLocation(llvm::cl::Option&, (anonymous namespace)::HelpPrinterWrapper&) [clone .isra.189]':

[OE-core] [PATCH V2] cogl: fix compile error with -Werror=maybe-uninitialized

2019-04-08 Thread changqing.li
From: Changqing Li fix below compile error with -Werror=maybe-uninitialized while DEBUG_BUILD is enabled | ../../cogl-1.22.2/cogl/driver/gl/gles/cogl-driver-gles.c:217:17: error: 'gltype' may be used uninitialized in this function [-Werror=maybe-uninitialized] | *out_gltype = gltype; |

[OE-core] [PATCH] glibc: fix do_populate_sdk fail when multilib used

2019-03-11 Thread changqing.li
From: Changqing Li fix below error: file /usr/include/bits/procfs-id.h conflicts between attempted installs of lib32-libc6-dev-2.29-r0.armv7vet2hf_vfp and libc6-dev-2.29-r0.aarch64 file /usr/include/bits/procfs.h conflicts between attempted installs of lib32-libc6-dev-2.29-r0.armv7vet2hf_vfp

[OE-core] [PATCH] mdadm: fix gcc8 maybe-uninitialized/format-overflow warning

2019-03-12 Thread changqing.li
From: Changqing Li while compiled with -Werror=maybe-uninitialized/-Werror=format-overflow=, it failed [snip] | Incremental.c: In function 'Incremental_container': | Incremental.c:1593:3: error: 'mdfd' may be used uninitialized in this function [-Werror=maybe-uninitialized] | close(mdfd); |

[OE-core] [PATCH V2] mdadm: add -Wno-error to DEBUG_OPTIMIZATION

2019-03-21 Thread changqing.li
From: Changqing Li when compile with DEBUG_OPTIMIZATION(-Og), compile failed with below error, fix by add -Wno-error: [snip] | Incremental.c: In function 'Incremental_container': | Incremental.c:1593:3: error: 'mdfd' may be used uninitialized in this function [-Werror=maybe-uninitialized] |

[OE-core] [PATCH V2] gcc-runtime: fix C++ header mapping for n32/x32 tune

2019-02-11 Thread changqing.li
From: Changqing Li The SDK was unable to find the C++ header pieces correctly since it's using a generic compiler, not one specifically targeting the multilib vendor prefix and default tune. This adds the right mapping to ensure SDKs work as expected. And fix problem in below

[OE-core] [PATCH] libsndfile1: Security fix CVE-2018-19432

2019-02-20 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../libsndfile/libsndfile1/CVE-2018-19432.patch| 115 + .../libsndfile/libsndfile1_1.0.28.bb | 1 + 2 files changed, 116 insertions(+) create mode 100644

[OE-core] [PATCH] python3: fix INCLDIRSTOMAKE in _sysconfigdata.py

2019-02-18 Thread changqing.li
From: Changqing Li recipe glade do_configure failed after python upgrade to 3.7.2, it will do runtime check of python headers with native python3 under recipe-sysroot-native, it will check under path INCLDIRSTOMAKE, but this value is '/usr/include /usr/include /usr/include/python3.7m

[OE-core] [PATCH] gcc-runtime: fix C++ header mapping for n32/x32 tune

2019-01-30 Thread changqing.li
From: Changqing Li The SDK was unable to find the C++ header pieces correctly since it's using a generic compiler, not one specifically targeting the multilib vendor prefix and default tune. This adds the right mapping to ensure SDKs work as expected. And fix problem in below

[OE-core] [PATCH] gcc-runtime: fix C++ header mapping for n32/x32 tune

2019-01-30 Thread changqing.li
From: Changqing Li The SDK was unable to find the C++ header pieces correctly since it's using a generic compiler, not one specifically targeting the multilib vendor prefix and default tune. This adds the right mapping to ensure SDKs work as expected. And fix problem in below

[OE-core] [PATCH] gcc-runtime: fix C++ header mapping for n32/x32 tune

2019-01-30 Thread changqing.li
From: Changqing Li The SDK was unable to find the C++ header pieces correctly since it's using a generic compiler, not one specifically targeting the multilib vendor prefix and default tune. This adds the right mapping to ensure SDKs work as expected. And fix problem in below

  1   2   >