[OE-core] [PATCH] attr: Backports to fix exported headers

2017-09-14 Thread Khem Raj
Packages which depends on attr headers fail due to uint32_t not being defined, this needed header to include sys/types.h Signed-off-by: Khem Raj --- .../attr/0001-Use-stdint-types-consistently.patch | 69 ++ meta/recipes-support/attr/attr_2.4.47.bb

[OE-core] [PATCH] kexec-tools: Update to 2.0.15

2017-09-14 Thread Megha Dey
Starting with 4.12 kernels, kexec-tools cannot load a crash kernel because ELF core parsing fails with errors like: Unknown type (Reserved) while parsing /sys/firmware/memmap/5/type. Please report this as bug. Using RANGE_RESERVED now. ... ELF core (kcore) parse failed Cannot load

[OE-core] [PATCH 1/1] gcc-6.3.inc: Use ucontext_t not struct ucontext.

2017-09-14 Thread Juro Bystricky
Use ucontext_t not struct ucontext in linux-unwind.h files. Current glibc no longer gives the ucontext_t type the tag struct ucontext, to conform with POSIX namespace rules. This requires various linux-unwind.h files in libgcc, that were previously using struct ucontext, to be fixed to use

[OE-core] [PATCH 0/1] gcc 6.3 with glib 2.26

2017-09-14 Thread Juro Bystricky
When one chooses to use gcc 6.3 with GCCVERSION = "6.3%" bitbake libgcc fails. This patch fixes building this particular issue. However, there is at least one more recipe that fails with gcc 6.3 (mesa_17.1.7.bb). Juro Bystricky (1): gcc-6.3.inc: Use ucontext_t not struct ucontext.

Re: [OE-core] QEmu + Spice + Virglrenderer Was: [PATCH] qemu: upgrade to version 2.10.0

2017-09-14 Thread Burton, Ross
On 14 September 2017 at 22:11, Martin Jansa wrote: > As of today qemu, qemu-native and nativesdk-qemu can be built with > virglrenderer, sdl2 and spice support. > > I've tested core-image-sato running in qemu-native from headless Gentoo > chroot, with spicy client on

Re: [OE-core] [PATCH] glib-2.0: recommend shared-mime-info

2017-09-14 Thread Alistair Francis
On Wed, Sep 13, 2017 at 2:18 PM, Richard Purdie wrote: > On Wed, 2017-09-13 at 14:12 -0700, Alistair Francis wrote: >> On Wed, Sep 13, 2017 at 2:09 PM, Richard Purdie >> wrote: >> > >> > On Wed, 2017-09-13 at 13:55 -0700,

Re: [OE-core] [oe-commits] [openembedded-core] branch master updated (cc319b6 -> 2ebbeb6)

2017-09-14 Thread Bruce Ashfield
On 2017-09-14 1:25 PM, Martin Jansa wrote: Today I've created backup of this broken state with: OE raspberrypi3-64@luneos ~/build/owpb/webos-ports/tmp-glibc $ mkdir kernel-bad OE raspberrypi3-64@luneos ~/build/owpb/webos-ports/tmp-glibc $ cp -ra work-shared/raspberrypi3-64/

[OE-core] ✗ patchtest: failure for Revamp the Go support (rev10)

2017-09-14 Thread Patchwork
== Series Details == Series: Revamp the Go support (rev10) Revision: 10 URL : https://patchwork.openembedded.org/series/8697/ 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

Re: [OE-core] [PATCH][morty] bluez5: fix out-of-bounds access in SDP server (CVE-2017-1000250)

2017-09-14 Thread akuster808
Bruce, On 09/14/2017 06:13 AM, Bruce Ashfield wrote: .. and if anyone notices, there's a kernel part to this CVE as well. I've applied to fix to all the active linux-yocto kernels, and the change will be part of my consolidated pull request that comes out later today. thanks. I will merge

[OE-core] [PATCH v10 5/5] Add Go toolchain support

2017-09-14 Thread Otavio Salvador
This adds the meta-go-toolchain. It enables the generation of a Go toolchain allowing for cross compiling for target architecture. Signed-off-by: Otavio Salvador --- Changes in v10: - new patch meta/recipes-core/meta/meta-go-toolchain.bb | 12

[OE-core] [PATCH v10 3/5] go: fixes for cross-canadian builds

2017-09-14 Thread Otavio Salvador
From: Matt Madison * Add patch for go's make script to allow for build system != host system * Add dependencies on the appropriate crosssdk recipes, and use the crosssdk C compiler and linker * Remove bashism in the wrapper script * Restrict installation to only the

