[OE-core] [PATCH v3] binutils: Fix CVE-2017-8392

2017-05-23 Thread Fan Xin
Backport upsream commit to fix CVE-2017-8392 CVE: CVE-2017-8392 [BZ 21409] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21409 PR 21409, segfault in _bfd_dwarf2_find_nearest_line PR 21409 * dwarf2.c (_bfd_dwarf2_find_nearest_line): Don't segfault when no

[OE-core] [PATCH v2] binutils: Fix CVE-2017-8392

2017-05-23 Thread Fan Xin
Backport upsream commit to fix CVE-2017-8392 CVE: CVE-2017-8392 [BZ 21409] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21409 PR 21409, segfault in _bfd_dwarf2_find_nearest_line PR 21409 * dwarf2.c (_bfd_dwarf2_find_nearest_line): Don't segfault when no

[OE-core] ✗ patchtest: failure for binutils: Fix CVE-2017-8392

2017-05-23 Thread Patchwork
== Series Details == Series: binutils: Fix CVE-2017-8392 Revision: 1 URL : https://patchwork.openembedded.org/series/6873/ 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

[OE-core] [PATCH] binutils: fix CVE-2017-6969 in readelf

2017-05-23 Thread Yuanjie Huang
CVE: CVE-2017-8392 [BZ 21156] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21156 PR binutils/21156: Fix illegal memory accesses in readelf when parsing a corrupt binary. PR binutils/21156: Fix another memory access error in readelf when parsing a corrupt binary. Signed-off-by: Yuanjie

[OE-core] [PATCH] binutils: Fix CVE-2017-8392

2017-05-23 Thread Fan Xin
Backport upsream commit to fix CVE-2017-8392 CVE:CVE-2017-8392 [BZ 21409] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21409 PR 21409, segfault in _bfd_dwarf2_find_nearest_line PR 21409 * dwarf2.c (_bfd_dwarf2_find_nearest_line): Don't segfault when no

Re: [OE-core] [PATCH 08/15] xkeyboard-config: Enable nls support explicitly

2017-05-23 Thread Khem Raj
Drop this one, I have sent a v2 On Sun, May 21, 2017 at 10:00 PM, Khem Raj wrote: > Helps compile when distros disable NLS > > Signed-off-by: Khem Raj > --- > meta/recipes-graphics/xorg-lib/xkeyboard-config_2.20.bb | 2 ++ > 1 file changed, 2

[OE-core] [PATCH 2/3] xkeyboard-config: Drop explicit dep on virtual/gettext

2017-05-23 Thread Khem Raj
let gettext.bbclass provide the defaults they are good for it. What it needs it a dep on gettext-native for intltool-native which now intltool-native expresses correctly Helps compile when distros disable NLS Signed-off-by: Khem Raj ---

[OE-core] [PATCH 3/3] apt-native: Remove USE_NLS = "yes"

2017-05-23 Thread Khem Raj
USE_NLS is target specific, its redundant for native packages Signed-off-by: Khem Raj --- meta/recipes-devtools/apt/apt-native.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-devtools/apt/apt-native.inc b/meta/recipes-devtools/apt/apt-native.inc index

[OE-core] [PATCH 1/3] intltool: Adds gettext as a DEPENDS

2017-05-23 Thread Khem Raj
From: Alejandro Hernandez When setting USE_NLS="no" and building systemd-boot (which DEPENDS on intltool), configure fails, complaining about missing gettext: configure: error: GNU gettext tools not found; required for intltool This is caused because

Re: [OE-core] [PATCH] openssh: Atomically generate host keys

2017-05-23 Thread Joshua Watt
On Tue, May 23, 2017 at 12:56 PM, Joshua Watt wrote: > On Tue, May 23, 2017 at 12:23 PM, Randy Witt > wrote: >> On 05/23/2017 08:29 AM, Joshua Watt wrote: >>> >>> On Tue, May 23, 2017 at 9:37 AM, Burton, Ross >>> wrote:

[OE-core] Yocto Project Status WW21’17

2017-05-23 Thread Jolley, Stephen K
Current Dev Position: Planning for YP 2.4 Next Deadline: YP 2.4 M1 Cut off is June 12, 2017 SWAT team rotation: Leo -> Juro, on May 19, 2017. SWAT team rotation: Juro -> Anibal on May 26, 2017. https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team Key Status/Updates: ·

Re: [OE-core] [PATCH 11/15] linux-yocto: Enable drm by default

