]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agoconsole-tools: Include sys/types.h for u_char and u_short defs
Khem Raj [Sat, 2 Jan 2016 21:51:37 +0000 (21:51 +0000)]
console-tools: Include sys/types.h for u_char and u_short defs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agosysklogd: untangle header inclusion maze
Khem Raj [Sat, 2 Jan 2016 21:49:23 +0000 (21:49 +0000)]
sysklogd: untangle header inclusion maze

wait is not union per posix it is int
remove assumption about glibc is linux

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agobabeltrace: Add missing header for MAXNAMLEN define
Khem Raj [Sat, 2 Jan 2016 21:45:23 +0000 (21:45 +0000)]
babeltrace: Add missing header for MAXNAMLEN define

Fix bug exposed on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agolibunwind: backtrace APIs are glibc specific
Khem Raj [Sat, 2 Jan 2016 21:43:24 +0000 (21:43 +0000)]
libunwind: backtrace APIs are glibc specific

Make backtrace() API's use conditional on glibc
this helps make libunwind compile on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agoapt: Add support for building for musl targets
Khem Raj [Sat, 2 Jan 2016 21:41:17 +0000 (21:41 +0000)]
apt: Add support for building for musl targets

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 <raj.khem@gmail.com>
9 years agopuzzles: Zero'ise structs before use
Khem Raj [Wed, 30 Dec 2015 23:34:20 +0000 (23:34 +0000)]
puzzles: Zero'ise structs before use

Fixes build failures with musl where gcc5 flags it used before
initialized.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agodpkg: Add musleabi to known architectures
Khem Raj [Wed, 30 Dec 2015 23:31:32 +0000 (23:31 +0000)]
dpkg: Add musleabi to known architectures

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 <raj.khem@gmail.com>
9 years agoxinetd: Fix build with musl
Khem Raj [Wed, 30 Dec 2015 08:06:53 +0000 (08:06 +0000)]
xinetd: Fix build with musl

musl relies on external rpc implemetation (libtirpc)
and exposed a bug in configury when checking for rlim_t

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agowatchdog: Fix build with musl
Khem Raj [Wed, 30 Dec 2015 01:27:51 +0000 (01:27 +0000)]
watchdog: Fix build with musl

This patch is generic but is found during compiling watchdog with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agogzip: Fix build with musl
Khem Raj [Tue, 29 Dec 2015 23:49:24 +0000 (23:49 +0000)]
gzip: Fix build with musl

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 well with musl

Use NO_ASM to avoid textrels

Delete charset.alias for musl which is again another issue in gnulib not
knowing musl platform

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agodirectfb: Fix build with musl
Khem Raj [Tue, 29 Dec 2015 23:25:47 +0000 (23:25 +0000)]
directfb: Fix build with musl

compar_fn_t, sigval_t and non-posix recursive mutexes
are not available in musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agonet-tools: Link with libintl on uclibc
Khem Raj [Tue, 29 Dec 2015 01:22:42 +0000 (01:22 +0000)]
net-tools: Link with libintl on uclibc

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 <raj.khem@gmail.com>
9 years agoparted: Fix build with uclibc
Khem Raj [Tue, 29 Dec 2015 01:21:54 +0000 (01:21 +0000)]
parted: Fix build with uclibc

unlike glibc, uclibc does not have internal APIs implemented for
libiconv, so it needs to depend upon libiconv

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agomtools: Fix build with uclibc
Khem Raj [Tue, 29 Dec 2015 01:20:37 +0000 (01:20 +0000)]
mtools: Fix build with uclibc

unlike glibc, uclibc does not have internal APIs implemented for
libiconv, so it needs to depend upon libiconv

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agognutls: Link with libuargp on uclibc
Khem Raj [Tue, 29 Dec 2015 01:19:33 +0000 (01:19 +0000)]
gnutls: Link with libuargp on uclibc

uclibc has its own implementation for libargp

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agoguile: Fix build with uclibc
Khem Raj [Tue, 29 Dec 2015 01:18:47 +0000 (01:18 +0000)]
guile: Fix build with uclibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agopackagegroup-self-hosted.bb: Move glibc-gconv-ibm850 to glibc only case
Khem Raj [Sat, 26 Dec 2015 22:59:59 +0000 (22:59 +0000)]
packagegroup-self-hosted.bb: Move glibc-gconv-ibm850 to glibc only case

This package is not provided by non-glibc libcs therefore add it only
when libc is glibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agoutil-linux: Fix ptest builds on musl
Khem Raj [Sat, 19 Dec 2015 23:37:14 +0000 (23:37 +0000)]
util-linux: Fix ptest builds on musl