[OE-core] [PATCH v10 2/5] go: fix linking issues for nativesdk builds

2017-09-14 Thread Otavio Salvador
From: Matt Madison Switch to using an external linker for nativesdk go, go-runtime, and go package builds, which works more reliably when building 32-bit SDKs. Signed-off-by: Matt Madison Signed-off-by: Otavio Salvador ---

[OE-core] [PATCH v10 4/5] go.bbclass: set TMPDIR during compilation

2017-09-14 Thread Otavio Salvador
From: Matt Madison The go build tool creates working directories under $TMPDIR for all of its processing. Create a directory under ${WORKDIR} for this and point TMPDIR at it during compilation, so that systems that have a relatively small /tmp filesystems can still compile

[OE-core] [PATCH v10 1/5] go-crosssdk: fix host/target references and cleanup

2017-09-14 Thread Otavio Salvador
From: Matt Madison * The _FOR_TARGET variables need to include SDKNATIVEPATH * Install tools (cmd) only, and for the build host * Remove unnecessary FILES setting Corrects some errors when the build host architecture is different from the SDKMACHINE's. Signed-off-by: Matt

[OE-core] [PATCH v10 0/5] Revamp the Go support

2017-09-14 Thread Otavio Salvador
This improves the Go support on OE-Core. We are trying to port as much as possible work done by Matt on meta-golang back to OE-Core and also to avoid carrying old releases as there is no need to support more versions of Go toolchain. This fixes issues in existing support as well as add support

Re: [OE-core] [oe-commits] [openembedded-core] branch master updated (cc319b6 -> 2ebbeb6)

2017-09-14 Thread Martin Jansa
Today I've created backup of this broken state with: OE raspberrypi3-64@luneos ~/build/owpb/webos-ports/tmp-glibc $ mkdir kernel-bad OE raspberrypi3-64@luneos ~/build/owpb/webos-ports/tmp-glibc $ cp -ra work-shared/raspberrypi3-64/ work/raspberrypi3_64-webos-linux/linux-raspberrypi/ kernel-bad

[OE-core] [PATCH] mesa: Upgrade to 17.2.0 release

2017-09-14 Thread Fabio Berton
Upgrade to a new development release and drop patches applied on upstream. For a full release notes, please see: https://mesa3d.org/relnotes/17.2.0.html Signed-off-by: Fabio Berton --- ...1-ac-fix-build-after-LLVM-5.0-SVN-r300718.patch | 40 --

Re: [OE-core] [RFC][PATCH] insane.bbclass: Add do_qa_pseudo function to check for common errors listed in pseudo.log

2017-09-14 Thread Seebs
On Thu, 14 Sep 2017 15:53:09 +0100 "Burton, Ross" wrote: > Example: > > path mismatch [5 links]: ino 27539515 db > '/data/poky-tmp/master/build/work/corei7-64-poky-linux/dbus/1.10.20-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-ld.bfd' > req >

Re: [OE-core] [RFC][PATCH] insane.bbclass: Add do_qa_pseudo function to check for common errors listed in pseudo.log

