Re: [OE-core] Lots of [host-user-contaminated] warning

2016-01-17 Thread Christopher Larson
On Sun, Jan 17, 2016 at 8:10 PM, Phil Reid wrote: > On 18/01/2016 10:55 AM, Christopher Larson wrote: > > >> On Fri, Nov 20, 2015 at 4:02 AM, Max Krummenacher > > wrote: >> >> Am Dienstag, den 17.11.2015, 09:46

Re: [OE-core] [PATCH 19/73] mtools: Fix build with uclibc

2016-01-17 Thread Roman Khimov
В письме от 17 января 2016 03:35:52 пользователь Khem Raj написал: > --- a/meta/recipes-devtools/mtools/mtools_4.0.18.bb > +++ b/meta/recipes-devtools/mtools/mtools_4.0.18.bb > @@ -5,6 +5,7 @@ SECTION = "optional" > LICENSE = "GPLv3" > LIC_FILES_CHKSUM =

[OE-core] [PATCH][fido] openssh: CVE-2016-077x

2016-01-17 Thread Armin Kuster
From: Armin Kuster this address two CVE's. CVE-2016-0777 and CVE-2016-0778 Signed-off-by: Armin Kuster --- .../openssh/openssh/CVE-2016-077x.patch| 56 ++ meta/recipes-connectivity/openssh/openssh_6.7p1.bb | 1 + 2 files

Re: [OE-core] [PATCH 1/1] e2fsprogs: 1.42.9 -> 1.43-WIP

2016-01-17 Thread Patrick Ohly
On Fri, 2016-01-15 at 11:15 +, Richard Purdie wrote: > On Thu, 2016-01-14 at 18:05 -0800, Robert Yang wrote: > > Upgrade to 1.43-WIP to make "mke2fs -d" support xattr, so that the > > layer > > which requires xattr such as meta-selinux can populate images easily. > > > > * Remove the

[OE-core] [PATCH] image: Handle image types containing '-' correctly

2016-01-17 Thread Richard Purdie
Shell function names can't contain '-' characters, which means our image task names also can't. Add some mapping to use '_' instead of the '-' so images like "rpi-sdimg" work again. Signed-off-by: Richard Purdie diff --git a/meta/classes/image.bbclass

[OE-core] [PATCH 0/1] Extensible SDK regression fix