musl doesnt implement error() API, hence provide one

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agognutls: Link with libargp on musl and depend on argp-standalone
Khem Raj [Thu, 17 Dec 2015 08:53:21 +0000 (08:53 +0000)]
gnutls: Link with libargp on musl and depend on argp-standalone

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agoargp-standalone: Add recipe
Khem Raj [Thu, 17 Dec 2015 08:51:39 +0000 (08:51 +0000)]
argp-standalone: Add recipe

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 <raj.khem@gmail.com>
9 years agogdk-pixbuf: Fix latent build issue exposed by musl
Khem Raj [Thu, 17 Dec 2015 07:38:43 +0000 (07:38 +0000)]
gdk-pixbuf: Fix latent build  issue exposed by musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agoxserver-xorg: Fix build with musl
Khem Raj [Thu, 17 Dec 2015 07:10:13 +0000 (07:10 +0000)]
xserver-xorg: Fix build with musl

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 <raj.khem@gmail.com>
9 years agolibcgroup: Add dependency on fts when building on musl
Khem Raj [Thu, 17 Dec 2015 07:05:32 +0000 (07:05 +0000)]
libcgroup: Add dependency on fts when building on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agoconnman: include config.h for HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR
Khem Raj [Tue, 15 Dec 2015 21:27:30 +0000 (21:27 +0000)]
connman: include config.h for HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR

We now check at configure time of libc has pktinfo struct

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agofts: Add recipe
Khem Raj [Tue, 15 Dec 2015 21:24:16 +0000 (21:24 +0000)]
fts: Add recipe

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 <raj.khem@gmail.com>
9 years agotcp-wrappers: Fix build with musl
Khem Raj [Mon, 14 Dec 2015 00:15:47 +0000 (00:15 +0000)]
tcp-wrappers: Fix build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agoppp: Fix build with musl
Khem Raj [Sat, 21 Nov 2015 00:12:33 +0000 (00:12 +0000)]
ppp: Fix build with musl

Therer are assumptions about glibc headers and features which needs to
be addressed for musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agoblktrace: Include <sys/types.h for dev_t
Khem Raj [Sun, 20 Sep 2015 16:22:56 +0000 (16:22 +0000)]
blktrace: Include <sys/types.h for dev_t

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agopowertop: Include right headers for timval struct
Khem Raj [Sun, 20 Sep 2015 16:16:40 +0000 (16:16 +0000)]
powertop: Include right headers for timval struct

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agoupdate-alternatives: when warning about alt_link==alt_target, say what PN
Ross Burton [Thu, 21 Jan 2016 20:37:58 +0000 (20:37 +0000)]
update-alternatives: when warning about alt_link==alt_target, say what PN

A warning that doesn't say what the PN is doesn't really help.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython-setuptools: Unify and upgrade python-setuptools and python3-setuptools to...
Alejandro Hernandez [Thu, 21 Jan 2016 16:46:06 +0000 (16:46 +0000)]
python-setuptools: Unify and upgrade python-setuptools and python3-setuptools to 19.4

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-libav: update git recipe to 1.7.1
Andre McCurdy [Tue, 19 Jan 2016 18:33:10 +0000 (10:33 -0800)]
gstreamer1.0-libav: update git recipe to 1.7.1

Move the ARM_INSTRUCTION_SET over-rides for armv4/armv5 out of the
1.6.3 recipe and into the common include, so that they also apply to
the git recipe.

The autogen.sh script takes care of cd'ing to the correct directory
before it does anything, so we don't need to cd on its behalf any more
in do_configure_prepend().

  http://cgit.freedesktop.org/gstreamer/gst-libav/tree/autogen.sh?id=1.7.1

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins-ugly: update git recipe to 1.7.1
Andre McCurdy [Tue, 19 Jan 2016 18:33:11 +0000 (10:33 -0800)]
gstreamer1.0-plugins-ugly: update git recipe to 1.7.1

The autogen.sh script takes care of cd'ing to the correct directory
before it does anything, so we don't need to cd on its behalf any more
in do_configure_prepend().

  http://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/tree/autogen.sh?id=1.7.1

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins-bad: update git recipe to 1.7.1
Andre McCurdy [Tue, 19 Jan 2016 18:33:10 +0000 (10:33 -0800)]
gstreamer1.0-plugins-bad: update git recipe to 1.7.1

Handle renaming of the HLS plugin:

  http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=efe62292a3d045126654d93239fdf4cc8e48ae08

Switch AES decryption for the HLS plugin from nettle to openssl.

The autogen.sh script takes care of cd'ing to the correct directory
before it does anything, so we don't need to cd on its behalf any more
in do_configure_prepend().

  http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/autogen.sh?id=1.7.1

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins-good: update git recipe to 1.7.1
Andre McCurdy [Tue, 19 Jan 2016 18:33:11 +0000 (10:33 -0800)]
gstreamer1.0-plugins-good: update git recipe to 1.7.1

