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

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 ++ > .../directfb/directfb/compar_fn_t.patch| 62 > +++

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

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 likely to need to duplicate a

Re: [OE-core] [

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 not

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 e

[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 Lopez --- .../files/0001-Fix-CVE

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 wonder if we can/should raise a SkipPackage

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 --- a/meta/files/ext-sdk-prepare.sh +++ b/met

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

[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 --- a/meta/classes/populate_sdk_base.bbclass ++

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

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 with >> > armv7a >> >> Is this a short term worka

[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 b/meta/recipes-support/pixz/pixz_1.0.6.bb new file

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

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 that are ran at rootfs time using user-mode

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 >> /usr/lib/locale/hu/LC_MESSAGES/glib20.mo in glib-2.0. > > > S

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: >> >> | >> /data/poky-master/tmp/work/i586-poky-linux-musl/systemd/1_228+gitAUTOINC+dd050decb6-r0/git/src/basic/util.h:96:70: >> error: unkno

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. > https://github.com/commodo/openwrt/blob/master/

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, this doesn't work for me. I think x86 includes

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

2016-01-08 Thread Khem Raj
On Fri, Jan 8, 2016 at 2:39 AM, Burton, Ross wrote: > > 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/libicon

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

2016-01-08 Thread Khem Raj
On Fri, Jan 8, 2016 at 8:25 AM, Burton, Ross wrote: > > On 8 January 2016 at 16:17, Burton, Ross wrote: >> >> It appears to be the first time that virtual/libiconv-native appears. >> Should we just ASSUME_PROVIDED that? > > > I think this is the right solution - patch sent. yes thats the right s

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

2016-01-08 Thread Martin Jansa
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 with > > armv7a > > Is this a short term workaround or a long term solution? It's just RFC for discussio

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

2016-01-08 Thread Burton, Ross
On 8 January 2016 at 16:17, Burton, Ross wrote: > It appears to be the first time that virtual/libiconv-native appears. > Should we just ASSUME_PROVIDED that? > I think this is the right solution - patch sent. Ross -- ___ Openembedded-core mailing li

[OE-core] [PATCH] bitbake.conf: add virtual/libiconv-native to ASSUME_PROVIDED

2016-01-08 Thread Ross Burton
It's possible for a native recipe to have virtual/libiconv-native as a build dependency, but as we expect that the host provides that add it to ASSUME_PROVIDED. Signed-off-by: Ross Burton --- meta/conf/bitbake.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/conf/bitbake.conf b/meta

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 4:44 AM, Martin Jansa wrote: > * in all cases we currently have we consider armv7ve to be compatible with > armv7a Is this a short term workaround or a long term solution? If it's a long term solution then how will armv7m and armv7r be handled? They are likely to need to

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

2016-01-08 Thread Burton, Ross
On 8 January 2016 at 10:18, Khem Raj wrote: > +DEPENDS += "virtual/libiconv" > Update: this breaks all builds for x86 hardware: ERROR: Nothing PROVIDES 'virtual/libiconv-native' (but virtual:native:/home/ross/Yocto/poky/meta/recipes-devtools/mtools/ mtools_4.0.18.bb DEPENDS on or otherwise requ

[OE-core] Yocto Project Status WW02

2016-01-08 Thread Jolley, Stephen K
Current Dev Position: YP 2.1 M2 Next Deadline: YP 2.1 M2 Cutoff (Feature Freeze) date is January 25, 2016 noon GMT SWAT team rotation: Ross -> Cristian https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team Key Status/Updates: * Yocto Project M1 has been released. * Worrying n

[OE-core] OE Changelog since 2015-12-27 until 2016-01-03

2016-01-08 Thread cliff . brake
Changelog since 2015-12-27 until 2016-01-03. 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

Re: [OE-core] [PATCH v2] cups: update systemd support

2016-01-08 Thread Andrew Shadura
On 08/01/16 16:34, Martin Jansa wrote: > On Wed, Dec 30, 2015 at 11:53:04AM +0100, Andrew Shadura wrote: >> > On 11/12/15 22:39, Burton, Ross wrote: >>> > > Sorry for the delay in looking at this. buildhistory-diff reports this: >>> > > >>> > > packages/corei7-64-poky-linux/cups/cups: FILELIST: r

Re: [OE-core] [PATCH v2] cups: update systemd support

2016-01-08 Thread Martin Jansa
On Wed, Dec 30, 2015 at 11:53:04AM +0100, Andrew Shadura wrote: > On 11/12/15 22:39, Burton, Ross wrote: > > Sorry for the delay in looking at this. buildhistory-diff reports this: > > > > packages/corei7-64-poky-linux/cups/cups: FILELIST: removed > > "/etc/rc2.d/S81cups /lib/systemd/system/cups.

Re: [OE-core] [oe] [RFC] Mark of upstream CVE patches

2016-01-08 Thread Mariano Lopez
On 01/04/2016 02:17 PM, Benjamin Esquivel wrote: On Mon, 2016-01-04 at 12:25 -0600, Mariano Lopez wrote: On 12/16/2015 03:21 AM, Burton, Ross wrote: On 16 December 2015 at 09:03, Sona Sarmadi mailto:sona.sarm...@enea.com>> wrote: We are supposed to have reference to the CVE identifier b

[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 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/valgrind/valgrind_3.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 configurat

[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 --- meta/recipes-devtools/valgrind/valgrind_3.11.0.bb | 8 +--- 1 file changed, 5 insertio

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

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 > The postinst intercepts that are ran at rootfs time using user-mode qemu don't work with musl: NOTE: Running intercept scripts: NOTE

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: > Hm, for some reason, this doesn't work for me. > > Lots and lots of "files installed but not packaged", all locales. eg > /usr/lib/locale/hu/LC_MESSAGES/glib20.mo in glib-2.0. > So under musl the translations are being installed to /usr/lib/loca

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" VIRTUAL-RUNTIM

Re: [OE-core] [PATCH 2/2] dbus: add user sessions support

2016-01-08 Thread Patrick Ohly
On Fri, 2015-11-20 at 15:38 +0100, Andrew Shadura wrote: > Enable the user-sessions support with a PACKAGECONFIG flag. I've tried this out in combination with the D-Bus 1.10 update patches. It's perhaps worth pointing out that user sessions only work in combination with pam. I also found that one

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: > systemd fails with this error, over and over: > > | > /data/poky-master/tmp/work/i586-poky-linux-musl/systemd/1_228+gitAUTOINC+dd050decb6-r0/git/src/basic/util.h:96:70: > error: unknown type name 'comparison_fn_t' > | static inline void qsort_saf

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

2016-01-08 Thread Burton, Ross
On 8 January 2016 at 14:12, Burton, Ross wrote: > Looks like FTW_STOP etc are glibc-specific. > https://github.com/commodo/openwrt/blob/master/package/devel/oprofile/patches/100-musl.patch > seems reasonable, assuming it works. > It builds at least! Patch sent to the list. :) Ross --

[OE-core] [PATCH] oprofile: fix build with musl

2016-01-08 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/recipes-kernel/oprofile/oprofile.inc| 2 ++ meta/recipes-kernel/oprofile/oprofile/musl.patch | 46 2 files changed, 48 insertions(+) create mode 100644 meta/recipes-kernel/oprofile/oprofile/musl.patch diff --git a/meta/recipe

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. https://github.com/commodo/openwrt/blob/master/package/devel/oprofile/patches/100-musl.patch seems reasonable, assu

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 > Hm, for some reason, this doesn't work for me. Lots and lots of "files installed but not packaged", all locales. eg /usr/lib/locale

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 mailto:armccu...@gmail.com>> 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. Maybe rebase the patc

[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 a/meta/conf/machine/include/arm/arch-armv7ve.inc b/meta/conf/mach

[OE-core] [PATCH][RFC] arch-armv7ve.inc: respcet 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 a/meta/conf/machine/include/arm/arch-armv7ve.inc b/meta/conf/mach

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 virtual:native:/home/ros

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

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" > +DEPENDS_append_class-target = "${@bb.utils.co

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 testing branch now. There's a lot pending > in yo

[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 --- a/meta/recipes-connectivity/p

[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 index 2e0c8b1..ea00656 10

[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 meta/recipes-connectivity/irda-utils/irda-utils-0.

[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 meta/recipes-connectivity/iproute2/iproute2/iproute2-4.3.0-musl.patch diff

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 that > > Untestable as libdrm fails to build wi

[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 | 2 ++ 1 file 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 | 761 +++

[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 meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-with-non-glibc-libraries-

[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 meta/recipes-extended/iputils/files/0001-Fix-header-inclusion-for-musl.patc

[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 meta/recipes-extended/net-tools/net-tools/musl-fixes.patch diff --git a/m

[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 meta/recipes-extended/chkconfig/chkconfig/replace_caddr_t.

[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 changed, 3 insertions

[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 files changed, 44 inser

[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 insertions(+), 1 del

[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 meta/recipes-devtools/tcf-agent/tcf-agent/0001-canonicalize_file_name-is-sp

[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, 135 insertions(+) crea

[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 --- meta/recipes-ext

[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 insertions(+) create mode 100644

[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, 46 insertions(+) crea

[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 insertions(+) create mode 100

[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 files changed, 32 inser

[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 meta/recipes-core/console-tools/console-tools-0.3.2/0001-kbdtools-Include-s

[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 + meta/recipes-extended/pax/pax_3.4.bb | 1

[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 meta/recipes-kernel/lttng/babel

[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 found | make[4]: *** [testma

[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 ++ meta/

[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 ++ 2 files changed, 1

[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 files changed, 45 insert

[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 ++ .../directfb/directfb/union-sigval.patch

[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 --- ...0006-add-musleabi-to-known-target-

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

[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 a/meta/recipes-extended/net-tools/net-tools_1.60-26.bb

[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 a/meta/recipes-extended/parted/parted_3.2.bb

[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(+), 1 deletion(-) create

[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 meta/recipes-devtools/guile/files/remove_strcase_l_funcs.pa

[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 a/meta/recipes-devtools/mtools/mtools_4.0.18.bb b/meta/re

[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 --- meta/recipes-devtools/elfutil

[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 a/meta/recipes-core/packagegroups/packagegroup-self-h

[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 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/libc_memfuncs.patch diff --git a/m

[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 ++ meta/recipes-sa

[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 5bcfc9c..90597db 100644 --

[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| 4 +++- 2 file

[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 +++ b/meta/recipes-s

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

[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 meta/recipes-core/uti

[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 + .../fts/fts/fts-header-correctness.

[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 ++ ...t.h-prevent-redefinition-of-struct-ethhdr.patch | 59 +++

  1   2   >