[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] [PATCHv2 0/7] Improve oe-init-build-env/-memres

2016-03-19 Thread Peter Kjellerstedt
I started looking at the oe-init-build-env (and oe-init-build-env-memres) scripts since I wanted to add support for specifying $OEROOT from the outside. This is because we want to wrap those scripts with our own while keeping the official names (so anyone reading the official Poky documentation wil

[OE-core] [PATCH] grub: fix documentation rebuilds

2016-03-19 Thread Ross Burton
If the documentation needs to rebuild then it will fail as the syntax isn't valid with modern texinfo. Backport a patch from git to fix the syntax. [ YOCTO #9306 ] Signed-off-by: Ross Burton --- meta/recipes-bsp/grub/files/fix-texinfo.patch | 32 +++ meta/recipes-bsp/gr

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

2016-03-19 Thread Hongxu Jia
On 03/18/2016 08:01 PM, Jussi Kukkonen wrote: +Upstream-Status: Inappropriate [openembedded specific] Is this really an openembedded specific change? + +Signed-off-by: Hongxu Jia mailto:hongxu@windriver.com>> +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+)

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

2016-03-19 Thread Otavio Salvador
On Fri, Mar 18, 2016 at 12:33 PM, Javier Viguera wrote: > 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 >>> >> >>

[OE-core] [PATCH 2/6] bdwgc: Check for getcontext() API during configure

2016-03-19 Thread Khem Raj
This helps in compiling dependent components like guile where it shows the problem of missing getcontext API when using libc which dont implement it e.g. musl Signed-off-by: Khem Raj --- ...ac-add-check-for-NO_GETCONTEXT-definition.patch | 29 ++ meta/recipes-support/bdwgc/bd

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

2016-03-19 Thread Hongxu Jia
In order to fix build path issue, we reverts the following commit in https://github.com/GNOME/epiphany.git ... commit 54a3122d8626f78338033a704d5849738f6dd2e6 Author: Xan Lopez Date: Wed May 16 18:21:21 2012 +0900 ephy-profile-utils: use absolute path for build dir That way we can run

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

2016-03-19 Thread Daniel Istrate
The output table is now able to adjust it's size so the content is nicely aligned. fix for [YOCTO #9243] Signed-off-by: Daniel Istrate --- scripts/oe-selftest | 34 +- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/scripts/oe-selftest b/scripts/o

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

2016-03-19 Thread Richard Purdie
On Thu, 2016-03-17 at 22:36 +0100, Martin Jansa wrote: > 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 > > > # introspectio

[OE-core] [PATCH 2/2] 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 | 42 +++ 1 file changed, 42 insertions(+) diff --git a/meta/conf/distro/include/world-broken.inc b/meta/conf/distro/include/

[OE-core] [PATCH 1/2] 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 02/24] python3-native: use the previous version of python-config script

2016-03-19 Thread alexander . kanavin
> Thanks for explanation and sorry for shouting out - I'll rework that > recipe to use pkg-config as it is interested in version of python's > libraries - not the interpreter scripts are running on. You're welcome. Changing to use pkg-config is really the best way out - the python-config stuff and

[OE-core] [PATCH 14/18] waf.bbclass: support do patch on extracted files

2016-03-19 Thread Hongxu Jia
Along with do_unpack, run './waf --help' to do the self extract, so we could do patch on the extracted files later. Signed-off-by: Hongxu Jia --- meta/classes/waf.bbclass | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/meta/classes/waf.bbclass b/meta/classes/waf.b

[OE-core] [PATCHv2 6/7] oe-buildenv-internal: Add variables individually to BB_ENV_EXTRAWHITE

2016-03-19 Thread Peter Kjellerstedt
Instead of adding all variables to BB_ENV_EXTRAWHITE as one, treat them separately and add them one by one as needed. Signed-off-by: Peter Kjellerstedt --- scripts/oe-buildenv-internal | 26 +- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/scripts/oe-buil

[OE-core] [PATCH 6/7] systemtap: Disable nios2 support

2016-03-19 Thread Marek Vasut
systemtap does not support nios2 yet, 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-profile.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/

[OE-core] [PATCH 7/7] valgrind: Disable nios2 support

2016-03-19 Thread Marek Vasut
valgrind does not support nios2 yet, 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-profile.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/m

[OE-core] [PATCH] matchbox-keyboard: Update to latest HEAD to fix 64bit issue

