[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 /usr/

[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 --- .../openssl/openssl10/debian/debian-targe

[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 /usr/

[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 lib32

[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] Signed-

[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 1

[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 ++ .../libsndfile/libsndfile1_1

[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 --- meta/recipes-d

[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 f

[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 --- meta/recip

[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 b

[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' + upd

[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 meta/recipes-dev

[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] 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 targ

[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 1006

[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: Chang

[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: Chang

[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 i

[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 f1cde30..50f

[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 test-service/test-shell-se

[OE-core] [PATCH V2] 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 test-service/test-shell-se

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

2018-11-01 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 chan

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

2018-11-01 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 a/meta/recipes-extended/unzip/unzip/CVE-2018

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

2018-11-01 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 a/meta/recipes-graphics/xorg

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

2018-11-01 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 a/meta/recipes-devtools/qemu/qemu/CVE-2018-108

[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 th

[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] 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 va

[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 va

[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 buildd

[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] 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 cha

[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. Signe

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

2018-07-12 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 + meta/recipes-connectivity/open

[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 i

[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 a

[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 a

[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 --- meta/recipes-core/libxml/libxml2_2.9.8

[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 --- a/meta/recipes-support/curl/c

[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 a/meta/recipes-connectivity/

[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 autoconf-archive-native

[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 meta/recipes-extended/unzip/unzip/0001-unzip-fix-C

[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 meta/recipes-extended/unzip/unzip/0001-unzip-fix-C

[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 a/meta/conf/layer.co

[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 b/meta/recipes-devtools

[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 a/meta/conf/laye

[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 deletion(

[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 a

[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 meta/recipes-multimedia/flac/flac/

[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 meta/recipes-graphics/freet

[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 insertions(+),

[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 meta/recipes-graphics/xorg-lib/libice/CVE-2017-26

[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 meta/recipes-multimedia/libsndfile/libsndfile1/CVE

[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 --- .../0001-libjpeg-turbo-fix-packag

[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 meta/recipes-multimedia/libid3tag/libid3tag/10_utf1

[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 meta/recipes-support/libexif/libexi

[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 meta/recipes-devtools/squashfs-tools/squashfs-tool

[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 meta/recipes-support/libcroco/libcroco/CVE-2017-796

[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] 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 a

[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] | clo

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

2019-03-28 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 LD_LIBRARY_PATH=/tmp/work/qemux86-poky-linux/

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

2019-03-28 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 LD_LIBRARY_PATH=/tmp/work/qemux86-poky-linux/

[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]': /usr/src/debug

[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]': /usr/src/debug

[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] cogl: fix compile error with -Werror=maybe-uninitialized

2019-04-07 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 1/2] ruby: make ext module fiddle can compile success

2019-04-11 Thread changqing.li
From: Changqing Li ext module fiddle depend on libffi, in ruby source tree, there is in internal libffi in case target platfrom don't install libffi, but autotools.bbclass delete configure under libffi and not run autoreconf to regenerate one.so we met this error: ruby-2.5.3/ext/fiddle/libffi-3.2

[OE-core] [PATCH 2/2] ruby: add ptest

2019-04-11 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-devtools/ruby/ruby.inc | 2 +- meta/recipes-devtools/ruby/ruby/run-ptest | 13 + meta/recipes-devtools/ruby/ruby_2.5.3.bb | 10 ++ 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 met

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

2019-04-11 Thread changqing.li
From: Changqing Li When enable DEBUG_BUILD, cogl compile failed with error: | ../../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 2/2] glibc: Add a C.UTF-8 locale

2019-04-16 Thread changqing.li
From: Changqing Li * This patch is get from fedora project, link: https://src.fedoraproject.org/rpms/glibc/blob/0457f649e3fe6299efe384da13dfc923bbe65707/f/glibc-c-utf8-locale.patch * At this point, most major distro have support this locale * refer: https://sourceware.org/bugzilla/show_bug.cgi?

[OE-core] [PATCH 1/2] systemd: change default locale from C.UTF-8 to C

2019-04-16 Thread changqing.li
From: Changqing Li current default locale is set to C.UTF-8, but glibc not support locale C.UTF-8. so set to the default locale C. [snip] if not meson.is_cross_build() choose_default_locale_sh = find_program('tools/choose-default-locale.sh') default_local

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

2019-04-17 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 th

[OE-core] [PATCH] m4: add ptest support

2019-04-23 Thread changqing.li
From: Changqing Li add patch 0001-test-getopt-posix-fix.patch for fix test-getopt-posix Signed-off-by: Changqing Li --- meta/recipes-devtools/m4/m4-1.4.18.inc | 37 +-- .../m4/m4/0001-test-getopt-posix-fix.patch | 41 ++ meta/recipes-devt

[OE-core] [PATCH] gettext: add ptest support

2019-04-23 Thread changqing.li
From: Changqing Li skip test lang-c since it need gcc/libtool on target Signed-off-by: Changqing Li --- .../gettext/gettext-0.19.8.1/run-ptest | 6 +++ .../gettext-0.19.8.1/serial-tests-config.patch | 58 ++ meta/recipes-core/gettext/gettext_0.19.8.1.bb

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

2019-04-29 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 wit

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

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

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

2019-04-29 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 ca

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

2019-04-30 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] python3: fix do_install fail for parallel buiild

2019-05-08 Thread changqing.li
From: Changqing Li When using make -j with the 'install' target, it's possible for altbininstall (which normally creates BINDIR) and libainstall (which doesn't, though it installs python-config there) to race, resulting in a failure due to attempting to install python-config into a nonexistent BI

[OE-core] [PATCH 1/5] connman: add networkmanager as rconflict

2019-05-27 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-connectivity/connman/connman_1.37.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-connectivity/connman/connman_1.37.bb b/meta/recipes-connectivity/connman/connman_1.37.bb index 1265032..00852bf 100644 --- a/met

[OE-core] [PATCH 2/5] dropbear: add openssh/openssh-sshd as rconflict

2019-05-27 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- meta/recipes-core/dropbear/dropbear.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc index 2537603..b74d186 100644 --- a/meta/recipes-core/dropbear/dropbe

[OE-core] [PATCH 4/5] lsb: add initscripts-functions as rconflict

2019-05-27 Thread changqing.li
From: Changqing Li lsb rdepend on lsbinitscripts, lsbinitscripts rconflict with initscripts-functions. so also add rconflict for this one. Signed-off-by: Changqing Li --- meta/recipes-extended/lsb/lsb_5.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-extended/lsb/lsb_5.0

[OE-core] [PATCH 3/5] bootchart2: add initscripts-functions as rconflict

2019-05-27 Thread changqing.li
From: Changqing Li bootchart2 rdepend on lsb, lsb rdepend on lsbinitscripts, lsbinitscripts rconflict with initscripts-functions. so also add rconflict for this one. Signed-off-by: Changqing Li --- meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb | 1 + 1 file changed, 1 insertion(+) dif

[OE-core] [PATCH 0/5] add rconflicts for serval packages

2019-05-27 Thread changqing.li
From: Changqing Li Changqing Li (5): connman: add networkmanager as rconflict dropbear: add openssh/openssh-sshd as rconflict bootchart2: add initscripts-functions as rconflict lsb: add initscripts-functions as rconflict lsbtest: add initscripts-functions as rconflict meta/recipes-con

[OE-core] [PATCH 5/5] lsbtest: add initscripts-functions as rconflict

2019-05-27 Thread changqing.li
From: Changqing Li lsbtest rdepend on lsb, lsb rdepend on lsbinitscripts, lsbinitscripts rconflict with initscripts-functions. so also add rconflict for this one. Signed-off-by: Changqing Li --- meta/recipes-extended/lsb/lsbtest_1.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/r

[OE-core] [PATCH] inetutils: fix wrong package name

2019-05-29 Thread changqing.li
From: Changqing Li fix below error: file /etc/xinetd.d/telnet conflicts between attempted installs of netkit-telnet-0.17-r0.i586 and inetutils-telnetd-1.9.4-r0.i586 file /usr/sbin/in.telnetd conflicts between attempted installs of netkit-telnet-0.17-r0.i586 and inetutils-telnetd-1.9.4-r0.i586

[OE-core] [PATCH] busybox-inittab/sysvinit-inittab: add rconflicts

2019-05-29 Thread changqing.li
From: Changqing Li when both installed, do_rootfs report error like: file /etc/inittab conflicts between attempted installs of busybox-inittab-1.30.1-r0.qemux86 and sysvinit-inittab-2.88dsf-r10.qemux86 so add each other to rconflicts Signed-off-by: Changqing Li --- meta/recipes-core/busybox/b

[OE-core] [PATCH 3/3] systemd: add rconflicts

2019-05-29 Thread changqing.li
From: Changqing Li add rconflicts since error during do_rootfs: file /sbin/resolvconf conflicts between attempted installs of resolvconf-1.79-r0.noarch and systemd-1:242+0+db2e367bfc-r0.i586 file /sbin/init conflicts between attempted installs of tiny-init-1.0-r3.i586 and systemd-1:242+0+db2e36

[OE-core] [PATCH 2/3] resolvconf: add rconflicts

2019-05-29 Thread changqing.li
From: Changqing Li add rconflicts since error during do_rootfs: file /sbin/resolvconf conflicts between attempted installs of resolvconf-1.79-r0.noarch and systemd-1:242+0+db2e367bfc-r0.i586 Signed-off-by: Changqing Li --- meta/recipes-connectivity/resolvconf/resolvconf_1.79.bb | 1 + 1 file

[OE-core] [PATCH 1/3] tiny-init: add rconflicts

2019-05-29 Thread changqing.li
From: Changqing Li add rconflicts since error during do_rootfs: file /sbin/init conflicts between attempted installs of tiny-init-1.0-r3.i586 and systemd-1:242+0+db2e367bfc-r0.i586 Signed-off-by: Changqing Li --- meta-poky/recipes-core/tiny-init/tiny-init.bb | 1 + 1 file changed, 1 insertion

[OE-core] [PATCH 0/3] add rconflicts for systemd/resolvconf/tiny-init

2019-05-29 Thread changqing.li
From: Changqing Li Changqing Li (3): tiny-init: add rconflicts resolvconf: add rconflicts systemd: add rconflicts meta-poky/recipes-core/tiny-init/tiny-init.bb | 1 + meta/recipes-connectivity/resolvconf/resolvconf_1.79.bb | 1 + meta/recipes-core/systemd/systemd_242.bb

[OE-core] [PATCH 1/2 V2] tiny-init: add rconflicts

2019-05-29 Thread changqing.li
From: Changqing Li add rconflicts since error during do_rootfs: file /sbin/init conflicts between attempted installs of tiny-init-1.0-r3.i586 and systemd-1:242+0+db2e367bfc-r0.i586 Signed-off-by: Changqing Li --- meta-poky/recipes-core/tiny-init/tiny-init.bb | 1 + 1 file changed, 1 insertion

[OE-core] [PATCH 0/2 V2] add rconflict for systemd/tiny-init

2019-05-29 Thread changqing.li
From: Changqing Li Changqing Li (2): tiny-init: add rconflicts systemd: add rconflicts meta-poky/recipes-core/tiny-init/tiny-init.bb | 1 + meta/recipes-core/systemd/systemd_242.bb | 2 ++ 2 files changed, 3 insertions(+) -- 2.7.4 -- ___

[OE-core] [PATCH 2/2 V2] systemd: add rconflicts

2019-05-29 Thread changqing.li
From: Changqing Li add rconflicts since error during do_rootfs: file /sbin/resolvconf conflicts between attempted installs of resolvconf-1.79-r0.noarch and systemd-1:242+0+db2e367bfc-r0.i586 file /sbin/init conflicts between attempted installs of tiny-init-1.0-r3.i586 and systemd-1:242+0+db2e36

<    1   2