The autogen.sh script takes care of cd'ing to the correct directory
before it does anything, so we don't need to cd on its behalf any more
in do_configure_prepend().

  http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/autogen.sh?id=1.7.1

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins-base: update git recipe to 1.7.1
Andre McCurdy [Tue, 19 Jan 2016 18:33:11 +0000 (10:33 -0800)]
gstreamer1.0-plugins-base: update git recipe to 1.7.1

The autogen.sh script takes care of cd'ing to the correct directory
before it does anything, so we don't need to cd on its behalf any more
in do_configure_prepend().

  http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/autogen.sh?id=1.7.1

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0: update git recipe to 1.7.1
Andre McCurdy [Tue, 19 Jan 2016 18:33:11 +0000 (10:33 -0800)]
gstreamer1.0: update git recipe to 1.7.1

The autogen.sh script takes care of cd'ing to the correct directory
before it does anything, so we don't need to cd on its behalf any more
in do_configure_prepend().

  http://cgit.freedesktop.org/gstreamer/gstreamer/tree/autogen.sh?id=1.7.1

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-libav: update 1.6.2 -> 1.6.3
Andre McCurdy [Thu, 21 Jan 2016 03:38:13 +0000 (19:38 -0800)]
gstreamer1.0-libav: update 1.6.2 -> 1.6.3

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins-ugly: update 1.6.2 -> 1.6.3
Andre McCurdy [Thu, 21 Jan 2016 03:32:54 +0000 (19:32 -0800)]
gstreamer1.0-plugins-ugly: update 1.6.2 -> 1.6.3

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins-bad: update 1.6.2 -> 1.6.3
Andre McCurdy [Thu, 21 Jan 2016 03:32:23 +0000 (19:32 -0800)]
gstreamer1.0-plugins-bad: update 1.6.2 -> 1.6.3

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins-good: update 1.6.2 -> 1.6.3
Andre McCurdy [Thu, 21 Jan 2016 03:31:49 +0000 (19:31 -0800)]
gstreamer1.0-plugins-good: update 1.6.2 -> 1.6.3

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins-base: update 1.6.2 -> 1.6.3
Andre McCurdy [Thu, 21 Jan 2016 03:31:09 +0000 (19:31 -0800)]
gstreamer1.0-plugins-base: update 1.6.2 -> 1.6.3

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0: update 1.6.2 -> 1.6.3
Andre McCurdy [Thu, 21 Jan 2016 03:30:15 +0000 (19:30 -0800)]
gstreamer1.0: update 1.6.2 -> 1.6.3

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogst-plugins-package.inc: drop perl RDEPEND for XXX-apps packages
Andre McCurdy [Thu, 21 Jan 2016 04:17:09 +0000 (20:17 -0800)]
gst-plugins-package.inc: drop perl RDEPEND for XXX-apps packages

Only one of the plugins recipes (gstreamer1.0-plugins-base) generates
a non-empty -apps package. However it contains only binaries, no perl
scripts.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins.inc: don't set base SRC_URI via python
Andre McCurdy [Tue, 19 Jan 2016 03:53:28 +0000 (19:53 -0800)]
gstreamer1.0-plugins.inc: don't set base SRC_URI via python

Setting the SRC_URI via python for the four gstreamer1.0-plugins-XXX
packages adds complexity and breaks consistency with the other
plugins packages and with gstreamer itself (which all also fetch from
freedesktop.org URLs but set SRC_URI conventionally).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins.inc: drop obsolete lib-link.m4 workaround
Andre McCurdy [Wed, 20 Jan 2016 23:10:49 +0000 (15:10 -0800)]
gstreamer1.0-plugins.inc: drop obsolete lib-link.m4 workaround