2017-05-23 Thread Bruce Ashfield
On Mon, May 22, 2017 at 1:06 PM, Khem Raj wrote: > >> +SRC_URI += "file://drm.cfg" > > > > > > > > If anything gets added to the default configurations, they need to go > into > > the kernel-cache > > and then be included by the relevant kernel types there. > > > > If you

Re: [OE-core] [PATCH] intltool: Adds gettext as a DEPENDS

2017-05-23 Thread Khem Raj
On Mon, May 22, 2017 at 4:08 PM, Alejandro Hernandez wrote: > Hey Khem, > > > On 05/22/2017 05:41 PM, Khem Raj wrote: > > > On Mon, May 22, 2017 at 3:25 PM Alejandro Hernandez > wrote: >> >> When setting USE_NLS="no" and

Re: [OE-core] [PATCH] openssh: Atomically generate host keys

2017-05-23 Thread Joshua Watt
On Tue, May 23, 2017 at 12:23 PM, Randy Witt wrote: > On 05/23/2017 08:29 AM, Joshua Watt wrote: >> >> On Tue, May 23, 2017 at 9:37 AM, Burton, Ross >> wrote: >>> >>> >>> On 7 May 2017 at 02:33, Joshua Watt wrote:

Re: [OE-core] [PATCH] openssh: Atomically generate host keys

2017-05-23 Thread Randy Witt
On 05/23/2017 08:29 AM, Joshua Watt wrote: On Tue, May 23, 2017 at 9:37 AM, Burton, Ross wrote: On 7 May 2017 at 02:33, Joshua Watt wrote: +if [ ! -f "$NAME" ]; then +echo " generating ssh $TYPE key..." +ssh-keygen -q -f "${NAME}.tmp"

Re: [OE-core] [PATCH v4 7/7] image_types_wic: schedule prepare_wic_build correctly

2017-05-23 Thread Burton, Ross
On 22 May 2017 at 08:19, Ed Bartosh wrote: > I'll try to test it with meta-intel. Can you provide more detailed > instructions how to reproduce this issue? Which image did you try to > build? > I just hit this. image_types_wic does this: +

[OE-core] Per-recipe sysroot + BBCLASSEXTEND=cross

2017-05-23 Thread Enrico Scholz
Hello, when having --- test-a.bb --- LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891" BBCLASSEXTEND = "cross" do_install_forcevariable() { install -d ${D} touch ${D}/foo } and --- test-b.bb --- LICENSE = "GPLv3"

Re: [OE-core] [PATCH] openssh: Atomically generate host keys

2017-05-23 Thread Joshua Watt
On Tue, May 23, 2017 at 9:37 AM, Burton, Ross wrote: > > On 7 May 2017 at 02:33, Joshua Watt wrote: >> >> +if [ ! -f "$NAME" ]; then >> +echo " generating ssh $TYPE key..." >> +ssh-keygen -q -f "${NAME}.tmp" -N '' -t $TYPE >> + >> +# Sync

Re: [OE-core] [PATCH 10/15] db: Add --tag=CC to cross libtool invocation

2017-05-23 Thread Khem Raj
On Tue, May 23, 2017 at 8:02 AM, Burton, Ross wrote: > > On 23 May 2017 at 15:48, Khem Raj wrote: >> >> no its better, it reintroduced the deps and this time also on libgcc >> which probably was latent. it worked because someone else pulled >> libgcc

Re: [OE-core] [PATCH 10/15] db: Add --tag=CC to cross libtool invocation

2017-05-23 Thread Burton, Ross
On 23 May 2017 at 15:48, Khem Raj wrote: > no its better, it reintroduced the deps and this time also on libgcc > which probably was latent. it worked because someone else pulled > libgcc into image. can you check readelf -d | grep DT_NEEDED output > from bins/solibs in db

Re: [OE-core] [PATCH 10/15] db: Add --tag=CC to cross libtool invocation

2017-05-23 Thread Burton, Ross
On 23 May 2017 at 15:48, Khem Raj wrote: > no its better, it reintroduced the deps and this time also on libgcc > which probably was latent. it worked because someone else pulled > libgcc into image. can you check readelf -d | grep DT_NEEDED output > from bins/solibs in db

Re: [OE-core] [PATCH 10/15] db: Add --tag=CC to cross libtool invocation

2017-05-23 Thread Khem Raj
On Tue, May 23, 2017 at 7:44 AM, Burton, Ross wrote: > packages/corei7-64-poky-linux/db/db: RDEPENDS: added "libgcc (['>= 6.3.0']) > libstdc++ (['>= 6.3.0'])" > > That's worse! :) no its better, it reintroduced the deps and this time also on libgcc which probably was

