[OE-core] [PATCH] netbase: use git fetcher

2020-03-16 Thread mingli.yu
From: Mingli Yu Use git repo as the the previous URL only stores the latest source file and fails to locate the source tar file if we don't upgrade timely. Signed-off-by: Mingli Yu --- meta/recipes-core/netbase/netbase_6.1.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --

[OE-core] [PATCH] netbase: use snapshot.debian.org

2020-03-11 Thread mingli.yu
From: Mingli Yu Use snapshot.debian.org as the previous URL only stores the latest source file and fails to locate the source tar file if we don't upgrade timely. Signed-off-by: Mingli Yu --- meta/recipes-core/netbase/netbase_6.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[OE-core] [PATCH] babeltrace2: initialize the other_entry pointer

2020-03-11 Thread mingli.yu
From: Mingli Yu When add below line to local.conf to enable debug build: DEBUG_BUILD = "1" There comes below failure when run "bitbake babeltrace2" | ../../../../../git/src/plugins/ctf/fs-src/fs.c: In function 'ds_index_insert_ds_index_entry_sorted': | ../../../../../git/src/plugins/ctf/fs-src

[OE-core] [PATCH] parselogs.py: ignore rdrand initialization failure

2020-03-06 Thread mingli.yu
From: Mingli Yu On the system whose cpu doesn't support rdrand, there comes below message when start rngd service #systemctl status rngd [snip] Feb 25 05:08:14 qemux86-64 rngd[133]: [rdrand]: Initialization Failed [snip] Actually the failed message doesn't matter as it only indicates one ent

[OE-core] [PATCH] netbase: Upgrade to 6.1