2017-09-14 Thread Burton, Ross
On 13 September 2017 at 23:09, Seebs wrote: > On Wed, 13 Sep 2017 22:46:59 +0200 > Martin Jansa wrote: > > > And some-other-unrelated-file is really some different file, not > > just hardlink to the same file from some different directory (like > >

Re: [OE-core] [RFC][PATCH] insane.bbclass: Add do_qa_pseudo function to check for common errors listed in pseudo.log

2017-09-14 Thread Seebs
On Thu, 14 Sep 2017 00:28:34 +0200 Martin Jansa wrote: > OK, thanks. > > Any insights to the first issue described in commit message? That we > know that is an Actual Problem, but hard to reproduce it. This one? glibc-locale-2.26: glibc-locale:

Re: [OE-core] [PATCH] systemd: Fix rootfs transaction error when PACKAGECONFIG has polkit

2017-09-14 Thread Martin Jansa
I'm sorry for noise, I've reproduced it in LuneOS raspberrypi build and the root cause is wrongly used override in this bbappend: https://github.com/webOS-ports/meta-rpi-luneos/blob/3b76e0b7d554e937263e685854819ab8454ebe35/recipes-core/systemd/systemd_%25.bbappend On Thu, Sep 14, 2017 at 12:05

[OE-core] [PATCH] README.qemu: qemuppc64 is not supported

2017-09-14 Thread Randy MacLeod
Signed-off-by: Randy MacLeod --- README.qemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.qemu b/README.qemu index fca04b1..9f56b7d 100644 --- a/README.qemu +++ b/README.qemu @@ -7,7 +7,7 @@ are currently supported in 32 and 64 bit

[OE-core] [PATCH 9/9] linux-yocto/4.4: bluetooth: CVE-2017-1000251

2017-09-14 Thread Bruce Ashfield
Integrating the following commit: [ commit 16de0149674ed12d983b77a453852ac2e64584b4 Author: Ben Seri Date: Sat Sep 9 23:15:59 2017 +0200 Bluetooth: Properly check L2CAP config option output buffer length Validate the output buffer length for L2CAP config

[OE-core] [PATCH 8/9] linux-yocto/4.9: bluetooth: CVE-2017-1000251

2017-09-14 Thread Bruce Ashfield
Integrating the following commit: [ commit 16de0149674ed12d983b77a453852ac2e64584b4 Author: Ben Seri Date: Sat Sep 9 23:15:59 2017 +0200 Bluetooth: Properly check L2CAP config option output buffer length Validate the output buffer length for L2CAP config

[OE-core] [PATCH 7/9] linux-yocto/4.12: bluetooth: CVE-2017-1000251

2017-09-14 Thread Bruce Ashfield
Integrating the following commit: [ commit 16de0149674ed12d983b77a453852ac2e64584b4 Author: Ben Seri Date: Sat Sep 9 23:15:59 2017 +0200 Bluetooth: Properly check L2CAP config option output buffer length Validate the output buffer length for L2CAP config

[OE-core] [PATCH 6/9] linux-yocto/4.10: bluetooth: CVE-2017-1000251

2017-09-14 Thread Bruce Ashfield
Integrating the following commit: [ commit 16de0149674ed12d983b77a453852ac2e64584b4 Author: Ben Seri Date: Sat Sep 9 23:15:59 2017 +0200 Bluetooth: Properly check L2CAP config option output buffer length Validate the output buffer length for L2CAP config

[OE-core] [PATCH 4/9] linux-yocto/4.4: update to v4.4.87

2017-09-14 Thread Bruce Ashfield
Integrating the -stable update with the following commits: 573b59e17e37 Linux 4.4.87 d95827490c39 crypto: algif_skcipher - only call put_page on referenced and used pages ab3ee6b53d67 epoll: fix race between ep_poll_callback(POLLFREE) and ep_free()/ep_remove() 628212c89fae kvm:

[OE-core] [PATCH 5/9] linux-yocto/4.12: integrate aufs4 core support

2017-09-14 Thread Bruce Ashfield
The aufs4 now has a 4.12 port, so we can integrate it into the reference kernel and stay consistent with previous releases. Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto-rt_4.12.bb | 4 ++--

[OE-core] [PATCH 2/9] linux-yocto/4.12: update to v4.12.12

2017-09-14 Thread Bruce Ashfield
Integrating the korg stable update comprising the following commits: 6ff98e8e5d24 Linux 4.12.12 ce4ef9346d9f rtlwifi: Fix fallback firmware loading 21da5e36f41e rtlwifi: Fix memory leak when firmware request fails 3ef5220bdba7 of/device: Prevent buffer overflow in of_device_modalias()

[OE-core] [PATCH 1/9] linux-yocto/meta: configuration feature additions

2017-09-14 Thread Bruce Ashfield
Introducing the following configuration features: d67d2221cc2d bpf: add bpf kernel config 3f9fb678aa31 sysrq: add sysrq kernel config 729eb982ffd8 kexec/kdump: Add config fragments e00e63ef3068 kdump: add config fragments Signed-off-by: Bruce Ashfield ---

[OE-core] [PATCH 3/9] linux-yocto/4.9: update to v4.9.49

2017-09-14 Thread Bruce Ashfield
Integrating the korg -stable updates that comprise the following commits: f07cb3489cff Linux 4.9.49 8bc67f67b763 drm/bridge: adv7511: Switch to using drm_kms_helper_hotplug_event() 8b5a7e443622 drm/bridge: adv7511: Use work_struct to defer hotplug handing to out of irq context

[OE-core] [PATCH 0/9] kernel-yocto: consolidated pull request

2017-09-14 Thread Bruce Ashfield
Hi all, This is the last set of -stable and meta data changes for the 2.4 release window. I've also brough aufs4 into the 4.12 tree to keep it feature consistent with all the previous linux-yocto kernels (and given some bug reports, folks are using the aufs support). They are -stable updates,

Re: [OE-core] [RFC][PATCH] insane.bbclass: Add do_qa_pseudo function to check for common errors listed in pseudo.log

2017-09-14 Thread Burton, Ross
On 13 September 2017 at 23:08, Seebs wrote: > On Wed, 13 Sep 2017 22:50:32 +0200 > Martin Jansa wrote: > > > inode mismatch: > > '/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ > systemd/1_234-r0/recipe-sysroot/etc/group' > > ino 29361846 in db,

Re: [OE-core] [PATCH][morty] bluez5: fix out-of-bounds access in SDP server (CVE-2017-1000250)

2017-09-14 Thread Bruce Ashfield
.. and if anyone notices, there's a kernel part to this CVE as well. I've applied to fix to all the active linux-yocto kernels, and the change will be part of my consolidated pull request that comes out later today. Cheers, Bruce On Thu, Sep 14, 2017 at 8:27 AM, Ross Burton

Re: [OE-core] [PATCH 0/4] Recipes for Open Source Verilog and Lattice iCE40 FPGAs tools

2017-09-14 Thread Nathan Rossi
On 13 September 2017 at 11:24, Khem Raj wrote: > On Tue, Sep 12, 2017 at 4:42 PM, Trevor Woerner wrote: >> On Tue, Sep 12, 2017 at 4:21 PM, Khem Raj wrote: >>> On Mon, Sep 11, 2017 at 1:58 AM, Burton, Ross

[OE-core] [PATCH][morty] bluez5: fix out-of-bounds access in SDP server (CVE-2017-1000250)

2017-09-14 Thread Ross Burton
All versions of the SDP server in BlueZ 5.46 and earlier are vulnerable to an information disclosure vulnerability which allows remote attackers to obtain sensitive information from the bluetoothd process memory. This vulnerability lies in the processing of SDP search attribute requests.

Re: [OE-core] [PATCH v8 3/3] kernel-devicetree.bbclass: Add support to generate append to kernel

2017-09-14 Thread Otavio Salvador
On Thu, Sep 14, 2017 at 7:26 AM, André Draszik wrote: > On Wed, 2017-09-13 at 09:30 -0300, Otavio Salvador wrote: >> On Wed, Sep 13, 2017 at 5:15 AM, André Draszik wrote: >> > On Tue, 2017-09-12 at 17:36 -0300, Otavio Salvador wrote: >> >> ... >> > AFAICS,

Re: [OE-core] [PATCH] allarch: don't reset baselib

2017-09-14 Thread Alexander Kanavin
On 09/12/2017 08:31 PM, Mark Hatle wrote: Also its interesting that nobody else noticed this: multilib images that installed fonts were segfaulting in rootfs... If the segfault is causing the postinst to exit w/ an error (non-0) then it's likely re-running on the target itself (and thus

Re: [OE-core] [PATCH v2] bitbake.conf: Add default FILESYSTEM_PERMS_TABLES

2017-09-14 Thread Burton, Ross
On 13 September 2017 at 23:49, Mark Hatle wrote: > On 9/13/17 5:40 PM, Mark Hatle wrote: > > If FILESYSTEM_PERMS_TABLES was not defined, the default was selected by > the > > packages.bbclass. This made it difficult for a recipe or layer to > 'append' > > to the

Re: [OE-core] [PATCH v8 3/3] kernel-devicetree.bbclass: Add support to generate append to kernel

2017-09-14 Thread André Draszik
On Wed, 2017-09-13 at 09:30 -0300, Otavio Salvador wrote: > On Wed, Sep 13, 2017 at 5:15 AM, André Draszik wrote: > > On Tue, 2017-09-12 at 17:36 -0300, Otavio Salvador wrote: > > ... > > AFAICS, zImage is specific to x86 and arm, all other arches, including > > MIPS > > have no

Re: [OE-core] [PATCH v8 3/3] kernel-devicetree.bbclass: Add support to generate append to kernel

2017-09-14 Thread André Draszik
On Tue, 2017-09-12 at 17:36 -0300, Otavio Salvador wrote: > The are use cases where the Device Tree appended to the kernel is > convinient, so we generate the bundle concatenating the kernel (and > potentionally the initramfs) and the Device Tree binaries. > > To enable it, set

[OE-core] [PATCH] bzip2: Create Makefile for run-ptest

2017-09-14 Thread cinly . ooi
From: Ooi Cinly To improve binary reproducibility, only the relevent part of the Makefile in bzip2-ptest package that run-ptest needs are copied to the destination directory. bzip2-ptest requires Makefile. The original Makefile contains references to build host. By copying

[OE-core] [PATCH 1/2] e2fsprogs: set dir's mode correctly

2017-09-14 Thread Robert Yang
Fixed: 1) in pkg_postinst task set wanted file permissions: ---> chmod -R 521 "$D/opt/my_folder" 2) generate the rootfs image Results: my_folder hasn't correct permissions on rootfs ext4 image -> permissions are changed to 721 But it should be 521. [YOCTO #11652] Signed-off-by: Robert Yang

[OE-core] [PATCH 2/2] systemd-machine-units: update LIC_FILES_CHKSUM

2017-09-14 Thread Robert Yang
Fixed: WARNING: systemd-machine-units-1.0-r19 do_populate_lic: ${COREBASE}/LICENSE is not a valid license file, please use '${COMMON_LICENSE_DIR}/MIT' for a MIT License file in LIC_FILES_CHKSUM. This will become an error in the future Signed-off-by: Robert Yang ---

[OE-core] [PATCH 0/2] fix e2fsprogs and systemd-machine-units

2017-09-14 Thread Robert Yang
The following changes since commit 7b501954198c2a810b2c03096accb27339cfd1f9: runqemu: let qemuparams override previous settings (2017-09-14 02:11:35 -0700) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/2fixes

[OE-core] [PATCH] tcp-wrappers: Add HOMEPAGE info into recipe file.

2017-09-14 Thread Huang Qiyu
Signed-off-by: Huang Qiyu --- meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb index

[OE-core] [PATCH] minicom: Add HOMEPAGE info into recipe file.

2017-09-14 Thread Huang Qiyu
Signed-off-by: Huang Qiyu --- meta/recipes-extended/minicom/minicom_2.7.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-extended/minicom/minicom_2.7.1.bb b/meta/recipes-extended/minicom/minicom_2.7.1.bb index 92cf5f9..1a31a87 100644 ---

[OE-core] [PATCH] sysprof: Add HOMEPAGE info into recipe file.

2017-09-14 Thread Huang Qiyu
Signed-off-by: Huang Qiyu --- meta/recipes-kernel/sysprof/sysprof_3.24.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-kernel/sysprof/sysprof_3.24.1.bb b/meta/recipes-kernel/sysprof/sysprof_3.24.1.bb index 168f2fd..79a27be 100644 ---

[OE-core] [PATCH] libxml-perl: Add HOMEPAGE info into recipe file.

2017-09-14 Thread Huang Qiyu
Signed-off-by: Huang Qiyu --- meta/recipes-devtools/perl/libxml-perl_0.08.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/perl/libxml-perl_0.08.bb b/meta/recipes-devtools/perl/libxml-perl_0.08.bb index 2c01976..0478427 100644 ---

[OE-core] [PATCH] libxml-namespacesupport-perl: Add HOMEPAGE info into recipe file.

2017-09-14 Thread Huang Qiyu
Signed-off-by: Huang Qiyu --- meta/recipes-extended/perl/libxml-namespacesupport-perl_1.12.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-extended/perl/libxml-namespacesupport-perl_1.12.bb

[OE-core] [PATCH] libnotify: Add HOMEPAGE info into recipe file.

2017-09-14 Thread Huang Qiyu
Signed-off-by: Huang Qiyu --- meta/recipes-gnome/libnotify/libnotify_0.7.7.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-gnome/libnotify/libnotify_0.7.7.bb b/meta/recipes-gnome/libnotify/libnotify_0.7.7.bb index 2ab2f1f..6c299bc 100644 ---

Re: [OE-core] Yocto Matchbox in 240x320 LCD Display

2017-09-14 Thread Burton, Ross
On 14 September 2017 at 08:59, wrote: > Is there any other Window manager instead of matchbox which supports QVGA > theme in Yocto 1.8? > For a screen that small matchbox is the only real option for behaviour, you just need to customise the theme. Ross --

Re: [OE-core] Yocto Matchbox in 240x320 LCD Display

2017-09-14 Thread anjalik
Hi , Thank You for the valuable information. Is there any other Window manager instead of matchbox which supports QVGA theme in Yocto 1.8? Thanks & Regards, Anjali On 13.09.2017 10:33, Burton, Ross wrote: > The default theme, fonts, padding etc all assume the screen has a higher