Re: [OE-core] [PATCH 10/15] db: Add --tag=CC to cross libtool invocation

2017-05-23 Thread Burton, Ross
On 23 May 2017 at 15:32, Khem Raj wrote: > I think you are right we have c++ here can you try with --tag=CXX > >> packages/corei7-64-poky-linux/db/db: RDEPENDS: added "libgcc (['>= 6.3.0']) libstdc++ (['>= 6.3.0'])" That's worse! :) Ross --

Re: [OE-core] [PATCH] openssh: Atomically generate host keys

2017-05-23 Thread Burton, Ross
On 7 May 2017 at 02:33, Joshua Watt wrote: > +if [ ! -f "$NAME" ]; then > +echo " generating ssh $TYPE key..." > +ssh-keygen -q -f "${NAME}.tmp" -N '' -t $TYPE > + > +# Sync to ensure data is written to temp file before renaming > +sync > + > +# Move

Re: [OE-core] [PATCH 10/15] db: Add --tag=CC to cross libtool invocation

2017-05-23 Thread Khem Raj
On Tue, May 23, 2017 at 6:14 AM Burton, Ross wrote: > > On 22 May 2017 at 06:00, Khem Raj wrote: > >> +EXTRA_OEMAKE_append_class-target = " >> LIBTOOL='${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool --tag=CC'" >> > >

[OE-core] ✗ patchtest: failure for Add some gstreamer1.0-plugins-bad patches for pyro

2017-05-23 Thread Patchwork
== Series Details == Series: Add some gstreamer1.0-plugins-bad patches for pyro Revision: 1 URL : https://patchwork.openembedded.org/series/6864/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have

[OE-core] [pyro][PATCH 2/6] gstreamer1.0-plugins-bad: Add configuration for enabling accurate seeks

2017-05-23 Thread Yuqing Zhu
Signed-off-by: Yuqing Zhu --- ...configuration-for-enabling-accurate-seeks.patch | 148 + .../gstreamer/gstreamer1.0-plugins-bad_1.10.4.bb | 1 + 2 files changed, 149 insertions(+) create mode 100755

[OE-core] [pyro][PATCH 4/6] gstreamer1.0-plugins-bad: Add overlayvideorenderer video sink

2017-05-23 Thread Yuqing Zhu
- Add overlay video renderer "video-sink" property, so that can be set - In create_video_sink, it returns video sink instead of always NULL - Add new renderer_new_with_sink() API to set video sink Signed-off-by: Yuqing Zhu ---

[OE-core] [pyro][PATCH 5/6] gstreamer1.0-plugins-bad: Fix gst-player failed to load external subtitle uri

2017-05-23 Thread Yuqing Zhu
gst_player_set_uri_internal shouldn't free suburi which maybe set by user to load external subtitle before start play. It just need reset playbin's subutri property to NULL no matter if there was a previous one or not. Signed-off-by: Yuqing Zhu ---

[OE-core] [pyro][PATCH 3/6] gstreamer1.0-plugins-bad: Add get track number media info API

2017-05-23 Thread Yuqing Zhu
Signed-off-by: Yuqing Zhu --- ...layer-Add-get-track-number-media-info-API.patch | 126 + .../gstreamer/gstreamer1.0-plugins-bad_1.10.4.bb | 1 + 2 files changed, 127 insertions(+) create mode 100755

[OE-core] [pyro][PATCH 0/6] Add some gstreamer1.0-plugins-bad patches for pyro

2017-05-23 Thread Yuqing Zhu
-Add some enhancements for qmlglsrc Some common features for qmlglsrc are added to make app development much easier. -Add some enhancements for gstplayer Some gstplayer API enhancements are added to make it much easier for users to use. Without these API enhancements, some features may not

Re: [OE-core] [PATCH 0/2] Allow oe-pkgdata-util package-info to display more info