2016-01-17 Thread Paul Eggleton
The following changes since commit a42229df424552955c0ac62da1063461f97f5938: openssh: CVE-2016-1907 (2016-01-17 11:32:21 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib paule/extsdk-depends-fix

[OE-core] [PATCH 1/1] classes/populate_sdk_ext: fix task dependency regression

2016-01-17 Thread Paul Eggleton
Fix a regression caused by OE-Core revision eabeb26335b1a4eb1e68218160dbdbe8fdf36272 where we lost the task dependency on packages in TOOLCHAIN_HOST_TASK (such as meta-environment-extsdk-${MACHINE}) which led to errors about missing packages when building the extensible SDK. This happened because

Re: [OE-core] [PATCH 1/8] bitbake.conf: set CONFFILES by default

2016-01-17 Thread Robert Yang
On 01/16/2016 06:51 PM, Mike Looijmans wrote: On 15-01-16 07:37, Robert Yang wrote: On 01/15/2016 02:27 PM, Mike Looijmans wrote: How about /etc/init.d and /etc/rcS.d? Are these now suddenly CONFFILES too? For /etc/init.d/*, yes, and I think that they should be CONFFILES. Startup

Re: [OE-core] [PATCH] image: Handle image types containing '-' correctly

2016-01-17 Thread Jonathan Liu
Hi Richard, On 18 January 2016 at 09:25, Richard Purdie wrote: > Shell function names can't contain '-' characters, which means our image > task names also can't. Add some mapping to use '_' instead of the '-' so > images like "rpi-sdimg" work again. > >

Re: [OE-core] [PATCH V2 6/9] ghostscript: 9.16 -> 9.18

2016-01-17 Thread Hongxu Jia
On 01/18/2016 01:44 AM, Richard Purdie wrote: On Wed, 2016-01-13 at 03:30 -0500, Hongxu Jia wrote: Backport patches to fix build failure caused by '--without-jbig2dec' and '--without-jbig2dec'. ... make[1]: *** No rule to make target `obj/sjbig2_.dev', needed by `obj/sjbig2.dev'. Stop. ...

Re: [OE-core] [PATCH 1/8] bitbake.conf: set CONFFILES by default

2016-01-17 Thread Robert Yang
On 01/16/2016 07:07 PM, Mike Looijmans wrote: On 16-01-16 06:36, Robert Yang wrote: On 01/15/2016 07:12 PM, Richard Purdie wrote: On Thu, 2016-01-14 at 18:29 -0800, Robert Yang wrote: There are a lot of binary packages have files in /etc/, but only a few of them have set CONFFILES, more

Re: [OE-core] Lots of [host-user-contaminated] warning

2016-01-17 Thread Phil Reid
On 17/11/2015 4:46 PM, Andreas Müller wrote: Hi, this bugs me for a while and I wonder if I am again the only one facing this: I get floods of warnings for sourcecode files as WARNING: QA Issue: qtserialport:

Re: [OE-core] Lots of [host-user-contaminated] warning

2016-01-17 Thread Christopher Larson
On Fri, Nov 20, 2015 at 4:02 AM, Max Krummenacher wrote: > Am Dienstag, den 17.11.2015, 09:46 +0100 schrieb Andreas Müller: > > Hi, > > > > this bugs me for a while and I wonder if I am again the only one > > facing this: I get floods of warnings for sourcecode files as > >

Re: [OE-core] Lots of [host-user-contaminated] warning

2016-01-17 Thread Phil Reid
On 18/01/2016 10:55 AM, Christopher Larson wrote: On Fri, Nov 20, 2015 at 4:02 AM, Max Krummenacher > wrote: Am Dienstag, den 17.11.2015, 09:46 +0100 schrieb Andreas Müller: > Hi, > > this bugs me for a while and I wonder if I

[OE-core] [PATCH] rootfs-postcommands: Ensure license manifests respect RM_OLD_IMAGE

2016-01-17 Thread Richard Purdie
When RM_OLD_IMAGE is set, old manifest files should be removed along with old image files and our QA tests expect this. This patch ensures this happens. Signed-off-by: Richard Purdie diff --git a/meta/classes/rootfs-postcommands.bbclass

Re: [OE-core] [PATCH] matchbox-keyboard: Fix build failure with ld-is-gold

2016-01-17 Thread Khem Raj
> On Jan 14, 2016, at 1:22 PM, Phil Blundell wrote: > > How does that patch help with this issue? It seems to be adding ifunc > support which isn't obviously related to the problem at hand. Its not obvious but its related because now that ifunc support is available to gold, it

[OE-core] [PATCH] bootimg/image: Enhance bootimg to respect RM_OLD_IMAGE

2016-01-17 Thread Richard Purdie
Currently, iso and hddimg links don't respect RM_OLD_IMAGE. This updates them to use the common symlinks code so that they behave like the rest of the system. Signed-off-by: Richard Purdie diff --git a/meta/classes/bootimg.bbclass

[OE-core] [PATCH] selftest/buildhistory: Improve test to remove sources of error

2016-01-17 Thread Richard Purdie
When we add buildhistory, we expect do_rootfs to rerun, but depending on IMAGE_FSTYPES, the number of tasks which would execute after do_rootfs varies (e.g. live would add do_bootimg and we recently added do_image). Therefore limit the test to -c rootfs and then we're clear that only one task

[OE-core] [PATCH] image: Ensure we don't expand TMPDIR in image commands

2016-01-17 Thread Richard Purdie
Similarly to DATETIME, don't expand TMPDIR in image commands. This ensures some of the stamp comparisons we make in the QA tests work correctly. Signed-off-by: Richard Purdie diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index

[OE-core] [PATCH v2] image: Fix wic environment issues

2016-01-17 Thread Richard Purdie
The wic environment function needs to run after the rootfs size is setup. We move this code to a specific task, and depend on that task from the wic images and other places its needed. This fixes: == FAIL: test_image_env

[OE-core] [PATCH 08/73] linux-libc-headers: Port patches for linux-headers for musl

2016-01-17 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 09/73] xserver-xorg: Fix build with musl

2016-01-17 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 12/73] gnutls: Link with libargp on musl and depend on argp-standalone

2016-01-17 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 07/73] libcgroup: Add dependency on fts when building on musl

2016-01-17 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 13/73] util-linux: Fix ptest builds on musl

2016-01-17 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 01/73] powertop: Include right headers for timval struct

2016-01-17 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 00/73] musl fixes part 3 & 4 combined

2016-01-17 Thread Khem Raj
This patchset rebases the last pull request on top of latest master since lot of recipes went in and the patches wont apply straight core-image-weston/core-image-sato/core-image-full-cmdline build for all qemu machines work well. No regressions seen on glibc based world builds Here are some of

[OE-core] [PATCH 06/73] connman: include config.h for HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR

2016-01-17 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 02/73] blktrace: Include

2016-01-17 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 10/73] gdk-pixbuf: Fix latent build issue exposed by musl

2016-01-17 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 04/73] tcp-wrappers: Fix build with musl

2016-01-17 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 03/73] ppp: Fix build with musl

2016-01-17 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 11/73] argp-standalone: Add recipe

2016-01-17 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 14/73] elfutils: Fix build with uclibc/musl

2016-01-17 Thread Khem Raj
Remove mempcpy patch its already in uclibc now refresh libargp patch to match latest elfutils Add ALLOW_EMPTY for musl 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

[OE-core] [PATCH 40/73] iproute2: Fix build with musl

2016-01-17 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 27/73] dpkg: Add musleabi to known architectures

2016-01-17 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 37/73] pax: Fix build with musl

2016-01-17 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 41/73] irda-utils: Fix header inclusions

2016-01-17 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 20/73] parted: Fix build with uclibc

2016-01-17 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 16/73] packagegroup-self-hosted.bb: Move glibc-gconv-ibm850 to glibc only case

2016-01-17 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 18/73] gnutls: Link with libuargp on uclibc

2016-01-17 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 26/73] xinetd: Fix build with musl

2016-01-17 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 28/73] puzzles: Zero'ise structs before use

2016-01-17 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 25/73] watchdog: Fix build with musl

2016-01-17 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 29/73] apt: Add support for building for musl targets

2016-01-17 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 30/73] libunwind: backtrace APIs are glibc specific

2016-01-17 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 33/73] console-tools: Include sys/types.h for u_char and u_short defs

2016-01-17 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 34/73] webkitgtk: Fix build with clang/musl

2016-01-17 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 31/73] babeltrace: Add missing header for MAXNAMLEN define

2016-01-17 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 35/73] rt-tests: Fix build with non-gcc compilers

2016-01-17 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 21/73] net-tools: Link with libintl on uclibc

2016-01-17 Thread Khem Raj
libintl is needed explicitly on linker cmdline on uclibc since the APIs are not in libc itelf. Fix build on musl Signed-off-by: Khem Raj --- .../net-tools/net-tools/musl-fixes.patch | 100 + .../net-tools/net-tools_1.60-26.bb |

[OE-core] [PATCH 22/73] libdrm: Upgrade 2.4.65 -> 2.4.66

2016-01-17 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 38/73] iputils: Use member based initialization for mrghdr struct

2016-01-17 Thread Khem Raj
Fix build with musl uclibc and glibc dont agree on structure of the struct, musl rightly adds padding elements, so when doing anonymous initialization struct elements gets wrongly mapped on 64bit arches Signed-off-by: Khem Raj ---

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

2016-01-17 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

[OE-core] [PATCH 46/73] nfs-utils: Disable tcp-wrappers for musl

2016-01-17 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

[OE-core] [PATCH 42/73] nspr: Drop older glibc code

2016-01-17 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 53/73] pcmciautils: Fix parallel build and include sys/types.h

2016-01-17 Thread Khem Raj
parallel build patch was removing dependencies on .c files mistakenly just adding src/yacc_config.h to dependencies in existing rule should have fixed the original build race include sys/types.h in lex_config.l for getting u_long definition Signed-off-by: Khem Raj ---

[OE-core] [PATCH 52/73] kexec-tools: Define _GNU_SOURCE for getting loff_t definition

2016-01-17 Thread Khem Raj
Fixes errors e.g. vmcore-dmesg/vmcore-dmesg.c:370:32: error: unknown type name 'loff_t' Signed-off-by: Khem Raj --- .../0001-vmcore-dmesg-Define-_GNU_SOURCE.patch | 31 ++ meta/recipes-kernel/kexec/kexec-tools_2.0.11.bb| 1 + 2 files changed, 32

[OE-core] [PATCH 60/73] bsd-headers: Package cdefs.h

2016-01-17 Thread Khem Raj
Its used in several packages Signed-off-by: Khem Raj --- meta/recipes-core/bsd-headers/bsd-headers.bb | 2 ++ .../bsd-headers/bsd-headers/sys-cdefs.h| 26 ++ 2 files changed, 28 insertions(+) create mode 100644

[OE-core] [PATCH 59/73] musl: Create ld.so as a relative symlink

2016-01-17 Thread Khem Raj
We have rootfs intercepts which fail on musl because ld.so on musl is an absolute symlink to /usr/lib/libc.so and then it fails to load when run with qemu user mode. Fixes rootfs failures like WARNING: The postinstall intercept hook 'update_pixbuf_cache' failed (exit code: 255)! See log for

[OE-core] [PATCH 61/73] guile: Fix build with musl

2016-01-17 Thread Khem Raj
strol_l is not available on musl delete charset.alias as well its not needed Use internal gc function on musl We get errors on certain functions not being available in boeheme gc when built with musl. Therefore use the internal versions e.g. Undefined gc_set_finalizer_notifier Signed-off-by:

[OE-core] [PATCH 54/73] btrfs-tools: Disable backtrace on musl

2016-01-17 Thread Khem Raj
musl does not support backtrace APIs include limit.h for PATH_MAX definition Signed-off-by: Khem Raj --- ...001-btrfs-corrupt-blocks-Include-limits.h.patch | 34 ++ .../btrfs-tools/btrfs-tools_4.3.1.bb | 3 ++ 2 files changed, 37

[OE-core] [PATCH 58/73] fts: Fix linker hash-style option

2016-01-17 Thread Khem Raj
pass --hash-style explicitly to linker and ensure that mips does not use gnu hash style This inoculates fts when compiler does not pass hash style option e.g. clang Signed-off-by: Khem Raj --- meta/recipes-core/fts/fts.bb | 8 +++- 1 file changed, 7 insertions(+), 1

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

2016-01-17 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 44/73] tcf-agent: Implement canonicalize_file_name() for musl as well

2016-01-17 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 43/73] chkconfig: Avoid using caddr_t

2016-01-17 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 32/73] sysklogd: untangle header inclusion maze

2016-01-17 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 39/73] libuser: Fix build when secure getenv is not there

2016-01-17 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 36/73] tar: Fix build for musl based targets

2016-01-17 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 56/73] nss: Undefine HAVE_SYS_CDEFS_H

2016-01-17 Thread Khem Raj
nss's build system assumes that cdefs.h is always available on linux which is not the case with musl Signed-off-by: Khem Raj --- meta/recipes-support/nss/nss_3.19.2.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-support/nss/nss_3.19.2.bb

[OE-core] [PATCH 62/73] unfs3: Depend on libtirpc when building on musl

2016-01-17 Thread Khem Raj
needs a rpc implementation Signed-off-by: Khem Raj --- meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb

[OE-core] [PATCH 49/73] systemd: Skip parsing on musl based targets

2016-01-17 Thread Khem Raj
systemd on musl doesn't yet work even though we have patches to make it compile it fails to run, therefore lets skip building it for now Signed-off-by: Khem Raj --- meta/recipes-core/systemd/systemd_228.bb | 4 1 file changed, 4 insertions(+) diff --git

[OE-core] [PATCH 71/73] binutils: Fix gold linking errors due to unresolved R_ARM_MOVW_ABS_NC

2016-01-17 Thread Khem Raj
This issue has been seen in multiple times e.g. http://patchwork.openembedded.org/patch/103083/ https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg72513.html Signed-off-by: Khem Raj --- meta/recipes-devtools/binutils/binutils-2.25.1.inc |1 +

[OE-core] [PATCH 65/73] grub: Backport fix for largefile detection/use

2016-01-17 Thread Khem Raj
This is inspired by musl porting, where grub's configure is enabling largefile support based on glibc versions, instead an upstream patch turns it into autoconf check Update git version recipe arm platforms use this recipe to provide grub and it needed fixes from upstream so upgrade to latest

[OE-core] [PATCH 57/73] dosfstools: Correct cross-compile CFLAGS and fix build with musl

2016-01-17 Thread Khem Raj
enable largefile support if its in DISTRO_FEATURES Signed-off-by: Khem Raj --- .../0001-mkfs.fat-fix-incorrect-int-type.patch | 46 ++ .../dosfstools/dosfstools/largefile.patch | 19 + .../dosfstools/dosfstools_3.0.28.bb

[OE-core] [PATCH 55/73] apmd: Fix build with musl

2016-01-17 Thread Khem Raj
Fix error like below | apmd.c:372:41: error: use of undeclared identifier '__WCOREFLAG' | status = __W_EXITCODE(0, SIGTERM) | __WCOREFLAG; | ^ | apmd.c:392:41: error: use of undeclared identifier

[OE-core] [PATCH 69/73] eglinfo: Fix build on raspberrypi

2016-01-17 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-graphics/eglinfo/eglinfo.inc | 4 ++- ...GING_INCDIR-to-searchpath-for-egl-headers.patch | 34 ++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644

[OE-core] [PATCH 68/73] mdadm: Fix build with musl

2016-01-17 Thread Khem Raj
Define _POSIX_C_SOURCE if not defined Add sockaddr_un* to sockaddr* typecast to make compiler happy Signed-off-by: Khem Raj --- .../0001-Define-_POSIX_C_SOURCE-if-undefined.patch | 59 ++ meta/recipes-extended/mdadm/mdadm_3.3.4.bb | 2 +- 2 files

[OE-core] [PATCH 70/73] puzzles: Silence warning on arm with clang

2016-01-17 Thread Khem Raj
Clang finds overflows when comparison is done between an unsigned char and a integer constant. So explicitly typecast the constant before comparison Signed-off-by: Khem Raj --- ...1-palisade-Fix-warnings-with-clang-on-arm.patch | 72 ++

[OE-core] [PATCH 73/73] glib-2.0: Fix locale location on musl

2016-01-17 Thread Khem Raj
gettext.m4 macro does not detect musl triplets and falls back to ${libdir}/locale It ends up with lot of packging warning "files installed but not packaged" Signed-off-by: Khem Raj --- .../{uclibc.patch => uclibc_musl_translation.patch} | 20 +++-

[OE-core] [PATCH 64/73] acpid: Fix build on musl

2016-01-17 Thread Khem Raj
implement isfdtype() if libc does not provide it Fix build when S != B use top_builddir instead of top_srcdir Signed-off-by: Khem Raj --- meta/recipes-bsp/acpid/acpid.inc | 2 + ...1-Define-isfdtype-if-libc-doesn-t-have-it.patch | 62

[OE-core] [PATCH 66/73] console-tools: Fix header inclusion when not using glibc

2016-01-17 Thread Khem Raj
It did differentiate on features in libc but assumed always glibc this patch make that assumption clear Signed-off-by: Khem Raj --- .../0001-Cover-the-else-with-__GLIBC__.patch | 51 ++ .../console-tools/console-tools_0.3.2.bb | 3 ++ 2

[OE-core] [PATCH 72/73] syslinux: Set LD to avoid using build host ld

2016-01-17 Thread Khem Raj
base ld is used during link phase and since its x86 so it works mostly, however it can cause problems depending upon build host. During cross build we should use cross linker Fixes errors e.g. ld -shared -m elf_i386 --hash-style=gnu -T

[OE-core] [RFT] Glibc 2.23 and binutils 2.26

2016-01-17 Thread Khem Raj
Hi all upstream glibc and binutils release branches have been cut out and are being made ready for next release I have put together update patchset for both of them here are the branches https://github.com/kraj/openembedded-core/tree/kraj/binutils-2.26

Re: [OE-core] [PATCH V2 6/9] ghostscript: 9.16 -> 9.18

2016-01-17 Thread Richard Purdie
On Wed, 2016-01-13 at 03:30 -0500, Hongxu Jia wrote: > Backport patches to fix build failure caused by > '--without-jbig2dec' and '--without-jbig2dec'. > ... > > make[1]: *** No rule to make target `obj/sjbig2_.dev', > needed by `obj/sjbig2.dev'. Stop. > ... > >