There is no lib-link.m4 in any of the gst-plugins-XXX sources (and
there hasn't been for a long time). Drop the obsolete workaround.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins-bad.inc: update hls dependency gnutls -> nettle
Andre McCurdy [Thu, 21 Jan 2016 00:06:00 +0000 (16:06 -0800)]
gstreamer1.0-plugins-bad.inc: update hls dependency gnutls -> nettle

The HLS plugin requires AES decryption and links with nettle, not
with gnutls.

  http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/configure.ac?h=1.6&id=7dee47fe39223d8a98615f03f34d9221f9e8a6c1#n3038

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins-bad.inc: don't set ${S} or apply version specific patch
Andre McCurdy [Tue, 19 Jan 2016 03:47:08 +0000 (19:47 -0800)]
gstreamer1.0-plugins-bad.inc: don't set ${S} or apply version specific patch

gstreamer1.0-plugins-bad.inc is shared by both the 1.6.2 and git
recipes, so must not set ${S} or apply any version specific patches.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins-good.inc: remove duplicate --disable-examples
Andre McCurdy [Wed, 20 Jan 2016 22:27:00 +0000 (14:27 -0800)]
gstreamer1.0-plugins-good.inc: remove duplicate --disable-examples

--disable-examples is added to EXTRA_OECONF by gstreamer1.0-plugins.inc

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins.inc: convert GSTREAMER_1_0_DEBUG to a PACKAGECONFIG
Andre McCurdy [Tue, 19 Jan 2016 03:12:33 +0000 (19:12 -0800)]
gstreamer1.0-plugins.inc: convert GSTREAMER_1_0_DEBUG to a PACKAGECONFIG

gstreamer1.0.inc has been updated to contol debug via a PACKAGECONFIG
option, so apply the same change to gstreamer1.0-plugins.inc as well.
Control valgrind support via a PACKAGECONFIG option too.

  http://git.openembedded.org/openembedded-core/commit/?id=81636555fa7f18407efc172c0d5b9f466b2d4014

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins.inc: add missing glib-2.0-native dependency
Andre McCurdy [Thu, 21 Jan 2016 00:25:21 +0000 (16:25 -0800)]
gstreamer1.0-plugins.inc: add missing glib-2.0-native dependency

Building the gstreamer1.0-plugins packages requires glib-mkenums.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0.inc: add missing glib-2.0-native dependency
Andre McCurdy [Thu, 21 Jan 2016 00:25:11 +0000 (16:25 -0800)]
gstreamer1.0.inc: add missing glib-2.0-native dependency

Building gstreamer1.0 requires glib-mkenums.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-rtsp-server.inc: minor formatting improvements
Andre McCurdy [Tue, 19 Jan 2016 01:32:35 +0000 (17:32 -0800)]
gstreamer1.0-rtsp-server.inc: minor formatting improvements

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-omx: minor formatting improvements + update HOMEPAGE
Andre McCurdy [Tue, 19 Jan 2016 01:32:21 +0000 (17:32 -0800)]
gstreamer1.0-omx: minor formatting improvements + update HOMEPAGE

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-libav: minor formatting improvements + update HOMEPAGE
Andre McCurdy [Tue, 19 Jan 2016 01:32:02 +0000 (17:32 -0800)]
gstreamer1.0-libav: minor formatting improvements + update HOMEPAGE

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins-ugly: minor formatting improvements
Andre McCurdy [Tue, 19 Jan 2016 01:29:51 +0000 (17:29 -0800)]
gstreamer1.0-plugins-ugly: minor formatting improvements

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins-bad: minor formatting improvements
Andre McCurdy [Tue, 19 Jan 2016 01:29:34 +0000 (17:29 -0800)]
gstreamer1.0-plugins-bad: minor formatting improvements

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins-good: minor formatting improvements
Andre McCurdy [Tue, 19 Jan 2016 01:29:17 +0000 (17:29 -0800)]
gstreamer1.0-plugins-good: minor formatting improvements

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins-base: minor formatting improvements
Andre McCurdy [Tue, 19 Jan 2016 01:28:57 +0000 (17:28 -0800)]
gstreamer1.0-plugins-base: minor formatting improvements

Fix duplicate x11 dependencies (DEPENDS and x11 PACKAGECONFIG).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0-plugins.inc: minor formatting improvements
Andre McCurdy [Tue, 19 Jan 2016 01:26:55 +0000 (17:26 -0800)]
gstreamer1.0-plugins.inc: minor formatting improvements

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogstreamer1.0: minor formatting improvements
Andre McCurdy [Tue, 19 Jan 2016 01:00:27 +0000 (17:00 -0800)]
gstreamer1.0: minor formatting improvements

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogst-plugins-package.inc: minor formatting improvements
Andre McCurdy [Tue, 19 Jan 2016 00:49:29 +0000 (16:49 -0800)]
gst-plugins-package.inc: minor formatting improvements

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agogst-player: minor formatting improvements
Andre McCurdy [Tue, 19 Jan 2016 00:48:44 +0000 (16:48 -0800)]
gst-player: minor formatting improvements

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agovalgrind: remove unused valgrind-remove-rpath.patch
Andre McCurdy [Wed, 20 Jan 2016 03:37:19 +0000 (19:37 -0800)]
valgrind: remove unused valgrind-remove-rpath.patch

Replaced by 0002-remove-rpath.patch during the 3.10 -> 3.11 update.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
9 years agoemptytest: exclude from world builds
Ross Burton [Thu, 21 Jan 2016 17:07:20 +0000 (17:07 +0000)]
emptytest: exclude from world builds

This recipe is for testing purposes and shouldn't be built in world builds, as
it produces errors without being built in the selftest.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobuild-appliance-image: bump version to 14.0.0
Alexander Kanavin [Thu, 21 Jan 2016 15:26:16 +0000 (17:26 +0200)]
build-appliance-image: bump version to 14.0.0

Bumping to 14.0 was incorrect: upstream version tag is 14.0.0.
This change is done solely to improve accuracy of RRS version reporting.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoinsane.bbclass: fix package_qa_walk()
Robert Yang [Wed, 20 Jan 2016 08:34:24 +0000 (00:34 -0800)]
insane.bbclass: fix package_qa_walk()

The parameter "path" would be redefined inside package_qa_walk() which
is useless,  so remove it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoinsane.bbclass: print all the QA messages
Robert Yang [Wed, 20 Jan 2016 08:34:23 +0000 (00:34 -0800)]
insane.bbclass: print all the QA messages

Fixed:
If more than one files have the same QA issue, it only prints the last
one, others are overrided, for example:
messages["host-user-contaminated"] = "foo1"
messages["host-user-contaminated"] = "foo2"
Only foo2 will be printed.

Add package_qa_add_message() to hanlde messages, so that all of them
will be printed. The package_qa_add_message() is from RP.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoweston: upgrade 1.8.0 -> 1.9.0
Denys Dmytriyenko [Wed, 20 Jan 2016 02:49:06 +0000 (21:49 -0500)]
weston: upgrade 1.8.0 -> 1.9.0

* The license was updated from MIT X11 to MIT Expat
* parallelmake.patch was accepted upstream.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowayland: upgrade 1.8.1 -> 1.9.0
Denys Dmytriyenko [Wed, 20 Jan 2016 02:49:05 +0000 (21:49 -0500)]
wayland: upgrade 1.8.1 -> 1.9.0

* The license was updated from MIT X11 to MIT Expat.
* always-build-scanner.patch was accepted upstream.
* disable-macro-checks-not-used-for-scanner.patch is no longer needed with
  the new --disable-libraries flag.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglib-2.0: fix the ptest
Roy Li [Wed, 20 Jan 2016 02:08:16 +0000 (10:08 +0800)]
glib-2.0: fix the ptest

1. the ptest should not be run by root user, otherwise test_stdio_wrappers
will failure since root can enter any dir without exec permission, but the
ptest expect the failure
   1_2.44.1-r0/glib-2.44.1/glib/tests/fileutils.c:864:test_stdio_wrappers: assertion failed: (errno == EACCES)

2. if X11 DISTRO_FEATURE is not enabled, not run gdbus-serialization.test
   #dbus-launch --autolaunch=7df84bc5a72041a581d2f44505e7e882 --binary-syntax --close-stderr
    Autolaunch requested, but X11 support not compiled in

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoinsane.bbclass:buildpaths: ignore ipkg/dpkg's CONTROL dir
Robert Yang [Tue, 19 Jan 2016 08:13:39 +0000 (00:13 -0800)]
insane.bbclass:buildpaths: ignore ipkg/dpkg's CONTROL dir

Fixed race issue when:
WARN_QA_append = " buildpaths"
PACKAGE_CLASSES = "package_ipk"
$ bitbake e2fsprogs

[snip]
 *** 0595:    with open(path) as f:
     0596:        file_content = f.read()
     0597:        if tmpdir in file_content:
     0598:            messages["buildpaths"] = "File %s in package contained reference to tmpdir" % package_qa_clean_path(path,d)
     0599:
Exception: IOError: [Errno 2] No such file or directory: '/path/to/tmp/work/core2-64-poky-linux/e2fsprogs/1.42.9-r0/packages-split/e2fsprogs-ptest/CONTROL/control'

The similar to package_deb.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosstate: display the sysroot name when cleaning for clarity
Ross Burton [Thu, 21 Jan 2016 12:12:23 +0000 (12:12 +0000)]
sstate: display the sysroot name when cleaning for clarity

When cleaning old builds from the sysroots, also print the sysroot architecture.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobitbake: set default libexecdir to $prefix/libexec
Ross Burton [Tue, 30 Apr 2013 19:35:54 +0000 (20:35 +0100)]
bitbake: set default libexecdir to $prefix/libexec

The use of $libdir/$BPN as libexecdir is contrary to all other mainstream
distributions (which either use $prefix/libexec or $libdir), and the GNU Coding
Standards[1] which suggests $prefix/libexec and notes that any package-specific
nesting should be done by the package itself.  Finally, having libexecdir change
between recipes makes it very difficult for different recipes to invoke binaries
that have been installed into libexecdir.  The File System Hierarchy[2] now
recognises the use of $prefix/libexec/, giving distributions the choice of
$prefix/lib or $prefix/libexec without breaking FHS.

Change bitbake.conf to use $prefix/libexec for libexecdir, so that the binaries
are separated from the libraries.  This should avoid complications with multilib
configurations.

[1] https://www.gnu.org/prep/standards/html_node/Directory-Variables.html
[2] http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s07.html

[ YOCTO #6398 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogawk: fix libexecdir/libdir/BPN confusion
Ross Burton [Wed, 20 Jan 2016 20:21:01 +0000 (20:21 +0000)]
gawk: fix libexecdir/libdir/BPN confusion

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomesa: update SRC_URI
Ross Burton [Wed, 20 Jan 2016 14:26:10 +0000 (14:26 +0000)]
mesa: update SRC_URI

Mesa has re-arranged their FTP server, so update the SRC_URI to reflect the new
paths.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoe2fsprogs: set PV to 1.42.99+1.43+git${SRCPV}
Robert Yang [Wed, 20 Jan 2016 02:27:20 +0000 (18:27 -0800)]
e2fsprogs: set PV to 1.42.99+1.43+git${SRCPV}

As Martin and Ross suggested.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agovalgrind: avoid neon for targets which don't support it
Andre McCurdy [Wed, 20 Jan 2016 02:47:51 +0000 (18:47 -0800)]
valgrind: avoid neon for targets which don't support it

The sh-mem-random.c test app tries to use neon loads and stores to
test 64-bit float copies when building for ARM. Allow it to do so if
possible, but fallback to C when building for ARM targets which don't
support neon.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agovalgrind: re-enable ARM intdiv and vcvt_fixed_float_VFP tests
Andre McCurdy [Wed, 20 Jan 2016 02:47:50 +0000 (18:47 -0800)]
valgrind: re-enable ARM intdiv and vcvt_fixed_float_VFP tests

The intdiv test has been partially fixed upstream and the
vcvt_fixed_float_VFP test can be fixed with a similar approach, ie
ensuring that it is always compiled with appropriate
-march/-mcpu/-mfpu flags to support the instructions being tested.

For tests requiring armv7ve instructions, ensure that we set both
-march=armv7ve and -mcpu=cortex-a15 (since some TUNE_CCARGS may set
-march=armv7-a and adding -mcpu=cortex-a15 alone is not enough to
over-ride that).

See similar cases in none/tests/arm/Makefile.am

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agovalgrind: let valgrind determine its own optimisation flags
Andre McCurdy [Wed, 20 Jan 2016 02:47:49 +0000 (18:47 -0800)]
valgrind: let valgrind determine its own optimisation flags

Valgrind likes to control its own optimisation flags. It generally
defaults to -O2 but uses -O0 for some specific test apps etc. Passing
our own flags (via CFLAGS) means we interfere with that.

Giving valgrind control of optimisation is hopefully an even better
solution than the previous one of forcing -O0 for all tests.

  http://git.openembedded.org/openembedded-core/commit/?h=master-next&id=98c4a3ffb8dca10739be600e8d6df7fb6aa4958f

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agometa/files/toolchain-shar-relocate.sh: Detect different python binaries and select...
Liam R. Howlett [Tue, 19 Jan 2016 20:20:17 +0000 (15:20 -0500)]
meta/files/toolchain-shar-relocate.sh: Detect different python binaries and select one that exists.

Although the relocate_sdk.sh supports python3, fc23 does not symlink
/usr/bin/python3 to /usr/bin/python.  Using exec instead of a call to
the correct interpreter causes a failure on fc23 when python2 is not
present.  This uses 'which' to locate python, python2, then python3 and
uses the first one that's found.

Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython-nose: upgrade to 1.3.7
Alejandro Hernandez [Tue, 19 Jan 2016 21:56:28 +0000 (21:56 +0000)]
python-nose: upgrade to 1.3.7

Updates runtime dependencies, python-nose now depends on unittest.

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython-native: Make python-native also RPROVIDE python-unittest-native
Alejandro Hernandez [Wed, 20 Jan 2016 16:49:59 +0000 (16:49 +0000)]
python-native: Make python-native also RPROVIDE python-unittest-native

The python-nose upgrade to 1.3.7 required a new unittest runtime dependency
after this, bitbake cant find a runtime provider for it when trying to build
python-nose-native, this patch makes python-native RPROVIDES python-unittest-native
to fix the issue.

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-libc-headers: update to 4.4
Bruce Ashfield [Wed, 20 Jan 2016 16:31:24 +0000 (11:31 -0500)]
linux-libc-headers: update to 4.4

Updating the lib-headers to match the 4.4 LTSI kernel version.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibpng12: upgrade to 1.2.56
Maxin B. John [Wed, 20 Jan 2016 15:58:50 +0000 (17:58 +0200)]
libpng12: upgrade to 1.2.56

1.2.55 -> 1.2.56

License file updates contain new dates and version. Update checksums
to reflect it.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibpng: upgrade to 1.6.21
Maxin B. John [Wed, 20 Jan 2016 15:58:49 +0000 (17:58 +0200)]
libpng: upgrade to 1.6.21

1.6.20 -> 1.6.21

License file updates contain new dates and versions. Update checksums
to reflect it.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibtirpc: remove redundant va_list patch
Maxin B. John [Wed, 20 Jan 2016 15:58:48 +0000 (17:58 +0200)]
libtirpc: remove redundant va_list patch

Avoid duplicated inclusion of stdarg.h for uclibc builds.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoperl: Upgrade to 5.22.1
Alejandro Hernandez [Wed, 20 Jan 2016 15:56:57 +0000 (15:56 +0000)]
perl: Upgrade to 5.22.1

Rebased:
- Makefile.SH.patch

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/selftest/signing: use temporary rpmdb
Markus Lehtonen [Wed, 20 Jan 2016 13:08:41 +0000 (15:08 +0200)]
oeqa/selftest/signing: use temporary rpmdb

Use temporary rpmdb when importing gpg public key and checking rpm
signature. This patch should fix a problem where test_signing_packages()
sometimes fails with
"pmdb: BDB1540 configured environment flags incompatible with existing
 environment"

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokexec-tools: inherit update-rc.d
Roy Li [Wed, 20 Jan 2016 08:39:30 +0000 (16:39 +0800)]
kexec-tools: inherit update-rc.d

init script kdump is added, so inherit update-rc.d

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoautotools: don't output the full config.log on configure failure
Ross Burton [Tue, 12 Jan 2016 20:45:45 +0000 (20:45 +0000)]
autotools: don't output the full config.log on configure failure

The config.log written by autoconf includes many pages of useless output,
followed by an obfuscated error message, and then more pages of every variable
that's been set.  It's only understandable if you're well versed in how autoconf
behaves, and often in simple failure modes doesn't actually make it clear what
the problem was.

Instead of outputting the whole config.log to the console when do_configure()
fails, use bbfatal_log so the human-readable configure output (not the
config.log) is shown to the user, and tell the user where config.log can be
found if they need it.

[ YOCTO #8856 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobitbake.conf: Remove horrible variable expansion hacks
Richard Purdie [Fri, 22 Jan 2016 12:03:17 +0000 (12:03 +0000)]
bitbake.conf: Remove horrible variable expansion hacks

We used to need these hacks to make things work. Rework the variables to
remove the horrible hacks and make things slightly less ugly. This does
mean PE and PRAUTO are given default empty values but this is preferred
to the other ugliness.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomesa: add missing wayland-native build dependency
Ross Burton [Fri, 22 Jan 2016 14:52:56 +0000 (14:52 +0000)]
mesa: add missing wayland-native build dependency

Mesa needs wayland-scanner, which is provided by wayland-native.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoudev: Add 2 patches to support 4.4 kernel
Saul Wold [Wed, 20 Jan 2016 03:50:37 +0000 (19:50 -0800)]
udev: Add 2 patches to support 4.4 kernel

These 2 patches are needed to build udev with the 4.4 kernel, the first
mtd-probe adds back a stdint.h header that was removed in the kernel's mtd-user.h
header file.

The second adds a check for a new header and sets a Makefile variable
to determine which header to use for the new kernel vs older kernels.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-runtime.inc: provide libquadmath
Ioan-Adrian Ratiu [Tue, 19 Jan 2016 14:46:43 +0000 (16:46 +0200)]
gcc-runtime.inc: provide libquadmath

libgfortran's build fails with "ld: cannot find -lquadmath" unless
libquadmath is added to gcc-runtime's RUNTIMETARGET

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokexec: update supported architecture list
Maxin B. John [Mon, 30 Nov 2015 08:53:57 +0000 (10:53 +0200)]
kexec: update supported architecture list

Now, kexec is supported in mips, aarch64 and most of the machines within
powerpc family. So, remove those architecture specific restrictions.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agostrace: update 4.10 -> 4.11
Andre McCurdy [Mon, 18 Jan 2016 21:33:52 +0000 (13:33 -0800)]
strace: update 4.10 -> 4.11

Noteworthy changes in release 4.11 (2015-12-21)
===============================================

* Changes in behavior
  * Some syscalls have different names depending on architecture and
    personality.  In these cases, syscall filtering and printing now
    consistently uses the names that match corresponding __NR_* kernel
    macros of the tracee's architecture and personality.
  * Added strace prefix to all diagnostic messages.

* Improvements
  * Enhanced and extended test suite.
  * Implemented reliable tracing of processes whose personality differs
    from the personality of strace, fixed decoding of 32-bit personality
    syscalls on 64-bit architectures.
  * When some data referenced by syscall arguments is irrelevant or cannot
    be read from tracee's memory, strace now prints its address consistently.
  * When a syscall is restarted using restart_syscall mechanism, strace now
    shows the syscall name on architectures that expose this information.
  * Print values returned by epoll_create1, eventfd, eventfd2, fanotify_init,
    inotify_init1, perf_event_open, pipe, pipe2, signalfd, signalfd4, socket,
    socketpair, timerfd, and timerfd_create syscalls, as well as F_DUPFD and
    F_DUPFD_CLOEXEC fcntl commands, as file descriptors.
  * Optimized decoding of indirect socket syscalls.
  * Implemented decoding of nanoseconds along with seconds in stat family
    syscalls (addresses Fedora bug #1251176).
  * Implemented decoding of struct statfs.f_flags in statfs syscall.
  * Implemented decoding of siginfo_t.si_syscall and siginfo_t.si_arch
    in SIGSYS signal.
  * Implemented decoding of indirect syscall on mips o32.
  * Implemented decoding of IPPROTO_IP control messages.
  * Implemented decoding of setsockopt syscall multicast arguments.
  * Enhanced decoding of struct sigevent.
  * Enhanced decoding of block, loop, mtd, ptp, rtc, SG_IO, socket, tty,
    and v4l2 ioctl syscall arguments.
  * Enhanced decoding of epoll_create, fcntl, fcntl64, futex, getdents,
    getdents64, getsockopt, io_*, mount, msgctl, prctl, quotactl, recvfrom,
    sendfile, setsockopt, and shmctl syscalls.
  * Implemented decoding of bpf, execveat, ioperm, iopl, kcmp, kexec_file_load,
    lookup_dcookie, membarrier, memfd_create, mlock2, name_to_handle_at,
    open_by_handle_at, sched_getattr, sched_setattr, and userfaultfd syscalls.
  * Updated lists of AF_*, EPOLL_*, FALLOC_FL_*, F_*, INPUT_PROP_*, IPPROTO_*,
    IPV6_*, IP_*, KEY_*, LOCK_*, MNT_*, MS_*, PACKET_*, PERF_FLAG_*, PF_*,
    PR_*, PTRACE_O_*, RENAME_*, SCTP_*, SECBIT_*, SO_*, TCP_*, and siginfo_t
    constants.
  * Added Nios II architecture support.
  * Added new syscall entries to match Linux 4.4.

* Bug fixes
  * Fixed potential short read of strings from tracee's memory.
  * Fixed -qq option in conjunction with -o option.
  * Fixed filtering of <unavailable> syscalls.
  * Fixed decoding of ioctl syscall command on aarch64 and 32-bit architectures
    with 64-bit aligned structures.
  * Fixed decoding of eventfd2, epoll_create1, signalfd4, and sync_file_range2
    syscall flags arguments.
  * Fixed decoding of 4th argument of clock_nanosleep syscall.
  * Fixed decoding of getpagesize syscall on m68k.
  * Fixed decoding of getrandom and seccomp syscalls on aarch64.
  * Fixed decoding of timezone argument of gettimeofday and settimeofday
  * syscalls.
  * Fixed decoding of offset argument of mmap2 syscall on arm, sparc,
    and sparc64.
  * Fixed decoding of pipe syscall on alpha and mips.
  * Fixed decoding of pipe2 syscall on ia64, sh, sparc, and sparc64.
  * Fixed decoding of signal mask argument of pselect6 syscall on x32.
  * Fixed decoding of signal mask of rt_sigreturn syscall on aarch64, m68k,
    and x32.
  * Fixed decoding of 4th argument of semctl indirect syscall.
  * Fixed decoding of sa_restorer and sa_mask of sigaction syscall on m68k.
  * Fixed decoding of statfs64 and fstatfs64 syscalls on arm eabi.
  * Fixed decoding of struct dirent on x32.
  * Fixed decoding of times syscall return value on mips n32 and x32.
  * Fixed decoding of path argument of umount2 syscall
    (addresses Debian bug #785050).
  * Worked around a kernel bug in tracing privileged executables.
  * Fixed various errors in mapping between syscall numbers and associated
    information like the number of syscall arguments, the name of syscall,
    and syscall decoder.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agostrace: fix ARCH definition in tests/Makefile
Andre McCurdy [Mon, 18 Jan 2016 21:33:51 +0000 (13:33 -0800)]
strace: fix ARCH definition in tests/Makefile

TARGET_ARCH doesn't map to strace's ARCH variable, so we can't assign
one from the other. Forcing the incorrect value via the make command
line doesn't cause any problems with strace v4.10, but it will do for
strace v4.11.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agostrace: remove need for git-version-gen script
Andre McCurdy [Mon, 18 Jan 2016 21:33:50 +0000 (13:33 -0800)]
strace: remove need for git-version-gen script

The git-version-gen isn't really needed in order to determine the
version of tarball releases, so avoid the need to provide our own
copy.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agostrace: fix --disable-aio configure option
Andre McCurdy [Mon, 18 Jan 2016 21:33:49 +0000 (13:33 -0800)]
strace: fix --disable-aio configure option

Remove the original unconditional check for libaio.h,
since it's included in the newly added conditional check.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>