[OE-core] [PATCH] gstreamer1.0-vaapi: downgrade vaapisink to marginal rank

2018-11-29 Thread Anuj Mittal
Using vaapisink (which doesn't supports DRI3 [1] and uses DRI2) with default poky configuration currently results in an unresponsive display because DRI2 rendering doesn't work (as of xserver 1.20.3) in non-composited environments [2]. Downgrade vaapisink to marginal for now so playbin (and in tur

[OE-core] ✗ patchtest: failure for cooker: simplify BB_DANGLINGAPPENDS_WARNONLY

2018-11-29 Thread Patchwork
== Series Details == Series: cooker: simplify BB_DANGLINGAPPENDS_WARNONLY Revision: 1 URL : https://patchwork.openembedded.org/series/15147/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been ex

Re: [OE-core] [PATCH 0/1] cooker: simplify BB_DANGLINGAPPENDS_WARNONLY

2018-11-29 Thread Robert Yang
Sorry, wrong post, it should go to bitbake mailing list. // Robert On 11/30/18 11:39 AM, Robert Yang wrote: Hi RP, I'd like to change the fatal message to be an event, the benefits are: - Things like report-error.bbclass can catch the error - It's easier to get bbappends list from an event mes

Re: [OE-core] ✗ patchtest: failure for uboot-sign.bbclass: fix signature and deployment (rev2)

2018-11-29 Thread Robert Yang
This patch is for master-next, not master, so I think that we can ignore this issue. // Robert On 11/30/18 10:33 AM, Patchwork wrote: == Series Details == Series: uboot-sign.bbclass: fix signature and deployment (rev2) Revision: 2 URL : https://patchwork.openembedded.org/series/15013/ State

[OE-core] [PATCH 1/1] cooker: simplify BB_DANGLINGAPPENDS_WARNONLY

2018-11-29 Thread Robert Yang
- d.getVar('BB_DANGLINGAPPENDS_WARNONLY', False) -> d.getVar('BB_DANGLINGAPPENDS_WARNONLY') There is no reason to use 'False'. - Use bb.utils.to_boolean for warn_only. Signed-off-by: Robert Yang --- bitbake/lib/bb/cooker.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --g

[OE-core] [PATCH 0/1] cooker: simplify BB_DANGLINGAPPENDS_WARNONLY

2018-11-29 Thread Robert Yang
Hi RP, I'd like to change the fatal message to be an event, the benefits are: - Things like report-error.bbclass can catch the error - It's easier to get bbappends list from an event message than from console log. What's your opinion, please ? // Robert The following changes since commit 41d895

[OE-core] ✗ patchtest: failure for uboot-sign.bbclass: fix signature and deployment (rev2)

2018-11-29 Thread Patchwork
== Series Details == Series: uboot-sign.bbclass: fix signature and deployment (rev2) Revision: 2 URL : https://patchwork.openembedded.org/series/15013/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests h

Re: [OE-core] [oe] Github pull requests

2018-11-29 Thread Khem Raj
On Thu, Nov 29, 2018 at 5:26 PM Paul Eggleton wrote: > > Hi folks > > Someone pointed out that there are quite a few pull requests on github under > https://github.com/openembedded/. I know we don't accept these, but it seems > to me we ought to clean up the ones that are there in order to avoid p

[OE-core] [PATCH 0/1 V2] uboot-sign.bbclass: fix signature and deployment

2018-11-29 Thread Robert Yang
* V2 Rebase to master-next and resend. * V1 Initial version The following changes since commit e821100b1ee2a023b813adb20e56fe1ccc352d42: musl: Update to latest trunk (2018-11-29 23:34:46 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib

[OE-core] [PATCH 1/1] uboot-sign.bbclass: fix signature and deployment

2018-11-29 Thread Robert Yang
Fixed: MACHINE = "beaglebone-yocto" KERNEL_CLASSES += "kernel-fitimage" KERNEL_IMAGETYPE_beaglebone-yocto = "fitImage" UBOOT_MACHINE_beaglebone-yocto = "am335x_boneblack_vboot_config" UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb -p 2000" UBOOT_SIGN_KEYDIR = "${TOPDIR}/conf" UBOOT_SIGN_KEYNAME = "dev" UBO

Re: [OE-core] [PATCH 1/1] uboot-sign.bbclass: fix signature and deployment

2018-11-29 Thread Robert Yang
Hi Ross, On 11/29/18 9:15 PM, Burton, Ross wrote: This didn't get merged before other pieces did, so can you please rebase and resend? Thanks, I will rebase to master-next and resend. BTW, the Christian Andersen (the reporter) has replied that the patch works for him: https://bugzilla.yoctopr

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

2018-11-29 Thread kai.kang
From: Kai Kang It uses sandbox_defconfig to produce u-boot tools. But EFI is only supported by arm and x86, then it fails to run task do_compile on other arches: | include/config_distro_bootcmd.h:267:3: error: #error "sandbox EFI | support is only supported on ARM and x86" Only enable EFI suppo

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

2018-11-29 Thread kai.kang
From: Kai Kang The following changes since commit 41d89552620bfbc94031d314e6b3d0324f7a330e: bitbake: fetch2: Avoid warning about incorrect character escaping in regex (2018-11-27 22:15:34 +) are available in the Git repository at: git://git.pokylinux.org/poky-contrib kangkai/uboot h

[OE-core] Github pull requests

2018-11-29 Thread Paul Eggleton
Hi folks Someone pointed out that there are quite a few pull requests on github under https://github.com/openembedded/. I know we don't accept these, but it seems to me we ought to clean up the ones that are there in order to avoid people thinking that they might be (and probably comment on the

[OE-core] ✗ patchtest: failure for nano: upgrade to 3.2

2018-11-29 Thread Patchwork
== Series Details == Series: nano: upgrade to 3.2 Revision: 1 URL : https://patchwork.openembedded.org/series/15143/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed s

[OE-core] [PATCH] nano: upgrade to 3.2

2018-11-29 Thread Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk --- meta-oe/recipes-support/nano/{nano_3.0.bb => nano_3.2.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-oe/recipes-support/nano/{nano_3.0.bb => nano_3.2.bb} (79%) diff --git a/meta-oe/recipes-support/nano/nano_3.0.bb b/meta-oe/recip

Re: [OE-core] [PATCH v3 4/4] oe-selftest: add some tests for recipeutils module

2018-11-29 Thread Paul Eggleton
On Friday, 30 November 2018 12:09:58 PM NZDT richard.pur...@linuxfoundation.org wrote: > On Fri, 2018-11-30 at 08:35 +1300, Paul Eggleton wrote: > > On Friday, 30 November 2018 3:06:32 AM NZDT Richard Purdie wrote: > > > On Thu, 2018-11-29 at 22:21 +1300, Paul Eggleton wrote: > > > > Add some test

[OE-core] [PATCH v4 4/4] oe-selftest: add some tests for recipeutils module

2018-11-29 Thread Paul Eggleton
Add some tests for functions in meta/lib/oe/recipeutils.py, in particular for a few issues I've just fixed. I haven't added tests for all of the functions - some of them are already being tested via devtool in any case. Signed-off-by: Paul Eggleton --- .../python/python-async-test.inc

Re: [OE-core] [PATCH v3 4/4] oe-selftest: add some tests for recipeutils module

2018-11-29 Thread richard . purdie
On Fri, 2018-11-30 at 08:35 +1300, Paul Eggleton wrote: > On Friday, 30 November 2018 3:06:32 AM NZDT Richard Purdie wrote: > > On Thu, 2018-11-29 at 22:21 +1300, Paul Eggleton wrote: > > > Add some tests for functions in meta/lib/oe/recipeutils.py, in > > > particular for a few issues I've just fi

Re: [OE-core] [PATCH v3 4/4] oe-selftest: add some tests for recipeutils module

2018-11-29 Thread Paul Eggleton
On Friday, 30 November 2018 3:06:32 AM NZDT Richard Purdie wrote: > On Thu, 2018-11-29 at 22:21 +1300, Paul Eggleton wrote: > > Add some tests for functions in meta/lib/oe/recipeutils.py, in > > particular for a few issues I've just fixed. I haven't added tests > > for > > all of the functions - so

[OE-core] [PATCH V2] musl: Update to latest trunk

2018-11-29 Thread Khem Raj
Complete changelogs are here https://git.musl-libc.org/cgit/musl/log/?qt=range&q=c50985d5c8e316c5c464f352e79eeebfed1121a9..39ef612aa193cc6e954ac5a01574300ccd4b7ef9 Signed-off-by: Khem Raj --- V2: move to latest master ( 3 more commits for regressions ) meta/recipes-core/musl/musl_git.bb | 2 +-

[OE-core] [PATCH] oeqa/sdk/python: add Python 2 and fix detection

2018-11-29 Thread Ross Burton
Add a Python 2 form to exercise that if present, and fix the setUp() so it actually looks for a package that exists (nativesdk-python3 is a virtual package, the interpretter is in nativesdk-python3-core). Signed-off-by: Ross Burton --- meta/lib/oeqa/sdk/cases/python.py | 20 +---

Re: [OE-core] [PATCH 1/5] RFC image_types.bbclass: add image size limit for tar image type

2018-11-29 Thread richard . purdie
On Thu, 2018-11-29 at 14:17 +, mikko.rap...@bmw.de wrote: > On Thu, Nov 29, 2018 at 02:04:14PM +, Richard Purdie wrote: > > On Thu, 2018-11-29 at 14:21 +0200, Mikko Rapeli wrote: > > > If IMAGE_ROOTFS_SIZE_LIMIT is defined in image configuration, > > > then > > > build will fail if for tar

[OE-core] [PATCH] libc-package: fix postinst error when ENABLE_BINARY_LOCALE_GENERATION = "0"

2018-11-29 Thread Alexander Kanavin
[YOCTO #13028] Signed-off-by: Alexander Kanavin --- meta/classes/libc-package.bbclass | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass index 4c694ab5e2b..6b1e84ef7e3 100644 --- a/meta/classes/lib

Re: [OE-core] [PATCH 1/5] RFC image_types.bbclass: add image size limit for tar image type

2018-11-29 Thread Christopher Larson
This seems like it’d make a good general image qa check instead, rather than being part of do_image_tar. On Thu, Nov 29, 2018 at 7:29 AM wrote: > On Thu, Nov 29, 2018 at 02:04:14PM +, Richard Purdie wrote: > > On Thu, 2018-11-29 at 14:21 +0200, Mikko Rapeli wrote: > > > If IMAGE_ROOTFS_SIZE_

[OE-core] [PATCH] classes/update-alternatives: Skip alternatives when disabled

2018-11-29 Thread Joshua Watt
Skips the update alternative steps for recipes that shouldn't have them enabled. Fixes errors like: nativesdk-bzip2-1.0.6-r5 do_package: bzip2: alternative target (/opt/poky/2.5+snapshot/sysroots/i686-pokysdk-mingw32/usr/bin/bunzip2 or /opt/poky/2.5+snapshot/sysroots/i686-pokysdk-mingw32/usr/

Re: [OE-core] [PATCH 1/5] RFC image_types.bbclass: add image size limit for tar image type

2018-11-29 Thread Mikko.Rapeli
On Thu, Nov 29, 2018 at 02:04:14PM +, Richard Purdie wrote: > On Thu, 2018-11-29 at 14:21 +0200, Mikko Rapeli wrote: > > If IMAGE_ROOTFS_SIZE_LIMIT is defined in image configuration, then > > build will fail if for tar image type the uncompressed tar ball size > > exceeds the value, as reported

Re: [OE-core] [PATCH v3 4/4] oe-selftest: add some tests for recipeutils module

2018-11-29 Thread Richard Purdie
On Thu, 2018-11-29 at 22:21 +1300, Paul Eggleton wrote: > Add some tests for functions in meta/lib/oe/recipeutils.py, in > particular for a few issues I've just fixed. I haven't added tests > for > all of the functions - some of them are already being tested via > devtool > in any case. Hate to sa

Re: [OE-core] [PATCH 1/5] RFC image_types.bbclass: add image size limit for tar image type

2018-11-29 Thread Richard Purdie
On Thu, 2018-11-29 at 14:21 +0200, Mikko Rapeli wrote: > If IMAGE_ROOTFS_SIZE_LIMIT is defined in image configuration, then > build will fail if for tar image type the uncompressed tar ball size > exceeds the value, as reported by 'du -ks'. > > This check could be extended to other image types as

[OE-core] ✗ patchtest: failure for various fixes

2018-11-29 Thread Patchwork
== Series Details == Series: various fixes Revision: 1 URL : https://patchwork.openembedded.org/series/15136/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series b

Re: [OE-core] [PATCH 1/1] uboot-sign.bbclass: fix signature and deployment

2018-11-29 Thread Burton, Ross
This didn't get merged before other pieces did, so can you please rebase and resend? Ross On Thu, 22 Nov 2018 at 01:43, Robert Yang wrote: > > > > On 11/22/18 1:20 AM, Otavio Salvador wrote: > > Hello, > > > > On Wed, Nov 21, 2018 at 4:08 AM Robert Yang > > wrote: > >> > >> Fixed: > >> MACHINE

[OE-core] [PATCH 1/5] RFC image_types.bbclass: add image size limit for tar image type

2018-11-29 Thread Mikko Rapeli
If IMAGE_ROOTFS_SIZE_LIMIT is defined in image configuration, then build will fail if for tar image type the uncompressed tar ball size exceeds the value, as reported by 'du -ks'. This check could be extended to other image types as well. There already exists a check with IMAGE_ROOTFS_SIZE variab

[OE-core] [PATCH 4/5] sstate: add support for caching shared workdir tasks

2018-11-29 Thread Mikko Rapeli
From: Michael Ho The sstate bbclass uses workdir as a hardcoded string in path manipulations. This means that the sstate caching mechanism does not work for the work-shared directory which the kernel uses to share its build configuration and source files for out of tree kernel modules. This comm

[OE-core] [PATCH 0/5] various fixes

2018-11-29 Thread Mikko Rapeli
Hi, Here are some patches we have to use on sumo. Developed and tested heavily on sumo and only compile tested with core-image-minimal on top of master branch. Michael Ho (3): cmake.bbclass: append includedir to implicit include dirs sstate: add support for caching shared workdir tasks insa

[OE-core] [PATCH 5/5] insane.bbclass: add package specific skips to sstate hash

2018-11-29 Thread Mikko Rapeli
From: Michael Ho The bbclass currently adds INSANE_SKIP to the sstate hash dependencies however the package specific skips such as INSANE_SKIP_${PN} are not added automatically because of how the class references them. This causes the problem that modifying INSANE_SKIP_${PN} does not invalidate

[OE-core] [PATCH 2/5] bitbake: fetch2/svn: Fix SVN repository concurrent update race

2018-11-29 Thread Mikko Rapeli
From: Ulf Magnusson The ${DL_DIR}/svn directory is used by BitBake to keep checked-out SVN repositories from which tarballs are generated. These repositories were protected from concurrent update with a lock on the tarballs. However, the tarballs are specific to the SRCREV and module checked out

[OE-core] [PATCH 3/5] cmake.bbclass: append includedir to implicit include dirs

2018-11-29 Thread Mikko Rapeli
From: Michael Ho This resolves issues with paths being marked as system includes that differ from /usr/include but are considered implicit by the toolchain. This enables developers to add directories to system includes to supress compiler compiler warnings from them. Signed-off-by: Michael Ho C

[OE-core] [PATCH 3/5] oeqa/selftest/buildoptions: Ensure diskmon tests run consistently

2018-11-29 Thread Richard Purdie
Heartbeat events default to once a second and we need to ensure we have enough time in the task to see them. Add a nostamp delay task 5s long so we can have a consistently timed task which doesn't need cleanup or have unneeded dependencies. This ensures we should deterministically see the disk moi

[OE-core] [PATCH 5/5] oeqa/selftest/context: Improve log file handling

2018-11-29 Thread Richard Purdie
The existing logfile is simply placed in the current directory. Since the test changes cwd to BUILDDIR, the symlink to the log can be placed in an invalid directory. We also see trackbacks if the symlink is invalid. Improve things by: * Placing logs in LOG_DIR (or BUILDDIR if unset). * Using a fu

[OE-core] [PATCH 4/5] meta-selftest/error: Cleanup large trailing whitespace

2018-11-29 Thread Richard Purdie
Signed-off-by: Richard Purdie --- meta-selftest/recipes-test/error/error.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-selftest/recipes-test/error/error.bb b/meta-selftest/recipes-test/error/error.bb index 3c22e7cbebb..65d00a46d99 100644 --- a/meta-selftest/recipes-

[OE-core] [PATCH 2/5] oeqa/selftest/runcmd: Increase timeout delta

2018-11-29 Thread Richard Purdie
Expecting 1s accuracy on a 2s timeout on a heavily loaded system has proven to be unreliable. Update this to a 5s timeout with a 3s delta which should be achievable. Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/cases/runcmd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(

[OE-core] [PATCH 1/5] oeqa/selftest/buildoptions: Improve ccache test

2018-11-29 Thread Richard Purdie
This test occisionally fails as m4 doesn't recompile, meaning the logfile test then doesn't find mention of ccache. To ensure m4 does recompile, clean m4 before force compiling it. (Reading the test is confusing due to the test cleanup also involving a clean) Signed-off-by: Richard Purdie ---

[OE-core] [PATCH] libtasn1: no need to inherit binconfig

2018-11-29 Thread Ross Burton
This recipe doesn't ship a *-config binary, so don't inherit binconfig. Signed-off-by: Ross Burton --- meta/recipes-support/gnutls/libtasn1_4.13.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/gnutls/libtasn1_4.13.bb b/meta/recipes-support/gnutls/libt

[OE-core] ✗ patchtest: failure for "cpio: fix crash when appending..." and 1 more

2018-11-29 Thread Patchwork
== Series Details == Series: "cpio: fix crash when appending..." and 1 more Revision: 1 URL : https://patchwork.openembedded.org/series/15132/ 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/2] image_types: use cpio-native to build cpio images

2018-11-29 Thread Ross Burton
As per the previous commit, upstream cpio has a bug which means it crashes on append. If the image being built has already had testimage ran then cpio-native will be in the sysroot. It's also possible that some distributions are shipping this broken CVE patch too. Now that our cpio-native is fixe

[OE-core] [PATCH 1/2] cpio: fix crash when appending to archives

2018-11-29 Thread Ross Burton
The upstream fix for CVE-2016-2037 introduced a read from uninitialized memory bug when appending to an existing archive, which is an operation we perform when building an image. Signed-off-by: Ross Burton --- .../cpio-2.12/0001-Fix-segfault-with-append.patch | 87 ++ meta/r

[OE-core] [PATCH 1/1] netbase: add entry to /etc/hosts according to /etc/hostname

2018-11-29 Thread Chen Qi
We default hostname to ${MACHINE}, but it's not in /etc/hosts, resulting in commands like `hostname -f' failing due to lack of entry. So add entry to /etc/hosts according to /etc/hostname. We do this via pkg_postinst because hostname is set in base-files recipe. Signed-off-by: Chen Qi --- meta/

[OE-core] [PATCH 0/1] netbase: add entry to /etc/hosts according to /etc/hostname

2018-11-29 Thread Chen Qi
Changes in V2: * use ${sysconfdir} instead of /etc * check the existence of entry before adding it The following changes since commit 41d89552620bfbc94031d314e6b3d0324f7a330e: bitbake: fetch2: Avoid warning about incorrect character escaping in regex (2018-11-27 22:15:34 +) are available

[OE-core] [PATCH v3 4/4] oe-selftest: add some tests for recipeutils module

2018-11-29 Thread Paul Eggleton
Add some tests for functions in meta/lib/oe/recipeutils.py, in particular for a few issues I've just fixed. I haven't added tests for all of the functions - some of them are already being tested via devtool in any case. Signed-off-by: Paul Eggleton --- .../python/python-async-test.inc