2020-03-05 Thread mingli.yu
From: Mingli Yu Signed-off-by: Mingli Yu --- meta/recipes-core/netbase/{netbase_6.0.bb => netbase_6.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-core/netbase/{netbase_6.0.bb => netbase_6.1.bb} (82%) diff --git a/meta/recipes-core/netbase/netbase_6.0.bb

[OE-core] [PATCH] rng-tools: only print the success message when initialize entropy sources

2020-02-27 Thread mingli.yu
From: Mingli Yu There is below message when check rngd service status in qemu env. [rdrand]: Initialization Failed The complete service status as below in qemu env: # systemctl status rngd rngd.service - Hardware RNG Entropy Gatherer Daemon Loaded: loaded (/lib/systemd/system/rngd.s

[OE-core] [PATCH v3] gstreamer1.0-plugins-common.inc: disable orc on mips

2020-01-22 Thread mingli.yu
From: Mingli Yu After transiton to meson build for gstreamer series, for gstreamer1.0-plugins-base, with below two commits introduced: 238080ed89 gstreamer: Remove unused common files and patches 20614408dc gstreamer1.0-plugins-base: Transition to meson based builds With below config in local.co

[OE-core] [PATCH v2] gstreamer1.0-plugins-common.inc: disable orc on mips

2020-01-21 Thread mingli.yu
From: Mingli Yu After transiton to meson build for gstreamer series, for gstreamer1.0-plugins-base, with below two commits introduced: 238080ed89 gstreamer: Remove unused common files and patches 20614408dc gstreamer1.0-plugins-base: Transition to meson based builds With below config in local.co

[OE-core] [PATCH] gstreamer1.0-plugins-common.inc: disable orc on mips

2020-01-20 Thread mingli.yu
From: Mingli Yu After transiton to meson build for gstreamer series, for gstreamer1.0-plugins-base, with below two commits introduced: 238080ed89 gstreamer: Remove unused common files and patches 20614408dc gstreamer1.0-plugins-base: Transition to meson based builds With below config in local.co

[OE-core] [pseudo v4] pseudo_util.c: Open file with O_CLOEXEC to avoid fd leak

2020-01-19 Thread mingli.yu
From: Pavel Modilaynen Use close-on-exec (O_CLOEXEC) flag when open log file to make sure its file descriptor is not leaked to parent process on fork/exec. Signed-off-by: Mingli Yu --- pseudo_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pseudo_util.c b/pseudo_util

[OE-core] [PATCH v3] pseudo_util.c: Open file with O_CLOEXEC to avoid fd leak

2020-01-18 Thread mingli.yu
From: Pavel Modilaynen Use close-on-exec (O_CLOEXEC) flag when open log file to make sure its file descriptor is not leaked to parent process on fork/exec. Signed-off-by: Mingli Yu --- pseudo_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pseudo_util.c b/pseudo_util

[OE-core] [PATCH v2] Open file with O_CLOEXEC to avoid fd leak

2020-01-18 Thread mingli.yu
From: Pavel Modilaynen Use close-on-exec (O_CLOEXEC) flag when open log file to make sure its file descriptor is not leaked to parent process on fork/exec. Signed-off-by: Mingli Yu --- pseudo_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pseudo_util.c b/pseudo_util

[OE-core] [PATCH] Open file with O_CLOEXEC to avoid fd leak

2020-01-18 Thread mingli.yu
From: Pavel Modilaynen Use close-on-exec (O_CLOEXEC) flag when open log file to make sure its file descriptor is not leaked to parent process on fork/exec. --- pseudo_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pseudo_util.c b/pseudo_util.c index c867ed6..0ec527b 1

[OE-core] [PATCH] findutils: Upgrade to 4.7.0

2020-01-17 Thread mingli.yu
From: Mingli Yu * Upgrade to 4.7.0 since there are so many fixes in the new release such as below commit which used to fix Yocto Bug 13311 5699fb7 xargs: use GNU_FINDUTILS_FD_LEAK_CHECK as for find * Drop all patches as it is backported or useless in new release * Licence-Update: - th

[OE-core] [PATCH] python3: fix the test_locale output format

2019-08-05 Thread mingli.yu
From: Mingli Yu Before this patch: # python3 -m test -v test_locale [snip] test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous) ... testing with ('tr_TR', 'ISO8859-9') ok [snip] After this patch: # python3 -m test -v test_locale [snip] test_getsetlocale_issue1813 (test.test_

[OE-core] [PATCH] libsoup: Add password capabilities for use with ostree

2019-07-25 Thread mingli.yu
From: Jason Wessel Add the ability to use a password encoded URI for use with ostree. Signed-off-by: Jason Wessel Signed-off-by: Mingli Yu --- ...0001-add-soup_uri_to_string_with_password.patch | 67 ++ meta/recipes-support/libsoup/libsoup-2.4_2.66.2.bb | 1 + 2 files cha

[OE-core] [PATCH v2] mdadm: fix ptest hang

2019-07-15 Thread mingli.yu
From: Mingli Yu Before commit[80d17497b7 mdadm: improve the run-ptest], the mdadm ptest just run some tests without "--keep-going" option. After the option added in commit 80d17497b7, all test cases have chance to be called. But the logic in mdadm upstream commit [e2a8e9d tests: wait for complet

[OE-core] [PATCH] mdadm: fix ptest hang

2019-07-15 Thread mingli.yu
From: Mingli Yu Before commit[80d17497b7 mdadm: improve the run-ptest], the mdadm ptest just run some tests without "--keep-going" option. After the option added in commit 80d17497b7, all test cases have chance to be called. But the logic in mdadm upstream commit [e2a8e9d tests: wait for complet

[OE-core] [PATCH v3] go.bbclass: separate the ptest logic to go-ptest class

2019-07-05 Thread mingli.yu
From: Mingli Yu The current go class includes ptest logic by default and will make the recipe which inherits go class to support ptest automatically though maybe the recipe which inherits go class doesn't plan to support the ptest. So separate the ptest logic to another specified class go-ptest

[OE-core] [PATCH] go.bbclass: remove ptest inherit

2019-07-03 Thread mingli.yu
From: Mingli Yu Remove the ptest bbclass inherit logic to let each recipe inherit ptest individually if the specified recipe wants to support ptest to avoid the recipe which inherits go bblcass inheriting ptest automatically. Signed-off-by: Mingli Yu --- meta/classes/go.bbclass | 2 +- 1 file

[OE-core] [PATCH] go-dep: disable PTEST_ENABLED

2019-06-28 Thread mingli.yu
From: Mingli Yu The run-ptest logic for go-dep actually runs the /usr/lib64/go-dep/ptest/github.com/golang/dep/cmd/dep/dep.test whose source file is https://github.com/golang/dep/blob/master/cmd/dep/dep_test.go. That dep_test.go starts by rebuilding the dep program from source, then runs the tes

[OE-core] [PATCH] bitbake: add iconv to HOSTTOOLS

2019-06-20 Thread mingli.yu
From: Mingli Yu Some package such as vim depends on iconv. Without iconv, vim-common which is the sub-pakcage of vim may include different files as failed to use iconv to generate the *.po file. Signed-off-by: Mingli Yu --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 delet

[OE-core] [PATCH 2/2] dbus-test: Upgrade 1.12.16

2019-06-13 Thread mingli.yu
From: Mingli Yu Signed-off-by: Mingli Yu --- .../dbus/{dbus-test_1.12.14.bb => dbus-test_1.12.16.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-core/dbus/{dbus-test_1.12.14.bb => dbus-test_1.12.16.bb} (95%) diff --git a/meta/recipes-core/dbus/dbus-tes

[OE-core] [PATCH 1/2] dbus: Upgrade to 1.12.16

2019-06-13 Thread mingli.yu
From: Mingli Yu Security fixes: CVE-2019-12749 Signed-off-by: Mingli Yu --- meta/recipes-core/dbus/{dbus_1.12.14.bb => dbus_1.12.16.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-core/dbus/{dbus_1.12.14.bb => dbus_1.12.16.bb} (97%) diff --git a/meta/recip

[OE-core] [PATCH v5] elfutils: fix ptest failures

2019-05-31 Thread mingli.yu
From: Mingli Yu * Add missing files which needed by ptest test to fix the ptest failures such as: | sh: ../src/elflint: No such file or directory | FAIL: asm-tst4 * Rework 0001-skip-the-test-when-gcc-not-deployed.patch to skip the tests which depend on gcc * Define INHIBIT_PACKAGE_STRIP

[OE-core] [PATCH v4] elfutils: fix ptest failures

2019-05-29 Thread mingli.yu
From: Mingli Yu * Add missing files which needed by ptest test to fix the ptest failures such as: | sh: ../src/elflint: No such file or directory | FAIL: asm-tst4 * Rework 0001-skip-the-test-when-gcc-not-deployed.patch to skip the tests which depend on gcc * Define INHIBIT_PACKAGE_STRIP

[OE-core] [PATCH v3] elfutils: fix ptest failures

2019-05-29 Thread mingli.yu
From: Mingli Yu * Add missing -ptest package dependency (needs ${PN}-dev) * Add missing files which needed by ptest test to fix the ptest failures such as: | sh: ../src/elflint: No such file or directory | FAIL: asm-tst4 * Rework 0001-skip-the-test-when-gcc-not-deployed.patch to skip

[OE-core] [PATCH v2] elfutils: fix ptest failures

2019-05-28 Thread mingli.yu
From: Mingli Yu * Add missing -ptest package dependencies (needs ${PN}-dev) * Add missing files which needed by ptest test to fix the ptest failures such as: | sh: ../src/elflint: No such file or directory | FAIL: asm-tst4 * Rework 0001-skip-the-test-when-gcc-not-deployed.patch to ski

[OE-core] [PATCH] elfutils: fix ptest failures

2019-05-22 Thread mingli.yu
From: Mingli Yu * Add missing -ptest package dependencies (needs ${PN}-dbg) * Add missing files which needed by ptest test to fix below failures: | ./run-ar.sh: line 23: cd: /usr/lib64/elfutils/ptest/tests/..//src: No such file or directory | FAIL: run-ar.sh | sh: ../src/elflint: No

[OE-core] [PATCH v3] glib-2.0: fix ptest failures

2019-05-07 Thread mingli.yu
From: Mingli Yu * Install 7 translation packages to fix 7 ptest failures such as: | GLib:ERROR:../glib-2.58.3/glib/tests/gdatetime.c:1477:test_non_utf8_printf: assertion failed (__p == ("10\346\234\210")): ("Oct" == "10\346\234\210") | GLib:ERROR:../glib-2.58.3/glib/tests/gdatetime.c:1716:

[OE-core] [PATCH v2] glib-2.0: fix ptest failures

2019-04-30 Thread mingli.yu
From: Mingli Yu * Install 7 translation packages to fix 7 ptest failures such as: | GLib:ERROR:../glib-2.58.3/glib/tests/gdatetime.c:1477:test_non_utf8_printf: assertion failed (__p == ("10\346\234\210")): ("Oct" == "10\346\234\210") | GLib:ERROR:../glib-2.58.3/glib/tests/gdatetime.c:1716:

[OE-core] [PATCH v2] bjam-native: do not search all PATHs variable

2019-04-28 Thread mingli.yu
From: Li Wang By default, it searches all paths specified by $PATH. But if the directory of the $PATH variable on build host includes nfs(build host as nfs client), it causes the build hung when the nfs server is unavailable. Signed-off-by: Li Wang Signed-off-by: Mingli Yu --- meta/recipes-s

[OE-core] [PATCH] bjam-native: do not search all PATHs variable

2019-04-28 Thread mingli.yu
From: Li Wang By default, it searches all paths specified by $PATH. But if the directory of the $PATH variable on build host includes nfs(build host as nfs client), it causes the build hung when the nfs server is unavailable. Signed-off-by: Li Wang --- meta/recipes-support/boost/bjam-native_1

[OE-core] [PATCH v4 1/2] nettle: fix the Segmentation fault

2019-04-24 Thread mingli.yu
From: Mingli Yu The commit[8ac8fa8ee1 nettle: update to 3.4.1] add CFLAGS_append = " -std=c99" to silence the below error for native build: | ../nettle-3.4.1/rsa-sign-tr.c: In function 'sec_equal': | ../nettle-3.4.1/rsa-sign-tr.c:243:3: error: 'for' loop initial declarations are only allowed in

[OE-core] [PATCH v4 2/2] nettle: fix ptest failure

2019-04-24 Thread mingli.yu
From: Mingli Yu Rework dlopen-test.patch to fix below dlopen-test failure: # cd /usr/lib64/nettle/ptest # ./run-ptest dlopen failed: /usr/lib/libnettle.so: cannot open shared object file: No such file or directory ./run-ptest: line 8: 7607 Aborted "./$f" FAIL: dlopen-test

[OE-core] [PATCH v4] gcc-sanitizers: fix -Werror=maybe-uninitialized issue

2019-04-22 Thread mingli.yu
From: Mingli Yu When DEBUG_BUILD = "1" added in local.conf, there comes below build error when "bitbake gcc-sanitizers": | ./../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c: In function 'elf_is_symlink': | ../../../../../../../../..

[OE-core] [PATCH] glib-2.0: fix ptest failures

2019-04-19 Thread mingli.yu
From: Mingli Yu * Set G_TEST_BUILDDIR to mark we run the tests out of builddir to make it can skip the test_non_utf8_printf to fix below test error as test_non_utf8_printf needed to run under builddir per https://gitlab.gnome.org/GNOME/glib/blob/master/glib/tests/gdatetime.c#L1440. | GLi

[OE-core] [PATCH v2 1/2] elfutils: add ptest support

2019-04-16 Thread mingli.yu
From: Mingli Yu Add testsuite-ignore-elflint.diff from debian (http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.176-1.debian.tar.xz) to fix below ptest failure: | ./run-strip-strmerge.sh: line 33: testrun_on_self_skip: command not found | FAIL: run-strip-strmerge.sh Add check fo

[OE-core] [PATCH v2 2/2] elfutils: fix build failure with musl

2019-04-16 Thread mingli.yu
From: Mingli Yu Fix below build failure with musl when ptest enabled. | In file included from ../../elfutils-0.176/tests/dwfl-proc-attach.c:33: | ../../elfutils-0.176/lib/system.h:63:35: error: called object 'err' is not a function or function pointer | #define error(status, errno, ...) err(sta

[OE-core] [PATCH v3] nettle: fix ptest failure

2019-04-15 Thread mingli.yu
From: Mingli Yu Remove dlopen-test.patch which originally used to fix the test dlopen-test, but actually it didn't resolve the issue as expected as it hardcodes the file /usr/lib/libnettle.so. Update dynamically with the real ${libdir}/libnettle.so to fix the below dlopen-test failure: # cd /us

[OE-core] [PATCH v2] nettle: fix ptest failure

2019-04-15 Thread mingli.yu
From: Mingli Yu Rework dlopen-test.patch to fix below dlopen-test failure: # cd /usr/lib64/nettle/ptest # ./run-ptest dlopen failed: /usr/lib/libnettle.so: cannot open shared object file: No such file or directory ./run-ptest: line 8: 7607 Aborted "./$f" FAIL: dlopen-test

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

2019-04-12 Thread mingli.yu
From: Mingli Yu Add testsuite-ignore-elflint.diff from debian (http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.176-1.debian.tar.xz) to fix below ptest failure: | ./run-strip-strmerge.sh: line 33: testrun_on_self_skip: command not found | FAIL: run-strip-strmerge.sh Add check fo

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

2019-04-11 Thread mingli.yu
From: Mingli Yu Remove dlopen-test.patch which originally used to fix the test dlopen-test, but autually the patch didn't resolve the issue as dlopen-test.patch supposes the file /usr/lib/libnettle.so exists. Instead deploy ${D}${PTEST_PATH}/libnettle.so to fix the dlopen-test failure. Update th

[OE-core] [PATCH v3] gcc-sanitizers: fix -Werror=maybe-uninitialized issue

2019-04-08 Thread mingli.yu
From: Mingli Yu When DEBUG_BUILD = "1" added in local.conf, there comes below build error when "bitbake gcc-sanitizers": | ./../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c: In function 'elf_is_symlink': | ../../../../../../../../..

[OE-core] [PATCH v2] gcc-sanitizers: fix -Werror=maybe-uninitialized issue

2019-04-07 Thread mingli.yu
From: Mingli Yu When DEBUG_BUILD = "1" added in local.conf, there comes below build error when "bitbake gcc-sanitizers": | ./../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c: In function 'elf_is_symlink': | ../../../../../../../../..

[OE-core] [PATCH] asciidoc: disable xmllint check

2019-04-03 Thread mingli.yu
From: Mingli Yu asciidoc-native build with below error when there is no xmllint program located on build host: | python3 a2x.py -f manpage doc/asciidoc.1.txt | a2x: ERROR: "xmllint" --nonet --noout --valid "/build/tmp/work/x86_64-linux/asciidoc-native/8.6.9+py3-gitAUTOINC+618f6e6f6b-r0/git/doc/a

[OE-core] [PATCH] gcc-sanitizers: fix -Werror=maybe-uninitialized issue

2019-03-19 Thread mingli.yu
From: Mingli Yu When DEBUG_BUILD = "1" added in local.conf, there comes below build error when "bitbake gcc-sanitizers": | ./../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c: In function 'elf_is_symlink': | ../../../../../../../../..

[OE-core] [PATCH] gcc-sanitizers: fix the build with -fno-omit-frame-pointer

2019-03-05 Thread mingli.yu
From: Mingli Yu Fix the below build issue for gcc-sanitizers when both -mthumb and -fno-omit-frame-pointer configured for arm. | ../../../../libsanitizer/sanitizer_common/sanitizer_linux.cc: In function 'sanitizer::uptr sanitizer::internal_clone(int (*)(void*), void*, int, void*, int*, void*, i

[OE-core] [PATCH] libdazzle: add check for GTK3DISTROFEATURES

2019-02-25 Thread mingli.yu
From: Mingli Yu When do world buid, there comes below error: | ERROR: Nothing PROVIDES 'gtk+3' (but /build/layers/oe-core/meta/recipes-gnome/libdazzle/libdazzle_3.30.2.bb DEPENDS on or otherwise requires it) | gtk+3 was skipped: one of 'x11 wayland' needs to be in DISTRO_FEATURES Add the check

[OE-core] [PATCH] logrotate.py: restore /etc/logrotate.d/wtmp

2019-02-12 Thread mingli.yu
From: Mingli Yu During the test logrotate.LogrotateTest.test_1_logrotate_setup, there is below logic: # mkdir $HOME/logrotate_dir # sed -i "s#wtmp {#wtmp {\nolddir $HOME/logrotate_dir#" /etc/logrotate.d/wtmp After all logrotate.LogrotateTest finished, only cleanup $HOME/logrotate_dir as b

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

2019-02-01 Thread mingli.yu
From: Mingli Yu Considering it's meanlingness to get test dir in compiled env, remove ABS_BUILD_DIR and ABS_SRC_DIR lines in src/shared/tests.c to improve reproducibility to fix below issue: WARNING: systemd-1_239-r0 do_package_qa: QA Issue: File /work/core2-64-wrs-linux/systemd/1_239-r0/package

[OE-core] [PATCH 2/2] python3-manifest.json: add logging to rdepends

2019-01-16 Thread mingli.yu
From: Mingli Yu Add loggging to rdepends for python3-2to3 and python3-multiprocessing. before patch: # python3 Python 3.5.6 (default, Jan 15 2019, 03:09:16) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from multiprocessing import util >>>

[OE-core] [PATCH 1/2] python2-manifest.json: add logging to rdepends

2019-01-16 Thread mingli.yu
From: Mingli Yu Add loggging to rdepends for python-2to3 and python-multiprocessing. before patch: # python Python 2.7.15 (default, Jan 15 2019, 03:09:01) [GCC 8.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from multiprocessing import util >>> u

[OE-core] [PATCH v2] nfs-utils: fix build error under tests folder

2018-12-17 Thread mingli.yu
From: Mingli Yu * Redefine the reference path of libnfs.a to ../support/nfs/.libs/libnfs.a to fix below error when run "make -C tests statdb_dump". | make: *** No rule to make target '../support/nfs/libnfs.a', needed by 'statdb_dump'. Stop. | make: *** No rule to make target '../../supp

[OE-core] [PATCH] nfs-utils: fix build error under tests folder

2018-12-17 Thread mingli.yu
From: Mingli Yu * Redefine the reference path of libnfs.a to ../support/nfs/.libs/libnfs.a to fix below error when run "make -C tests statdb_dump". | make: *** No rule to make target '../support/nfs/libnfs.a', needed by 'statdb_dump'. Stop. | make: *** No rule to make target '../../supp

[OE-core] [PATCH] mdadm: improve the run-ptest

2018-11-22 Thread mingli.yu
From: Mingli Yu * There are 120+ cases under ${libdir}/mdadm/ptest/tests, but the test will break if one test fails as below logic in run-ptest. ./test &>./test.log That's to say, the tests after the failed test have no chance to run with the current logic. To guarantee all the test

[OE-core] [PATCH] mdadm: Upgrade to 4.1

2018-11-21 Thread mingli.yu
From: Mingli Yu * Remove 5 backported patches * Refresh patches to remove fuzz warnings Signed-off-by: Mingli Yu --- .../files/0001-Disable-gcc8-warnings.patch| 74 +- ...-corosync-and-dlm-header-files-check.patch | 21 +- ...for-implicit-fallthrough-warning-sup.patch |

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

2018-11-15 Thread mingli.yu
From: Mingli Yu Remove _BUILD_STRING and _BUILD_TIME in _pl_bld.h to avoid introducing timestamp in the .so library such as libnspr4.so as below: $ readelf --wide --decompress --hex-dump=.rodata libnspr4.so [snip] 0x4000 32303138 2d31312d 31352030 353a3439 2018-11-15 05:49 [snip] [YOCTO

[OE-core] [PATCH v3] python: add tk support

2018-11-14 Thread mingli.yu
From: Mingli Yu Add support to enable tk via PACKGECONFIG. before the patch: # python Python 2.7.15 (default, Nov 8 2018, 04:53:50) [GCC 8.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import Tkinter Traceback (most recent call last): File "",

[OE-core] [PATCH v2] python3: add tk support

2018-11-14 Thread mingli.yu
From: Mingli Yu Add support to enable tk via PACKAGECONFIG. before this patch: # python3 Python 3.5.6 (default, Nov 8 2018, 04:53:45) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import tkinter Traceback (most recent call last): File "",

[OE-core] [PATCH] x264: Disable asm on x86

2018-11-12 Thread mingli.yu
From: Mingli Yu The previous commit as below only fixes the textrel issue with musl on x86, update it also to fix the issue such as with glibc on x86. 74ea4f280c1 x264: Disable asm on musl/x86 [YOCTO #11770] Signed-off-by: Mingli Yu --- meta/recipes-multimedia/x264/x264_git.bb | 2 +- 1 file

[OE-core] [PATCH v2 0/7] python/python3: add tk support

2018-11-07 Thread mingli.yu
Changed in v2: 1, add support for tk via PACKAGECONFIG, and tk is disabled by default. 2, add tk support also for python3. -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/opene

[OE-core] [PATCH 5/7] fontconfig: extend to nativesdk

2018-11-07 Thread mingli.yu
From: Mingli Yu After enable tk via PACKAGECONFIG for python3, there comes below error: Missing or unbuildable dependency chain was: ['nativesdk-packagegroup-sdk-host', 'nativesdk-opkg', 'nativesdk-libsolv', 'nativesdk-rpm', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-xft', 'nativesdk-font

[OE-core] [PATCH 7/7] libice: extend to nativesdk

2018-11-07 Thread mingli.yu
From: Mingli Yu After enable tk via PACKAGECONFIG for python3, there comes below error: Missing or unbuildable dependency chain was: ['buildtools-tarball', 'nativesdk-python3-git', 'nativesdk-python3-gitdb', 'nativesdk-python3-async', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-libxt', 'nat

[OE-core] [PATCH 4/7] libxft: extend to nativesdk

2018-11-07 Thread mingli.yu
From: Mingli Yu After enable tk via PACKAGECONFIG for python3, there comes below error: Missing or unbuildable dependency chain was: ['buildtools-tarball', 'nativesdk-python3-testtools', 'nativesdk-python3-pbr', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-xft'] Extend libxft to nativesdk t

[OE-core] [PATCH 6/7] libsm: extend to nativesdk

2018-11-07 Thread mingli.yu
From: Mingli Yu After enable tk via PACKAGECONFIG for python3, there comes below error: Missing or unbuildable dependency chain was: ['buildtools-tarball', 'nativesdk-python3-testtools', 'nativesdk-python3-pbr', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-libxt', 'nativesdk-libsm'] Extend

[OE-core] [PATCH 3/7] libxt: extend to nativesdk

2018-11-07 Thread mingli.yu
From: Mingli Yu After enable tk via PACKAGECONFIG for python3, there comes below error: Missing or unbuildable dependency chain was: ['buildtools-tarball', 'nativesdk-python3-pytz', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-libxt'] Extend libxt to nativesdk to fix this issue. Signed-off

[OE-core] [PATCH v2 1/7] python: add tk support

2018-11-07 Thread mingli.yu
From: Mingli Yu Add support to enable tk via PACKGECONFIG. before the patch: # python Python 2.7.15 (default, Nov 8 2018, 04:53:50) [GCC 8.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import Tkinter Traceback (most recent call last): File "",

[OE-core] [PATCH v2 0/7] python/python3: add tk support

2018-11-07 Thread mingli.yu
-- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core

[OE-core] [PATCH 2/7] python3: add tk support

2018-11-07 Thread mingli.yu
From: Mingli Yu Add support to enable tk via PACKAGECONFIG. before this patch: # python3 Python 3.5.6 (default, Nov 8 2018, 04:53:45) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import tkinter Traceback (most recent call last): File "",

[OE-core] [PATCH] mtd-utils: Update SRC_URI

2018-10-30 Thread mingli.yu
From: Mingli Yu The official repo for mtd-utils is git://git.infradead.org/mtd-utils.git, however there comes below error: $ git ls-remote git://git.infradead.org/mtd-utils.git fatal: unable to connect to git.infradead.org: git.infradead.org[0: 198.137.202.133]: errno=Connection timed out git.inf

[OE-core] [oe-core][PATCH 2/2] python: add tk support

2018-10-25 Thread mingli.yu
From: Mingli Yu Enable tk to add tk support for python. before the patch: # python Python 2.7.15 (default, Oct 25 2018, 08:12:45) [GCC 8.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import Tkinter Traceback (most recent call last): File "", li

[OE-core] [oe-core][PATCH 1/2] tk: add new recipe(move from meta-oe)

2018-10-25 Thread mingli.yu
From: Mingli Yu Move tk recipe from meta-oe to add tkinter support for python. Signed-off-by: Mingli Yu --- .../tk/configure.use.fontconfig.with.xft.patch | 13 meta/recipes-devtools/tcltk/tk/confsearch.diff | 35 ++ meta/recipes-devtools/tcltk/tk/fix-xft.diff| 16

[OE-core] [oe-core][PATCH 0/2] python: add tk support

2018-10-25 Thread mingli.yu
1, move tk recipe from meta-oe 2, enable tk to add tk support -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core

[OE-core] [PATCH v4] package_manager.py: correct the deploydir when packagefeed-stability inherited

2018-10-24 Thread mingli.yu
From: Mingli Yu After create_packages_dir added in below commit: 85e72e1 package_manager: Filter to only rpms we depend upon When add below line into conf/local.conf INHERIT += "packagefeed-stability" There comes below error when do_rootfs Exception: FileExistsError: [Errno 17] File exists: '/

[OE-core] [PATCH v3] package_manager.py: correct the deploydir when packagefeed-stability inherited

2018-10-24 Thread mingli.yu
From: Mingli Yu After create_packages_dir added in below commit: 85e72e1 package_manager: Filter to only rpms we depend upon When add below line into conf/local.conf INHERIT += "packagefeed-stability" There comes below error when do_rootfs Exception: FileExistsError: [Errno 17] File exists: '/

[OE-core] [PATCH v2] package_manager.py: correct the deploydir when packagefeed-stability inherited

2018-10-24 Thread mingli.yu
From: Mingli Yu After create_packages_dir added in below commit: 85e72e1 package_manager: Filter to only rpms we depend upon When add below line into conf/local.conf INHERIT += "packagefeed-stability" There comes below error when do_rootfs Exception: FileExistsError: [Errno 17] File exists: '/

[OE-core] [PATCH] package_manager.py: check the dest before create hard link

2018-10-24 Thread mingli.yu
From: Mingli Yu After create_packages_dir added in below commit: 85e72e1 package_manager: Filter to only rpms we depend upon When add below line into conf/local.conf INHERIT += "packagefeed-stability" There comes below error when do_rootfs Exception: FileExistsError: [Errno 17] File exists: '/

[OE-core] [PATCH] buildtools-tarball: add nativesdk-rpcsvc-proto

2018-10-18 Thread mingli.yu
From: Mingli Yu Fedora28 repackages rpcgen program to rpcgen package and the program will no longer be part of the glibc-common package. fedora 28: $ rpm -qf /usr/bin/rpcgen rpcgen-1.3.1-4.fc28.x86_64 fedora 27: $ rpm -qf /usr/bin/rpcgen glibc-common-2.26-27.fc27.x86_64 Once build a project on

[OE-core] [PATCH] boost.inc: make libboost_python3.so available

2018-10-16 Thread mingli.yu
From: Mingli Yu Currently boost provides ${libdir}/libboost_python35.so, but there is some logic as below in CMakeLists.txt of package cv-bridge under meta-ros layer. [snip] if(PYTHONLIBS_VERSION_STRING VERSION_LESS 3) find_package(Boost REQUIRED python) else() find_package(Boost REQUIRED

[OE-core] [PATCH] sysklogd.inc: add syslogd.8 to ALTERNATIVE_${PN}-doc

2018-09-26 Thread mingli.yu
From: Mark Hatle Other recipes, such as meta-networking inetutils may also provide a man page for syslogd.8. Use the alternatives mechanism to select the man page to display. This is a partial revert of commit: 988aad01b20c18a8850db0ad6dc547525d94116c Signed-off-by: Mark Hatle Signed-off-by: M

[OE-core] [PATCH v3] glibc: fix Segmentation fault in gethostid.c

2018-09-20 Thread mingli.yu
From: Mingli Yu Linux gethostid: Check for NULL value from gethostbyname_r [BZ #23679] A NULL value can happen with certain gethostbyname_r failures. Before this patch, there is a Segmentation fault as below: # /mybuild/hostid Segmentation fault # gdb /mybuild/hostid GNU gdb (GDB) 8.2 Copy

[OE-core] [PATCH v2] glibc: fix Segmentation fault in gethostid.c

2018-09-18 Thread mingli.yu
From: Mingli Yu When run test program hostid, it encounters Segmentation fault as hp is NULL. # cat /mybuild/hostid.c #include #include int main(int argc, char *argv[]) { long hostid; hostid = gethostid(); printf("the hostid is %ld\n", hostid); } # gcc -o /mybuild/hostid

[OE-core] [PATCH] glibc: fix Segmentation fault in gethostid.c

2018-09-18 Thread mingli.yu
From: Mingli Yu When run test program hostid, it encounters Segmentation fault as hp is NULL. # cat /mybuild/hostid.c #include #include int main(int argc, char *argv[]) { long hostid; hostid = gethostid(); printf("the hostid is %ld\n", hostid); } # gcc -o /mybuild/hostid

[OE-core] [PATCH] ffmpeg: Fix CVE-2018-15822

2018-09-06 Thread mingli.yu
From: Mingli Yu Fixes: Assertion failure Fixes: assert_flvenc.c:941_1.swf Signed-off-by: Mingli Yu --- .../ffmpeg/ffmpeg/CVE-2018-15822.patch | 37 ++ meta/recipes-multimedia/ffmpeg/ffmpeg_4.0.2.bb | 1 + 2 files changed, 38 insertions(+) create mode 10064

[OE-core] [PATCH] dropbear: Fix CVE-2018-15599

2018-09-06 Thread mingli.yu
From: Mingli Yu Wait to fail invalid usernames to fix CVE-2018-15599 Rework 0006-dropbear-configuration-file.patch to fix fuzz warnings Signed-off-by: Mingli Yu --- meta/recipes-core/dropbear/dropbear.inc| 1 + .../0006-dropbear-configuration-file.patch | 23 +- .../dro

[OE-core] [PATCH] libxkbcommon: Upgrade to 0.8.2

2018-09-06 Thread mingli.yu
From: Mingli Yu Signed-off-by: Mingli Yu --- .../xorg-lib/{libxkbcommon_0.8.0.bb => libxkbcommon_0.8.2.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-lib/{libxkbcommon_0.8.0.bb => libxkbcommon_0.8.2.bb} (83%) diff --git a/meta/recipes-graphics

[OE-core] [PATCH] kexec-tools: fix for "Unhandled rela relocation: R_X86_64_PLT32" error

2018-08-30 Thread mingli.yu
From: Mingli Yu In response to a change in binutils, commit b21ebf2fb4c (x86: Treat R_X86_64_PLT32 as R_X86_64_PC32) was applied to the linux kernel during the 4.16 development cycle and has since been backported to earlier stable kernel series. The change results in the failure message as below

[OE-core] [PATCH v2] bluez5: Fix ptest hang

2018-08-23 Thread mingli.yu
From: Mingli Yu The below test hangs infinitely $ ./run-ptest Actually it stuck at test-gatt unit test and the detailed test output as below: $ unit/test-gatt -p /robustness/unkown-request -d /robustness/unkown-request - init /robustness/unkown-request - setup /robustness/unkown-request - setup

[OE-core] [PATCH] bluez5: Fix ptest hang

2018-08-23 Thread mingli.yu
From: Mingli Yu The below test hangs infinitely $ ./run-ptest Actually it stuck at test-gatt unit test and the detailed test output as below: $ unit/test-gatt -p /robustness/unkown-request -d /robustness/unkown-request - init /robustness/unkown-request - setup /robustness/unkown-request - setup

[OE-core] [PATCH 2/2] mingetty: fix usrmerge install path

2018-08-16 Thread mingli.yu
From: Mingli Yu Update /sbin to $base_sbindir to fix the below warning when usrmerge enabled in DISTRO_FEATURES. WARNING: mingetty-1.08-r3 do_package: mingetty: NOT adding alternative provide /usr/sbin/getty: /usr/sbin/mingetty does not exist WARNING: mingetty-1.08-r3 do_package: QA Issue: ming

[OE-core] [PATCH 1/2] mdadm: fix usrmerge install path

2018-08-16 Thread mingli.yu
From: Mingli Yu Update /lib to $nonarch_base_libdir to fix the below error when usrmerge enabled in DISTRO_FEATURES. ERROR: mdadm-4.0-r0 do_package_qa: QA Issue: mdadm package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge] Signed-off-by: Mingli Yu --- me

[OE-core] [PATCH] ffmpeg: Upgrade to 4.0.2

2018-08-01 Thread mingli.yu
From: Mingli Yu Signed-off-by: Mingli Yu --- .../ffmpeg/{ffmpeg_4.0.bb => ffmpeg_4.0.2.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-multimedia/ffmpeg/{ffmpeg_4.0.bb => ffmpeg_4.0.2.bb} (97%) diff --git a/meta/recipes-multimedia/ffmpeg/ffmpe

[OE-core] [PATCH] grub2.inc: set GRUBPLATFORM_arm to efi

2018-07-23 Thread mingli.yu
From: Mingli Yu * grub-efi support on arm is enabled as below commit: commit 65f9fb788371a9a08e3b0e6febecb9cc2aaeefe7 Author: Kristian Amlie Date: Tue Jul 10 16:07:12 2018 +0200 grub-efi: Provide target architecture for 32-bit ARM. * But it fails on arm as below: | grub-mkimag

[OE-core] [PATCH] nfs-utils: fix build error under tests folder

2018-07-12 Thread mingli.yu
From: Mingli Yu * When enable the test as below in nfs-utils recipe, do_compile_append_class-target () { oe_runmake -C tests statdb_dump oe_runmake -C tests/nsm_client nsm_client } There comes some build error as: 1, | make: *** No rule to make target '../support/nfs/li

[OE-core] [PATCH V3] ltp: set -fomit-frame-pointer explicitly for x86-64

2018-06-15 Thread mingli.yu
From: Mingli Yu Since ltp contains x86-64 assembler which uses the frame-pointer register, it will trigger below error when build ltp with -fno-omit-frame-pointer on x86-64. | cve-2015-3290.c: In function 'child_thread': | cve-2015-3290.c:416:1: error: bp cannot be used in asm here And there is

[OE-core] [PATCH V2] ltp: set -fomit-frame-pointer explicitly for x86-64

2018-06-15 Thread mingli.yu
From: Mingli Yu When build ltp with -fno-omit-frame-pointer on x86-64, it will trigger below error: | cve-2015-3290.c: In function 'child_thread': | cve-2015-3290.c:416:1: error: bp cannot be used in asm here And there is also some comment as below in the source file ltp/20180515-r0/git/testcase

[OE-core] [PATCH V2] boost: Improve reproducibility

2018-06-15 Thread mingli.yu
From: Mingli Yu Set .file section explicitly for .S files to avoid the linker introduces the host path in symbols for object files whose source file is .S Otherwise, there is a host path in the symbols as below: $ readelf --wide --symbols /my-build/boost/1.67.0-r0/boost_1_67_0/x86_64-poky-linux/

[OE-core] [PATCH] ltp: set -fomit-frame-pointer explicitly

2018-06-14 Thread mingli.yu
From: Mingli Yu When build ltp with -fno-omit-frame-pointer, it will trigger below error: | cve-2015-3290.c: In function 'child_thread': | cve-2015-3290.c:416:1: error: bp cannot be used in asm here And there is also some comment as below in the source file ltp/20180515-r0/git/testcases/cve/cve-

[OE-core] [PATCH] boost: Improve reproducibility

2018-05-30 Thread mingli.yu
From: Mingli Yu boost_context includes some assembly source files and will export the assembly object file make_x86_64_sysv_elf_gas.o which contains host path as below: $ readelf --wide --symbols /my-build/boost/1.67.0-r0/boost_1_67_0/x86_64-poky-linux/boost/bin.v2/libs/context/build/aca09349fdb

  1   2   >