]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agowebkitgtk: disable audio and video support
Alexander Kanavin [Mon, 18 May 2015 13:58:39 +0000 (16:58 +0300)]
webkitgtk: disable audio and video support

This allows removal of gstreamer 0.10 dependency from webkit recipe

https://bugzilla.yoctoproject.org/show_bug.cgi?id=6294

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqt4: disable Phonon framework
Alexander Kanavin [Mon, 18 May 2015 13:58:38 +0000 (16:58 +0300)]
qt4: disable Phonon framework

This allows removal of gstreamer 0.10 dependency from Qt4 recipe

https://bugzilla.yoctoproject.org/show_bug.cgi?id=6294
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqt4: remove Qt Mobility
Alexander Kanavin [Mon, 18 May 2015 13:58:37 +0000 (16:58 +0300)]
qt4: remove Qt Mobility

Qt Mobility is an obsolete and unmaintained framework that is also
dependent on gstreamer 0.10

https://bugzilla.yoctoproject.org/show_bug.cgi?id=6294

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclutter-gst: update to latest upstream version 3.0.4
Alexander Kanavin [Mon, 18 May 2015 13:58:36 +0000 (16:58 +0300)]
clutter-gst: update to latest upstream version 3.0.4

This also makes it GStreamer 1.0 compatible

https://bugzilla.yoctoproject.org/show_bug.cgi?id=6294

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-gst: remove obsolete Python gstreamer 0.10 bindings
Alexander Kanavin [Mon, 18 May 2015 13:58:35 +0000 (16:58 +0300)]
python-gst: remove obsolete Python gstreamer 0.10 bindings

GStreamer 1.0 python bindings are gobject-introspection based,
so until that is fixed, they will not be available.

https://bugzilla.yoctoproject.org/show_bug.cgi?id=6294

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoicu-native: fix hard paths in native icu
André Draszik [Mon, 18 May 2015 08:06:01 +0000 (09:06 +0100)]
icu-native: fix hard paths in native icu

The icu recipe installs icu-native twice, once in the usual location,
and once for cross builds into the path given by --with-cross-build.