2016-03-19 Thread Saul Wold
This brings us to the current HEAD and adds the following patches: ebc330e Saul Wold matchbox-keyboard-ui.c: Fix int -> long to address 32bit vs 64 bit addressing 8063096 Khem Raj config-parser: Use matching printf format [YOCTO #9254] Signed-off-by: Saul Wold --- meta/recipes-sato/matchbox-k

[OE-core] [PATCH 5/8] qemuarm64.conf: don't clear MACHINE_FEATURES

2016-03-19 Thread Andre McCurdy
Accept the default MACHINE_FEATURES from qemu.inc (qemuarm64 shouldn't need to be a special case). Signed-off-by: Andre McCurdy --- meta/conf/machine/qemuarm64.conf | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf index 8459

[OE-core] [PATCH 5/6] python-numpy: Fix build on musl

2016-03-19 Thread Khem Raj
Match API version in cached _numpyconfig.h to the one mandated by numpy version in use. Signed-off-by: Khem Raj --- .../python/python-numpy/aarch64/_numpyconfig.h | 3 +- .../python/python-numpy/add-glibc-check.patch | 36 ++ .../python/python-numpy/mips/_numpyconfi

[OE-core] [PATCHv2 5/7] oe-buildenv-internal: Add paths to $PATH individually

2016-03-19 Thread Peter Kjellerstedt
Instead of assuming that the path to the scripts directory always is in $PATH directly before the bitbake directory, treat them as separate paths and add them individually to $PATH. Signed-off-by: Peter Kjellerstedt --- scripts/oe-buildenv-internal | 11 --- 1 file changed, 8 insertions(

[OE-core] [PATCHv2 3/7] oe-init-build-env*: Remove unnecessary differences between the scripts

2016-03-19 Thread Peter Kjellerstedt
While at it, also fix: * consistent indentation (four spaces) * unset temporary variables * use $(...) instead of `...` Signed-off-by: Peter Kjellerstedt --- oe-init-build-env| 21 ++--- oe-init-build-env-memres | 30 +++--- 2 files changed, 25 ins

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

2016-03-19 Thread Istrate, Daniel AlexandruX
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-init-build-env). --Daniel From: Burton, Ross [mailto:ross.bur...@intel.com] Sent: Thursday, March 17, 2

[OE-core] [PATCH 2/3] sanity.bbclass: fix success message when config file was updated

2016-03-19 Thread Patrick Ohly
The code now iterates over different config files, but always printed a message about conf/bblayers.conf for each file. Signed-off-by: Patrick Ohly --- meta/classes/sanity.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanit

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

2016-03-19 Thread Chen Qi
Fix the following compilation error when 'lua' is enabled in PACKAGECONFIG. | gcc: error: lib21.c: No such file or directory | gcc: fatal error: no input files Modify FILES for dev package to avoid installed-not-shipped error. Signed-off-by: Chen Qi --- .../rpm-fix-lua-tests-compilation-fa

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

2016-03-19 Thread Mark Hatle
On 3/17/16 8:56 AM, Mark Hatle wrote: > 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

[OE-core] [PATCH 3/7] packagegroup-core-sdk: Disable sanitizers for nios2

2016-03-19 Thread Marek Vasut
These are not available on nios2 yet, so disable them. 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-sdk.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/rec

[OE-core] [PATCH 3/6] watchdog: Disable nfs on musl targets

2016-03-19 Thread Khem Raj
Fixes build issue on musl where it needs to link to sunrpc when enabling nfs Signed-off-by: Khem Raj --- meta/recipes-extended/watchdog/watchdog_5.14.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-extended/watchdog/watchdog_5.14.bb b/meta/recipes-extended/watchdog/watchdog_

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

2016-03-19 Thread Martin Jansa
On Fri, Mar 18, 2016 at 09:22:29PM +0200, alexander.kana...@linux.intel.com wrote: > > 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_SYS

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

[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

[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 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 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 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

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 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 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] 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

[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 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

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 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/

[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] 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] [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

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 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] [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] 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

[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] 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] 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 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] [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] 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

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] [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

[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 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] [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

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] [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

[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 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 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 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] 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

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] [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

[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

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 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] [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

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

[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 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 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] 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

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 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

[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] 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

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

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 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] 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

[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 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

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

[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] 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 >

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

[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-

[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

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 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] [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 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.

[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

  1   2   >