[OE-core] [PATCH 03/18] kernel.bbclass: fix buildpath QA issue

2016-03-19 Thread Hongxu Jia
Since CFLAGS CPPFLAGS CXXFLAGS has been unset, variable DEBUG_FLAGS could not been passed to compiler, so we explicitly add DEBUG_FLAGS to CC to replace build path with target path. [YOCTO #7058] Signed-off-by: Hongxu Jia --- meta/classes/kernel.bbclass | 4 ++-- 1 file changed, 2 insertions(+)

[OE-core] [PATCHv2 7/7] oe-buildenv-internal: Some clean up

2016-03-19 Thread Peter Kjellerstedt
* Consistent indentation (four spaces) * Use [ -z ...] and [ -n ... ] where possible * Unset temporary variables * Use $(...) instead of `...` * Avoid an unnecessary call to expr Signed-off-by: Peter Kjellerstedt --- scripts/oe-buildenv-internal | 46 +++-

[OE-core] [PATCH 6/8] gobject-introspection.bbclass: wrap comments at 80 columns

2016-03-19 Thread Andre McCurdy
Whitespace and comment updates only, no functional changes. Signed-off-by: Andre McCurdy --- meta/classes/gobject-introspection.bbclass | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/meta/classes/gobject-introspection.bbclass b/meta/classes/gobj

[OE-core] [PATCH 1/8] bitbake.conf: remove 'gobject-introspection-data' from DISTRO/MACHINE_FEATURES_BACKFILL

2016-03-19 Thread Andre McCurdy
Support for gobject introspection was not previously enabled by default, therefore it's not appropriate to backfill into existing distro or machine configurations. http://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#ref-features-backfill Signed-off-by: Andre McCurdy --- met

[OE-core] [PATCH 3/3] oe-selftest: Fixed --list-tests-by tag option

2016-03-19 Thread Daniel Istrate
Commit 35be67951305950ba797dc2efddbc7d88fc0556a broke the --list-tests-by tag option. This patch fixes that. Having a module in lib/oeqa/selftest named testmodule: class TestClass(oeSelfTest): @tag(feature='tag1') def test_func1(self): pass @tag(feature=('tag1', 'tag2')) de

Re: [OE-core] [PATCH 1/3] oe-selftest: Updated --list-tests and --list-tests-by

2016-03-19 Thread Burton, Ross
On 18 March 2016 at 09:25, Istrate, Daniel AlexandruX < daniel.alexandrux.istr...@intel.com> wrote: > We could gather all external python modules and we either verify if they > are installed and ask the user to install them or attempt to pip install > all of them when sourcing the environment (oe-

Re: [OE-core] [jethro][PATCH 1/2] devtool: extract: copy kernel config to srctree

2016-03-19 Thread Paul Eggleton
On Fri, 18 Mar 2016 10:23:22 Markus Lehtonen wrote: > Hi, > > On 14/03/16 22:43, "Paul Eggleton" wrote: > >From: Markus Lehtonen > > > >This makes the correct kernel config to be used when building kernel > >from srctree (extrernalsrc). If no kernel config is present in the > >builddir 'do_conf

[OE-core] OE Changelog since 2016-03-06 until 2016-03-13

2016-03-19 Thread cliff . brake
Changelog since 2016-03-06 until 2016-03-13. Projects included in this report: bitbake: git://git.openembedded.org/bitbake openembedded-core: git://git.openembedded.org/openembedded-core meta-openembedded: git://git.openembedded.org/meta-openembedded meta-angstrom: git://github.com/Angstrom-distr

[OE-core] X.org licenses

2016-03-19 Thread Phil Blundell
This morning it came to my notice that libxdmcp, and a bunch of other files (mostly, though not exclusively, in xorg-libs) contain things like: LICENSE = "MIT-style" It's not very clear to me whether "MIT-style" is meant to mean "an unspecified license in the same general style as the MIT one" or

Re: [OE-core] X.org licenses

2016-03-19 Thread Phil Blundell
On Wed, 2016-03-16 at 12:59 +, Burton, Ross wrote: > Ditto, MIT-style and MIT-X all map to MIT. > > Considering xorg-lib-common.inc already sets LICENSE="MIT-X" and these > recipes are overriding that assignment, we should probably remove all > instances of MIT-style from the xorg recipes as t

[OE-core] [PATCH 17/18] gconf: fix buildpaths QA issue

2016-03-19 Thread Hongxu Jia
In ${S}/gconf/gconfd.c, we have: ... /* -- Debug only */ if (addresses == NULL) { gconf_log(GCL_DEBUG, _("gconfd compiled with debugging; trying to load gconf.path from the source directory")); conffile = g_strconcat(GCONF_SRCDIR, "/gconf/gconf.path", NULL); addresses =

Re: [OE-core] [PATCH 7/8] gobject-introspection.bbclass: make additional DEPENDS conditional

2016-03-19 Thread alexander . kanavin
> Even with gobject-introspection-data removed from DISTRO_FEATURES I'm > seeing > couple recipes (our version of gst-*) failing with: > > | configure:22282: error: possibly undefined macro: PKG_CONFIG_SYSROOT_DIR > | If this token and others are legitimate, please use > m4_pattern_allow. > |

[OE-core] Enable GO in gcc-cross

2016-03-19 Thread Theodor Gherzan
Hello everyone, I would like to build gcc-cross with GO enabled (i.e. --enable-languages=c,c++,go). My naive approach to this problem was to set the flag through the LANGUAGE variable inside gcc-cross, but as expected it needs more work. Is anybody aware of patches that enable the go language? Any

[OE-core] [PATCH 2/8] default-distrovars.inc: add gobject-introspection-data to DISTRO_FEATURES_DEFAULT

2016-03-19 Thread Andre McCurdy
Enable gobject introspection by default for all distros which respect DISTRO_FEATURES_DEFAULT. Signed-off-by: Andre McCurdy --- meta/conf/distro/include/default-distrovars.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/distro/include/default-distrovars.inc b/m

Re: [OE-core] [PATCH] gcc: Fix the license on GNU OpenMP

2016-03-19 Thread Andre McCurdy
On Fri, Mar 11, 2016 at 9:01 AM, Burton, Ross wrote: > > On 11 March 2016 at 16:24, Helio Chissini De Castro > wrote: >> >> If i change recipe scope, need to be on each gcc_${PV}.inc. >> But they include gcc-common.inc on top, which states LICENSE = "GPL" >> >> So, gcc_${PV}.inc is already overri

[OE-core] [PATCH 10/18] bbclass distutils/distutils3: fix .pyc/.pyo buildpath

2016-03-19 Thread Hongxu Jia
Get the "--root" directory supplied to the "install" command, and use it as a prefix to strip off the purported filename encoded in bytecode files. Since --root added, we need to tweak --install-data, --prefix and --install-lib to use relative path. [YOCTO #8446] Signed-off-by: Hongxu Jia ---

[OE-core] [PATCH 12/18] python-setuptools/python3-setuptools: use old-style install

2016-03-19 Thread Hongxu Jia
Since '--root' is added to 'setup.py install' to fix .pyc/.pyo buildpaths issue. For python setuptools, the '--root' option means explicit request for old-style install. There will be no egg generated. And it do not need setuptools.pth any more. Rename easy_install to easy_install3. Ubuntu or Deb

[OE-core] [PATCH 11/18] bbclass distutils/distutils3/setuptools/setuptools3: clean up DISTUTILS_INSTALL_ARGS

2016-03-19 Thread Hongxu Jia
Since fix .pyc/.pyo buildpaths issue, we have the same DISTUTILS_INSTALL_ARGS in these bbclass files, so clean up the duplicate. [YOCTO #8446] Signed-off-by: Hongxu Jia --- meta/classes/distutils.bbclass | 4 +++- meta/classes/distutils3.bbclass | 4 +++- meta/classes/setuptools.bbclass | 5

[OE-core] [PATCH] grub: add --disable-werror to native EXTRA_OECONF

2016-03-19 Thread Martin Jansa
Signed-off-by: Martin Jansa --- meta/recipes-bsp/grub/grub-efi_2.00.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-bsp/grub/grub-efi_2.00.bb b/meta/recipes-bsp/grub/grub-efi_2.00.bb index 4e80e18..9d4768b 100644 --- a/meta/recipes-bsp/grub/grub-efi_2.00.bb +++ b/meta/rec

[OE-core] [PATCH] u-boot: Upgrade to 2016.03 release

2016-03-19 Thread Otavio Salvador
The 2016.03 release has been announced in March 14th. This incorporates a lot of bug fixes and improvements which are useful for any new embedded development. Along with the upgrade of U-Boot and its related recipes, this patch also drops the AM335x environment fix which has been merged into the r

Re: [OE-core] [PATCH 1/1] nativesdk-coreutils: a lot of warnings fixed

2016-03-19 Thread dengke...@windriver.com
After a talk with Hongxu jia, we decided to change the do_install_append_class-target() to do_install_append(), in this function, added the following: if [ "${CLASSOVERRIDE}" = "class-native" ]; then return fi in this way, avoid the conflict with the following do_install

Re: [OE-core] [PATCH 8/8] gobject-introspection.bbclass: mark as machine specific due to COMBINED_FEATURES

2016-03-19 Thread Martin Jansa
On Thu, Mar 17, 2016 at 10:19:29AM -0700, Andre McCurdy wrote: > Signed-off-by: Andre McCurdy > --- > meta/classes/gobject-introspection.bbclass | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/meta/classes/gobject-introspection.bbclass > b/meta/classes/gobject-introspection.bbclass

Re: [OE-core] [jethro][PATCH 1/2] devtool: extract: copy kernel config to srctree

2016-03-19 Thread Markus Lehtonen
Hi, On 14/03/16 22:43, "Paul Eggleton" wrote: >From: Markus Lehtonen > >This makes the correct kernel config to be used when building kernel >from srctree (extrernalsrc). If no kernel config is present in the >builddir 'do_configure' task copies .config from the srctree. > >(From OE-Core mas

Re: [OE-core] [PATCH 1/1] nativesdk-coreutils: a lot of warnings fixed

2016-03-19 Thread Paul Eggleton
On Wed, 16 Mar 2016 21:30:35 Burton, Ross wrote: > On 16 March 2016 at 02:49, Dengke Du wrote: > > When we create nativesdk-coreutils, a lot of warnings appear,it > > show many files can't find. > > I don't think anywhere where nativesdk packages are used actually runs the > postinst scripts to c

[OE-core] [PATCH 4/8] arch-x86.inc: disable gobject introspection for x86-64 x32 builds

2016-03-19 Thread Andre McCurdy
Since gobject introspection is no longer backfilled into existing machine configurations, it needs to be removed from MACHINE_FEATURES directly when building for x86-64 x32. Signed-off-by: Andre McCurdy --- meta/conf/machine/include/x86/arch-x86.inc | 2 +- 1 file changed, 1 insertion(+), 1 dele

Re: [OE-core] [PATCH v2] grub: add -Wno-error=trampolines to native CFLAGS

2016-03-19 Thread Lopez, Mariano
On 3/17/2016 7:30 PM, Randle, William C wrote: Previous patch was not against master. Updated against master branch. Fixes YOCTO 9201 Adds -Wno-error=trampolines to native CFLAGS prevent multiple compile errors when using gcc 5.3.0 for gentoo. Signed-off-by: Bill Randle --- meta/recipes-bs

[OE-core] [PATCH 1/6] xcb-util-image: Fix build with clang

2016-03-19 Thread Khem Raj
Signed-off-by: Khem Raj --- .../xorg-lib/xcb-util-image/clang.patch| 24 ++ .../xorg-lib/xcb-util-image_0.4.0.bb | 5 - 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-graphics/xorg-lib/xcb-util-image/clang.patch

[OE-core] [PATCH 1/5] linux-yocto/4.1: usb backports for Apollo Lake/Broxton

2016-03-19 Thread Bruce Ashfield
Importing a series of mainline backports to support USB on a couple of Intel platforms: b5f6aa9957dd usb: otg: add usb_otg_caps structure for otg capabilities bbce8fe2cc42 usb: dwc3: pci: add support for Intel Broxton SOC e734e1d9f827 usb: dwc3: pci: Set enblslpm quirk for Synopsys platfo

[OE-core] [PATCH 3/5] linux-yocto/4.1: powercap/RAPL: Backport powercap/RAPL

2016-03-19 Thread Bruce Ashfield
backporting the following powercap commits: 24e2e14aa446 powercap / RAPL: Enable Broxton RAPL support 6be05b47d625 powercap / RAPL: Add support for Skylake H/S 879e8d02e07d powercap / RAPL: Support Knights Landing ec583656ad93 powercap / RAPL: Floor frequency setting in Atom SoC Signed-of

[OE-core] [PATCH 04/18] valgrind: fix buildpath QA issue

2016-03-19 Thread Hongxu Jia
Pass DEBUG_FLAGS to SELECTED_OPTIMIZATION which fixes build path issue in DWARF. [YOCTO #8457] Signed-off-by: Hongxu Jia --- meta/recipes-devtools/valgrind/valgrind_3.11.0.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/valgrind/valgrind_3.11.0.

Re: [OE-core] [master][PATCH] rpm: enable xz/lzma compression

2016-03-19 Thread Mark Hatle
On 3/14/16 1:18 AM, Chang, Rebecca Swee Fun wrote: > We are having issues on decompressing tarball with xz format and rpm > installation on target. > We have this solution implemented to resolve it internally and would like to > enable it in OE-core in order we wouldn't revisit this issue in futu

[OE-core] [PATCH 09/18] python2/3: fix buildpath QA issue

2016-03-19 Thread Hongxu Jia
- Remove build paths in target file - Since _sysconfigdata.py was modified at do_package, so update _sysconfigdata.pyc manually (Python2 only). [YOCTO #8446] [YOCTO #9169] Signed-off-by: Hongxu Jia --- meta/recipes-devtools/python/python3_3.5.1.bb | 20 meta/recipes-devt

Re: [OE-core] [PATCH RESEND 1/4] ARM: handle missing thumb suffix

2016-03-19 Thread Phil Blundell
On Wed, 2016-03-16 at 10:34 +0100, Jens Rehsack wrote: > When enabling tune for arm926ejs, poky optionally appends suffixes for > thumb and dsp support. Since sometimes arm926ejse (ARM code) and sometime > arm926ejste (thumb code) is used in PACKAGE_ARCH, allow both. Personally I think this is a f

[OE-core] [PATCH] no-static-libs: just like target and native, nativesk-libcap doesn't like unrecognised options

2016-03-19 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/conf/distro/include/no-static-libs.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/conf/distro/include/no-static-libs.inc b/meta/conf/distro/include/no-static-libs.inc index 6c0f859..1265908 100644 --- a/meta/conf/distro/include/no-static-libs.inc

[OE-core] [PATCH V3 00/18] fix buildpaths QA issue

2016-03-19 Thread Hongxu Jia
Changed in V3: - Drop the improvement on cmake-native and python distutils compile - Support option '-ffile-prefix-map' for gcc to replace build path with target path in __FILE__. Details: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70268 - Reuse -fdebug-prefix-map to replace -ffile-prefix-

Re: [OE-core] [PATCH RESEND 1/4] ARM: handle missing thumb suffix

2016-03-19 Thread Jens Rehsack
> Am 16.03.2016 um 13:20 schrieb Phil Blundell : > > On Wed, 2016-03-16 at 10:34 +0100, Jens Rehsack wrote: >> When enabling tune for arm926ejs, poky optionally appends suffixes for >> thumb and dsp support. Since sometimes arm926ejse (ARM code) and sometime >> arm926ejste (thumb code) is used in

Re: [OE-core] X.org licenses

2016-03-19 Thread Burton, Ross
On 16 March 2016 at 12:29, Phil Blundell wrote: > This morning it came to my notice that libxdmcp, and a bunch of other > files (mostly, though not exclusively, in xorg-libs) contain things > like: > > LICENSE = "MIT-style" > > It's not very clear to me whether "MIT-style" is meant to mean "an >

[OE-core] [PATCH 1/3] sanity.bbclass: expand error messages for version checks

2016-03-19 Thread Patrick Ohly
The ${WORKDIR} variable was not getting expanded (anymore?), leading to less helpful error messages like: Exception: NotImplementedError: Your version of bblayers.conf has the wrong LCONF_VERSION (has 7, expecting 8). Please compare your file against bblayers.conf.sample and merge any chang

Re: [OE-core] [PATCH 1/8] bitbake.conf: remove 'gobject-introspection-data' from DISTRO/MACHINE_FEATURES_BACKFILL

2016-03-19 Thread Richard Purdie
On Thu, 2016-03-17 at 11:17 -0700, Andre McCurdy wrote: > On Thu, Mar 17, 2016 at 10:31 AM, Burton, Ross > wrote: > > > > On 17 March 2016 at 17:19, Andre McCurdy > > wrote: > > > > > > -DISTRO_FEATURES_BACKFILL = "pulseaudio sysvinit bluez5 > > > gobject-introspection-data" > > > -MACHINE_FEAT

Re: [OE-core] [PATCH v1] site: enable pthread support for x86_64 APR builds

2016-03-19 Thread Khem Raj
On Mar 18, 2016 4:38 AM, "Burton, Ross" wrote: > > > On 18 March 2016 at 00:22, Khem Raj wrote: >>> >>> Which is interesting as building apr-native (so the site files don't get used) for x86-64 gives: >>> >>> apr_cv_process_shared_works=yes >>> >>> Can we not go around disabling stuff when it act

[OE-core] [PATCH] systemd: Fix and expand ptests

2016-03-19 Thread Jussi Kukkonen
systemd-ptest only runs a couple of tests currently. * Install all test binaries and required data files * Add missing runtime dependencies for -ptest * Fix paths required for on-target testing in do_configure_prepend() * cleanup do_install_ptest() For reference, results on current core-image-sato

Re: [OE-core] [PATCH] bluez5: allow D-Bus to spawn obexd in systems without systemd

2016-03-19 Thread Burton, Ross
On 18 March 2016 at 18:48, Otavio Salvador wrote: > Agreed; this is good to be included as it does address an issue for a > lot of users. Ross, could you queue it for MUT please? > I didn't merge it straight away as I wanted to understand why upstream rejected this, but it was merged earlier tod

Re: [OE-core] [PATCH 02/24] python3-native: use the previous version of python-config script

2016-03-19 Thread Andreas Müller
On Wed, Mar 16, 2016 at 5:23 PM, wrote: >>> Apologies for being terse. I should've explained that when building >>> recipes that make use of this script, it will be run with the native >>> python (instead of host python) because native python will come first in >>> the PATH, and so the version re

Re: [OE-core] [PATCH 7/8] gobject-introspection.bbclass: make additional DEPENDS conditional

2016-03-19 Thread Martin Jansa
On Thu, Mar 17, 2016 at 05:29:59PM +, Burton, Ross wrote: > On 17 March 2016 at 17:19, Andre McCurdy wrote: > > > # Generating introspection data depends on a combination of native and > > target > > # introspection tools, and qemu to run the target tools. > > -DEPENDS_append = " gobject-in

Re: [OE-core] [PATCH 1/3] oe-selftest: Updated --list-tests and --list-tests-by

2016-03-19 Thread Burton, Ross
On 17 March 2016 at 10:37, Daniel Istrate < daniel.alexandrux.istr...@intel.com> wrote: > +from tabulate import tabulate > This isn't a core python module, so adds an external dependency. Are we okay with adding new dependencies to the selftest code, or should we try to keep the dependencies dow

[OE-core] [PATCH] ParaTypeFFL-1.3: Add license file

2016-03-19 Thread Ioan-Adrian Ratiu
The ParaType Free Font License is used by various fonts, out of which a recipe will be added to meta-openembedded for ttf-pt-sans. Signed-off-by: Ioan-Adrian Ratiu --- meta/files/common-licenses/ParaTypeFFL-1.3 | 44 ++ 1 file changed, 44 insertions(+) create mode 10

[OE-core] [PATCH 05/18] dtc.inc: fix buildpaths QA issue

2016-03-19 Thread Hongxu Jia
Previous Makefile define its own CFLAGS, pass DEBUG_FLAGS to it could fix build path issue in DWARF. [YOCTO #8457] Signed-off-by: Hongxu Jia --- meta/recipes-kernel/dtc/dtc.inc| 3 +++ .../dtc/dtc/pass-DEBUG_FLAGS-to-CFLAGS.patch | 30 ++ 2 files c

[OE-core] [PATCH 2/7] bdgwc: Backport nios2 support

2016-03-19 Thread Marek Vasut
Backport patch from bdwgc mainline which adds initial support for nios2 architecture. Signed-off-by: Marek Vasut Cc: Ley Foon Tan Cc: Richard Purdie Cc: Ross Burton Cc: Thomas Chou Cc: Walter Goossens --- .../bdwgc/bdwgc/0002-Altera-NIOS2-support.patch| 71 ++ meta/r

Re: [OE-core] [PATCH 1/8] bitbake.conf: remove 'gobject-introspection-data' from DISTRO/MACHINE_FEATURES_BACKFILL

2016-03-19 Thread Andre McCurdy
On Thu, Mar 17, 2016 at 2:02 PM, Richard Purdie wrote: > On Thu, 2016-03-17 at 11:17 -0700, Andre McCurdy wrote: >> On Thu, Mar 17, 2016 at 10:31 AM, Burton, Ross > > wrote: >> > >> > On 17 March 2016 at 17:19, Andre McCurdy >> > wrote: >> > > >> > > -DISTRO_FEATURES_BACKFILL = "pulseaudio sysvin

[OE-core] [PATCH] grub: add -Wno-error=trampolines to native CFLAGS

2016-03-19 Thread Randle, William C
Fixes YOCTO 9201. Adds -Wno-error=trampolines to native CFLAGS prevent multiple compile errors when using gcc 5.3.0 for gentoo. This is a less "invasive" fix than the one proposed earlier by Martin Jansa and, in my testing, solves the problem. Signed-off-by: Bill Randle ---  meta/recipes-bsp/grub

[OE-core] [PATCH 2/2] tzdata: update to 2016b

2016-03-19 Thread Armin Kuster
updated SRC_URI to http as it seems more stable. Changes affecting future time stamps New zones Europe/Astrakhan and Europe/Ulyanovsk for Astrakhan and Ulyanovsk Oblasts, Russia, both of which will switch from +03 to +04 on 2016-03-27 at 02:00 local time. They need distinct zones

[OE-core] [PATCH 1/2] tzcode: update to 2016b

2016-03-19 Thread Armin Kuster
change SRC_URI http seems more reliable Changes to code tzselect's diagnostics and checking, and checktab.awk's checking, have been improved. (Thanks to J William Piggott.) tzcode now builds under MinGW. (Thanks to Ian Abbott and Esben Haabendal.) tzselect now tests Julian

[OE-core] [PATCH 16/18] openssl: fix buildpath QA issue

2016-03-19 Thread Hongxu Jia
- The openssl records $CC and $CFLAGS in source code which caused buildpaths QA issue: In crypto/cversion.c ... if (t == SSLEAY_CFLAGS) { return (CFLAGS); return ("compiler: information not available"); } ... We should remove build path in the above source

Re: [OE-core] [PATCH 7/8] gobject-introspection.bbclass: make additional DEPENDS conditional

2016-03-19 Thread Andre McCurdy
On Thu, Mar 17, 2016 at 10:29 AM, Burton, Ross wrote: > > On 17 March 2016 at 17:19, Andre McCurdy wrote: >> >> # Generating introspection data depends on a combination of native and >> target >> # introspection tools, and qemu to run the target tools. >> -DEPENDS_append = " gobject-introspecti

Re: [OE-core] [PATCH 7/8] gobject-introspection.bbclass: make additional DEPENDS conditional

2016-03-19 Thread Burton, Ross
On 17 March 2016 at 17:19, Andre McCurdy wrote: > # Generating introspection data depends on a combination of native and > target > # introspection tools, and qemu to run the target tools. > -DEPENDS_append = " gobject-introspection gobject-introspection-native > qemu-native" > +DEPENDS_append

[OE-core] [PATCH 4/7] kexec: Disable on nios2

2016-03-19 Thread Marek Vasut
kexec is not supported on nios2, so disable it. Signed-off-by: Marek Vasut Cc: Ley Foon Tan Cc: Richard Purdie Cc: Ross Burton Cc: Thomas Chou Cc: Walter Goossens --- meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [OE-core] [dizzy][PATCH 3/4] glibc: CVE-2015-9761

2016-03-19 Thread Martin Jansa
On Fri, Mar 11, 2016 at 02:58:57PM +0100, Martin Jansa wrote: > On Thu, Mar 03, 2016 at 09:47:11PM +0100, Martin Jansa wrote: > > I was asking you about the CVE number (but I realize it was already merged > > in other branches with wrong number so maybe it will be less confusing use > > the same in

[OE-core] [PATCH] oeqa/selftest/buildoptions: test read-only-rootfs

2016-03-19 Thread Ross Burton
Add a test to build core-image-sato with read-only-rootfs enabled. [ YOCTO #9214 ] Signed-off-by: Ross Burton --- meta/lib/oeqa/selftest/buildoptions.py | 4 1 file changed, 4 insertions(+) diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py index

[OE-core] [PATCH] devtool: change config symlink name to .config.new

2016-03-19 Thread Markus Lehtonen
Otherwise (if the symlink is named .config) kernel build considers source tree as dirty and fails. [YOCTO #9270] Signed-off-by: Markus Lehtonen --- scripts/lib/devtool/standard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lib/devtool/standard.py b/scripts/l

Re: [OE-core] [PATCH] bluez5: allow D-Bus to spawn obexd in systems without systemd

2016-03-19 Thread Javier Viguera
On 09/03/16 19:33, Javier Viguera wrote: On 24/02/16 19:12, Javier Viguera wrote: This includes a proper D-Bus service file for obexd in systems that do not support systemd. Signed-off-by: Javier Viguera Ping. I know people is probably busy enough trying to stabilize the upcoming 2.1 rel

[OE-core] Yocto Project Status WW12

2016-03-19 Thread Jolley, Stephen K
Current Dev Position: YP 2.1 M4 (Stabilization only milestone.) Next Deadline: YP 2.1 M3 Target release date is March 18, 2016 (Will be late, see status) SWAT team rotation: Maxin -> Joshua https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team Key Status/Updates: *The M3

[OE-core] [PATCH 07/18] icu: fix buildpaths QA issue

2016-03-19 Thread Hongxu Jia
- Define new variable U_CC and U_CXX which do not have build path. The output of icuinfo will not have build path in it: ... root@qemux86-64:~# icuinfo [snip] x86_64-poky-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse x86_64-poky-linux-g++ -m64 -march=core

[OE-core] [PATCH 16/18] openssl: fix buildpath QA issue

2016-03-19 Thread Hongxu Jia
- The openssl records $CC and $CFLAGS in source code which caused buildpaths QA issue: In crypto/cversion.c ... if (t == SSLEAY_CFLAGS) { return (CFLAGS); return ("compiler: information not available"); } ... We should remove build path in the above source

[OE-core] [PATCH 06/18] fix_buildpaths.bbclass: add bbclass to fix build path

2016-03-19 Thread Hongxu Jia
Define variable PACKAGE_BUILDPATH_TEXT_FILES to list files that have build paths and remove these paths at do_package time. It supports package override while files exist in conditionally generated package. (such as ${PN}-ptest is conditionally generated) Define variable PACKAGE_BUILDPATH_TEXT_PAT

[OE-core] [PATCH 09/18] python2/3: fix buildpath QA issue

2016-03-19 Thread Hongxu Jia
- Remove build paths in target file - Since _sysconfigdata.py was modified at do_package, so update _sysconfigdata.pyc manually (Python2 only). [YOCTO #8446] [YOCTO #9169] Signed-off-by: Hongxu Jia --- meta/recipes-devtools/python/python3_3.5.1.bb | 20 ++ meta/recipes-devtoo

[OE-core] [PATCH 18/18] gconf: fix buildpaths QA issue

2016-03-19 Thread Hongxu Jia
The build paths come from debug mode, and GConf is effectively unmaintained these days anyway. So explicitly disable debug to fix build paths QA issue. [YOCTO #7058] Signed-off-by: Hongxu Jia --- meta/recipes-gnome/gnome/gconf_3.2.6.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/re

[OE-core] [PATCH V4 00/18] fix buildpaths QA issue

2016-03-19 Thread Hongxu Jia
(Only send updated patches) Changed in V4: - gconf: disable debug mode to fix build paths - Improve variable PACKAGE_BUILDPATH_TEXT_FILES to supports package override while files exist in conditionally generated package. (such as ${PN}-ptest is conditionally generated) The following changes

Re: [OE-core] [PATCH v1] site: enable pthread support for x86_64 APR builds

2016-03-19 Thread Khem Raj
> On Feb 29, 2016, at 5:50 AM, Burton, Ross wrote: > > > On 29 February 2016 at 13:42, Ioan-Adrian Ratiu > wrote: > apr_cv_process_shared_works=no: several platforms already set this > option, which conservatively disables support for PROCESS_SHARED > mutexes.

[OE-core] [PATCHv2 4/7] oe-init-build-env*: Make them actually return failures

2016-03-19 Thread Peter Kjellerstedt
If either of the internal scripts (oe-buildenv-internal and oe-setup-builddir) failed, oe-init-build-env (and oe-init-build-env-memres) would still return success. Signed-off-by: Peter Kjellerstedt --- oe-init-build-env| 10 +++--- oe-init-build-env-memres | 10 +++--- 2 files ch

[OE-core] [PATCH 0/5] linux-yocto/4.1: consolidated pull request

2016-03-19 Thread Bruce Ashfield
Hi all, This is the consolidated pull request for the 4.1 yocto kernel tree. There's one build fix: [linux-yocto/4.1: usb: add usb_otg_caps to usb_gadget structure.], and the others are feature backports for BSP support. I've built 4.1 for x86, ppc and ARM. Bruce The following changes since co

[OE-core] [PATCH 06/18] fix_buildpaths.bbclass: add bbclass to fix build path

2016-03-19 Thread Hongxu Jia
Define variable PACKAGE_BUILDPATH_TEXT_FILES to list files that have build paths and remove these paths at do_package time. Define variable PACKAGE_BUILDPATH_TEXT_PATTERNS to list build path patterns, which used by sed, it removes --sysroot and -fdebug-prefix-map in text files by default. Define

[OE-core] [PATCH v2] grub: add -Wno-error=trampolines to native CFLAGS

2016-03-19 Thread Randle, William C
Previous patch was not against master. Updated against master branch. Fixes YOCTO 9201 Adds -Wno-error=trampolines to native CFLAGS prevent multiple compile errors when using gcc 5.3.0 for gentoo. Signed-off-by: Bill Randle ---  meta/recipes-bsp/grub/grub-efi_2.00.bb | 4  1 file changed, 4

Re: [OE-core] How to avoid the poisoned sysroot?

2016-03-19 Thread Richard Purdie
On Sat, 2016-03-19 at 10:46 +0100, Mike Looijmans wrote: > After this commit: > > http://comments.gmane.org/gmane.comp.handhelds.openembedded.scm/81849 > > some recipes fail with strange errors like: >"fatal error: stdint.h: No such file or directory" > > What is wrong with the target rec

[OE-core] State of bitbake world, test-dependencies 2016-03-14

2016-03-19 Thread Martin Jansa
On Thu, Mar 10, 2016 at 11:34:56AM +0100, Martin Jansa wrote: > On Wed, Feb 24, 2016 at 02:20:51PM +0100, Martin Jansa wrote: > > On Mon, Dec 14, 2015 at 08:03:47PM +0100, Martin Jansa wrote: > > > This time full build (testing all recipes available in "my world" - 2503 > > > recipes), it took reco

[OE-core] [PATCH 2/5] linux-yocto/4.1: Thermal: Enable Broxton SoC thermal reporting device

2016-03-19 Thread Bruce Ashfield
Mainline backport for thermal reporting. Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb | 2 +- meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb | 2 +- meta/recipes-kernel/linux/linux-yocto_4.1.bb | 16 3 files changed, 10 insertions

[OE-core] [PATCH 4/6] socat: Access c_ispeed and c_ospeed via APIs

2016-03-19 Thread Khem Raj
make it more portable across libc implementations Signed-off-by: Khem Raj --- ...001-Access-c_ispeed-and-c_ospeed-via-APIs.patch | 39 ++ meta/recipes-connectivity/socat/socat_1.7.3.1.bb | 1 + 2 files changed, 40 insertions(+) create mode 100644 meta/recipes-connectivit

[OE-core] Yocto Project booth at ELC - Call for demos

2016-03-19 Thread Barros Pena, Belen
The Yocto Project will have a booth at the Embedded Linux Conference in San Diego. If you have something you'd like to demo in the booth, please reply to me off list providing the following information: 1. Person in charge of the demo (they must be at ELC) 2. Demo description Thanks! Belén --

[OE-core] [PATCH] parselogs: add new whitelist entries to address 4.4.3 issues

2016-03-19 Thread Saul Wold
This message appears on older hardware and is a benign warning [YOCTO #9179] Signed-off-by: Saul Wold --- meta/lib/oeqa/runtime/parselogs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/lib/oeqa/runtime/parselogs.py b/meta/lib/oeqa/runtime/parselogs.py index 431c436..32d9081 100644

[OE-core] [PATCHv2 1/7] oe-init-build-env*: Allow $OEROOT to be predefined

2016-03-19 Thread Peter Kjellerstedt
The current implementation of oe-init-build-env and oe-init-build-env-memres requires that they are sourced from the directory that will be known as $OEROOT. This makes it hard to write a wrapper script with the same name as the original OE script which, e.g., sources the original OE script from a

[OE-core] [PATCH] gcc-runtime.inc: set LICENSE for all gcc-runtime packages

2016-03-19 Thread Andre McCurdy
LICENSE_${PN} doesn't apply to all gcc-runtime packages. Set LICENSE instead. Without this fix, gcc-runtime packages such as libstdc++ are excluded from rootfs for builds which blacklist GPLv3. Signed-off-by: Andre McCurdy --- meta/recipes-devtools/gcc/gcc-runtime.inc | 9 - 1 file chang

Re: [OE-core] [PATCH v1] site: enable pthread support for x86_64 APR builds

2016-03-19 Thread Burton, Ross
On 18 March 2016 at 00:22, Khem Raj wrote: > Which is interesting as building apr-native (so the site files don't get > used) for x86-64 gives: > > apr_cv_process_shared_works=yes > > Can we not go around disabling stuff when it actually does work? > > > No it really doesnt work. its running a co

[OE-core] [PATCH 0/1] rpm: fix error when 'lua' is enabled

2016-03-19 Thread Chen Qi
The following changes since commit 300f858ba07c938427ccd05a3d7220027a03d461: local.conf.sample: Disable prelink by default (2016-03-13 22:08:55 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib ChenQi/rpm-lua http://cgit.openembedded.org/c

Re: [OE-core] X.org licenses

2016-03-19 Thread Burton, Ross
On 16 March 2016 at 13:02, Phil Blundell wrote: > Yeah, that seems reasonable. A particularly weird thing is that some of > the recipes are setting LICENSE = "MIT && MIT-style", which seems bogus > if they are in fact the same thing. > That's just to make sure that it's really MIT licensed...

[OE-core] [PATCH V2 4/4] lttng-tools: Remove lttng-ust from PACKAGECONFIG for musl

2016-03-19 Thread Khem Raj
Remove lttng-ust from DEPENDS its added by PACKAGECONFIG anyway Signed-off-by: Khem Raj --- meta/recipes-kernel/lttng/lttng-tools_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-kernel/lttng/lttng-tools_git.bb b/meta/recipes-kernel/lttng/lttng-tools_git

[OE-core] [PATCH] ffmpeg: Remove RSUGGEST=mplayer

2016-03-19 Thread Mike Looijmans
This line causes 'mplayer' to be built unless one explicitly removes it. There are plenty uses for ffmpeg that don't involve a player, so the "suggestion" doesn't make sense. Signed-off-by: Mike Looijmans --- meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb | 1 - 1 file changed, 1 deletion(-) diff

[OE-core] How to avoid the poisoned sysroot?

2016-03-19 Thread Mike Looijmans
After this commit: http://comments.gmane.org/gmane.comp.handhelds.openembedded.scm/81849 some recipes fail with strange errors like: "fatal error: stdint.h: No such file or directory" What is wrong with the target recipe when this happens? What's expected of me? -- Mike Looijmans -- _

[OE-core] [PATCH 7/8] gobject-introspection.bbclass: make additional DEPENDS conditional

2016-03-19 Thread Andre McCurdy
Make gobject introspection specific dependencies conditional on gobject introspection being enabled. Signed-off-by: Andre McCurdy --- meta/classes/gobject-introspection.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/gobject-introspection.bbclass b/meta/

Re: [OE-core] State of bitbake world, test-dependencies 2016-03-14

2016-03-19 Thread Martin Jansa
On Wed, Mar 16, 2016 at 04:20:07PM +0100, Martin Jansa wrote: > On Thu, Mar 10, 2016 at 11:34:56AM +0100, Martin Jansa wrote: > > On Wed, Feb 24, 2016 at 02:20:51PM +0100, Martin Jansa wrote: > > > On Mon, Dec 14, 2015 at 08:03:47PM +0100, Martin Jansa wrote: > > > > This time full build (testing a

[OE-core] [PATCH 1/7] libatomic-ops: Backport nios2 support

2016-03-19 Thread Marek Vasut
Backport a patch adding nios2 support into libatomic-ops Signed-off-by: Marek Vasut Cc: Ley Foon Tan Cc: Richard Purdie Cc: Ross Burton Cc: Thomas Chou Cc: Walter Goossens --- ...01-Add-initial-nios2-architecture-support.patch | 70 ++ .../libatomic-ops/libatomic-ops_7.4

[OE-core] [PATCH 0/8] gobject introspection fixes

2016-03-19 Thread Andre McCurdy
Main change to avoid use of DISTRO/MACHINE_FEATURES_BACKFILL for gobject-introspection-data (it's not appropriate, since gobject introspection was not previously enabled by default). http://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#ref-features-backfill Andre McCurdy (8):

[OE-core] [PATCH] externalsrc: use shared stamp directory if B=S

2016-03-19 Thread Markus Lehtonen
We have a common build directory for all target architectures if externalsrc is used and ${B}=${S}. In this case we also need to have a common stamp directory. The reason is that e.g. changing MACHINE will basically "invalidate" the artefacts in ${B} (wrt. to the new MACHINE) but old stamp files wi

Re: [OE-core] [PATCH v2] site: enable pthread support for x86_64 APR builds

2016-03-19 Thread Khem Raj
> On Feb 29, 2016, at 12:17 PM, Richard Purdie > wrote: > > On Mon, 2016-02-29 at 16:53 +0200, Ioan-Adrian Ratiu wrote: >> The apache2 package is missing key pieces of pthread support (notably >> pthread_kill) on x86_64 platforms. Fix this by setting cached >> variable >> apr_cv_pthreads_cflags

[OE-core] [PATCH 3/3] sanity.bbclass: allow customizing config file update error messages

2016-03-19 Thread Patrick Ohly
The default file pattern may be amiguous and "meld" might not always be the preferred tool, so allow distros to override those parts of the error messages. Signed-off-by: Patrick Ohly --- meta/classes/sanity.bbclass | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/

Re: [OE-core] [PATCH 02/24] python3-native: use the previous version of python-config script

2016-03-19 Thread alexander . kanavin
>> Apologies for being terse. I should've explained that when building >> recipes that make use of this script, it will be run with the native >> python (instead of host python) because native python will come first in >> the PATH, and so the version reported will be correct, because native >> pyth

[OE-core] [PATCH 08/18] tcl: fix buildpath QA issue

2016-03-19 Thread Hongxu Jia
- Tweak DEBUG_FLAGS, since ${S} is not normal format - Remove build path in tclConfig.sh - Tweak sed expression at tclConfig.sh to strict the pattern [YOCTO #8457] Signed-off-by: Hongxu Jia --- meta/recipes-devtools/tcltk/tcl_8.6.4.bb | 13 +++-- 1 file changed, 11 insertions(+), 2 de

[OE-core] [PATCH 0/6] Fix more recipes to build with musl

2016-03-19 Thread Khem Raj
This fixes build for few more recipes on musl Khem Raj (6): xcb-util-image: Fix build with clang bdwgc: Check for getcontext() API during configure watchdog: Disable nfs on musl targets socat: Access c_ispeed and c_ospeed via APIs python-numpy: Fix build on musl libtirpc: Add native rp

[OE-core] [PATCH V2 2/4] world-broken: Add packages broken on musl

2016-03-19 Thread Khem Raj
These 14 packages are failing aross all architectures on musl targets. Signed-off-by: Khem Raj --- meta/conf/distro/include/world-broken.inc | 44 +++ 1 file changed, 44 insertions(+) diff --git a/meta/conf/distro/include/world-broken.inc b/meta/conf/distro/include/

[OE-core] [PATCH V2 3/4] packagegroup: Disable packages not available on musl

2016-03-19 Thread Khem Raj
They otherwise get pulled into world builds via dependencies even when they are excluded from world globally Signed-off-by: Khem Raj --- .../recipes-core/packagegroups/packagegroup-core-tools-profile.bb | 8 +++- meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 4 +++- 2 f

[OE-core] [PATCH V2 1/4] siteinfo: Move apr configure cache to common-linux

2016-03-19 Thread Khem Raj
There are variables which are used in all target specific sitefiles. Move it to common-linux, so it can be effective for all targets. Usually they will vary based upon libc e.g. musl does not have process shared mutexes so apr_cv_process_shared_works should be no for it. For glibc though it should

Re: [OE-core] [PATCH 17/18] gconf: fix buildpaths QA issue

2016-03-19 Thread Hongxu Jia
On 03/19/2016 12:28 AM, Burton, Ross wrote: On 18 March 2016 at 09:01, Hongxu Jia > wrote: In ${S}/gconf/gconfd.c, we have: ... /* -- Debug only */ if (addresses == NULL) { gconf_log(GCL_DEBUG, _("gconfd compiled with debu

  1   2   >