scm/bb/tizen-distro.git
12 years agosanity: display the parsed PATH when complaining about CWD elements
Ross Burton [Wed, 18 Jul 2012 13:42:30 +0000 (14:42 +0100)]
sanity: display the parsed PATH when complaining about CWD elements

Many people don't understand the nuances of PATH, so help them by clarifying
the warning and displaying the parsed PATH element-by-element.

(From OE-Core rev: 47e6ab41f0f84e6bed7d337ebf96c954ec6909e8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils: package ld.gold symlink
Martin Jansa [Wed, 18 Jul 2012 11:04:32 +0000 (13:04 +0200)]
binutils: package ld.gold symlink

* fixes:
  NOTE: package binutils-2.22-r11: task do_package: Started
  WARNING: QA Issue: binutils: Files/directories were installed but not shipped
    /usr/bin/ld.gold
  NOTE: package binutils-2.22-r11: task do_package: Succeeded

(From OE-Core rev: b01b958007b2c09e68a839415440972e08275702)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowatchdog: fix ping mode failure
Roy.Li [Wed, 18 Jul 2012 01:41:43 +0000 (09:41 +0800)]
watchdog: fix ping mode failure

[YOCTO #2755]

When watchdog works on ping mode, the system will be rebooted since
watchdog can not receive the expected ECOREPLY on a setting interval.

Ping mode uses a raw socket to send a ECO packet, then uses select()
to wait and recvfrom() to receive the ECOREPLY packet, if select()
shows the data is ready, and the data is not the expected ECOREPLY,
and waiting time is not overdue, it will continue use select() and
recvfrom().

Problem is that the raw socket can receive any icmp packets, if we do
not set filters, and there are many icmp packets on socket, this
program will not find its interested ECOREPLY packet in a special
interval, which makes the ping mode fail.

Other program is that watchdog sometime can not reach the call of
recvfrom to try to receive packets since tv_sec of struct timeval
of select parameter is 0.

The timeout of select() is the result of ping interval minusing the
time of calling gettimeofday spending, when ping interval is 1 second,
and the call of gettimeofday() spends several useconds, the tv_sec of
struct timeval of select parameter must be 0, at that condition, we
should think it is valid of tv_sec of struct timeval of select parameter
be 0

(From OE-Core rev: 90f3a90413aa1e08c3206b838dcaee0c1c640dc7)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Add git-native to ASSUME_PROVIDED
Richard Purdie [Tue, 10 Jul 2012 13:26:18 +0000 (13:26 +0000)]
bitbake.conf: Add git-native to ASSUME_PROVIDED

Originally, git was something new, not installed everywhere and had commandline
stability problems. This has changed and git it no longer makes sense to
continually build this when the system installed version is likely sufficient.

This speeds up build since recipes no longer have to wait for git-native to build
if they're fetched from a git:// SRC_URI.

Also add git to the sanity checks and drop the no unneeded svn reference.

(From OE-Core rev: 79e24186481770181565a18d177584d0d72399fe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: Fix build for e500 cores
Khem Raj [Wed, 18 Jul 2012 06:39:40 +0000 (23:39 -0700)]
eglibc: Fix build for e500 cores

e500 support needed to be updared to match eglibc 2.16

(From OE-Core rev: ae9748c614dc8e56cde3de2401c922607ed97620)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoslang: add header to patch
Roy.Li [Wed, 18 Jul 2012 02:15:56 +0000 (10:15 +0800)]
slang: add header to patch

Add description, Signed-off-by and Upstream-Status to
change-char-type-to-signed-char-in-macros.patch

(From OE-Core rev: 25745cf72056efc2250e8fdd99d6f30384472694)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofix my typos in patch headers
Nitin A Kamble [Tue, 17 Jul 2012 04:52:49 +0000 (21:52 -0700)]
fix my typos in patch headers

(From OE-Core rev: 2a686494119ced9c1eca45b229aa8746dc8a143f)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopuzzles, mkelfimage: Add protocol=http
Saul Wold [Wed, 18 Jul 2012 04:38:49 +0000 (21:38 -0700)]
puzzles, mkelfimage: Add protocol=http

This would fail in some firewall situations otherwise

(From OE-Core rev: 4c1a768238fe9a36b7ed714c9c40951b7357410a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: remove spurious install_prepend hack
Ross Burton [Tue, 17 Jul 2012 18:44:20 +0000 (19:44 +0100)]
webkit-gtk: remove spurious install_prepend hack

This "fix" causes an (ignored) error now, so at some point it was fixed.

(From OE-Core rev: 03690060fe13e083723a572ec0438a1381e418db)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: remove no-parallel bodge
Ross Burton [Tue, 17 Jul 2012 18:44:19 +0000 (19:44 +0100)]
webkit-gtk: remove no-parallel bodge

This workaround was originally for GNU Make 3.82 which upstream was blaming
for a parallel build failure.  Since then I've changed numerous variables
and now parallel builds are working with 3.82 (and succeed in 20 minutes
instead of 2 hours).

Revert the change until we've more data about what causes the breakage, then
we can bring it back with more finesse.

(From OE-Core rev: 90ca88a6f9dd5e2bc055739f84cb224f9a82455a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/bitbake: Check the git-native version and build it if necessary
Richard Purdie [Tue, 17 Jul 2012 11:59:28 +0000 (12:59 +0100)]
scripts/bitbake: Check the git-native version and build it if necessary

We require git version 1.7.5 or later for the git remote --mirror=xxx syntax.
If we have an older version of git, this patch ensure we build git-replacement-native.
We add an alternative PROVIDES in the same way as tar-native to allow this script
to trigger the build whilst still allowing git-native in ASSUME_PROVIDED.

(From OE-Core rev: 269f3b3cfacaf229d5e45177ee01b16561370ee3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorecipes: svn SRC_URI s/proto=/protocol=/g
Martin Jansa [Tue, 17 Jul 2012 09:52:22 +0000 (11:52 +0200)]
recipes: svn SRC_URI s/proto=/protocol=/g

(From OE-Core rev: 11711d5d040e6456ac43f8800b535fe5946144cf)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoterminal.py: Fix Xfce on ubuntu/debian; some cleanup
Jeffrey C Honig [Tue, 17 Jul 2012 04:03:59 +0000 (00:03 -0400)]
terminal.py: Fix Xfce on ubuntu/debian; some cleanup

    * Xfce class was setting and passing wrong variable for ubuntu/debian.
    * Xfce class was using -e instead of -x for passing command.  The former creates
      a shell escape nightmare
    * Clean up local and instance/class variables with same name but different usage.
    * Remove side-effect and directly return formatted command for clarity.

(From OE-Core rev: b2ee5c5e34cdc3d65ca7b5da3486360a74d6c500)

Signed-off-by: Jeffrey C Honig <jeffrey.honig@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa-ide-support: Add native qemu support for meta-ide-support
Jessica Zhang [Mon, 16 Jul 2012 22:29:07 +0000 (15:29 -0700)]
meta-ide-support: Add native qemu support for meta-ide-support

[YOCTO #2761]

This patch fixed the issue that after "bitbake meta-ide-support" and try to start qemu and it will fail.  This is due to the meta-ide-support lacking dependency for qemu native and ended up using qemu under /usr/bin.  Fix the issue by adding dependency for qemu native in meta-ide-support and also add the path info in the environment-setup script.

(From OE-Core rev: 3ea597249c18d73417abe7d7a9d32bba00499914)

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotune-ppc476.inc: Support ppc476
Peter Seebach [Mon, 16 Jul 2012 16:58:39 +0000 (11:58 -0500)]
tune-ppc476.inc: Support ppc476

A couple of boards use chips which perform noticably better
when optimized for the 476. Add a trivial tune file to let
them run better.

(From OE-Core rev: 9ac6da9d0e0b9f7678752ff7b9c91e39c140b4e7)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoweb-webkit: don't link using g++, it's not needed anymore
Ross Burton [Tue, 26 Jun 2012 16:26:50 +0000 (17:26 +0100)]
web-webkit: don't link using g++, it's not needed anymore

(From OE-Core rev: cd9a97c063a6c58b022d95ca9de8bcce784f1d3a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoweb-webkit: push make whitespace fix upstream
Ross Burton [Tue, 26 Jun 2012 11:43:15 +0000 (12:43 +0100)]
web-webkit: push make whitespace fix upstream

(From OE-Core rev: 9073ec0610a9e28c4b2bc90ace7a6b1c0cc99f75)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoweb-webkit: remove unused dependencies (taken from the gecko-based recipe)
Ross Burton [Tue, 26 Jun 2012 11:42:05 +0000 (12:42 +0100)]
web-webkit: remove unused dependencies (taken from the gecko-based recipe)

(From OE-Core rev: cc156badafe1e42653b9eb080c0dffd47d2a6130)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopsplash: use default OE vga logo (from kernel bootlogo)
Andrea Adami [Mon, 9 Jul 2012 22:10:36 +0000 (00:10 +0200)]
psplash: use default OE vga logo (from kernel bootlogo)

* this resolution allows to use one single logo

(From OE-Core rev: a6471990e9d9cd71ca797dddf0db1e52eaa9a935)

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotask-core-tools-testapps.bb: kexec-tools does not work on e5500-64b parts
Matthew McClintock [Fri, 13 Jan 2012 16:50:51 +0000 (10:50 -0600)]
task-core-tools-testapps.bb: kexec-tools does not work on e5500-64b parts

This prevents kexec from building for this part since it does not work

(From OE-Core rev: c7beda1b779ce189c614fcce13e9ccf2c1b4ca6c)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-package-runtime.inc: Fix QA warning
Matthew McClintock [Fri, 13 Jul 2012 18:35:50 +0000 (13:35 -0500)]
gcc-package-runtime.inc: Fix QA warning

> ERROR: QA Issue: gcc-runtime: Files/directories were installed but not shipped
>   /usr/lib/libgomp.so.1.0.0
>   /usr/lib/libgomp.so.1

(From OE-Core rev: fee3def2ca49e3349758d9cd9a9cf5645f03cf18)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch2/svn.py: Use protocol parameter to get the protocol
Martin Jansa [Tue, 17 Jul 2012 22:38:19 +0000 (00:38 +0200)]
bitbake: fetch2/svn.py: Use protocol parameter to get the protocol

* it was send in v1 of proto -> protocol changes but then wasn't in V2
  http://patchwork.openembedded.org/patch/31617/
  where warning about proto= was moved to shared __init__

(Bitbake rev: b2017f493ab730d804ae44ec5a168d464626d046)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotoolchain-scripts: Sync the SDK/ADT values to the build system
Mark Hatle [Tue, 10 Jul 2012 20:54:38 +0000 (15:54 -0500)]
toolchain-scripts: Sync the SDK/ADT values to the build system

The build system passes specific TUNE (fundamental) flag values to various
tools instead of using a shell wrapper or similar.  It is important that the
build system and ADT/SDK match the behaviors exactly, or we are likely to
have differences in the way build-system and external components are built
leading to configuration, compilation and/or run-time problems.

(From OE-Core rev: 2bd0aaf98c5d586638d82f5f22c1c24122a889a3)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: fix build with automake 1.12
Ross Burton [Wed, 11 Jul 2012 15:39:43 +0000 (16:39 +0100)]
connman: fix build with automake 1.12

(From OE-Core rev: 292469a70282ed83a8c73b3a5c57d7327ebde793)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoudev: don't mount with -o sync
Jesse Zhang [Wed, 4 Jul 2012 02:03:13 +0000 (10:03 +0800)]
udev: don't mount with -o sync

mount.sh mounts all partitions with -o sync, which is bad for system
performance.

(From OE-Core rev: d49cf73754150b50a911d326aaa666f5da78855c)

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouseradd.bbclass: Fix for multilib builds
Richard Purdie [Mon, 16 Jul 2012 14:52:19 +0000 (14:52 +0000)]
useradd.bbclass: Fix for multilib builds

The class adds a setscene dependency on base-passwd as well as adds this to DEPENDS.
The DEPENDS version will be auso-converted to include MLPREFIX whilst the setscene
dependency will not. This result in errors about non-existent tasks.

This patch ensures MLPREFIX is added when it is needed and fixes various
build failures. Whether we should have two base-passwd recipes in a multilib
system is a question which would need to be addressed by future changes.

(From OE-Core rev: 22dff7f36e985f9f7275b47e874147bc7bdc9473)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: hob2: add elf to hcc supported image types
Kang Kai [Tue, 17 Jul 2012 06:58:52 +0000 (14:58 +0800)]
bitbake: hob2: add elf to hcc supported image types

[Yocto #2709]

OE Core Commit c9b01af84b64edba056f959c349895e0698324e6 add elf image
type. This will cause hob build image failed.
Add elf to hcc supoorted image types to fix this issue.

(Bitbake rev: a93a58b7cea2ddb9596cb4d718c0801db5d1a295)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: siggen.py: Insure .siginfo files writes into shared sstate cache are atomic
Jeffrey C Honig [Tue, 17 Jul 2012 00:48:57 +0000 (20:48 -0400)]
bitbake: siggen.py: Insure .siginfo files writes into shared sstate cache are atomic

   Use tempfile.mkstemp to create a temporary file in the sstate dir and move it
   into place after closing.  The previous code would fail in the chmod() if two
   users were running jobs that touched the same signature file.

(Bitbake rev: ff11e9ac5eba2d957917664a7b91b1277d8ad548)

Signed-off-by: Jeffrey C Honig <jeffrey.honig@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: runqueue.py: Improve error output to be more useful when non-existent tasks...
Richard Purdie [Mon, 16 Jul 2012 14:57:22 +0000 (15:57 +0100)]
bitbake: runqueue.py: Improve error output to be more useful when non-existent tasks are found

(Bitbake rev: 9be584272a63f48d8dc7c9f05b017d11250aa247)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-cross-initial.inc: Use BFD ld as default always
Khem Raj [Thu, 5 Jul 2012 21:29:55 +0000 (14:29 -0700)]
gcc-cross-initial.inc: Use BFD ld as default always

When using gold as default linker in final toolchain
gcc-cross-initial still needs to use BFD ld since it
will link eglibc-initial

(From OE-Core rev: f643f886b16f586426c744afde080a99d71a9d58)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: remove svn recipe
Ross Burton [Fri, 13 Jul 2012 14:20:39 +0000 (15:20 +0100)]
webkit-gtk: remove svn recipe

(From OE-Core rev: ecb18e2b6a8fc16b323f93c62ed5ff5b080c5dd0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: add 1.8.1 recipe from tarball
Ross Burton [Fri, 22 Jun 2012 10:14:13 +0000 (11:14 +0100)]
webkit-gtk: add 1.8.1 recipe from tarball

License checksums changed as new years were added.

(From OE-Core rev: e6c5f1edcccfc78259caac853361c14ebe6d2677)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognutls: Fix build with automake 1.12.1
Nitin A Kamble [Mon, 9 Jul 2012 10:30:10 +0000 (03:30 -0700)]
gnutls: Fix build with automake 1.12.1

Added new patches:
   avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch
   gnutls_fix_for_automake_1.12.1.patch

more details in patch headers.

(From OE-Core rev: a7a07aff69d4bb44410721eecf33a60ac2166328)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolame: fix build with automake 1.12.x
Nitin A Kamble [Fri, 13 Jul 2012 06:37:20 +0000 (23:37 -0700)]
lame: fix build with automake 1.12.x

automake 1.12.x has deprecated automatic de-ANSI-fication support.
Fix sources to work with automake 1.12.x

Added a new patch:
   lame-3.99.5_fix_for_automake-1.12.x.patch

(From OE-Core rev: 84a433e383e7b2e96932739c31b25956ad8dfc54)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosed-4.1.2: fix build with automake 1.12.x
Nitin A Kamble [Fri, 13 Jul 2012 05:20:25 +0000 (22:20 -0700)]
sed-4.1.2: fix build with automake 1.12.x

automake has depricated use of @mkdir_p@, Fix the
issue by using @MKDIR_P@ instead.

added a new patch:
   sed-4.1.2_fix_for_automake-1.12.patch

(From OE-Core rev: b5e9b6db49770261e8394e676eec603125b51a44)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogawk-3.1.5: fix build with automake 1.12.x
Nitin A Kamble [Fri, 13 Jul 2012 05:03:27 +0000 (22:03 -0700)]
gawk-3.1.5: fix build with automake 1.12.x

Add the gawk-3.1.5_fix_for_automake-1.12.patch in SRC_URI.

(From OE-Core rev: 2d0c20a39be017e93303c7e7f9c11f32f737372d)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotar: fix build with automake 1.12.x
Nitin A Kamble [Thu, 3 May 2012 17:26:35 +0000 (10:26 -0700)]
tar: fix build with automake 1.12.x

automake 1.12.x automatically deletes empty directories, so
the additional rmdir from the do_install_append fails.

cleanup the do_install_append for automake 1.12.x

Avoid this error:
| rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/tar-1.26-r1/image/usr/sbin/': No such file or directory
NOTE: package tar-1.26-r1: task do_install: Failed

no PR bump as no change in the output.

(From OE-Core rev: c3c103abb533cc9aae178d41b1bd216165f3bc9a)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogpgme: fix build with automake 1.12.x
Nitin A Kamble [Tue, 10 Jul 2012 15:51:23 +0000 (08:51 -0700)]
gpgme: fix build with automake 1.12.x

automake 1.12.x automatically deletes empty directories, so
the additional rmdir from the do_install_append fails.

cleanup the do_install_append for automake 1.12.x

Avoids this build issue:
| rmdir: failed to remove `/srv/home/nitin/builds2/build0/tmp/work/i586-poky-linux/gpgme-1.3.2-r0/image/usr/libexec': No such file or directory
| ERROR: Function failed: do_install

(From OE-Core rev: 4fc32e828113df50da154fcaf3eb3d56b9e72f09)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebgit-gtk: fix build with automake 1.12.1
Nitin A Kamble [Tue, 10 Jul 2012 10:42:33 +0000 (03:42 -0700)]
webgit-gtk: fix build with automake 1.12.1

Added a new patch:
  webgit-gtk_fix_build_with_automake_1.12.patch

More comments in the patch header.

(From OE-Core rev: f3ea68cdd2559d84d5b2cd95323d186fff14c7b7)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibidn: fix build with automake 1.12
Nitin A Kamble [Tue, 10 Jul 2012 09:44:30 +0000 (02:44 -0700)]
libidn: fix build with automake 1.12

Added a new patch
    avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch

More details in the patch headers.

(From OE-Core rev: c654e26007b4b014bc614fde15b7a8d9cf52d849)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotelepathy-python: fix build with automake 1.12
Nitin A Kamble [Tue, 10 Jul 2012 09:29:38 +0000 (02:29 -0700)]
telepathy-python: fix build with automake 1.12

Added a new patch:
telepathy-python_fix_for_automake_1.12.patch

More comments in the patch header.

(From OE-Core rev: aa3032aef2af5a91c1af77b9323fe762b055cd93)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibunistring: fix build with automake 1.12
Nitin A Kamble [Tue, 10 Jul 2012 09:17:44 +0000 (02:17 -0700)]
libunistring: fix build with automake 1.12

Added a new patch:
   libunistring/libunistring_fix_for_automake_1.12.patch

More comments in the patch header.

(From OE-Core rev: 015e3eca85c779cd78080f81c9d056be223465d1)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopango: fix dependencies to avoid build issue
Nitin A Kamble [Thu, 3 May 2012 18:43:49 +0000 (11:43 -0700)]
pango: fix dependencies to avoid build issue

this commit avoids this build issue:

| /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.1/ld: cannot find -lelf
| collect2: error: ld returned 1 exit status
...
| make: *** [all] Error 2
| ERROR: oe_runmake failed
NOTE: package pango-1.28.4-r7: task do_compile: Failed

(From OE-Core rev: dafefa7bd4de518adb63ec19390b77a56cb65d8e)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibfm: fix build with automake 1.12.x
Nitin A Kamble [Thu, 3 May 2012 20:30:20 +0000 (13:30 -0700)]
libfm: fix build with automake 1.12.x

automake 1.12.x automatically deletes empty directories, so
the additional rmdir from the do_install_append fails.

cleanup the do_install_append for automake 1.12.x

Avoids this build issue:
| rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/libfm-0.1.17-r4/image/usr/lib/gio/modules/': No such file or directory
NOTE: package libfm-0.1.17-r4: task do_install: Failed

(From OE-Core rev: 456b48aaf746f07492fda5a047453d35b3ae7fb7)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-video-vmware: fix build with automake 1.12.x
Nitin A Kamble [Thu, 3 May 2012 18:12:34 +0000 (11:12 -0700)]
xf86-video-vmware: fix build with automake 1.12.x

automake 1.12.x automatically deletes empty directories, so
the additional rmdir from the do_install_append fails.

cleanup the do_install_append for automake 1.12.x

Fixes this build issue:

| rmdir: failed to remove
`/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/xf86-video-vmware-2_12.0.1-r17.1/image/usr/bin':
No such file or directory
NOTE: package xf86-video-vmware-2_12.0.1-r17.1: task do_install: Failed

No PR bump as no change in the output.

(From OE-Core rev: ae6cad80ea65b4e2ecbc15b94f66d874ee2400c7)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotelepathy-glib: fix build with automake 1.12.x
Nitin A Kamble [Thu, 3 May 2012 17:39:02 +0000 (10:39 -0700)]
telepathy-glib: fix build with automake 1.12.x

automake 1.12.x automatically deletes empty directories, so
the additional rmdir from the do_install_append fails.

cleanup the do_install_append for automake 1.12.x

avoid this issue:
| rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/telepathy-glib-0.18.1-r0/image/usr/bin': No such file or directory
NOTE: package telepathy-glib-0.18.1-r0: task do_install: Failed

no PR bump as no change in the output

(From OE-Core rev: bd8e8550c8d7ab7daea8d63d6850c22639e7fb85)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgcrypt: fix build with automake 1.12.x
Nitin A Kamble [Thu, 3 May 2012 17:29:32 +0000 (10:29 -0700)]
libgcrypt: fix build with automake 1.12.x

automake 1.12.x automatically deletes empty directories, so
the additional rmdir from the do_install_append fails.

cleanup the do_install_append for automake 1.12.x
avoid this issue:

| rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/libgcrypt-1.5.0-r0/image/usr/sbin': No such file or directory
NOTE: package libgcrypt-1.5.0-r0: task do_install: Failed

no PR bump as no change in the output

(From OE-Core rev: c17511dee02428bb457d1ae08356ef2f8a7f9888)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoevolution-data-server: fix build with automake 1.12.x
Nitin A Kamble [Mon, 9 Jul 2012 12:00:44 +0000 (05:00 -0700)]
evolution-data-server: fix build with automake 1.12.x

Added 2 patches:
   avoid_automake_errors.patch
   fix_for_automake-1.12.x.patch

More information in the patch headers.

(From OE-Core rev: 64c2aa566f022525c7ef0acd7a80359446675990)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibrsvg: fix build with automake 1.12.x
Nitin A Kamble [Mon, 9 Jul 2012 13:27:26 +0000 (06:27 -0700)]
librsvg: fix build with automake 1.12.x

automake 1.12.x automatically deletes empty directories, so
the additional rmdir from the do_install_append fails.

cleanup the do_install_append for automake 1.12.x

(From OE-Core rev: 2041d00e05ca9260e29b14fb3b640b7594de0102)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodates: fix build with automake 1.12.x
Nitin A Kamble [Mon, 9 Jul 2012 13:21:17 +0000 (06:21 -0700)]
dates: fix build with automake 1.12.x

automake 1.12.x automatically deletes empty directories, so
the additional rmdir from the do_install_append fails.

cleanup the do_install_append for automake 1.12.x

(From OE-Core rev: 0d333c61c6ce74666ce87593dc2797ca45a97766)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoavahi: fix build with automake 1.12.1
Nitin A Kamble [Mon, 9 Jul 2012 13:03:02 +0000 (06:03 -0700)]
avahi: fix build with automake 1.12.1

added a new patch : fix_for_automake_1.12.x.patch

More information in the patch header.

(From OE-Core rev: d2662016e5f767c1c2a2d264c10634db600ddc02)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopcmanfm: fix build with automake 1.12.x
Nitin A Kamble [Mon, 9 Jul 2012 11:25:00 +0000 (04:25 -0700)]
pcmanfm: fix build with automake 1.12.x

Added a patch:
  pcmanfm_fix_for_automake_1.12.patch

More information in the patch header.

(From OE-Core rev: fee7861dcaef40ab86888a12fc2550d03463f98a)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognutls: Fix build with automake 1.12.1
Nitin A Kamble [Mon, 9 Jul 2012 10:30:10 +0000 (03:30 -0700)]
gnutls: Fix build with automake 1.12.1

Added new patches:
   avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch
   gnutls_fix_for_automake_1.12.1.patch

more details in patch headers.

(From OE-Core rev: 547ab3e32770e318b6d21334e4ecf17af2eef3ca)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agojpeg: fix configure with automake 1.12.1
Nitin A Kamble [Fri, 6 Jul 2012 04:57:44 +0000 (21:57 -0700)]
jpeg: fix configure with automake 1.12.1

Bring back earlier jpeg fix. upstream has removed the fix from earlier release.

The support for automatic de-ANSI-fication has been deprecated in
automake 1.11.2, and will be removed altogether in automake 1.12

This avoids this error:
| configure.ac:24: automatic de-ANSI-fication support is deprecated
| autoreconf: automake failed with exit status: 1
| ERROR: autoreconf execution failed.
NOTE: package jpeg-native-8c-r2: task do_configure: Failed

(From OE-Core rev: 893ce9db79a5c4cca8a6b6ed6a9cec81777aba2f)

(From OE-Core rev: 626676ba039bc5d9427665a52cbe40a202a542c8)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautomake: upgrade from 1.11.3 to 1.12.1
Nitin A Kamble [Thu, 5 Jul 2012 12:18:53 +0000 (05:18 -0700)]
automake: upgrade from 1.11.3 to 1.12.1

(From OE-Core rev: c6b70eff7614ea774c0d8e39520f76bdce0ed977)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: Add recipes for 2.16 release
Khem Raj [Wed, 4 Jul 2012 06:58:29 +0000 (23:58 -0700)]
eglibc: Add recipes for 2.16 release

Drop the patches that were either applied
or fixed differenly in 2.16

Add patches to fix ppc spe patches to match
eglibc 2.16

Fix CPPFLAGS to contain correct includepaths
so autoconf cache is generated correctly

(From OE-Core rev: 705fe4dab44e623350fc32efece87a977d53bfc4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomkelfimage: Fix cross build
Khem Raj [Sat, 14 Jul 2012 21:14:07 +0000 (14:14 -0700)]
mkelfimage: Fix cross build

This patch fixes building this tool in cross environment
It uses tools such as CC, HOST_CC, I386_CC etc.
and as long as you are building native it does not
matter since they all are same namely 'gcc' but
in cross compiling that wont work. So we make the
makefiles and configure scripts aware of that fact

Upstream hosts this program in a svn repo. So change
the SRC_URI to official svn repo. With git we were
checking out a lot more that just mkelfimage which
is not required.

There were unpackaged empty directories too so
we make sure they are removed as well.

Fixes Yocto bug# 2765

(From OE-Core rev: 0d828f19f7ef2d852bbe6da4510efea76a39b982)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: Dont package kxgettext.o
Khem Raj [Sat, 14 Jul 2012 18:21:46 +0000 (11:21 -0700)]
kernel.bbclass: Dont package kxgettext.o

kxgettext.o is generated when building ppc kernels
so we end up with packaging errors like

> ERROR: QA Issue: Architecture did not match (20 to 62) on
> /work/virtex5-poky-linux/linux-xilinx-2.6.38-r00/packages-split/kernel-dev/usr/src/kernel/scripts/kconfig/kxgettext.o

(From OE-Core rev: 77278bd23617834c7f90b3b24a9945ec081dbb38)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoguile: Fix missing depends and broken arm build
Khem Raj [Thu, 12 Jul 2012 20:30:29 +0000 (13:30 -0700)]
guile: Fix missing depends and broken arm build

This patch adds a fix where arm endianness is detected correctly
secondly it adds a missing dependency on libatomics-ops
which was found when build in clean tmpdir and populating
it from a valid sstate.

(From OE-Core rev: b537b035c9b9c9a1174dcafc0252c2b779b17902)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Switch to git SRC_URI
Khem Raj [Sat, 7 Jul 2012 00:46:29 +0000 (17:46 -0700)]
gcc: Switch to git SRC_URI

svn has been giving troubles with svn 1.7 upgrade
Remove duplicate definition of S and B variables
from gcc-4.7.inc

Use 4.7.1.0 for PV to maintain the upgrade path
Its an interim solution once we upgrade to 4.7.2
we will drop it.

(From OE-Core rev: 3f3b74b3fd6ba813dd69804706edcea145876e09)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/oe/sstatesig.py: Exclude git-native from sstate checksum
Khem Raj [Mon, 9 Jul 2012 19:31:38 +0000 (12:31 -0700)]
lib/oe/sstatesig.py: Exclude git-native from sstate checksum

gcc exposed this issue where cross gcc recipes were not having
same task checksums as libgcc or gcc-runtime the target recipes
which use same shared workdir and it was triggering the unpack
fetch and patch tasks to reexecute and hence the trouble

Now that we have more than 1 package to consider lets combine
the check

Thanks RP for help and this is on the line of patch
793ce6cd9aa632e0f13789c8293770a86085d28d

(From OE-Core rev: 72cc3df204c4b838cc0358a7ac989adfdd5c1760)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu: Explicitly add --disable-gl-accel when gl is not enabled
Khem Raj [Fri, 6 Jul 2012 17:54:52 +0000 (10:54 -0700)]
qemu: Explicitly add --disable-gl-accel when gl is not enabled

Default seems to be to enable GL accelaration so when
gl is not specified in PACKAGECONFIG then add the
--disable-gl-accel to really disable it.

(From OE-Core rev: 039a2f63712cbe87eb68a8c8c0cc365b74651f5a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Refresh support for fsl E5500/E6500
Khem Raj [Sat, 7 Jul 2012 03:49:24 +0000 (20:49 -0700)]
gcc: Refresh support for fsl E5500/E6500

These patches are backport from gcc mainline
they fix issues where eglibc was not compilable
for e5500+ due to missing vector intrinsics
It obsoletes the existing e5500 patch

(From OE-Core rev: b440aeeceb8c2e9f412d98793fb1dd55ff9d73f5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils: Backport the e5500/e6500 patches from mainline
Khem Raj [Sat, 7 Jul 2012 03:45:57 +0000 (20:45 -0700)]
binutils: Backport the e5500/e6500 patches from mainline

This updates the E5500 and E6500 support patches
as they have been applied upstream binutils.

(From OE-Core rev: 202420871785cbdbbf57adbe26eb0f649e57512b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Convert do_headerfix into a definitive patch
Khem Raj [Sun, 8 Jul 2012 18:34:52 +0000 (11:34 -0700)]
gcc: Convert do_headerfix into a definitive patch

do_headerfix task is essentially editing configuration
headers in sources which can well be maintained as a
patch which is easier to spot errors (if any) than
dynamically edited source tree

(From OE-Core rev: ddd344e9acef88d614473581266569ce14716ccc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agostrace: Fix build on eglibc 2.16
Khem Raj [Wed, 11 Jul 2012 18:13:37 +0000 (11:13 -0700)]
strace: Fix build on eglibc 2.16

This patch fixes two build issues seen with strace
one in general with eglibc 2.16 and another with x32 abi

(From OE-Core rev: 2ed0011adc1642e0fbb6bfe1d7ae6b70ce7dfedb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpam: Fix build with eglibc 2.16
Khem Raj [Wed, 4 Jul 2012 20:12:38 +0000 (13:12 -0700)]
libpam: Fix build with eglibc 2.16

pam_unix_acct.c: In function '_unix_run_verify_binary':
pam_unix_acct.c:97:19: error: storage size of 'rlim' isn't known
pam_unix_acct.c:106:19: error: 'RLIMIT_NOFILE' undeclared (first use in
this function)
pam_unix_acct.c:106:19: note: each undeclared identifier is reported
only once for each function it appears in

(From OE-Core rev: e59a0bac95ce025a6b826be28ccc9e42ca4b5a29)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agovalgrind: Fix build with eglibc 2.16
Khem Raj [Wed, 4 Jul 2012 20:12:00 +0000 (13:12 -0700)]
valgrind: Fix build with eglibc 2.16

(From OE-Core rev: 5a59bf0778608b7c5e1073bf38d36b98d831db0d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoboost: Upgrade recipe to 1.50.0
Khem Raj [Wed, 4 Jul 2012 06:55:18 +0000 (23:55 -0700)]
boost: Upgrade recipe to 1.50.0

1.49.0 is not buildable with eglibc 2.16 since
it exposes a define TIME_UTC which is also used
in boost until 1.50.0 when it was renamed to
TIME_UTC_ so instead of porting needed patches
we upgrade boost to latest release

(From OE-Core rev: 20c00be5556db5e6680bcdb7d4ec6d4516f4c410)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc
Khem Raj [Wed, 4 Jul 2012 19:30:07 +0000 (12:30 -0700)]
grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc

eglibc 2.16 does not export gets anymore

(From OE-Core rev: 497d8d82b8e7e04a457a7fdd689c657903218c0d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobison: Fix for gets being removed from eglibc 2.16
Khem Raj [Wed, 4 Jul 2012 16:15:25 +0000 (09:15 -0700)]
bison: Fix for gets being removed from eglibc 2.16

(From OE-Core rev: ba9e4ee09f39c427c0d1ba2d0d4c4f59029e4bea)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16
Khem Raj [Wed, 4 Jul 2012 06:53:16 +0000 (23:53 -0700)]
gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16

These recipes use gnulib which needs this change to use gets
when its defined and not otherwise. Until that change goes into
gnulib and then all these package upgrade gnulib in their sourcebase
we patch them

(From OE-Core rev: 3148460575b65cb681065e5850b8afb96056d712)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoudev: Fix build with eglibc 2.16
Khem Raj [Wed, 4 Jul 2012 06:51:10 +0000 (23:51 -0700)]
udev: Fix build with eglibc 2.16

Include sys/resource.h to get definition of
PRIO_PROCESS

(From OE-Core rev: 6b74c8edac0a4a468741ab7cc4ecef74314d2043)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodiffutils: Fix build with eglibc 2.16
Khem Raj [Wed, 4 Jul 2012 06:44:43 +0000 (23:44 -0700)]
diffutils: Fix build with eglibc 2.16

eglibc 2.16 has removed gets so we account for that

(From OE-Core rev: bd47833dea9e1b39ca19b02f06ba9194c6d52be8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocoreutils: Fix build with eglibc 2.16
Khem Raj [Wed, 4 Jul 2012 06:43:06 +0000 (23:43 -0700)]
coreutils: Fix build with eglibc 2.16

eglibc 2.16 has removed gets so we account for that

(From OE-Core rev: 84183aee7e6f81919ec44f3043c7d9feea01f202)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib: package bash-completion files in separate package and move ${PN}-codegen to...
Martin Jansa [Mon, 16 Jul 2012 16:07:18 +0000 (18:07 +0200)]
glib: package bash-completion files in separate package and move ${PN}-codegen to .inc

* 2.32.4 has completion files in ${datadir}/bash-completion
  and dbus also packages bash-competion files in separate package

(From OE-Core rev: b070eb22372ad1ef5b21162d832772e560184cf8)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib: upgrade to 2.32.4
Martin Jansa [Mon, 16 Jul 2012 16:07:17 +0000 (18:07 +0200)]
glib: upgrade to 2.32.4

* it's bugfix release, see http://ftp.gnome.org/pub/gnome/sources/glib/2.32/glib-2.32.4.news
  for list of fixed bugs

(From OE-Core rev: 85a930188300152bc9a1bbf640a2441f3177e26f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11: fix makekeys build
Martin Jansa [Mon, 16 Jul 2012 08:25:49 +0000 (10:25 +0200)]
libx11: fix makekeys build

* on hosts without libx11 installed it fails with
  | makekeys.c:33:27: fatal error: X11/Xresource.h: No such file or directory
  since oe-core rev 52d4ff7b35602faa52360a3e7a800891ef60c739
* upstream added -I$(top_srcdir)/include in 24283d40b1e4314c6647dda49d2a159833341a8b
  to ensure that right Xresource.h version is used, but we're building
  makekeys outside source tree (x11_disable_makekeys.patch), so we need
  to pass -I${S}/include in our makekeys build too
* building makekeys outside source tree isn't probably needed anymore
  and recipes should be updated to reflect that, upstream fixes:
  https://bugs.freedesktop.org/show_bug.cgi?id=22584
  http://cgit.freedesktop.org/xorg/lib/libX11/commit/src/util/Makefile.am?id=b2487d07f7b355f230a56e32c763acd08862735c
  http://cgit.freedesktop.org/xorg/lib/libX11/commit/src/util/Makefile.am?id=24283d40b1e4314c6647dda49d2a159833341a8b

(From OE-Core rev: abdc37d181019b9dd21ad08ad998ea4ff2a3e264)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobusybox: Include sys/resource.h for rusage definition
Khem Raj [Wed, 4 Jul 2012 06:40:39 +0000 (23:40 -0700)]
busybox: Include sys/resource.h for rusage definition

Seen with eglibc 2.16

(From OE-Core rev: 077bd603040ebd16f01b4fa20999fb71a9a43695)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdb: Replace struct siginfo with proper siginfo_t
Khem Raj [Tue, 3 Jul 2012 17:13:43 +0000 (10:13 -0700)]
gdb: Replace struct siginfo with proper siginfo_t

Fixes errors like

/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gdb-7.4.1-r0.0/gdb-7.4.1/gdb/linux-nat.h:79:18:
error: field 'siginfo' has incomplete type

(From OE-Core rev: 6e5b37403dd4d0a9a249535d07b36bbae98cadd6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomirrors: Add debian archive snapshot mirrors to search list
Khem Raj [Wed, 4 Jul 2012 23:54:15 +0000 (16:54 -0700)]
mirrors: Add debian archive snapshot mirrors to search list

I ran across this problem when apt 0.7.14 was not fetchable
from regular debian mirrors and existing snapshot mirror
did not have it either since we did not use proper syntax
so it was not hitting that.

(From OE-Core rev: 5a5f67e5486837b4d7e5a89cc27a5c8f8c8598ef)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolsof: define linux C library type when using eglibc
Ting Liu [Fri, 13 Jul 2012 05:14:25 +0000 (00:14 -0500)]
lsof: define linux C library type when using eglibc

lsof tries to compile a temp c source file and execute the binary to
determine linux C library type (file Configure, line 2689-2717).
It is inpracticable for cross-compilation and may have build issue on
some distros since it depends on host settings.

Fix below error when building for 64bit target on 64bit host:
[...]
| dsock.c:481:44: error: 'TCP_LISTEN' undeclared (first use in this function)
| dsock.c:482:45: error: 'TCP_CLOSING' undeclared (first use in this function)
[...]
| make: *** [dsock.o] Error 1

The actual issue exists in do_configure:
[...]
Testing C library type with cc ... done
Cannot determine C library type; assuming it is not glibc.

Which is in turn caused by missing 'gnu/stubs-32.h" when compiling
the temp c source file on host:
[...]
fatal error: gnu/stubs-32.h: No such file or directory compilation terminated.

file gnu/stubs-32.h is provided by 32bit glibc.

(From OE-Core rev: fbf22dfe1a0dca3fc7ac56e4fd274c0145efbc70)

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase.bbclass: add GNUmakefile to the list of possible makefile names
Ross Burton [Fri, 13 Jul 2012 11:01:27 +0000 (12:01 +0100)]
base.bbclass: add GNUmakefile to the list of possible makefile names

(From OE-Core rev: b753eab1028ba48dfdcdeefa07f3f30743f3ee45)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocrosssdk/nativesdk: Ensure EXTRA_OECONF_FPU is unset
Richard Purdie [Thu, 12 Jul 2012 15:25:47 +0000 (16:25 +0100)]
crosssdk/nativesdk: Ensure EXTRA_OECONF_FPU is unset

If EXTRA_OECONF_FPU is left set, certain ARM variables related to hard-float
can get pulled in and trigger rebuilds of the crosssdk code. The best solution
is to simply force the variable to a known correct value for the SDK targets
currently supported in the same way as TARGET_FPU.

There is some slight rearrangement of the gcc code to ensure the variable is
always used to call the fpu function.

(From OE-Core rev: 410990445ada8cdcfaec4e6fa5791cee9a5b8983)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Fix python-nativesdk variable contamination issue
Richard Purdie [Thu, 12 Jul 2012 15:19:23 +0000 (16:19 +0100)]
python: Fix python-nativesdk variable contamination issue

Without this, python-nativesdk-crypt can depend on openssl which is incorrect.

(From OE-Core rev: 5740696c81a9143504c1cb93e94c54add27896e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate.bbclass: Move crosssdk before cross to ensure correct variables are set
Richard Purdie [Thu, 12 Jul 2012 15:18:23 +0000 (16:18 +0100)]
sstate.bbclass: Move crosssdk before cross to ensure correct variables are set

There was a bug showing up where the crosssdk recipes were being installed as machine
specific in the sstate-control directory. This turned out to be due to the architecture
fields used by sstate being set incorrectly. The problem is that the crosssdk inherits
the cross class. It therefore needs to be listed in this if statement block before
the cross check, not after.

This should resolve some package architecture issue of crosssdk sstate files.

(From OE-Core rev: 79fe28e6033273f9632ca7549d1599d3fd1463ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogmp: upgrade to 5.0.5
Bogdan Marinescu [Thu, 12 Jul 2012 09:13:57 +0000 (12:13 +0300)]
gmp: upgrade to 5.0.5

(From OE-Core rev: 9c8000fdf696e234301a67d51dfeccc9bd1fcace)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosysvinit-inittab_2.88dsf.bb: Allow multiple serial port consoles to be defined
Matthew McClintock [Wed, 11 Jul 2012 23:15:27 +0000 (18:15 -0500)]
sysvinit-inittab_2.88dsf.bb: Allow multiple serial port consoles to be defined

Set SERIAL_CONSOLES if you want to define multiple serial consoles, also if
you need to check for the presence of the serial consoles you can also define
SERIAL_CONSOLES_CHECK to determine if these are present when you boot. This
will prevent error message that pop up when the serial port is not present.

SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyEHV0"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"

The above lines in machine.conf or elsewhere will have the effect of having
two serial consoles and removing any that are not present at boot

(From OE-Core rev: eecd65f188ba2c924626b7e1bf5c8e2eb51e9b59)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqemu: Fix running qemu when build without gl
Khem Raj [Tue, 10 Jul 2012 17:07:49 +0000 (10:07 -0700)]
runqemu: Fix running qemu when build without gl

When gl is disabled in PACKAGECONFIG then we dont need
to check for supporting libs to be present before running
qemu.

(From OE-Core rev: 6612873dc59054e6d37fa7488226218bfb759127)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage_types.bbclass: Default XZ_COMPRESSION_LEVEL to -e -6
Andrei Gherzan [Thu, 12 Jul 2012 18:05:56 +0000 (21:05 +0300)]
image_types.bbclass: Default XZ_COMPRESSION_LEVEL to -e -6

Having XZ_COMPRESSION_LEVEL on -e -9 and -T 0 will make xz eat more
than 6Gb memory. Reduce this to -6 to make xz to use about 471Mb
on the tested machine.

(From OE-Core rev: cfd201ecda95d00bc5d70aa5045c649b98ffe8b8)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage_types.bbclass: Add XZ variable to set number of threads to be used while compre...
Andrei Gherzan [Thu, 12 Jul 2012 14:45:40 +0000 (17:45 +0300)]
image_types.bbclass: Add XZ variable to set number of threads to be used while compressing

Default this variable to 0. This will make xz use as many threads as there are CPU
cores on the system.

(From OE-Core rev: 81c8e8a81e90ce95042e9fff8bac6fa011c416d1)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage_types.bbclass: Fix COMPRESS_CMD for xz to redirect compressed data to file
Andrei Gherzan [Thu, 12 Jul 2012 14:31:54 +0000 (17:31 +0300)]
image_types.bbclass: Fix COMPRESS_CMD for xz to redirect compressed data to file

Having -c modifier makes xz to output the compressed data to stdout. In this
way the needed data will be in the do_rootfs log.
Redirect data to ${IMAGE_NAME}.rootfs.${type}.xz .

(From OE-Core rev: 7ceea61636d6a6f886002e3c29941da3356157ac)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocpan.bbclass: Fix CCFLAGS.
Xin Ouyang [Thu, 21 Jun 2012 07:13:54 +0000 (15:13 +0800)]
cpan.bbclass: Fix CCFLAGS.

We should not just replace CCFLAGS with CFLAGS while compiling, because
this may cause run-time errors with perl's DynaLoader.pm.

Tested on qemux86 with new libnet-libidn-perl bb recipe:

root@qemux86:~# perl -e "use Net::LibIDN"
Not a CODE reference at /usr/lib/perl/5.14.2//DynaLoader.pm line 213.
END failed--call queue aborted at /usr/lib/perl/vendor_perl/5.14.2//Net/LibIDN.pm line 213.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

(From OE-Core rev: 855211ae7a224f96663862d4a0e58a90d945dd48)

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopuzzles: convert to use SVN
Saul Wold [Thu, 12 Jul 2012 15:17:13 +0000 (08:17 -0700)]
puzzles: convert to use SVN

Recently the tarball has been changing due the fact it gets rebuilt
nightly and timestamps are getting updated and changed internal to
the tarball.  Moving back to SVN to try and address this.

(From OE-Core rev: 8f30d41ede28a86564c402ce5b467e51aec6b15d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoUpdate proto -> protocol for recipes
Saul Wold [Thu, 12 Jul 2012 16:08:24 +0000 (09:08 -0700)]
Update proto -> protocol for recipes

(From OE-Core rev: 247fbed5a93800c44dc36e403f13bdc8dd704553)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxz: update to 5.1.2alpha
Koen Kooi [Wed, 11 Jul 2012 14:10:54 +0000 (16:10 +0200)]
xz: update to 5.1.2alpha

This contains bugfixes from the 5.0.3 and 5.0.4 releases

(From OE-Core rev: bbdbb70192e16fe351f9cf8f781110faf839be51)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotask-core-sdk.bb: add libgomp and libgomp-dev by RECOMMENDS
Zhenhua Luo [Wed, 11 Jul 2012 14:14:03 +0000 (22:14 +0800)]
task-core-sdk.bb: add libgomp and libgomp-dev by RECOMMENDS

(From OE-Core rev: b2b682331cc1ec54448b5002ff94672d09fe9e7c)

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython-dbus: upgrade to 1.1.0
Bogdan Marinescu [Wed, 11 Jul 2012 15:33:23 +0000 (18:33 +0300)]
python-dbus: upgrade to 1.1.0

Tested by compiling core-image-basic

(From OE-Core rev: 39b2a455ab6b7c38b782e1b3e2811c3d9e4de7af)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/rootfs_deb: use more reliable check for package existence
Paul Eggleton [Mon, 9 Jul 2012 12:38:39 +0000 (13:38 +0100)]
classes/rootfs_deb: use more reliable check for package existence

It turns out "apt-cache showpkg" does return some information when a
package does not exist but another package recommends it, which can
occur for empty *-dev packages; so use "apt-cache policy" with a
different line count instead.

(From OE-Core rev: ac62761a9cacdfd0225d2db5a75584e6c85469a8)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-libc-headers: updated to 3.4.3
Bogdan Marinescu [Wed, 11 Jul 2012 13:02:19 +0000 (16:02 +0300)]
linux-libc-headers: updated to 3.4.3

Tested by building core-image-sato-sdk.

(From OE-Core rev: d67e47bd457de90b19428245644dc64ecf4ba11a)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>