[OE-core] [PATCH V2] pulseaudio: improve reproducibility

2018-12-05 Thread Hongxu Jia
There are two fixes, one is sent to upstream, and another is oe specific. [YOCTO #12638] Signed-off-by: Hongxu Jia --- .../0001-improve-reproducibility-build.patch | 97 ++ ...lay-CLFAGS-to-improve-reproducibility-bui.patch | 30 +++ .../pulseaudio/pulseaudio_12.2.

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

2018-12-05 Thread Chen Qi
Changes in V2: * Also check QB_CPU_KVM to determine whether to enable kvm or not The following changes since commit aa93957c8353d222961f08e54fe8d4095dad72c1: tcl: Upgrade to 8.6.9 (2018-12-05 22:30:19 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi

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

2018-12-05 Thread Chen Qi
We want QEMU_USE_KVM to only set to some boolean value, with possible MACHINE override. Drop the support of listing machines in this variable, and give users error message if they still do so. Error message below is an example. ERROR: core-image-minimal-1.0-r0 do_testimage: Invalid boolean value

Re: [OE-core] [PATCH 1/1] u-boot-tools: fix compile error

2018-12-05 Thread Khem Raj
Richard, Please pick this patch up. This fixes the build issue for this recipe on every architecture besides arm/x86 e.g. see http://errors.yoctoproject.org/Errors/Details/203569/ On Thu, Nov 29, 2018 at 5:59 PM wrote: > > From: Kai Kang > > It uses sandbox_defconfig to produce u-boot tools. But

Re: [OE-core] [PATCH] [PATCH] tcl:upgrade to 8.6.9

2018-12-05 Thread Khem Raj
I think this is causing tk to fail with missing fixstrtod see http://errors.yoctoproject.org/Errors/Details/203567/ Richard, please hold off to this patch until we have equivalent tk upgrade patch as well. On Tue, Dec 4, 2018 at 5:19 PM Hong Liu wrote: > > 1.Upgrade tcl from 8.6.8 to 8.6.9. > >

Re: [OE-core] Is it necessary to fix the Bugzilla – Bug 11807 and 5876 ?

2018-12-05 Thread Hongzhi, Song
On 12/06/2018 11:04 AM, Hongzhi, Song wrote: On 12/05/2018 06:57 PM, Bruce Ashfield wrote: On 12/5/18 5:17 AM, Hongzhi, Song wrote: Hi all, I don't know if it is necessary to do this enhancement. 1. Bug 11807: https://bugzilla.yoctoproject.org/show_bug.cgi?id=11807 'CONFIG_EXTRA_FIRMW

Re: [OE-core] Is it necessary to fix the Bugzilla – Bug 11807 and 5876 ?

2018-12-05 Thread Hongzhi, Song
On 12/05/2018 06:57 PM, Bruce Ashfield wrote: On 12/5/18 5:17 AM, Hongzhi, Song wrote: Hi all, I don't know if it is necessary to do this enhancement. 1. Bug 11807: https://bugzilla.yoctoproject.org/show_bug.cgi?id=11807 'CONFIG_EXTRA_FIRMWARE' is used to be set to the names of firmware

Re: [OE-core] [PATCH 1/1] uboot-sign.bbclass: Remove tab indentations in python code

2018-12-05 Thread Robert Yang
Hi Martin, On 12/5/18 10:40 PM, Martin Jansa wrote: I wish we could have the same warning for shell code as well :). According to oe's Format Guidelines: https://www.openembedded.org/wiki/Styleguide#Format_Guidelines - Python functions must be four space indented - no tabs. - Shell function

[OE-core] [PATCH] recipeutils-test: Add missing LIC_FILES_CHKSUM

2018-12-05 Thread Khem Raj
Fixes ERROR: QA Issue: recipeutils-test: Recipe file fetches files and does not have license file information (LIC_FILES_CHKSUM) [license-checksum] Signed-off-by: Khem Raj --- meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[OE-core] [PATCH] libunwind: Enable building static archive on musl

2018-12-05 Thread Khem Raj
This ensures that we have .a for libunwind on musl targets, this is used for stack unwinding infra e.g. in rust Help compiling rust compiler and standard library from meta-rust Signed-off-by: Khem Raj --- meta/recipes-support/libunwind/libunwind_1.2.1.bb | 2 +- 1 file changed, 1 insertion(+),

Re: [OE-core] [bitbake-devel] [PATCH v3 13/17] bitbake: runqueue: Pass dependency ID to hash validate

2018-12-05 Thread Richard Purdie
On Mon, 2018-12-03 at 21:42 -0600, Joshua Watt wrote: > If the dependency ID is being used to track task dependencies, the > hash > validation function needs to know about it in order to properly > validate > the hash. > > TODO: This currently isn't going to be backward compatible with older > has

Re: [OE-core] [bitbake-devel] [PATCH v3 10/17] bitbake: siggen: Split out task depend ID

2018-12-05 Thread Richard Purdie
On Mon, 2018-12-03 at 21:42 -0600, Joshua Watt wrote: > Abstracts the function to get the dependency ID for a task so it can > return something other that the taskhash > > [YOCTO #13030] > > Signed-off-by: Joshua Watt > --- > bitbake/lib/bb/siggen.py | 7 +-- > 1 file changed, 5 insertions(

Re: [OE-core] [OE-Core][PATCH 3/3] devtool: provide support for devtool menuconfig command.

2018-12-05 Thread Alejandro Hernandez
Hey Scott, On 12/5/2018 8:38 AM, Scott Rifenbark wrote: Hi, This probably has documentation ramifications yes?  See https://yoctoproject.org/docs/2.6/mega-manual/mega-manual.html#ref-devtool-reference. Yup, this should be documented, we can provide you a draft for you to review, expect it

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

2018-12-05 Thread Richard Purdie
On Wed, 2018-12-05 at 17:34 +0800, Chen Qi wrote: > We want QEMU_USE_KVM to only set to some boolean value, with possible > MACHINE override. Drop the support of listing machines in this > variable, > and give users error message if they still do so. > > Error message below is an example. > > ERR

Re: [OE-core] [PATCH 1/1] nativesdk/sdk: Fix sdk dummy providers for opkg

2018-12-05 Thread richard . purdie
On Wed, 2018-12-05 at 08:59 +0100, Andrej Valek wrote: > We have made some deeper analysis of this problem. > > In our opinion the code as it is now does not work for any packaging > method. > For RPM it's a silent failure (purpose of dummy class is to replace > tools like perl, however without RC

Re: [OE-core] [OE-Core][PATCH 3/3] devtool: provide support for devtool menuconfig command.

2018-12-05 Thread Scott Rifenbark
Hi, This probably has documentation ramifications yes? See https://yoctoproject.org/docs/2.6/mega-manual/mega-manual.html#ref-devtool-reference . Thanks, Scott On Wed, Dec 5, 2018 at 8:27 AM Sai Hari Chandana Kalluri < chandana.kall...@xilinx.com> wrote: > All packages that support the menucon

[OE-core] [OE-Core][PATCH 3/3] devtool: provide support for devtool menuconfig command.

2018-12-05 Thread Sai Hari Chandana Kalluri
All packages that support the menuconfig task will be able to run devtool menuconfig command. This would allow the user to modify the current configure options and create a config fragment which can be added to a recipe using devtool finish. 1. The patch checks if devtool menuconfig command is cal

[OE-core] [OE-Core][PATCH 1/3] devtool modify: Update devtool modify to copy source from work-shared if its already downloaded.

2018-12-05 Thread Sai Hari Chandana Kalluri
In the regular devtool modify flow, the kernel source is fetched by running do_fetch task. This is an overhead in time and space. This patch updates modify command to check if the kernel source is already downloaded. If so, then instead of calling do_fetch, copy the source from work-shared to devt

Re: [OE-core] [PATCH 1/1] uboot-sign.bbclass: Remove tab indentations in python code

2018-12-05 Thread Martin Jansa
I wish we could have the same warning for shell code as well :). Can you please take care of meta-gplv2 as well? WARNING: meta-gplv2/recipes-core/coreutils/coreutils_6.9.bb: python should use 4 spaces indentation, but found tabs in coreutils_6.9.bb, line 95 I've sent patch for meta-oe issue: http

[OE-core] [PATCH] meta/classes/kernel: don't assign the build user/host

2018-12-05 Thread Federico Sauter via Openembedded-core
The KBUILD_BUILD_USER and KBUILD_BUILD_HOST variables were assigned at the kernel class level, which made it impossible to override them in the local configuration. By setting only the default values of those variables in the kernel class, it is now possible to override them as expected. Signed-o

[OE-core] ✗ patchtest: failure for "lib/oe/utils: Improve multipro..." and 2 more

2018-12-05 Thread Patchwork
== Series Details == Series: "lib/oe/utils: Improve multipro..." and 2 more Revision: 1 URL : https://patchwork.openembedded.org/series/15224/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been

[OE-core] [PATCH 2/3] image.bbclass: respect PACKAGE_NO_GCONV

2018-12-05 Thread kai.kang
From: Kai Kang It installs locale-base-* packages according to var IMAGE_LINGUAS. Packages locale-base-* are split in libc-package.bbclass if variable PACKAGE_NO_GCONV is not set. When none of ditro features libc-charsets libc-locales and libc-locale-code is set, PACKAGE_NO_GCONV is set. Then no

[OE-core] [PATCH 1/3] glibc-locale: fix installed-vs-shipped qa issue

2018-12-05 Thread kai.kang
From: Kai Kang Variable PACKAGE_NO_GCONV is set in libc-package.bbclass when none of libc-charsets, libc-locales and libc-locale-code set in DISTRO_FEATURES. Then it causes installed-vs-shipped qa issue of glibc-locale: | ERROR: glibc-locale-2.28-r0 do_package: QA Issue: glibc-locale: | Files/di

[OE-core] [PATCH 3/3] packages: respect PACKAGE_NO_GCONV

2018-12-05 Thread kai.kang
From: Kai Kang PACKAGE_NO_GCONV is set in libc-package.bbclass if not all of 'libc-charsets libc-locale-code libc-locales' included in DISTRO_FEATURES. And then no packages glibc-gconv-* glibc-charmap-* and glibc-localedata-* is created. Update recipes and conf file which depend on these packages

[OE-core] [PATCH 0/3] Fix issue when locale related distro features missing

2018-12-05 Thread kai.kang
From: Kai Kang The original problem is when distro features libc-charsets libc-locale-code and libc-locales are missing, it has installed-vs-shipped qa issue. Then fix for image and other packages depends on glibc locale packages too. Build image and sdk for qemux86 and qemuarm64 with and withou

[OE-core] [PATCH 3/3] oeqa/utils/qemurunner: Avoid tracebacks on closed files

2018-12-05 Thread Richard Purdie
Reorder the shutdown/teardown to avoid: File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/utils/qemurunner.py", line 224, in launch op = self.getOutput(output) File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/utils/qemurunner.py", line 9

[OE-core] [PATCH 2/3] oeqa/selftest/runqemu: Improve testcase failure handling

2018-12-05 Thread Richard Purdie
assertTrue doesn't give good debug information when things fail. Update several to use assertIn which gives information upon failure, for the others print the log information upon failure. Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/cases/runqemu.py | 32 +++-- 1

[OE-core] ✗ patchtest: failure for Devtool: provide easy means of reconfiguring the kernel (rev2)

2018-12-05 Thread Patchwork
== Series Details == Series: Devtool: provide easy means of reconfiguring the kernel (rev2) Revision: 2 URL : https://patchwork.openembedded.org/series/15215/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several

[OE-core] [PATCH 1/3] lib/oe/utils: Improve multiprocess_lauch exception handling

2018-12-05 Thread Richard Purdie
We've seen a cryptic: "ERROR: Fatal errors occurred in subprocesses, tracebacks printed above" message from oe-selftest with no other traceback information. Improve the traceback logging to try and give a better indication of any errors that is ocurring. Signed-off-by: Richard Purdie --- meta/

[OE-core] [OE-Core][PATCH 2/3] devtool modify: Create a copy of kernel source

2018-12-05 Thread Sai Hari Chandana Kalluri
If kernel source is not already downloaded i.e staging kernel dir is empty, place a copy of the source when the user runs devtool modify linux-yocto. This way the kernel source is available for other packages that use it. [YOCTO #10416] Signed-off-by: Sai Hari Chandana Kalluri Signed-off-by: Ale

Re: [OE-core] [PATCH 1/2] pulseaudio: improve reproducibility

2018-12-05 Thread Tanu Kaskinen
On Wed, 2018-12-05 at 10:11 +0800, Hongxu Jia wrote: > Remove build host paths from generated binaries, the modification > is harmless for build time compiling and runtime executing. > > [YOCTO #12638] > > Signed-off-by: Hongxu Jia > --- > .../pulseaudio/0001-improve-reproducibility.patch | 50

Re: [OE-core] [PATCH v4] linux-libc-headers: Fix build failure by using fixed temporary file instead of pipe

2018-12-05 Thread He Zhe
Kindly ping. Zhe On 2018/11/21 22:06, zhe...@windriver.com wrote: > From: He Zhe > > This is a workaround for the following possible build failure. > > *** Compiler lacks asm-goto support.. Stop. > > When building linux-libc-headers we need to use binutils on build machine. > binutils v2.31 intr

Re: [OE-core] Is it necessary to fix the Bugzilla – Bug 11807 and 5876 ?

2018-12-05 Thread Bruce Ashfield
On 12/5/18 5:17 AM, Hongzhi, Song wrote: Hi all, I don't know if it is necessary to do this enhancement. 1. Bug 11807: https://bugzilla.yoctoproject.org/show_bug.cgi?id=11807 'CONFIG_EXTRA_FIRMWARE' is used to be set to the names of firmware files which should be provided by driver vendor

[OE-core] Is it necessary to fix the Bugzilla – Bug 11807 and 5876 ?

2018-12-05 Thread Hongzhi, Song
Hi all, I don't know if it is necessary to do this enhancement. 1. Bug 11807: https://bugzilla.yoctoproject.org/show_bug.cgi?id=11807 'CONFIG_EXTRA_FIRMWARE' is used to be set to the names of firmware files which should be provided by driver vendors. 'CONFIG_EXTRA_FIRMWARE_DIR' is set to

[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 0/1] oeqa: drop support of listing machines in QEMU_USE_KVM

2018-12-05 Thread Chen Qi
Hi Yeoh Ee Peng, meta/lib/oeqa/manual/bsp-qemu.json might need to be modified after this patch. But I don't know how it is used. Could you please help take care of it? Best Regards, Chen Qi The following changes since commit 016e3dda2d6acc9b457079d11b5346a5352a431d: btrfs-tools: update to 4.1

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

2018-12-05 Thread Chen Qi
We want QEMU_USE_KVM to only set to some boolean value, with possible MACHINE override. Drop the support of listing machines in this variable, and give users error message if they still do so. Error message below is an example. ERROR: core-image-minimal-1.0-r0 do_testimage: Invalid boolean value

[OE-core] [PATCH 4/4] at: upgrade to 3.1.23

2018-12-05 Thread Chen Qi
The following patches are rebased. fix_parallel_build_error.patch pam.conf.patch Signed-off-by: Chen Qi --- .../at/at/fix_parallel_build_error.patch | 15 +--- meta/recipes-extended/at/at/pam.conf.patch | 40 +- .../at/{at_3.1.20.bb => at_3.1.23.bb}

[OE-core] [PATCH 2/4] cups: upgrade to 2.2.9

2018-12-05 Thread Chen Qi
The following patch is rebased. 0001-don-t-try-to-run-generated-binaries.patch Signed-off-by: Chen Qi --- .../0001-don-t-try-to-run-generated-binaries.patch | 29 +++--- .../cups/{cups_2.2.8.bb => cups_2.2.9.bb} | 4 +-- 2 files changed, 17 insertions(+), 16 deletion

[OE-core] [PATCH 3/4] sysstat: upgrade to 12.1.1

2018-12-05 Thread Chen Qi
Signed-off-by: Chen Qi --- .../recipes-extended/sysstat/{sysstat_11.7.4.bb => sysstat_12.1.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-extended/sysstat/{sysstat_11.7.4.bb => sysstat_12.1.1.bb} (53%) diff --git a/meta/recipes-extended/sysstat/sysstat_11.7

[OE-core] [PATCH 1/4] sudo: upgrade to 1.8.26

2018-12-05 Thread Chen Qi
License-Update: include more files to check, but license remains the same. Signed-off-by: Chen Qi --- meta/recipes-extended/sudo/sudo.inc | 7 +-- meta/recipes-extended/sudo/{sudo_1.8.23.bb => sudo_1.8.26.bb} | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-

[OE-core] [PATCH 0/4] Upgrade sudo, cups, sysstat, at

2018-12-05 Thread Chen Qi
The following changes since commit 016e3dda2d6acc9b457079d11b5346a5352a431d: btrfs-tools: update to 4.19 (2018-12-03 12:20:01 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/PU http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/PU Chen

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

2018-12-05 Thread Changqing Li
ping On 11/22/18 3:30 PM, Changqing Li wrote: Ping On 11/8/18 9:49 AM, Changqing Li wrote: Ping On 10/23/18 1:22 PM, changqing...@windriver.com wrote: From: Changqing Li When working path contains "clang"/"gcc"/"icc", it might be part of $CC because of the "--sysroot" parameter. That could

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

2018-12-05 Thread Changqing Li
ping On 11/22/18 3:31 PM, Changqing Li wrote: Ping On 11/8/18 9:49 AM, Changqing Li wrote: Ping On 10/25/18 4:59 PM, changqing...@windriver.com wrote: 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