2017-05-23 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core-boun...@lists.openembedded.org > [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of > Peter Kjellerstedt > Sent: den 16 maj 2017 18:30 > To: Richard Purdie > Cc:

Re: [OE-core] FW: patchtest: failure

2017-05-23 Thread Alan Levy
On 23 May 2017 at 14:24, Alan Levy > wrote: Thanks for the advice. What I belatedly realised was that I was using HTML format rather than plain text and that was losing some of the formatting in the process. I re-sent it in plain text and

Re: [OE-core] FW: patchtest: failure

2017-05-23 Thread Burton, Ross
On 23 May 2017 at 14:24, Alan Levy wrote: > Thanks for the advice. What I belatedly realised was that I was using HTML > format rather than plain text and that was losing some of the formatting in > the process. I re-sent it in plain text and this time it hasn’t been >

Re: [OE-core] FW: patchtest: failure

2017-05-23 Thread Alan Levy
Ross, Thanks for the advice. What I belatedly realised was that I was using HTML format rather than plain text and that was losing some of the formatting in the process. I re-sent it in plain text and this time it hasn’t been rejected (yet). Also, I wasn’t 100% certain whether the system would

Re: [OE-core] FW: patchtest: failure

2017-05-23 Thread Alexander Kanavin
On 05/23/2017 03:04 PM, Alan Levy wrote: The patch applies correctly on my Linux development system but I'm having to copy it to a Windows PC and use Outlook to submit it because the Linux system has no access to email. I can only suppose that's why I get these errors. How do I fix this? You

Re: [OE-core] [poky][PATCH v2 0/6] Add some gstreamer1.0-plugins-bad patches for pyro only

2017-05-23 Thread Alexander Kanavin
On 05/23/2017 10:34 AM, Yuqing Zhu wrote: -Add some enhancements for qmlglsrc Some common features for qmlglsrc are added to make app development much easier. -Add some enhancements for gstplayer Some gstplayer API enhancements are added to make it much easier for users to use. Without

Re: [OE-core] [PATCH 10/15] db: Add --tag=CC to cross libtool invocation

2017-05-23 Thread Burton, Ross
On 22 May 2017 at 06:00, Khem Raj wrote: > +EXTRA_OEMAKE_append_class-target = " > LIBTOOL='${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool > --tag=CC'" > packages/corei7-64-poky-linux/db/db-cxx: RDEPENDS: removed all items "libstdc++ (['>= 6.3.0'])" This doesn't seem right

Re: [OE-core] FW: patchtest: failure

2017-05-23 Thread Burton, Ross
On 23 May 2017 at 13:04, Alan Levy wrote: > The patch applies correctly on my Linux development system but I'm having > to copy it to a Windows PC and use Outlook to submit it because the Linux > system has no access to email. I can only suppose that's why I get these >

Re: [OE-core] [PATCH v2] libsolv: don't pick up bundled db from host rpm

2017-05-23 Thread Alexander Kanavin
On 05/23/2017 12:32 AM, Max Krummenacher wrote: Sorry Max, this is actually worse than the first version. HAVE_RPM_DB_H has to accurately reflect the presence or absence of the header, as that header is later included or not included depending on that. You cannot set it based on checking some

[OE-core] [PATCH v3] base.bbclass: improve error message for missing host tools

2017-05-23 Thread Alan Levy
Host tools such as Subversion (svn) are not always installed or needed. When they were required by a recipe but not installed the resulting error message was not very user friendly. This patch generates a friendly error message without forcing the user to install the tools if they aren't needed.

Re: [OE-core] [PATCH] mesa: 17.0.4 -> 17.1.0

2017-05-23 Thread Nicolas Dechesne
On Tue, May 23, 2017 at 1:09 PM, Burton, Ross wrote: > On 23 May 2017 at 04:19, Huang Qiyu wrote: >> >> 1) Upgrade mesa from 17.0.4 to 17.1.0. > > > "Mesa 17.1.0 is released. This is a new development release. See the release > notes for more

[OE-core] FW: patchtest: failure

2017-05-23 Thread Alan Levy
The patch applies correctly on my Linux development system but I'm having to copy it to a Windows PC and use Outlook to submit it because the Linux system has no access to email. I can only suppose that's why I get these errors. How do I fix this? Alan Levy ALAN LEVY, Lead Consultant,

[OE-core] ✗ patchtest: failure for base.bbclass: improve error message for missing host tools (rev2)

2017-05-23 Thread Patchwork
== Series Details == Series: base.bbclass: improve error message for missing host tools (rev2) Revision: 2 URL : https://patchwork.openembedded.org/series/6859/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response.

[OE-core] [PATCH v2] base.bbclass: improve error message for missing host tools

2017-05-23 Thread Alan Levy
Host tools such as Subversion (svn) are not always installed or needed. When they were required by a recipe but not installed the resulting error message was not very user friendly. This patch generates a friendly error message without forcing the user to install the tools if they aren't needed.

[OE-core] ✗ patchtest: failure for base.bbclass: improve error message for missing host tools

