Re: [OE-core] Getting "menuconfig" to work again?

2016-01-08 Thread Mike Looijmans
On 01-01-16 18:58, Paul Eggleton wrote: Hi Mike, On Fri, 01 Jan 2016 10:18:55 Mike Looijmans wrote: On 31-12-15 18:04, Leonardo Sandoval wrote: On 12/31/2015 07:58 AM, Mike Looijmans wrote: On 31-12-15 14:55, Mike Looijmans wrote: When running a "menuconfig" (or any other task that needs a

Re: [OE-core] [PATCH 0/9] Move Qt4 recipes to a separate meta-qt4 layer

2016-01-08 Thread Robert Yang
On 12/03/2015 10:33 PM, Alexander Kanavin wrote: Qt4 is reaching end of life at the end of 2015, and will not be supported upstream. Qt4 recipes are moved out of oe-core to a separate meta-qt4 layer available here: http://git.yoctoproject.org/cgit/cgit.cgi/meta-qt4/about/ This patchset

Re: [OE-core] [PATCH 3/3] oeqa/runtime/parselogs: escape special character for grep

2016-01-08 Thread Yi Zhao
在 2016年01月07日 20:21, Burton, Ross 写道: On 7 January 2016 at 03:29, Yi Zhao > wrote: Sometimes the grep output is not correct if the log message contains some special characters. Use re.escape to escape all non-alphanumerics

Re: [OE-core] [PATCH 0/9] Move Qt4 recipes to a separate meta-qt4 layer

2016-01-08 Thread Burton, Ross
On 8 January 2016 at 08:34, Robert Yang wrote: > There are a few recipes in meta-oe requires qmake2.bbclass which had been > removed by this PULL: > > meta-oe/recipes-devtools/python/python-pyqt_4.11.3.bb:inherit qmake2 > pythonnative python-dir distro_features_check >

Re: [OE-core] [PATCH 3/3] oeqa/runtime/parselogs: escape special character for grep

2016-01-08 Thread Burton, Ross
On 8 January 2016 at 08:44, Yi Zhao wrote: > It still need to escape quotation marks if using -F option. > Consider the following log: > [521514.737] (EE) evdev: Qemu Tablet: Unable to open evdev device > "/dev/input/touchscreen0". > > We still need an extra step to

Re: [OE-core] [PATCH v4] util-linux: create util-linux-runuser package

2016-01-08 Thread Ioan-Adrian Ratiu
On Wed, 23 Dec 2015 12:21:06 +0200 Ioan-Adrian Ratiu wrote: > Split runuser into its own package (previously provided by util-linux). > runuser is compiled only when DISTRO_FEATURES includes pam and also the > package is created only when runuser exists. > > Signed-off-by:

[OE-core] [PATCH 1/1] fix-for-mips-n32.patch: remove it

2016-01-08 Thread Robert Yang
Not needed it any more since qt4 has been moved to meta-qt4. Signed-off-by: Robert Yang --- .../qt4/qt4-4.8.7/fix-for-mips-n32.patch | 38 1 file changed, 38 deletions(-) delete mode 100644

[OE-core] [PATCH 0/1] fix-for-mips-n32.patch: remove it

2016-01-08 Thread Robert Yang
The following changes since commit 5661d8cb7849df62358368743134c0aaf523965e: image: Really remove lockfiles flag (2016-01-07 13:41:47 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/qt4

Re: [OE-core] [PATCH 00/53] musl fixes 3

2016-01-08 Thread Khem Raj
On Fri, Jan 8, 2016 at 6:00 AM, Burton, Ross wrote: > > On 8 January 2016 at 10:19, Khem Raj wrote: >> >> This set of fixes let core-image-full-cmdline build with musl along with >> core-image-sato >> and core-image-weston > > > Hm, for some reason,

Re: [OE-core] [PATCH 00/53] musl fixes 3

2016-01-08 Thread Khem Raj
On Fri, Jan 8, 2016 at 6:32 AM, Burton, Ross wrote: > > On 8 January 2016 at 14:00, Burton, Ross wrote: >> >> systemd fails with this error, over and over: >> >> | >>

Re: [OE-core] [PATCH 00/53] musl fixes 3

2016-01-08 Thread Khem Raj
On Fri, Jan 8, 2016 at 6:12 AM, Burton, Ross wrote: > > On 8 January 2016 at 14:00, Burton, Ross wrote: >> >> | int flags = FTW_DEPTH | FTW_ACTIONRETVAL; > > > ftw != fts, of course. > > Looks like FTW_STOP etc are glibc-specific. >

Re: [OE-core] [PATCH 00/53] musl fixes 3

2016-01-08 Thread Burton, Ross
On 8 January 2016 at 17:43, Khem Raj wrote: > systemd does not work with musl. I have patches in my tree to fix the > build but then it does not run :(. musl and systemd has different > I wonder if we can/should raise a SkipPackage for systemd if musl is enabled? Ross --

[OE-core] [PATCH] populate_sdk_ext: Use new --setscene-only option to bitbake instead of workarounds

2016-01-08 Thread Richard Purdie
Rather than horrible workarounds, use the new --setscene-only option of bitbake to pre-populate the SDK structures. Signed-off-by: Richard Purdie diff --git a/meta/files/ext-sdk-prepare.sh b/meta/files/ext-sdk-prepare.sh index 160c71e..b3f5d93 100644 ---

[OE-core] [RFC PATCH] populate_sdk_ext: Change to include siginfo and non sstate task sigs

2016-01-08 Thread Richard Purdie
Right now, the locked task hashes list for the extensible SDK locks down only the sstate tasks. Whilst aesthetically pleasing, this gives two problems: * Half the task are left floating meaning checksum mismatches are a pain to debug * The later code which copies relavent data files out the

Re: [OE-core] [PATCH 00/53] musl fixes 3

2016-01-08 Thread Khem Raj
On Fri, Jan 8, 2016 at 10:29 AM, Burton, Ross wrote: > > On 8 January 2016 at 17:43, Khem Raj wrote: >> >> systemd does not work with musl. I have patches in my tree to fix the >> build but then it does not run :(. musl and systemd has different > > > I

Re: [OE-core] [PATCH 00/53] musl fixes 3

2016-01-08 Thread Khem Raj
On Fri, Jan 8, 2016 at 6:53 AM, Burton, Ross wrote: > > On 8 January 2016 at 14:00, Burton, Ross wrote: >> >> Hm, for some reason, this doesn't work for me. >> >> Lots and lots of "files installed but not packaged", all locales. eg >>

Re: [OE-core] [PATCH 00/53] musl fixes 3

2016-01-08 Thread Khem Raj
On Fri, Jan 8, 2016 at 6:56 AM, Burton, Ross wrote: > > On 8 January 2016 at 10:19, Khem Raj wrote: >> >> This set of fixes let core-image-full-cmdline build with musl along with >> core-image-sato >> and core-image-weston > > > The postinst intercepts

[OE-core] [PATCH] populate_sdk: Use pixz instead of xz

2016-01-08 Thread Richard Purdie
xz is slow at compressing the SDKs, we can speed it up by using the parallel compressor, pixz. Signed-off-by: Richard Purdie diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 7ca1df6..32dc290 100644 ---

[OE-core] [PATCH] populate_sdk: Switch from bzip2 to xz

2016-01-08 Thread Richard Purdie
xz gives *much* faster decompression times for the SDK which in itself is a good reason to use it. It also gives better compression. One downside is its slower but we care about the end user case first, build performance secondary. It also assumes the SDK user has a tar capable of understanding

[OE-core] [PATCH 1/1] Add "CVE:" tag to current patches in OE-core

2016-01-08 Thread mariano . lopez
From: Mariano Lopez The currnet patches in OE-core doesn't have the "CVE:" tag, now part of the policy of the patches. This is patch add this tag to several patches. There might be patches that I miss; the tag can be added in the future. Signed-off-by: Mariano

Re: [OE-core] [<OE-core][PATCH v2 1/4] weston-init: Handle Weston startup correctly.

2016-01-08 Thread Tom Hochstein
Hi Otavio, I'm still not clear on your proposal. Here is my last proposed weston-start script (called from sysvinit and systemd): #! /bin/sh # There are multiple ways to start weston. if [ "$WAYLAND_DISPLAY" ]; then echo -e "\aError: Weston is already running." echo "This script does

Re: [OE-core] [PATCHv2][RFC] arch-armv7ve.inc: respect armv7a override as well

2016-01-08 Thread Phil Blundell
On Fri, 2016-01-08 at 10:24 -0800, Andre McCurdy wrote: > On Fri, Jan 8, 2016 at 9:00 AM, Martin Jansa wrote: > > On Fri, Jan 08, 2016 at 08:24:36AM -0800, Andre McCurdy wrote: > >> If it's a long term solution then how will armv7m and armv7r be > >> handled? They are

[OE-core] [PATCH] update_font_cache: only scan system font directories

2016-01-08 Thread Ross Burton
By default fc-cache will scan both system and user directories, which means it attempts to scan $HOME/.fonts. As this is the build host's idea of $HOME this generally doesn't exist, and causes fc-cache to exit with a failure. Solve this by passing --system-only so that fc-cache will only scan

Re: [OE-core] [PATCHv2][RFC] arch-armv7ve.inc: respect armv7a override as well

2016-01-08 Thread Phil Blundell
On Fri, 2016-01-08 at 08:24 -0800, Andre McCurdy wrote: > Maybe adding a generic "armv7" over-ride which can be enabled by all > armv7 variants is a better option? Maybe, but the time to consider that would be when we discover a concrete place that it'd be useful. To be honest, having seen the

[OE-core] [PATCH] sstatesig: Handle special case of gcc-source shared-workdir for printdiff

2016-01-08 Thread Richard Purdie
Often, bitbake -S printdiff would show that there was a checksum not found which would turn out to be from gcc-source. This is due to it being a shared-workdir recipe. For now, hardcode the special case into the sstatesig code to stop people (including me) puzzling over this. If/as/when we add

[OE-core] [PATCH] pixz: Add 1.0.6

2016-01-08 Thread Richard Purdie
xz gives better compression results than bzip/gz but is often slower. Using parallel compression mitigates this somewhat and is particularly useful for the SDK. Signed-off-by: Richard Purdie diff --git a/meta/recipes-support/pixz/pixz_1.0.6.bb

Re: [OE-core] [PATCHv2][RFC] arch-armv7ve.inc: respect armv7a override as well

2016-01-08 Thread Andre McCurdy
On Fri, Jan 8, 2016 at 9:00 AM, Martin Jansa wrote: > On Fri, Jan 08, 2016 at 08:24:36AM -0800, Andre McCurdy wrote: >> On Fri, Jan 8, 2016 at 4:44 AM, Martin Jansa wrote: >> > * in all cases we currently have we consider armv7ve to be compatible

Re: [OE-core] [dizzy][PATCH] grub2: Fix CVE-2015-8370

2016-01-08 Thread Belal, Awais
Hi Armin, Thanks a lot. Can you please share the diff? I am just asking because Joshua is seeing the same sort of issue with the fido branch while my local setup does not complain there either. BR, Awais From: akuster808 [akuster...@gmail.com] Sent:

Re: [OE-core] [PATCH 00/53] musl fixes 3

2016-01-08 Thread Burton, Ross
On 8 January 2016 at 10:19, Khem Raj wrote: > This set of fixes let core-image-full-cmdline build with musl along with > core-image-sato > and core-image-weston > I can't build an image for real x86 hardware though: ERROR: Nothing PROVIDES 'virtual/libiconv-native' (but

Re: [OE-core] [PATCH 24/53] directfb: Fix build with musl

2016-01-08 Thread Khem Raj
On Fri, Jan 8, 2016 at 7:27 PM, Andre McCurdy wrote: >> +diff -Naur DirectFB-1.7.6.orig/lib/direct/os/linux/glibc/mutex.h >> DirectFB-1.7.6/lib/direct/os/linux/glibc/mutex.h >> +--- DirectFB-1.7.6.orig/lib/direct/os/linux/glibc/mutex.h 2013-12-18 >> 19:16:24.0

Re: [OE-core] [PATCH 24/53] directfb: Fix build with musl

2016-01-08 Thread Andre McCurdy
On Fri, Jan 8, 2016 at 2:18 AM, Khem Raj wrote: > compar_fn_t, sigval_t and non-posix recursive mutexes > are not available in musl > > Signed-off-by: Khem Raj > --- > meta/recipes-graphics/directfb/directfb.inc| 5 ++ >

Re: [OE-core] [PATCH 13/17] xserver-xorg: Fix build with musl

2016-01-08 Thread Burton, Ross
On 19 December 2015 at 23:52, Khem Raj wrote: > inb/outb are implemented for ARM on glibc but not on linux in general > therefore the conditional has to reflect that > Untestable as libdrm fails to build with musl: |

[OE-core] [PATCH 01/53] powertop: Include right headers for timval struct

2016-01-08 Thread Khem Raj
Signed-off-by: Khem Raj --- ...0001-include-rquired-headers-for-typedefs.patch | 47 ++ meta/recipes-kernel/powertop/powertop_2.8.bb | 4 +- 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644

[OE-core] [PATCH 02/53] dhcp: Include sys/types.h for u_int* defs

2016-01-08 Thread Khem Raj
Signed-off-by: Khem Raj --- .../dhcp/0001-include-missing-sys-types.h.patch| 58 ++ meta/recipes-connectivity/dhcp/dhcp_4.3.2.bb | 1 + 2 files changed, 59 insertions(+) create mode 100644

[OE-core] [PATCH 00/53] musl fixes 3

2016-01-08 Thread Khem Raj
This set of fixes let core-image-full-cmdline build with musl along with core-image-sato and core-image-weston Here is a qemuarm world build results. http://errors.yoctoproject.org/Errors/Build/11421/ Few fixes are also for uclibc The following changes since commit

[OE-core] [PATCH 07/53] connman: include config.h for HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR

2016-01-08 Thread Khem Raj
We now check at configure time of libc has pktinfo struct Signed-off-by: Khem Raj --- .../0003-Fix-header-inclusions-for-musl.patch | 79 +++--- 1 file changed, 56 insertions(+), 23 deletions(-) diff --git

[OE-core] [PATCH 03/53] blktrace: Include

2016-01-08 Thread Khem Raj
Signed-off-by: Khem Raj --- ...-include-sys-types.h-for-dev_t-definition.patch | 30 ++ meta/recipes-kernel/blktrace/blktrace_git.bb | 4 ++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644

[OE-core] [PATCH 05/53] tcp-wrappers: Fix build with musl

2016-01-08 Thread Khem Raj
Signed-off-by: Khem Raj --- .../tcp-wrappers/tcp-wrappers-7.6/musl-decls.patch | 31 ++ .../tcp-wrappers/tcp-wrappers_7.6.bb | 4 +++ 2 files changed, 35 insertions(+) create mode 100644

[OE-core] [PATCH 09/53] linux-libc-headers: Port patches for linux-headers for musl

2016-01-08 Thread Khem Raj
These patches have revealed issues with linux kernel headers which has been proposed upstream but hasnt been applied yet Signed-off-by: Khem Raj --- ...mpat.h-fix-some-issues-arising-from-in6.h.patch | 82 ++

[OE-core] [PATCH 04/53] ppp: Fix build with musl

2016-01-08 Thread Khem Raj
Therer are assumptions about glibc headers and features which needs to be addressed for musl Signed-off-by: Khem Raj --- .../ppp/ppp/0001-Fix-build-with-musl.patch | 163 + meta/recipes-connectivity/ppp/ppp_2.4.7.bb | 3 + 2 files

[OE-core] [PATCH 06/53] fts: Add recipe

2016-01-08 Thread Khem Raj
fts is not implemented in musl but many packages depend on it glibc implements it even though posix does not requir it to do so. So provide an alternative provider for fts Signed-off-by: Khem Raj --- meta/recipes-core/fts/fts.bb | 39 +

[OE-core] [PATCH 08/53] libcgroup: Add dependency on fts when building on musl

2016-01-08 Thread Khem Raj
Signed-off-by: Khem Raj --- .../libcgroup/libcgroup/musl-decls-compat.patch| 235 + meta/recipes-core/libcgroup/libcgroup_0.41.bb | 4 + 2 files changed, 239 insertions(+) create mode 100644

[OE-core] [PATCH 12/53] argp-standalone: Add recipe

2016-01-08 Thread Khem Raj
This helps packages like gnutls to compile with musl any package that needs glibc's implementation of argp can link to this library Signed-off-by: Khem Raj --- .../argp-standalone/argp-standalone_1.3.bb | 28 .../files/0001-throw-in-funcdef.patch

[OE-core] [PATCH 13/53] gnutls: Link with libargp on musl and depend on argp-standalone

2016-01-08 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-support/gnutls/gnutls.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-support/gnutls/gnutls.inc b/meta/recipes-support/gnutls/gnutls.inc index c1ec120..5bcfc9c 100644 --- a/meta/recipes-support/gnutls/gnutls.inc

[OE-core] [PATCH 14/53] util-linux: Fix ptest builds on musl

2016-01-08 Thread Khem Raj
musl doesnt implement error() API, hence provide one Signed-off-by: Khem Raj --- .../util-linux/uuid-test-error-api.patch | 92 ++ meta/recipes-core/util-linux/util-linux_2.27.1.bb | 1 + 2 files changed, 93 insertions(+) create mode 100644

[OE-core] [PATCH 46/53] irda-utils: Fix header inclusions

2016-01-08 Thread Khem Raj
Helps compile with musl Signed-off-by: Khem Raj --- .../irda-utils/irda-utils-0.9.18/musl.patch| 29 ++ .../irda-utils/irda-utils_0.9.18.bb| 1 + 2 files changed, 30 insertions(+) create mode 100644

[OE-core] [PATCH 45/53] iproute2: Fix build with musl

2016-01-08 Thread Khem Raj
Signed-off-by: Khem Raj --- .../iproute2/iproute2/iproute2-4.3.0-musl.patch| 97 ++ .../iproute2/iproute2_4.3.0.bb | 1 + 2 files changed, 98 insertions(+) create mode 100644

[OE-core] [PATCH 52/53] portmap: Point to tirpc headers and libraries on musl

2016-01-08 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-connectivity/portmap/portmap_6.0.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-connectivity/portmap/portmap_6.0.bb b/meta/recipes-connectivity/portmap/portmap_6.0.bb index e727fe3..999b4a9 100644 ---

[OE-core] [PATCH 51/53] nfs-utils: Disable tcp-wrappers for musl

2016-01-08 Thread Khem Raj
Doesnt build with musl Signed-off-by: Khem Raj --- meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.3.bb

Re: [OE-core] [PATCH 00/17] musl fixes phase 2

2016-01-08 Thread Khem Raj
> On Jan 8, 2016, at 1:58 AM, Burton, Ross wrote: > > > On 8 January 2016 at 09:40, Khem Raj > wrote: > This is a patch from sabotage linux, I have addressed all other issues. > > Thanks Khem, merged those into my

Re: [OE-core] [PATCH 30/53] Revert "glib-2.0: build dependency cleanup"

2016-01-08 Thread Burton, Ross
On 8 January 2016 at 10:18, Khem Raj wrote: > -DEPENDS = "virtual/libiconv libffi zlib" > -DEPENDS_append = " ${@bb.utils.contains('PTEST_ENABLED', '1', ' > glib-2.0-native dbus', '', d)}" > +DEPENDS = "glib-2.0-native virtual/libiconv libffi zlib" >

Re: [OE-core] [PATCH 00/17] musl fixes phase 2

2016-01-08 Thread Khem Raj
> On Jan 7, 2016, at 7:32 AM, Burton, Ross wrote: > > Hi Khem, > > I just reviewed this series again and there's still some patches that need > tweaking: > > On 19 December 2015 at 23:52, Khem Raj > wrote: > Khem Raj

Re: [OE-core] [PATCH 00/17] musl fixes phase 2

2016-01-08 Thread Burton, Ross
On 8 January 2016 at 09:40, Khem Raj wrote: > This is a patch from sabotage linux, I have addressed all other issues. > Thanks Khem, merged those into my testing branch now. There's a lot pending in your branch, do you have an ETA for when the rest of the muslification

Re: [OE-core] [PATCH 10/17] connman: include config.h for HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR

2016-01-08 Thread Burton, Ross
On 19 December 2015 at 23:52, Khem Raj wrote: > We now check at configure time of libc has pktinfo struct > | In file included from /data/poky-master/tmp/sysroots/intel-corei7-64/usr/include/linux/if_tun.h:20:0, | from

[OE-core] [PATCH 10/53] xserver-xorg: Fix build with musl

2016-01-08 Thread Khem Raj
inb/outb are implemented for ARM on glibc but not on linux in general therefore the conditional has to reflect that Signed-off-by: Khem Raj --- .../xorg-xserver/xserver-xorg/musl-arm-inb-outb.patch | 18 ++ .../xorg-xserver/xserver-xorg_1.18.0.bb

[OE-core] [PATCH 11/53] gdk-pixbuf: Fix latent build issue exposed by musl

2016-01-08 Thread Khem Raj
Signed-off-by: Khem Raj --- .../gdk-pixbuf/gdk-pixbuf/libc_memfuncs.patch | 63 ++ meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.32.1.bb | 1 + 2 files changed, 64 insertions(+) create mode 100644

[OE-core] [PATCH 15/53] webkitgtk: Fix build with clang

2016-01-08 Thread Khem Raj
backtrace is glibc only feature on linux so check for glibc before using it Clangs clear_cache has different signature than gcc provided builtin make it compatible for both Signed-off-by: Khem Raj --- ...nable-backtrace-on-linux-when-using-glibc.patch | 39

[OE-core] [PATCH 18/53] guile: Fix build with uclibc

2016-01-08 Thread Khem Raj
Signed-off-by: Khem Raj --- .../guile/files/remove_strcase_l_funcs.patch | 38 ++ meta/recipes-devtools/guile/guile_2.0.11.bb| 3 +- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644

[OE-core] [PATCH 20/53] mtools: Fix build with uclibc

2016-01-08 Thread Khem Raj
unlike glibc, uclibc does not have internal APIs implemented for libiconv, so it needs to depend upon libiconv Signed-off-by: Khem Raj --- meta/recipes-devtools/mtools/mtools_4.0.18.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git

[OE-core] [PATCH 16/53] elfutils: Fix build with uclibc

2016-01-08 Thread Khem Raj
Remove mempcpy patch its already in uclibc now refresh libargp patch to match latest elfutils Signed-off-by: Khem Raj --- .../uclibc-support-for-elfutils-0.161.patch| 79 ++ .../elfutils/elfutils/mempcpy.patch| 24 ---

[OE-core] [PATCH 17/53] packagegroup-self-hosted.bb: Move glibc-gconv-ibm850 to glibc only case

2016-01-08 Thread Khem Raj
This package is not provided by non-glibc libcs therefore add it only when libc is glibc Signed-off-by: Khem Raj --- meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH 19/53] gnutls: Link with libuargp on uclibc

2016-01-08 Thread Khem Raj
uclibc has its own implementation for libargp Signed-off-by: Khem Raj --- meta/recipes-support/gnutls/gnutls.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-support/gnutls/gnutls.inc b/meta/recipes-support/gnutls/gnutls.inc index

[OE-core] [PATCH 23/53] libdrm: Upgrade 2.4.65 -> 2.4.66

2016-01-08 Thread Khem Raj
Fix test build failures Signed-off-by: Khem Raj --- ...tests-kms-steal-crtc-Include-sys-select.h.patch | 33 ++ .../recipes-graphics/drm/libdrm/installtests.patch | 24 +--- .../drm/{libdrm_2.4.65.bb => libdrm_2.4.66.bb} | 8 -- 3

[OE-core] [PATCH 26/53] watchdog: Fix build with musl

2016-01-08 Thread Khem Raj
This patch is generic but is found during compiling watchdog with musl Signed-off-by: Khem Raj --- ...d-issues-found-with-non-glibc-C-libraries.patch | 99 ++ meta/recipes-extended/watchdog/watchdog_5.14.bb| 8 +- 2 files changed, 106 insertions(+),

[OE-core] [PATCH 28/53] dpkg: Add musleabi to known architectures

2016-01-08 Thread Khem Raj
Remove a glibc specific patch to be applied only for native version, this is a dpkg-native specific patch needed for Centos 5.8, this patch should be redone to be glibc independent for it to be applied to all types of dpkg recipes Signed-off-by: Khem Raj ---

[OE-core] [PATCH 25/53] gzip: Fix build with musl

2016-01-08 Thread Khem Raj
gzip 1.6 uses an older version of gnulib when cross compiling it treats fseeko as broken since it cant do runtime checks for it during configure this only shows up on musl since for glibc since it has special check for gnu c library, so we aid the system by telling it that fflush on stdin works

[OE-core] [PATCH 22/53] net-tools: Link with libintl on uclibc

2016-01-08 Thread Khem Raj
libintl is needed explicitly on linker cmdline on uclibc since the APIs are not in libc itelf. Signed-off-by: Khem Raj --- meta/recipes-extended/net-tools/net-tools_1.60-26.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH 21/53] parted: Fix build with uclibc

2016-01-08 Thread Khem Raj
unlike glibc, uclibc does not have internal APIs implemented for libiconv, so it needs to depend upon libiconv Signed-off-by: Khem Raj --- meta/recipes-extended/parted/parted_3.2.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[OE-core] [PATCH 24/53] directfb: Fix build with musl

2016-01-08 Thread Khem Raj
compar_fn_t, sigval_t and non-posix recursive mutexes are not available in musl Signed-off-by: Khem Raj --- meta/recipes-graphics/directfb/directfb.inc| 5 ++ .../directfb/directfb/compar_fn_t.patch| 62 ++

[OE-core] [PATCH 27/53] xinetd: Fix build with musl

2016-01-08 Thread Khem Raj
musl relies on external rpc implemetation (libtirpc) and exposed a bug in configury when checking for rlim_t Signed-off-by: Khem Raj --- ...se-HAVE_SYS_RESOURCE_H-to-guard-sys-resou.patch | 100 + meta/recipes-extended/xinetd/xinetd_2.3.15.bb | 5

[OE-core] [PATCH 42/53] pax: Fix build with musl

2016-01-08 Thread Khem Raj
There are several BSD specific assumptions and some GNU specific ones. Signed-off-by: Khem Raj --- .../pax/pax/0001-Fix-build-with-musl.patch | 1287 .../pax/0001-use-strtoll-instead-of-strtoq.patch | 33 +

[OE-core] [PATCH 29/53] puzzles: Zero'ise structs before use

2016-01-08 Thread Khem Raj
Fixes build failures with musl where gcc5 flags it used before initialized. Signed-off-by: Khem Raj --- ...mpiler-errors-about-uninitialized-use-of-.patch | 32 ++ meta/recipes-sato/puzzles/puzzles_git.bb | 1 + 2 files changed, 33

[OE-core] [PATCH 34/53] elfutils: Fix build with musl

2016-01-08 Thread Khem Raj
Just compile libelf on musl similar to uclibc Provide alternatives to glibc assumptions Signed-off-by: Khem Raj --- ...de-alternatives-for-glibc-assumptions-hel.patch | 132 + meta/recipes-devtools/elfutils/elfutils_0.163.bb | 3 + 2 files changed,

[OE-core] [PATCH 32/53] libunwind: backtrace APIs are glibc specific

2016-01-08 Thread Khem Raj
Make backtrace() API's use conditional on glibc this helps make libunwind compile on musl Signed-off-by: Khem Raj --- ...-backtrace-Use-only-with-glibc-and-uclibc.patch | 45 ++ meta/recipes-support/libunwind/libunwind_1.1.bb| 1 + 2 files changed,

[OE-core] [PATCH 50/53] bsd-headers, musl: Add recipe for bsd missing features

2016-01-08 Thread Khem Raj
let musl depend on these headers so they are staged along with libc Signed-off-by: Khem Raj --- meta/recipes-core/bsd-headers/bsd-headers.bb | 25 + .../bsd-headers/bsd-headers/sys-queue.h| 846 + .../bsd-headers/bsd-headers/sys-tree.h

Re: [OE-core] [PATCH 13/17] xserver-xorg: Fix build with musl

2016-01-08 Thread Khem Raj
> On Jan 8, 2016, at 2:10 AM, Burton, Ross wrote: > > > On 19 December 2015 at 23:52, Khem Raj > wrote: > inb/outb are implemented for ARM on glibc but not on linux in general > therefore the conditional has to reflect

[OE-core] [PATCH 53/53] elfutils: Add ALLOW_EMPTY for musl

2016-01-08 Thread Khem Raj
core-image-cmdline-full asks for elfutils package to be added to package it has all eu-* tools but we dont build them on musl. nevertheless lets satisfy the dependency so image can build for musl Signed-off-by: Khem Raj --- meta/recipes-devtools/elfutils/elfutils_0.163.bb |

[OE-core] [PATCH 44/53] libuser: Fix build when secure getenv is not there

2016-01-08 Thread Khem Raj
Fixes build on musl Signed-off-by: Khem Raj --- .../libuser/libuser/0001-Check-for-issetugid.patch | 62 ++ .../libuser/0002-remove-unused-execinfo.h.patch| 27 ++ meta/recipes-extended/libuser/libuser_0.62.bb | 4 +- 3 files changed, 92

[OE-core] [PATCH 40/53] tar: Fix build for musl based targets

2016-01-08 Thread Khem Raj
It only considered linux-gnu hosts when cross compiling here we add linux-musl to the mix as well Fixes errors e.g. 1.28-r0/tar-1.28/src/tar.c:1351:5: error: 'SAVEDIR_SORT_INODE' undeclared here (not in a function) | SAVEDIR_SORT_INODE | ^ Signed-off-by: Khem Raj

[OE-core] [PATCH 38/53] rt-tests: Fix build with non-gcc compilers

2016-01-08 Thread Khem Raj
Makery hard sets CC to be some form of gcc, make it set only if CC variable is absent in environment. Signed-off-by: Khem Raj --- ...t-CC-AR-variable-only-if-it-doesn-t-have-.patch | 30 ++ meta/recipes-rt/rt-tests/rt-tests_0.96.bb | 3 ++- 2

[OE-core] [PATCH 37/53] webkitgtk: Fix build on non-glibc linux systems

2016-01-08 Thread Khem Raj
Signed-off-by: Khem Raj --- ...x-build-with-non-glibc-libraries-on-linux.patch | 61 ++ meta/recipes-sato/webkit/webkitgtk_2.10.4.bb | 1 + 2 files changed, 62 insertions(+) create mode 100644

[OE-core] [PATCH 43/53] iputils: Fix build with musl

2016-01-08 Thread Khem Raj
Signed-off-by: Khem Raj --- .../files/0001-Fix-header-inclusion-for-musl.patch | 92 ++ meta/recipes-extended/iputils/iputils_s20121221.bb | 1 + 2 files changed, 93 insertions(+) create mode 100644

[OE-core] [PATCH 41/53] net-tools: Fix build on musl

2016-01-08 Thread Khem Raj
Signed-off-by: Khem Raj --- .../net-tools/net-tools/musl-fixes.patch | 100 + .../net-tools/net-tools_1.60-26.bb | 1 + 2 files changed, 101 insertions(+) create mode 100644

[OE-core] [PATCH 49/53] tcf-agent: Implement canonicalize_file_name() for musl as well

2016-01-08 Thread Khem Raj
Signed-off-by: Khem Raj --- ...nonicalize_file_name-is-specific-to-glibc.patch | 46 ++ meta/recipes-devtools/tcf-agent/tcf-agent_git.bb | 1 + 2 files changed, 47 insertions(+) create mode 100644

[OE-core] [PATCH 36/53] console-tools: Include sys/types.h for u_char and u_short defs

2016-01-08 Thread Khem Raj
Signed-off-by: Khem Raj --- ...clude-sys-types.h-for-u_char-and-u_short-.patch | 44 ++ .../console-tools/console-tools_0.3.2.bb | 1 + 2 files changed, 45 insertions(+) create mode 100644

[OE-core] [PATCH 47/53] nspr: Drop older glibc code

2016-01-08 Thread Khem Raj
This was not only getting included for libc5 but also for not-glibc libc implementations e.g. musl Signed-off-by: Khem Raj --- ...001-Remove-the-check-for-LINUX-glibc-case.patch | 35 ++ meta/recipes-support/nspr/nspr_4.11.bb | 9 ++ 2

[OE-core] [PATCH 35/53] sysklogd: untangle header inclusion maze

2016-01-08 Thread Khem Raj
wait is not union per posix it is int remove assumption about glibc is linux Signed-off-by: Khem Raj --- .../sysklogd/files/0001-Fix-build-with-musl.patch | 132 + meta/recipes-extended/sysklogd/sysklogd.inc| 1 + 2 files changed, 133

[OE-core] [PATCH 48/53] chkconfig: Avoid using caddr_t

2016-01-08 Thread Khem Raj
Signed-off-by: Khem Raj --- .../chkconfig/chkconfig/replace_caddr_t.patch | 33 ++ .../recipes-extended/chkconfig/chkconfig_1.3.58.bb | 4 ++- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644

[OE-core] [PATCH 39/53] webkitgtk: Update patch status

2016-01-08 Thread Khem Raj
Signed-off-by: Khem Raj --- .../webkitgtk/0001-Enable-backtrace-on-linux-when-using-glibc.patch | 2 +- .../webkitgtk/0001-Fix-build-with-non-glibc-libraries-on-linux.patch| 2 +- meta/recipes-sato/webkit/webkitgtk/clang.patch | 2 +- 3 files

[OE-core] [PATCH 33/53] babeltrace: Add missing header for MAXNAMLEN define

2016-01-08 Thread Khem Raj
Fix bug exposed on musl Signed-off-by: Khem Raj --- ...Include-sys-param.h-for-MAXNAMLEN-definti.patch | 29 ++ meta/recipes-kernel/lttng/babeltrace_1.3.1.bb | 5 ++-- 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644

[OE-core] [PATCH 30/53] Revert "glib-2.0: build dependency cleanup"

2016-01-08 Thread Khem Raj
From: Kai Kang This reverts commit fcd7494b347423185c883b2897c4908929843a71. It uses command glib-genmarshal to build glib-2.0 which is from glibc-2.0-native. If the command doesn't exist on host, build fails with error: | /bin/sh: --prefix=test_marshal: command not

[OE-core] [PATCH 31/53] apt: Add support for building for musl targets

2016-01-08 Thread Khem Raj
Turn bzip2 support into a PACKAGECONFIG zlibs is a must have and therefore add it to DEPENDS will make the build consistent Signed-off-by: Khem Raj --- meta/recipes-devtools/apt/apt.inc | 1 + mak-musl-based-systems-can-generate-shar.patch | 29

[OE-core] [PATCH 0/3] Valgrind: update to 3.11.0

2016-01-08 Thread Alexander Kanavin
This version of the patchset fixes the ppc32 build failures, and adds Andre McCurdy's fixes for arm. The following changes since commit 0f3ad7c77aa0f8bb7641af1886e1420cdfa8419f: scripts/yocto-layer: Avoids duplication of "meta-" prefix (2016-01-07 13:52:21 +) are available in the git

[OE-core] [PATCH 3/3] valgrind: include aarch64 in COMPATIBLE_HOST

2016-01-08 Thread Alexander Kanavin
From: Andre McCurdy Valgrind has supported aarch64 since v3.10.0. Signed-off-by: Andre McCurdy Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/valgrind/valgrind_3.11.0.bb | 2 +- 1 file changed, 1

[OE-core] [PATCH 1/3] valgrind: update to 3.11.0

2016-01-08 Thread Alexander Kanavin
LICENSE checksums are changed due to a change in FSF address, or copyright years update. Added patches: 0001-Remove-tests-that-fail-to-build-on-some-PPC32-config.patch replaces remove-ppc-tests-failing-build.patch and removes only those tests that are known to break the build on ppc32

[OE-core] [PATCH 2/3] valgrind: don't restrict to armv7a

2016-01-08 Thread Alexander Kanavin
From: Andre McCurdy Valgrind has been tested on armv5te/qemuarm, so it seems that valgrind's configure check for armv7 is over cautious. Signed-off-by: Andre McCurdy Signed-off-by: Alexander Kanavin ---

Re: [OE-core] [PATCH 2/3] valgrind: don't restrict to armv7a

2016-01-08 Thread Alexander Kanavin
On 01/07/2016 11:39 PM, Burton, Ross wrote: On 7 January 2016 at 21:03, Andre McCurdy > wrote: Ping. This is more urgent now that arch-armv7ve.inc has been merged to oe-core master. Sadly 3.11 totally breaks on PPC, so that's blocking.

[OE-core] [PATCHv2][RFC] arch-armv7ve.inc: respect armv7a override as well

2016-01-08 Thread Martin Jansa
* in all cases we currently have we consider armv7ve to be compatible with armv7a Signed-off-by: Martin Jansa --- meta/conf/machine/include/arm/arch-armv7ve.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [OE-core] [PATCH v3 2/3] dbus: update the recipes to 1.10.2

2016-01-08 Thread Patrick Ohly
Hello! I've tried this together with the user session patches on top of poky 0f3ad7c77a (almost the latest), without problems (except the checksum problem that Ross already noticed). My local.conf had: DISTRO_FEATURES_append = " systemd pam" VIRTUAL-RUNTIME_init_manager = "systemd"

Re: [OE-core] [PATCH 00/53] musl fixes 3

2016-01-08 Thread Burton, Ross
On 8 January 2016 at 14:00, Burton, Ross wrote: > | int flags = FTW_DEPTH | FTW_ACTIONRETVAL; > ftw != fts, of course. Looks like FTW_STOP etc are glibc-specific.

  1   2   >