Re: [OE-core] opkg_install_pkg: Package md5sum mismatch. Either the opkg or the package index are corrupt.

2015-05-08 Thread Denys Dmytriyenko
On Fri, May 08, 2015 at 03:28:52PM -0400, Denys Dmytriyenko wrote: > On Wed, May 06, 2015 at 07:31:37PM -0400, Denys Dmytriyenko wrote: > > On Wed, May 06, 2015 at 09:12:43PM +0200, Steffen Sledz wrote: > > > Am 02.05.2015 um 23:55 schrieb Andrea Adami: > > > > On Fri, May 1, 2015 at 6:06 PM, Denys

[OE-core] [PATCHv3 5/5] license_class: license_create_manifest improvment

2015-05-08 Thread Aníbal Limón
Use image_list_installed_packges instead of open manually the package manifest and iterate over it. Signed-off-by: Aníbal Limón --- meta/classes/license.bbclass | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/meta/classes/license.bbclass b/meta/class

[OE-core] [PATCHv3 4/5] license: Add support for handle INCOMPATIBLE_LICENSE in manifest creation

2015-05-08 Thread Aníbal Limón
When INCOMPATIBLE_LICENSE's is specified it need to be removed from license.manifest and also avoid copy to target image. Add ManifestVisitor that walk the license string searching for INCOMPATIBLE_LICENSE's if found remove it. [YOCTO #6765] Signed-off-by: Aníbal Limón --- meta/classes/license

[OE-core] [PATCHv3 1/5] license_class: Reimplemented manifest creation in python

2015-05-08 Thread Aníbal Limón
Reimplemented license_manifest_create from shell to python for INCOMPATIBLE_LICENSE handle using oe.license module. Optimizations are made to avoid license copy now uses a hardlink and symbolic link this helps to save space during build. Signed-off-by: Aníbal Limón --- meta/classes/license.bbcl

[OE-core] [PATCHv3 2/5] license_class: Generalize license_ok function

2015-05-08 Thread Aníbal Limón
Add dont_want_licenses as parameter to license_ok function and move it to oe.license module in order to use in other modules. Signed-off-by: Aníbal Limón --- meta/classes/license.bbclass | 21 - meta/lib/oe/license.py | 14 ++ 2 files changed, 18 insertions(

[OE-core] [PATCHv3 3/5] license: Split visit_string in LicenseVisitor

2015-05-08 Thread Aníbal Limón
Create get_elements and visit_elements in LicenseVisitor based on visit_string this allow to do modifications on elements before parsing with AST. Signed-off-by: Aníbal Limón --- meta/lib/oe/license.py | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/meta/lib/

[OE-core] [PATCHv3 0/5] Add support to handle INCOMPATIBLE_LICENSE

2015-05-08 Thread Aníbal Limón
The next changes are to add support for handle INCOMPATIBLE_LICENSE in manifest creation, in order to do it the license_create_manifest was reimplemented in python and also added some tweaks for save disk space during build. The patchset v2 fixes an issue when try to handle () into ManifestVisit

Re: [OE-core] [PATCH 1/3] license_class: Reimplemented manifest creation in python

2015-05-08 Thread Aníbal Limón
Hi, I tested also using SSTATE and works good, see my comments below. On 08/05/15 12:30, Flanagan, Elizabeth wrote: On 6 May 2015 at 15:52, Aníbal Limón wrote: Reimplemented license_manifest_create from shell to python for INCOMPATIBLE_LICENSE handle using oe.license module. Optimizations ar

Re: [OE-core] [PATCH 1/2] gstreamer1.0: convert GSTREAMER_1_DEBUG to PACKAGECONFIG

2015-05-08 Thread Andre McCurdy
On Fri, May 8, 2015 at 12:12 PM, Otavio Salvador wrote: > On Fri, May 8, 2015 at 4:07 PM, Andre McCurdy wrote: > ... >> Or perhaps even use the "GSTREAMER_DEBUG" variable in gstreamer 1.x recipes? > > I think the PACKAGECONFIG is a nice compromise as it allows for > granular control over what to

Re: [OE-core] opkg_install_pkg: Package md5sum mismatch. Either the opkg or the package index are corrupt.

2015-05-08 Thread Denys Dmytriyenko
On Wed, May 06, 2015 at 07:31:37PM -0400, Denys Dmytriyenko wrote: > On Wed, May 06, 2015 at 09:12:43PM +0200, Steffen Sledz wrote: > > Am 02.05.2015 um 23:55 schrieb Andrea Adami: > > > On Fri, May 1, 2015 at 6:06 PM, Denys Dmytriyenko wrote: > > >> Has anyone ever seen this message during .do_ro

Re: [OE-core] [PATCH 1/2] glibc: CVE-2015-1472: wscanf allocates too little memory

2015-05-08 Thread akuster808
Haris, thanks. I will stage this on my dizzy next branch. please include [Dizzy/fido] in the subject line if a patch meant for a specific release. it will help route patches. regards, Armin On 05/08/2015 08:47 AM, Haris Okanovic wrote: On 05/07/2015 06:19 PM, Haris Okanovic wrote: Backport

[OE-core] [PATCH v2] wic: remove intermediate partitions

2015-05-08 Thread Alexandre Belloni
Remove intermediate partitions that may have been created by a previous wic invocation. Those partitions are causing issues on some systems. In particular vfat partition creation is hanging on mcopy execution on Fedora. Signed-off-by: Alexandre Belloni --- Changes in v2: - use os.remove instead

Re: [OE-core] [PATCH 1/2] gstreamer1.0: convert GSTREAMER_1_DEBUG to PACKAGECONFIG

2015-05-08 Thread Otavio Salvador
On Fri, May 8, 2015 at 4:07 PM, Andre McCurdy wrote: ... > Or perhaps even use the "GSTREAMER_DEBUG" variable in gstreamer 1.x recipes? I think the PACKAGECONFIG is a nice compromise as it allows for granular control over what to enable or not. It is easy to enable it for recipes in a local.conf

Re: [OE-core] [PATCH 1/2] gstreamer1.0: convert GSTREAMER_1_DEBUG to PACKAGECONFIG

2015-05-08 Thread Andre McCurdy
On Fri, May 8, 2015 at 8:04 AM, Ricardo Ribalda Delgado wrote: > It is more elegant For gstreamer 0.10, it was possible to enable debug for gstreamer and most gstreamer plug-ins by over-riding a single variable, GSTREAMER_DEBUG. It might be nice if gstreamer 1.x allowed a similar approach. For t

Re: [OE-core] [PATCH 1/3] license_class: Reimplemented manifest creation in python

2015-05-08 Thread Flanagan, Elizabeth
On 6 May 2015 at 15:52, Aníbal Limón wrote: > Reimplemented license_manifest_create from shell to python for > INCOMPATIBLE_LICENSE handle using oe.license module. > > Optimizations are made to avoid license copy now uses a hardlink > and symbolic link this helps to save space during build. > > Si

Re: [OE-core] [PATCH 1/2] glibc: CVE-2015-1472: wscanf allocates too little memory

2015-05-08 Thread Khem Raj
this is ok > On May 8, 2015, at 7:28 AM, Haris Okanovic wrote: > > Backport Paul Pluzhnikov's glibc patch for CVE-2015-1472: > > Under certain conditions wscanf can allocate too little memory for the > to-be-scanned arguments and overflow the allocated buffer. The > implementation now correctl

Re: [OE-core] [PATCH 2/2] glibc: CVE-2015-1781: resolv/nss_dns/dns-host.c buffer overflow

2015-05-08 Thread Khem Raj
this is ok > On May 8, 2015, at 7:28 AM, Haris Okanovic wrote: > > Backport Arjun Shankar's patch for CVE-2015-1781: > > A buffer overflow flaw was found in the way glibc's gethostbyname_r() and > other related functions computed the size of a buffer when passed a > misaligned buffer as input.

Re: [OE-core] [PATCH] glibc_2.21.bb: Fix LSB bugs #3033

2015-05-08 Thread Khem Raj
> On May 8, 2015, at 2:01 AM, Li xin wrote: > > Bug 3033 - T.c_iflag and T.tcgetattr fail when using pseudo ttys (on some > systems). > https://lsbbugs.linuxfoundation.org/show_bug.cgi?id=3033 > This patch is ok. However two questions 1. what kernel version do you see it on and is kernel piec

Re: [OE-core] [PATCH 2/2] glibc: CVE-2015-1781: resolv/nss_dns/dns-host.c buffer overflow

2015-05-08 Thread Haris Okanovic
On 05/07/2015 06:19 PM, Haris Okanovic wrote: Backport Arjun Shankar's patch for CVE-2015-1781: A buffer overflow flaw was found in the way glibc's gethostbyname_r() and other related functions computed the size of a buffer when passed a misaligned buffer as input. An attacker able to make an ap

Re: [OE-core] [PATCH 1/2] glibc: CVE-2015-1472: wscanf allocates too little memory

2015-05-08 Thread Haris Okanovic
On 05/07/2015 06:19 PM, Haris Okanovic wrote: Backport Paul Pluzhnikov's glibc patch for CVE-2015-1472: Under certain conditions wscanf can allocate too little memory for the to-be-scanned arguments and overflow the allocated buffer. The implementation now correctly computes the required buffer

Re: [OE-core] [PATCH] sqlite3: upgrade to 3.8.10

2015-05-08 Thread Burton, Ross
On 8 May 2015 at 09:03, wrote: > ++sqlite3_DEPENDENCIES = $(top_builddir)/libsqlite3.la > packages/corei7-64-poky-linux/sqlite3/sqlite3: RDEPENDS: removed all items "libsqlite3 (['>= 3.8.7.4'])" packages/corei7-64-poky-linux/sqlite3/sqlite3: PKGSIZE changed from 66704 to 833776 (+1149%) Looks l

[OE-core] [PATCH 1/2] gstreamer1.0: convert GSTREAMER_1_DEBUG to PACKAGECONFIG

2015-05-08 Thread Ricardo Ribalda Delgado
It is more elegant Suggested-by: Ross Burton Signed-off-by: Ricardo Ribalda Delgado --- meta/recipes-multimedia/gstreamer/gstreamer1.0.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc b/meta/recipes-multimedia/gstre

[OE-core] [PATCH 2/2] gstreamer1.0: Make check selectable via PACKAGECONFIG

2015-05-08 Thread Ricardo Ribalda Delgado
This way, this configuration can be easily changed via .bbappend file without having to re-define the whole EXTRA_OECONF. With --disable-check libgstcheck is not build. Signed-off-by: Ricardo Ribalda Delgado --- meta/recipes-multimedia/gstreamer/gstreamer1.0.inc | 3 ++- 1 file changed, 2 inse

Re: [OE-core] [PATCH] gstreamer1.0: Make tests selectable via variable

2015-05-08 Thread Ricardo Ribalda Delgado
Hello Ross On Fri, May 8, 2015 at 3:47 PM, Burton, Ross wrote: > > On 8 May 2015 at 12:39, Ricardo Ribalda Delgado > wrote: >> >> GSTREAMER_1_DEBUG ?= "--disable-debug" >> +GSTREAMER_1_CHECK ?= "--disable-check" >> EXTRA_OECONF = "--disable-docbook --disable-gtk-doc \ >> ---dis

[OE-core] [PATCH 2/2] glibc: CVE-2015-1781: resolv/nss_dns/dns-host.c buffer overflow

2015-05-08 Thread Haris Okanovic
Backport Arjun Shankar's patch for CVE-2015-1781: A buffer overflow flaw was found in the way glibc's gethostbyname_r() and other related functions computed the size of a buffer when passed a misaligned buffer as input. An attacker able to make an application call any of these functions with a mis

[OE-core] [PATCH 1/2] glibc: CVE-2015-1472: wscanf allocates too little memory

2015-05-08 Thread Haris Okanovic
Backport Paul Pluzhnikov's glibc patch for CVE-2015-1472: Under certain conditions wscanf can allocate too little memory for the to-be-scanned arguments and overflow the allocated buffer. The implementation now correctly computes the required buffer size when using malloc. https://sourceware.org

Re: [OE-core] [PATCH] weston-init: support system's configuration file

2015-05-08 Thread Otavio Salvador
On Fri, May 8, 2015 at 10:56 AM, Philippe Coval wrote: > Look for OPTARGS variable in /etc/default/weston > and set it as weston's service default options. > > This can be used to force system's supported backend. > > Change-Id: I0562c9326df5b46226093199873ef58d77aeae75 > Signed-off-by: Philippe C

[OE-core] [PATCH] weston-init: support system's configuration file

2015-05-08 Thread Philippe Coval
Look for OPTARGS variable in /etc/default/weston and set it as weston's service default options. This can be used to force system's supported backend. Change-Id: I0562c9326df5b46226093199873ef58d77aeae75 Signed-off-by: Philippe Coval --- meta/recipes-graphics/wayland/weston-init/init | 6 +-

Re: [OE-core] [PATCH] gstreamer1.0: Make tests selectable via variable

2015-05-08 Thread Burton, Ross
On 8 May 2015 at 12:39, Ricardo Ribalda Delgado wrote: > GSTREAMER_1_DEBUG ?= "--disable-debug" > +GSTREAMER_1_CHECK ?= "--disable-check" > EXTRA_OECONF = "--disable-docbook --disable-gtk-doc \ > ---disable-dependency-tracking --disable-check \ > +--disable-depen

[OE-core] [PATCH v2] xserver-xorg: Make xinerama selectable via PACKAGECONFIG

2015-05-08 Thread Ricardo Ribalda Delgado
If xinerara can be selected via PACKAGECONFIG, xserver-xorg recipe can be easier modified via bbappend. xinerama is needed by the fglrx driver (from AMD). Signed-off-by: Ricardo Ribalda Delgado --- v2: Fix by Ross Burton Add missing xineramaproto dep meta/recipes-graphics/xorg-xserver/xser

Re: [OE-core] [PATCH] xserver-xorg: Make xinerama selectable via PACKAGECONFIG

2015-05-08 Thread Burton, Ross
On 8 May 2015 at 12:02, Ricardo Ribalda Delgado wrote: > +PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama" > You'll need to add the dependency on xineramaproto here too. Ross -- ___ Openembedded-core mailing list Openembedded-core@lis

Re: [OE-core] WARNING: The license listed CLOSED was not in the licenses collected for foo

2015-05-08 Thread Paul Eggleton
On Friday 08 May 2015 09:40:48 Otavio Salvador wrote: > On Fri, May 8, 2015 at 9:39 AM, Paul Eggleton > > wrote: > > On Friday 08 May 2015 13:07:35 Steffen Sledz wrote: > >> Since switching from dizzy to fido we've some warnings related to some of > >> our own closed source packages. > >> > >> W

Re: [OE-core] WARNING: The license listed CLOSED was not in the licenses collected for foo

2015-05-08 Thread Otavio Salvador
On Fri, May 8, 2015 at 9:39 AM, Paul Eggleton wrote: > On Friday 08 May 2015 13:07:35 Steffen Sledz wrote: >> Since switching from dizzy to fido we've some warnings related to some of >> our own closed source packages. >> >> WARNING: log_check: There is a warn message in the logfile >> WARNING: lo

Re: [OE-core] WARNING: The license listed CLOSED was not in the licenses collected for foo

2015-05-08 Thread Paul Eggleton
Hi Steffen, On Friday 08 May 2015 13:07:35 Steffen Sledz wrote: > Since switching from dizzy to fido we've some warnings related to some of > our own closed source packages. > > WARNING: log_check: There is a warn message in the logfile > WARNING: log_check: Matched keyword: [WARNING:] > WARNING:

[OE-core] [PATCH 1/1] combo-layer: improve merge commit handling

2015-05-08 Thread Patrick Ohly
When the head of a branch is a merge commit, combo-layer did not record that commit as last_revision because it only considers applied patches, and the merge commit never gets applied. This causes problems when the merge commit leads to multiple patches and the commit id that gets recorded only re

[OE-core] [PATCH 0/1] combo-layer + merge requests

2015-05-08 Thread Patrick Ohly
We are using combo-layer with repos hosted on Github, and we use the "merge pull request" button from Github to import changes. This leads to merge commits in our component history. Because we avoid conflict resolution during merging, that mostly works, except for two edge cases: 1. last_revision n

[OE-core] [PATCH] xserver-xorg: Make xinerama selectable via PACKAGECONFIG

2015-05-08 Thread Ricardo Ribalda Delgado
If xinerara can be selected via PACKAGECONFIG, xserver-xorg recipe can be easier modified via bbappend. xinerama is needed by the fglrx driver (from AMD). Signed-off-by: Ricardo Ribalda Delgado --- meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 2 +- 1 file changed, 1 insertion(+), 1 del

[OE-core] [PATCH] gstreamer1.0: Make tests selectable via variable

2015-05-08 Thread Ricardo Ribalda Delgado
This way, this configuration can be easily changed via .bbappend file without having to re-define the whole EXTRA_OECONF. With --disable-check libgstcheck is not build. Signed-off-by: Ricardo Ribalda Delgado --- meta/recipes-multimedia/gstreamer/gstreamer1.0.inc | 3 ++- 1 file changed, 2 inse

[OE-core] WARNING: The license listed CLOSED was not in the licenses collected for foo

2015-05-08 Thread Steffen Sledz
Since switching from dizzy to fido we've some warnings related to some of our own closed source packages. WARNING: log_check: There is a warn message in the logfile WARNING: log_check: Matched keyword: [WARNING:] WARNING: log_check: WARNING: The license listed CLOSED was not in the licenses coll

[OE-core] [PATCH] xserver-xorg: Make xinerama selectable via PACKAGECONFIG

2015-05-08 Thread Ricardo Ribalda Delgado
If xinerara can be selected via PACKAGECONFIG, xserver-xorg recipe can be easier modified via bbappend. xinerama is needed by the fglrx driver (from AMD). Signed-off-by: Ricardo Ribalda Delgado --- meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 2 +- 1 file changed, 1 insertion(+), 1 del

Re: [OE-core] KBUILD_DEFCONFIG issue

2015-05-08 Thread Steffen.Pankratz
> -Original Message- > From: Bruce Ashfield [mailto:bruce.ashfi...@gmail.com] > Sent: Thursday, May 07, 2015 9:45 PM > To: Pankratz, Steffen > Cc: Patches and discussions about the oe-core layer > Subject: Re: [OE-core] KBUILD_DEFCONFIG issue > >> >> >> > I am in the process of creating a

Re: [OE-core] [PATCH V2 2/2] populate_sdk_ext: consider custom configuration in local.conf

2015-05-08 Thread Paul Eggleton
Hi Qi, On Monday 04 May 2015 15:59:30 Chen Qi wrote: > Copy the contents of local.conf under TOPDIR into the final generated > local.conf. In this way, custom settings are also made into the final > local.conf like IMAGE_INSTALL, DISTRO_FEATURES, VIRTUAL-RUNTIME_xxx, etc. > > Before this change,

[OE-core] [PATCH] glibc_2.21.bb: Fix LSB bugs #3033

2015-05-08 Thread Li xin
Bug 3033 - T.c_iflag and T.tcgetattr fail when using pseudo ttys (on some systems). https://lsbbugs.linuxfoundation.org/show_bug.cgi?id=3033 Signed-off-by: Li Xin --- .../glibc/glibc/tcsetattr.c-Fix-LSB-NG-Cases.patch | 69 ++ meta/recipes-core/glibc/glibc_2.21.bb

[OE-core] [PATCH] sqlite3: upgrade to 3.8.10

2015-05-08 Thread rongqing.li
From: Roy Li Signed-off-by: Roy Li --- .../sqlite/files/0001-Add-the-dependence.patch | 24 ++ .../{sqlite3_3.8.7.4.bb => sqlite3_3.8.10.0.bb}| 8 +--- 2 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-support/sqlite/files/0001-