2017-05-23 Thread Patchwork
== Series Details == Series: base.bbclass: improve error message for missing host tools Revision: 1 URL : https://patchwork.openembedded.org/series/6859/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several

[OE-core] [PATCH] base.bbclass: improve error message for missing host tools

2017-05-23 Thread Alan Levy
Host tools such as Subversion (svn) are not always installed or needed. When they were required by a recipe but not installed the resulting error message was not very user friendly. This patch generates a friendly error message without forcing the user to install the tools if they aren't needed.

Re: [OE-core] [PATCH] mesa: 17.0.4 -> 17.1.0

2017-05-23 Thread Burton, Ross
On 23 May 2017 at 04:19, Huang Qiyu wrote: > 1) Upgrade mesa from 17.0.4 to 17.1.0. > "Mesa 17.1.0 is released. This is a new development release. See the release notes for more information about the release." Unless there's a good reason we don't ship development

Re: [OE-core] [PATCH 1/2] bind: build with threads and update configure options

2017-05-23 Thread Kang Kai
On 2017年05月19日 19:47, Burton, Ross wrote: On 19 May 2017 at 09:52, > wrote: Build without threads for bind is inherited from legacy openembedded. All libc's support proper threading on Linux now, so enable threads support for

[OE-core] ✗ patchtest: failure for Add some gstreamer1.0-plugins-bad patches for pyro only

2017-05-23 Thread Patchwork
== Series Details == Series: Add some gstreamer1.0-plugins-bad patches for pyro only Revision: 1 URL : https://patchwork.openembedded.org/series/6855/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests

[OE-core] [poky][PATCH v2 6/6] gstreamer1.0-plugins-bad: Fix memory leak when use a GValue in glupload

2017-05-23 Thread Yuqing Zhu
This memory leak issue is common. GValue "targets" should be unset after set to caps to avoid memory leak. Signed-off-by: Yuqing Zhu --- ...-glupload-fix-memory-leak-when-use-a-GVal.patch | 29 ++ .../gstreamer/gstreamer1.0-plugins-bad_1.10.4.bb | 1 +

[OE-core] [poky][PATCH v2 5/6] gstreamer1.0-plugins-bad: Fix gst-player failed to load external subtitle uri

2017-05-23 Thread Yuqing Zhu
gst_player_set_uri_internal shouldn't free suburi which maybe set by user to load external subtitle before start play. It just need reset playbin's subutri property to NULL no matter if there was a previous one or not. Signed-off-by: Yuqing Zhu ---

[OE-core] [poky][PATCH v2 0/6] Add some gstreamer1.0-plugins-bad patches for pyro only

2017-05-23 Thread Yuqing Zhu
-Add some enhancements for qmlglsrc Some common features for qmlglsrc are added to make app development much easier. -Add some enhancements for gstplayer Some gstplayer API enhancements are added to make it much easier for users to use. Without these API enhancements, some features may not

[OE-core] [poky][PATCH v2 1/6] gstreamer1.0-plugins-bad: Add two enhancements for qmlglsrc

2017-05-23 Thread Yuqing Zhu
1. Need set use-default-fbo to qquickwindow during set property to support change render target on the fly 2. Calculate qmlglsrc refresh frame rate in qtglwindow It adds some common features for qmlglsrc to make app development much easier Signed-off-by: Yuqing Zhu ---

[OE-core] [poky][PATCH v2 2/6] gstreamer1.0-plugins-bad: Add configuration for enabling accurate seeks

2017-05-23 Thread Yuqing Zhu
Signed-off-by: Yuqing Zhu --- ...configuration-for-enabling-accurate-seeks.patch | 148 + .../gstreamer/gstreamer1.0-plugins-bad_1.10.4.bb | 1 + 2 files changed, 149 insertions(+) create mode 100755

[OE-core] [poky][PATCH v2 4/6] gstreamer1.0-plugins-bad: Add overlayvideorenderer video sink

2017-05-23 Thread Yuqing Zhu
- Add overlay video renderer "video-sink" property, so that can be set - In create_video_sink, it returns video sink instead of always NULL - Add new renderer_new_with_sink() API to set video sink Signed-off-by: Yuqing Zhu ---

[OE-core] [poky][PATCH v2 3/6] gstreamer1.0-plugins-bad: Add get track number media info API

2017-05-23 Thread Yuqing Zhu
Signed-off-by: Yuqing Zhu --- ...layer-Add-get-track-number-media-info-API.patch | 126 + .../gstreamer/gstreamer1.0-plugins-bad_1.10.4.bb | 1 + 2 files changed, 127 insertions(+) create mode 100755