This latter path is not included in the list of paths recognised by
chrpath.bbclass, hence the binaries in there retain the rpath as used
during compilation. This causes the package to not be relocateable
from sstate
[YOCTO #6851]

We use the infrastructure that is in place already, and simply set
PREPROCESS_RELOCATE_DIRS as necessary, and things start to work.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxkeyboard-config: remove GPLv3 files
Ross Burton [Mon, 18 May 2015 11:59:36 +0000 (12:59 +0100)]
xkeyboard-config: remove GPLv3 files

xkeyboard-config is intended to be MIT licensed, so backport a patch from
upstream to relicense one file and temporarily delete another.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxx86vm: upgrade to 1.1.4
Ross Burton [Mon, 18 May 2015 16:45:31 +0000 (17:45 +0100)]
libxx86vm: upgrade to 1.1.4

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxvmc: upgrade to 1.0.9
Ross Burton [Mon, 18 May 2015 16:45:30 +0000 (17:45 +0100)]
libxvmc: upgrade to 1.0.9

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxt: upgrade to 1.1.5
Ross Burton [Mon, 18 May 2015 16:45:29 +0000 (17:45 +0100)]
libxt: upgrade to 1.1.5

Remove the custom compile logic as upstream now detects cross-compilation and
uses CC_FOR_BUILD.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxshmfence: upgrade to 1.2
Ross Burton [Mon, 18 May 2015 16:45:28 +0000 (17:45 +0100)]
libxshmfence: upgrade to 1.2

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxrender: upgrade to 0.9.9
Ross Burton [Mon, 18 May 2015 16:45:27 +0000 (17:45 +0100)]
libxrender: upgrade to 0.9.9

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxrandr: upgrade to 1.5.0
Ross Burton [Mon, 18 May 2015 16:45:26 +0000 (17:45 +0100)]
libxrandr: upgrade to 1.5.0

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorandrproto: upgrade to 1.5.0
Ross Burton [Mon, 18 May 2015 16:45:25 +0000 (17:45 +0100)]
randrproto: upgrade to 1.5.0

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxkbfile: upgrade to 1.0.9
Ross Burton [Mon, 18 May 2015 16:45:24 +0000 (17:45 +0100)]
libxkbfile: upgrade to 1.0.9

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxfont: upgrade to 1.5.1
Ross Burton [Mon, 18 May 2015 16:45:23 +0000 (17:45 +0100)]
libxfont: upgrade to 1.5.1

Remove the backported patches as they're integrated in this release.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxdmcp: upgrade to 1.1.2
Ross Burton [Mon, 18 May 2015 16:45:22 +0000 (17:45 +0100)]
libxdmcp: upgrade to 1.1.2

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibx11: upgrade to 1.6.3
Ross Burton [Mon, 18 May 2015 16:45:21 +0000 (17:45 +0100)]
libx11: upgrade to 1.6.3

Drop backported patch always-use-XCOMM patch.
Refresh Add-missing-NULL-check.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibfontenc: upgrade to 1.1.3
Ross Burton [Mon, 18 May 2015 16:45:20 +0000 (17:45 +0100)]
libfontenc: upgrade to 1.1.3

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agofont-util: upgrade to 1.3.1
Ross Burton [Mon, 18 May 2015 16:45:19 +0000 (17:45 +0100)]
font-util: upgrade to 1.3.1

License checksums updated as the Unicode license was modified (wording only).

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopcmciautils: fix the parallel building issue
Roy Li [Tue, 19 May 2015 08:38:11 +0000 (16:38 +0800)]
pcmciautils: fix the parallel building issue

The building failure still display after upstream commit 055a5bbfc[
pcmciautils: fix for parallel build], so refix it.

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: update-recipe: add option to write changes to bbappend
Paul Eggleton [Mon, 18 May 2015 15:15:08 +0000 (16:15 +0100)]
devtool: update-recipe: add option to write changes to bbappend

Quite often what you want to do having made customisations to a piece of
software is to apply those customisations in your own layer rather than
in the original recipe. Thus, add a -a/--append option to the
update-recipe subcommand which allows you to specify the layer to write
a bbappend into. The bbappend will be created at the appropriate path
within the specified layer directory (which may or may not be in your
bblayers.conf) or if one already exists it will be updated
appropriately.

(This re-uses code written for recipetool appendfile.)

Implements [YOCTO #7587].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: add appendfile subcommand
Paul Eggleton [Mon, 18 May 2015 15:15:07 +0000 (16:15 +0100)]
recipetool: add appendfile subcommand

Locating which recipe provides a file in an image that you want to
modify and then figuring out how to bbappend the recipe in order to
replace it can be a tedious process. Thus, add a new appendfile
subcommand to recipetool, providing the ability to create a bbappend
file to add/replace any file in the target system. Without the -r
option, it will search for the recipe packaging the specified file
(using pkgdata from previously built recipes). The bbappend will be
created at the appropriate path within the specified layer directory
(which may or may not be in your bblayers.conf) or if one already exists
it will be updated appropriately.

Fairly extensive oe-selftest tests are also provided.

Implements [YOCTO #6447].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-selftest: move recipetool tests to their own module
Paul Eggleton [Mon, 18 May 2015 15:15:06 +0000 (16:15 +0100)]
oe-selftest: move recipetool tests to their own module

These tests really belong in their own module; if we refactor
out a base class from DevtoolTests with shared functions then we can
move them out easily. Also create temp directory in setupLocal() so we
don't have to do that in individual tests anymore.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolib/oe/patch: use with open() for all file operations
Paul Eggleton [Mon, 18 May 2015 15:15:05 +0000 (16:15 +0100)]
lib/oe/patch: use with open() for all file operations

with open(...)... is preferred for reading/writing files as it is neater
and takes care of closing the file for you.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool / recipetool: ensure bb.note() gets printed
Paul Eggleton [Mon, 18 May 2015 15:15:04 +0000 (16:15 +0100)]
devtool / recipetool: ensure bb.note() gets printed

Most of the time when bb.note() gets called we want to see the output,
so ensure the level is set appropriately depending on the command line
options instead of being fixed at warning. (We don't want to see the
notes for fetch/unpack/patch though as they are too verbose).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomsmtp: Upgrade to 1.6.2
Saul Wold [Mon, 18 May 2015 23:28:39 +0000 (16:28 -0700)]
msmtp: Upgrade to 1.6.2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoliburcu: Upgrade to 0.8.7
Saul Wold [Mon, 18 May 2015 23:28:40 +0000 (16:28 -0700)]
liburcu: Upgrade to 0.8.7

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibinitscripts: Upgrade to 9.63
Saul Wold [Mon, 18 May 2015 23:28:38 +0000 (16:28 -0700)]
libinitscripts: Upgrade to 9.63

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibidn: Upgrade to 1.30
Saul Wold [Mon, 18 May 2015 23:28:36 +0000 (16:28 -0700)]
libidn: Upgrade to 1.30

LIC_CHKSUM updated because year was changed in those associated files.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibksba: Upgrade to 1.3.3
Saul Wold [Mon, 18 May 2015 23:28:37 +0000 (16:28 -0700)]
libksba: Upgrade to 1.3.3

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoglibc: CVE-2015-1781: resolv/nss_dns/dns-host.c buffer overflow
Haris Okanovic [Fri, 15 May 2015 21:57:11 +0000 (16:57 -0500)]
glibc: CVE-2015-1781: resolv/nss_dns/dns-host.c buffer overflow

Backport Arjun Shankar's patch for CVE-2015-1781:

A buffer overflow flaw was found in the way glibc's gethostbyname_r() and
other related functions computed the size of a buffer when passed a
misaligned buffer as input. An attacker able to make an application call
any of these functions with a misaligned buffer could use this flaw to
crash the application or, potentially, execute arbitrary code with the
permissions of the user running the application.

https://sourceware.org/bugzilla/show_bug.cgi?id=18287

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Reviewed-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoREADME: add "Contributing" section
Mario Domenech Goulart [Wed, 13 May 2015 14:21:46 +0000 (11:21 -0300)]
README: add "Contributing" section

Tips on how to submit patches and links to source code and mailing
list.

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: remove intermediate partitions
Alexandre Belloni [Fri, 8 May 2015 19:17:14 +0000 (21:17 +0200)]
wic: remove intermediate partitions

Remove intermediate partitions that may have been created by a previous
wic invocation. Those partitions are causing issues on some systems. In
particular vfat partition creation is hanging on mcopy execution on
Fedora.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouseradd.bbclass: Remove base-passwd dependency
Leonardo Sandoval [Thu, 14 May 2015 07:03:34 +0000 (07:03 +0000)]
useradd.bbclass: Remove base-passwd dependency

shadow-sysroot (another useradd dependency) recipe already includes
base-passwd dependency, so removing it from useradd class.

This fixes the compilation issue observed when a recipe depends
on another where the latter inherits from useradd as in the
following scenario:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=7724#c0

[Yocto #7724]

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: if workspace layer exists, still ensure it's in bblayers.conf
Paul Eggleton [Fri, 8 May 2015 14:26:04 +0000 (15:26 +0100)]
devtool: if workspace layer exists, still ensure it's in bblayers.conf

When we run devtool, if the workspace layer already exists but isn't in
bblayers.conf (perhaps because it was previously created but
subsequently removed from bblayers.conf by the user) then we should add
it and notify the user, otherwise devtool operations won't work.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agodevtool: deploy-target: use tinfoil instead of bitbake -e
Paul Eggleton [Thu, 14 May 2015 10:47:35 +0000 (11:47 +0100)]
devtool: deploy-target: use tinfoil instead of bitbake -e

Using tinfoil here is quicker and tidier than shelling out to
bitbake -e and interpreting its output.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agolib/oe/recipeutils: add a parse_recipe_simple() function
Paul Eggleton [Thu, 14 May 2015 10:44:59 +0000 (11:44 +0100)]
lib/oe/recipeutils: add a parse_recipe_simple() function

Add a function that simply parses a recipe by name and optionally the
bbappends that apply to it. (Note that if you're using tinfoil you need
to have initialised it with config_only=False so that it can map the
recipe name to a recipe file.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agodevtool: fix build env command execution error handling
Paul Eggleton [Thu, 14 May 2015 09:18:18 +0000 (10:18 +0100)]
devtool: fix build env command execution error handling

If we execute an external command, we ought to prepare for the
possibility that it can fail and handle the failure appropriately. We
can especially expect this to happen when running bitbake in this
scenario. Ensure we return the appropriate exit code to the calling
process.

Fixes [YOCTO #7757].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 years agodevtool: deploy plugin: fix bad indentation
Markus Lehtonen [Mon, 11 May 2015 13:17:07 +0000 (16:17 +0300)]
devtool: deploy plugin: fix bad indentation

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agodevtool: add missing docstrings
Markus Lehtonen [Mon, 11 May 2015 13:17:01 +0000 (16:17 +0300)]
devtool: add missing docstrings

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agodevtool: rename unused variables
Markus Lehtonen [Mon, 11 May 2015 13:17:03 +0000 (16:17 +0300)]
devtool: rename unused variables

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agodevtool: remove unused imports / re-imports
Markus Lehtonen [Mon, 11 May 2015 13:17:02 +0000 (16:17 +0300)]
devtool: remove unused imports / re-imports

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agodevtool: extract: remove patches when S=WORKDIR
Markus Lehtonen [Thu, 30 Apr 2015 09:16:07 +0000 (12:16 +0300)]
devtool: extract: remove patches when S=WORKDIR

Before this change, all files from the recipe (SRC_URI), including
patches, were added to to srctree repository when S==WORKDIR. The patch
files are useless as they are automatically applied on top of the
srctree by devtool.

This change causes devtool extract to not commit these unnecessary (and
possibly confusing) patch file(s) into srctree repository.

[YOCTO #7602]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agogstreamer1.0-plugins-bad: Move EGL requirement for Wayland
Otavio Salvador [Mon, 11 May 2015 11:26:47 +0000 (08:26 -0300)]
gstreamer1.0-plugins-bad: Move EGL requirement for Wayland

The EGL is used by the Wayland backend. When building using Software
Rendering and without Wayland support the EGL backend is not available
so we should not require EGL for GLES2 support.

This fixes following build error:

,----
| ...
| checking for bcm_host_init in -lbcm_host... no
| checking for WAYLAND_EGL... no
| configure: error: Could not find the required EGL libraries
| Configure failed. The contents of all config.log files follows to aid debugging
| ERROR: oe_runconf failed
`----

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxserver-xorg: add PACKAGECONFIG for wayland and add xserver-xorg-xwayland
Robert Yang [Mon, 11 May 2015 07:12:01 +0000 (00:12 -0700)]
xserver-xorg: add PACKAGECONFIG for wayland and add xserver-xorg-xwayland

Fixed do_compile error:
hw/xwayland/xwayland.h:36:28: fatal error: wayland-client.h: No such file or directory
 #include <wayland-client.h>
                            ^
compilation terminated.

Conditionally add xserver-xorg-xwayland pkg which contains
/usr/bin/Xwayland.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agonative.bbclass: avoid unintended substring replacement when setting PROVIDES
Mario Domenech Goulart [Tue, 12 May 2015 14:03:40 +0000 (11:03 -0300)]
native.bbclass: avoid unintended substring replacement when setting PROVIDES

The way native_virtclass_handler was implemented leaded to
unintended substring replacements when setting PROVIDES for
native providers, in case the original PROVIDES value contains
providees with common substrings.

Here's a practical case where the old behavior was problematic:
the oracle-jse-jdk-x86-64 recipe provides both virtual/java and
virtual/javac:

Before:

$ bitbake -e oracle-jse-jdk-x86-64-native | grep ^PROVIDES=
PROVIDES="oracle-jse-jdk-x86-64-native  virtual/java-native virtual/java-nativec"

After:

$ bitbake -e oracle-jse-jdk-x86-64-native | grep ^PROVIDES=
PROVIDES="oracle-jse-jdk-x86-64-native virtual/java-native virtual/javac-native"

Change-Id: I8186992dae58e37c2a2364586360ff9b7da9198f
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolttng-modules: Update to stable version 2.6.1
Saul Wold [Tue, 12 May 2015 19:02:46 +0000 (12:02 -0700)]
lttng-modules: Update to stable version 2.6.1

This fixes a build issue with the 3.19.5 kernel where the regmap prototypes
have changed. The patch is rebased do to changes in the new version of the
Makefile.

[YOCTO #7737]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoRevert "libsdl: depends on libglu when x11"
Ross Burton [Fri, 15 May 2015 19:52:10 +0000 (20:52 +0100)]
Revert "libsdl: depends on libglu when x11"

This patch was incorrect, GLU depends on GLX (and so X) but you can build SDL
with X11 and without GL.

This reverts commit f744f0b18c22daf8bdab837ba8096760b1ce00b8.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocairo: make xlib and libxcb dependencies explicit
Joshua Lock [Fri, 15 May 2015 13:37:12 +0000 (14:37 +0100)]
cairo: make xlib and libxcb dependencies explicit

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobase-files: Remove /proc/bus/usb from fstab.
Andreas Oberritter [Fri, 15 May 2015 16:03:42 +0000 (18:03 +0200)]
base-files: Remove /proc/bus/usb from fstab.

The usb filesystem was removed in Linux 3.5.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoautomake: simplify perl location forcing logic
Ross Burton [Fri, 15 May 2015 16:42:09 +0000 (17:42 +0100)]
automake: simplify perl location forcing logic

Instead of letting configure find the host's perl and then use a complicated sed
to replace it at install time, simply pre-seed the configure logic with the path
we want to use.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoautoconf: simplify perl location forcing logic
Ross Burton [Fri, 15 May 2015 16:42:08 +0000 (17:42 +0100)]
autoconf: simplify perl location forcing logic

Instead of letting configure find the host's perl and then use a complicated sed
to replace it at install time, simply pre-seed the configure logic with the path
we want to use.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoboost: properly fix do_boostconfig re-execution
Martin Jansa [Thu, 14 May 2015 11:41:26 +0000 (13:41 +0200)]
boost: properly fix do_boostconfig re-execution

* it was partially fixed in:
  commit 291e20a51544c640d07767d1dc32d762f4370f41
  Author: Venkata ramana gollamudi <ramana.gollamudi@huawei.com>
  Date:   Fri Apr 13 11:42:46 2012 +0000
  Subject: boost: fix re-execution of task

  but with disadvantage that when CXX or *FLAGS variables were changed
  it was continuing to use old values
* just remove the line before appending it with current values to fix
  that

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython3: Upgrade from 3.4.2 to 3.4.3
Alejandro Hernandez [Tue, 12 May 2015 15:09:50 +0000 (15:09 +0000)]
python3: Upgrade from 3.4.2 to 3.4.3

Modifies:
python3-native_3.4.2.bb -> python3-native_3.4.3.bb: Updates checksums, LICENSE did not change,
dates were updated.
python3_3.4.2.bb -> python3_3.4.3.bb: Updates checksums, LICENSE did not change,
dates were updated.
generate-manifest-3.4.py: fixes asyncio and net-tools.
python-3.4-manifest.inc: fixes asyncio and net-tools.
This upgrade contains a fix for CVE-2014-9365.

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosstate: Improve HASHCHECK function to make siginfo configurable
Richard Purdie [Thu, 14 May 2015 09:32:24 +0000 (10:32 +0100)]
sstate: Improve HASHCHECK function to make siginfo configurable

In some cases we want to test the availability of siginfo files, in some
cases we do not and really want the .tgz files (which may or may
not be present too). This makes adds a parameter to the function to allow
this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel/rm_work: Improve interaction
Richard Purdie [Thu, 14 May 2015 09:31:51 +0000 (10:31 +0100)]
kernel/rm_work: Improve interaction

The do_shared_workdir task does leave behind the necessary information in
shared-work after it completes. We don't make this a "full" sstate task
however since that means tarring up and copying what is usually a large
amount of data which would be better extracted straight from the original
SCM.

The issue with rm_work occurs since it removes the do_shared_workdir stamp
meaning subsequent builds will add it back if they need to touch any kernel
modules for example. This ends up triggering a near enough complete kernerl
rebuild since if configure reruns, populate_sysroot has to rerun.

This change promotes the task to have a "setscene" variant but it doesn't use
any of the sstate class lifting to generate the sstate file. The sstate function
will therefore never get called since the sstate object will never exist.

We can add the task to the list of tasks rm_work promotes to a setscene variant
and unwanted rebuilds of the kernel should be avoided.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobase: Avoid find race
Richard Purdie [Thu, 14 May 2015 14:20:30 +0000 (15:20 +0100)]
base: Avoid find race

In a similar way to http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=aa1438b56f30515f9c31b306decef7f562dda81f
and http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=527b28c10955daf0387597020d69593ce24bcaa4
there is a find race in base.bbclass.

For recipes with PACKAGES_remove = "${PN}", the find which removes
.la files can race against deletion of other directories in WORKDIR
e.g.:

find: '/home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0-r7/sstate-build-populate_lic': No such file or directory
| WARNING: /home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0-r7/temp/run.do_configure.6558:1 exit 1 from
| find /home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0-r7 -name \*.la -delete

Fix the race in the same way.

[YOCTO #7522]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoglibc: Fix x32 make race
Richard Purdie [Wed, 13 May 2015 08:08:09 +0000 (09:08 +0100)]
glibc: Fix x32 make race

On x32 builds, sysd-syscalls appears malformed since the make-target-directory
appears on the wrong line. This causes races during the build process where you can
see failures like:

Assembler messages:
Fatal error: can't create [...]glibc/2.21-r0/build-x86_64-poky-linux-gnux32/time/gettimeofday.os: No such file or directory
Assembler messages:
Fatal error: can't create [...]glibc/2.21-r0/build-x86_64-poky-linux-gnux32/time/time.os: No such file or directory

The issue is that the carriage return is being escaped when it should
not be. The change to sysd-syscalls with this change:

before:

"""
$(foreach p,$(sysd-rules-targets),$(objpfx)$(patsubst %,$p,time).os): \
                $(..)sysdeps/unix/make-syscalls.sh      $(make-target-directory)
        (echo '#include <dl-vdso.h>';
"""

after:

"""
$(foreach p,$(sysd-rules-targets),$(objpfx)$(patsubst %,$p,time).os): \
                $(..)sysdeps/unix/make-syscalls.sh
        $(make-target-directory)
        (echo '#include <dl-vdso.h>';
"""

which ensures the target directory is correctly created. Only x32 uses the vdso
code which contains the bug which is why the error only really appears on x32.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/utils: Fixed a problem with get_bb_var not returning right variable.
Lucian Musat [Tue, 12 May 2015 15:00:06 +0000 (18:00 +0300)]
oeqa/utils: Fixed a problem with get_bb_var not returning right variable.

It searches using regex now and should be more accurate.

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibevent: add ptest
Dmitry Eremin-Solenikov [Mon, 11 May 2015 19:52:29 +0000 (22:52 +0300)]
libevent: add ptest

Use provided regression testing as a ptest for libevent package.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: removing workaround odering journal after remote-fs.target
Bruno Bottazzini [Mon, 11 May 2015 18:02:50 +0000 (15:02 -0300)]
systemd: removing workaround odering journal after remote-fs.target

This workaround is not needed in version 219 since the fix is upstreamed with:
919699ec301ea507edce4a619141ed22e789ac0d

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoalsa-tools: set CLEANBROKEN
Robert Yang [Mon, 11 May 2015 08:44:03 +0000 (01:44 -0700)]
alsa-tools: set CLEANBROKEN

Fixed:
make[1]: Entering directory `alsa-tools-1.0.28/envy24control'
make[1]: *** No rule to make target `clean'.  Stop.

There is no "make clean" in envy24control when DISTRO_FEATURES is
changed from no-x11 to x11.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd.bbclass: drop has_exactly_one_service setting
Dmitry Eremin-Solenikov [Mon, 11 May 2015 19:51:35 +0000 (22:51 +0300)]
systemd.bbclass: drop has_exactly_one_service setting

The has_exactly_one_service variable was used in now deleted code. Drop
this part to make code cleaner.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agostrace: add PACKAGECONFIG for bluez
Robert Yang [Mon, 11 May 2015 07:46:56 +0000 (00:46 -0700)]
strace: add PACKAGECONFIG for bluez

Fixed:
net.c:65:34: fatal error: bluetooth/bluetooth.h: No such file or directory
 # include <bluetooth/bluetooth.h>
                                  ^
compilation terminated.

And use "??=" rather than "?=" for PACKAGECONFIG.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agosocat: fix for parallel build
Robert Yang [Mon, 4 May 2015 08:02:24 +0000 (01:02 -0700)]
socat: fix for parallel build

Fixed:
vsnprintf_r.o: file not recognized: File truncated
collect2: error: ld returned 3 exit status
Makefile:122: recipe for target 'filan' failed

Let filan depend on vsnprintf_r.o and snprinterr.o to fix the issue.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoghostscript: 9.15 -> 9.16
Robert Yang [Mon, 4 May 2015 15:32:35 +0000 (08:32 -0700)]
ghostscript: 9.15 -> 9.16

* Update LICENSE's md5sum, the new version added a "of" in the file, the
  license is the same.
* Remove ghostscript-9.02-parallel-make.patch, it has 932 lines and
  modified 24 files, which is hard to maintain, and it can't be applied
  since the code has changed, and if we meet parallel issues again, we
  need fix it in other ways.
* Fix a build error of -Werror=return-type.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoapr: 1.5.1 -> 1.5.2
Robert Yang [Mon, 4 May 2015 14:26:51 +0000 (07:26 -0700)]
apr: 1.5.1 -> 1.5.2

Updated upgrade-and-fix-1.5.1.patch.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agolibpcre: 8.36 -> 8.37
Robert Yang [Mon, 4 May 2015 14:31:32 +0000 (07:31 -0700)]
libpcre: 8.36 -> 8.37

The LICENSE's md5sum has changed mainly because the new version added
this line:
The data in the testdata directory is not copyrighted and is in the
public domain.

The license is the same, so just update the md5sum.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agocoreutils_6.9.bb: Fix LSB NG Cases.
Li xin [Tue, 12 May 2015 02:09:13 +0000 (10:09 +0800)]
coreutils_6.9.bb: Fix LSB NG Cases.

-/tset/LI18NUX2K.L1/utils/sort/T.sort #1/3/17/19/33/35
-/tset/LI18NUX2K.L1/utils/comm/T.comm #1/2

The LSB test require comm can handle multibyte characters and
sort can interpret blank and alphanumeric character according
to the current locale and so on.

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobind: separate B and S
Robert Yang [Tue, 12 May 2015 02:13:53 +0000 (19:13 -0700)]
bind: separate B and S

Fix B != S and separate them.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxf86-video-cirrus: Upgrade 1.5.2 -> 1.5.3
Jussi Kukkonen [Thu, 7 May 2015 10:33:01 +0000 (13:33 +0300)]
xf86-video-cirrus: Upgrade 1.5.2 -> 1.5.3

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
9 years agopackagegroup-core-qt: add x11 to REQUIRED_DISTRO_FEATURES
Robert Yang [Mon, 11 May 2015 06:08:43 +0000 (23:08 -0700)]
packagegroup-core-qt: add x11 to REQUIRED_DISTRO_FEATURES

It can't be built withou x11 in DISTRO_FEATURES.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoat-spi2-atk: add x11 to REQUIRED_DISTRO_FEATURES
Robert Yang [Mon, 11 May 2015 02:30:03 +0000 (19:30 -0700)]
at-spi2-atk: add x11 to REQUIRED_DISTRO_FEATURES

It can't be built withou x11 in DISTRO_FEATURES.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agorecipes-sato: add x11 to REQUIRED_DISTRO_FEATURES
Robert Yang [Mon, 11 May 2015 02:30:03 +0000 (19:30 -0700)]
recipes-sato: add x11 to REQUIRED_DISTRO_FEATURES

They can't be built withou x11 in DISTRO_FEATURES.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agogst-plugins-gl: add x11 to REQUIRED_DISTRO_FEATURES
Robert Yang [Mon, 11 May 2015 02:30:03 +0000 (19:30 -0700)]
gst-plugins-gl: add x11 to REQUIRED_DISTRO_FEATURES

It can't be built withou x11 in DISTRO_FEATURES.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agorecipes-graphics: add x11 to REQUIRED_DISTRO_FEATURES
Robert Yang [Mon, 11 May 2015 02:30:03 +0000 (19:30 -0700)]
recipes-graphics: add x11 to REQUIRED_DISTRO_FEATURES

They can't be built withou x11 in DISTRO_FEATURES.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agorecipes-extended: add x11 to REQUIRED_DISTRO_FEATURES
Robert Yang [Mon, 11 May 2015 02:30:03 +0000 (19:30 -0700)]
recipes-extended: add x11 to REQUIRED_DISTRO_FEATURES

They can't be built withou x11 in DISTRO_FEATURES.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agolibowl/settings-daemon/libnotify: add x11 to REQUIRED_DISTRO_FEATURES
Robert Yang [Mon, 11 May 2015 02:17:07 +0000 (19:17 -0700)]
libowl/settings-daemon/libnotify: add x11 to REQUIRED_DISTRO_FEATURES

The libowl, settings-daemon and libnotify requires gdk/gdkx.h which is
provided by gtk when x11 in DISTRO_FEATURES, so add x11 to
REQUIRED_DISTRO_FEATURES.

The leafpad, settings-daemon and oh-puzzles requires
libowl or settings-daemon, so add xx to REQUIRED_DISTRO_FEATURES for
them too.

The leafpad can't be built without libowl, so depends in directly rather
than use DEPENDS_append_poky.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agolibsdl: depends on libglu when x11
Robert Yang [Fri, 8 May 2015 02:47:14 +0000 (19:47 -0700)]
libsdl: depends on libglu when x11

Let it depend on libglu when x11 rather than opengl, since libglu can't
be built without x11.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agolibglu: add x11 to REQUIRED_DISTRO_FEATURES
Robert Yang [Fri, 8 May 2015 02:44:40 +0000 (19:44 -0700)]
libglu: add x11 to REQUIRED_DISTRO_FEATURES

It requires libGL.so which is provided by mesa when x11 in
DISTRO_FEATURES.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agomesa-demos: only enable glu when x11 in DISTRO_FEATURES
Robert Yang [Wed, 6 May 2015 09:17:08 +0000 (02:17 -0700)]
mesa-demos: only enable glu when x11 in DISTRO_FEATURES

Fixed when no x11 in DISTRO_FEATURES:
checking for GL/glu.h... no
configure: error: GLU not found

The GL/glu.h is provided by libglu, and libglu requires libGL.so which
is provided by mesa, but mesa doesn't build out libGL.so without x11 in
DISTRO_FEATURES, so only enable glu when x11 in DISTRO_FEATURES.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agomesa: fix do_install_append
Robert Yang [Wed, 6 May 2015 07:08:35 +0000 (00:08 -0700)]
mesa: fix do_install_append

"ifdef MESA_EGL_NO_X11_HEADERS" -> "if defined(MESA_EGL_NO_X11_HEADERS)"

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agolibxml2: fix python path and add libxml2-python
Robert Yang [Tue, 9 Sep 2014 03:24:38 +0000 (20:24 -0700)]
libxml2: fix python path and add libxml2-python

We have libxml2-python for native and nativesdk, but don't have it for
target, and can't find the reason from the git log, libxml2-python is
widely used, after looked into it's configure.in, we can add it
by PACKAGECONFIG.

The previous --with-python=${STAGING_BINDIR}/python is incorrect, it
acted as work becase it's conigure can check automatically, python is in
${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}, as known as
${PYTHON}.

Add python to PACKAGECONFIG, since createrepo rdepends on
libxml2-python, otherwise the target createrepo can't work.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoncurses: inherit pkgconfig
Christophe Guillon [Wed, 6 May 2015 13:32:22 +0000 (14:32 +0100)]
ncurses: inherit pkgconfig

Without pkgconfig being present at build time it's possible for the .pc files to
not be installed correctly.

Signed-off-by: Christophe Guillon <christophe.guillon@st.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqt4-x11-free: make virtual/libgl dependency conditional
Dmitry Eremin-Solenikov [Fri, 24 Apr 2015 20:02:21 +0000 (23:02 +0300)]
qt4-x11-free: make virtual/libgl dependency conditional

Make qt4-x11-free depend on virtual/libgl only if the DISTRO_FEATURES
contains opengl. Otherwise there will be no package to fullfil this
dependency.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosanity.bbclass: Increased verbosity for connectivity check
Mariano Lopez [Tue, 28 Apr 2015 11:27:25 +0000 (12:27 +0100)]
sanity.bbclass: Increased verbosity for connectivity check

The connectivity sanity error doesn't tell you which URL failed to fetch nor how
it failed.

This provides the URL that failed and why it failed using BBFetchException
messages during the connectivity check.

[YOCTO #7592]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agounzip: Security Advisory -CVE-2014-9636 and CVE-2015-1315
Roy Li [Wed, 29 Apr 2015 00:53:35 +0000 (08:53 +0800)]
unzip: Security Advisory -CVE-2014-9636 and CVE-2015-1315

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-9636

unzip 6.0 allows remote attackers to cause a denial of service
(out-of-bounds read or write and crash) via an extra field with
an uncompressed size smaller than the compressed field size in a
zip archive that advertises STORED method compression.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-1315

Buffer overflow in the charset_to_intern function in unix/unix.c in
Info-Zip UnZip 6.10b allows remote attackers to execute arbitrary code
via a crafted string, as demonstrated by converting a string from CP866
to UTF-8.

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokernelshark: fix for rebuild
Robert Yang [Thu, 14 May 2015 08:12:11 +0000 (01:12 -0700)]
kernelshark: fix for rebuild

Fixed when rebuild:
| NOTE: make prefix=/usr bindir_relative=bin libdir=lib NO_PYTHON=1 gui clean
| make: *** No rule to make target `sysroots/x86_64-linux/usr/lib/i586-poky-linux/gcc/i586-poky-linux/4.9.2/include/stddef.h', needed by `event-parse.o'.  Stop.
| ERROR: oe_runmake failed

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-5: fix installed-vs-shipped
Robert Yang [Thu, 14 May 2015 08:11:04 +0000 (01:11 -0700)]
gcc-5: fix installed-vs-shipped

gcc-5.1.0: gcc: Files/directories were installed but not shipped in any package:
  /usr/bin/i586-poky-linux-gcov-tool

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomodule/module-base/lttng-modules: Improve kernel module dependencies
Richard Purdie [Thu, 14 May 2015 09:31:05 +0000 (10:31 +0100)]
module/module-base/lttng-modules: Improve kernel module dependencies

If we have DEPENDS = "virtual/kernel" is means that the kernel module
depends on the kernel's do_populate_sysroot task. This is not entirely
desireable since that depends on do_install which depends on
do_compile_kernelmodules and so on. In a situation where rm_work in involved
this can cause some pretty length build cycles after the kernel workdir
has been cleaned up by rm_work.

As well as removing this, take the opportunity to clean up duplicated
dependency lines, tweak the dependency of make_scripts for the same
reason and generally try and make things more readable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopenssl/orc: virtclass-native -> class-native
Robert Yang [Tue, 12 May 2015 08:58:51 +0000 (01:58 -0700)]
openssl/orc: virtclass-native -> class-native

The virtclass-native is out of date.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agostat: fix SRC_URI
Robert Yang [Tue, 12 May 2015 08:58:50 +0000 (01:58 -0700)]
stat: fix SRC_URI

The old SRC_URI is redirected to the new one, fixed:
WARNING: Failed to fetch URL ftp://metalab.unc.edu/pub/Linux/utils/file/stat-3.3.tar.gz, attempting MIRRORS if available

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoelfutils: Disable the unnecessary check in iconv.m4
Roy Li [Tue, 12 May 2015 07:38:09 +0000 (15:38 +0800)]
elfutils: Disable the unnecessary check in iconv.m4

Disable the test "Test against HP-UX 11.11 bug: No converter from EUC-JP
to UTF-8 is provided" since we don't support HP-UX and if the euc-jp is
not installed on the host, the dependence will be built without iconv
support and will cause guild-native building fail.

The patch is similar as 0470bd7a9658d3[libunistring: remove the test to
convert euc-jp in configure]

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc5: Add back g++ sysroot patch
Richard Purdie [Tue, 12 May 2015 12:02:49 +0000 (13:02 +0100)]
gcc5: Add back g++ sysroot patch

Without this, g++/c++ compilation doesn't work on target due to missing
header files. Automated sanity tests fail. Add back the gcc4 patch to
address this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc5: Add PR65779 patch to fix powerpc compile issues
Richard Purdie [Mon, 11 May 2015 16:54:57 +0000 (17:54 +0100)]
gcc5: Add PR65779 patch to fix powerpc compile issues

This fixes compile issues on powerpc with gcc 5 which show up with
errors like:

| make[2]: Entering directory '/media/build1/poky/build/tmp/work/ppc7400-poky-linux/xprop/1_1.2.2-r0/build'
| powerpc-poky-linux-gcc  -m32 -mhard-float -mcpu=7400 --sysroot=/media/build1/poky/build/tmp/sysroots/qemuppc -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing  -O2 -pipe -g -feliminate-unused-debug-types  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o xprop dsimple.o clientwin.o xprop.o -lX11
| /media/build1/poky/build/tmp/sysroots/qemuppc/usr/lib/../lib/libX11.so: undefined reference to `.LCL2'
| collect2: error: ld returned 1 exit status

[YOCTO #7721]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoinsserv: Remove
Richard Purdie [Sun, 10 May 2015 11:30:49 +0000 (12:30 +0100)]
insserv: Remove

Remove insserv from OE-Core. It did have uses but we've optimised the sysvinit
scripts as needed and there are other directions init systems are moving now.
It no longer belongs in the core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodbus: Fix do_install files outside ${D}
Richard Purdie [Sun, 10 May 2015 11:30:12 +0000 (12:30 +0100)]
dbus: Fix do_install files outside ${D}

do_install should not access the sysroot directly. Add missing ${D}
reference.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolicense_class: license_create_manifest improvment
Aníbal Limón [Fri, 8 May 2015 20:41:32 +0000 (20:41 +0000)]
license_class: license_create_manifest improvment

Use image_list_installed_packges instead of open manually the package
manifest and iterate over it.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolicense: Add support for handle INCOMPATIBLE_LICENSE in manifest creation
Aníbal Limón [Fri, 8 May 2015 20:41:31 +0000 (20:41 +0000)]
license: Add support for handle INCOMPATIBLE_LICENSE in manifest creation

When INCOMPATIBLE_LICENSE's is specified it need to be removed from
license.manifest and also avoid copy to target image.

Add ManifestVisitor that walk the license string searching for
INCOMPATIBLE_LICENSE's if found remove it.

[YOCTO #6765]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>