Commit Graph

1908 Commits

Author SHA1 Message Date
Kai Kang 21937da58e tcl: fix typo of upstream status in patch file
Fix typo of upstream status in tcl-remove-hardcoded-install-path.patch
that may cause some scripts out of work. Fix it.

(From OE-Core rev: 0931eead0f874112836926dd493c9f47b3edbd16)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-18 21:23:44 +01:00
Khem Raj fb58029ed0 gcc-4.8: Fix on-device SDK C++ runtime issue
This fixes the issue where g++ is not able to
find C++ headers when sysroot is '/'

The patch needs to be upstreamed into gcc as well.

[Yocto #4812]

(From OE-Core rev: 18537025ca8777a45cb24f1d9ee781323695607a)

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>
2013-07-18 21:23:44 +01:00
Saul Wold 8f91b1cfc4 Upstream-Status: Correct capitalization
(From OE-Core rev: 2d5c457bf888771891e9c29e82ec5a5cecace528)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-18 21:23:43 +01:00
Jonathan Liu 344cf64642 gdb: add PACKAGECONFIG for Python support
(From OE-Core rev: 4f7fd6ba77e3c233faafe490c1986527789ed80c)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-18 21:23:41 +01:00
Roy.Li aef74ef890 dpkg: backport a patch to support mipsn32el and mips64el
(From OE-Core rev: cdc8c8d73ab782d712acafb85d97f2af688ae4c9)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>

[sgw - tweaked Upstream-Status]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-18 21:23:40 +01:00
Mark Hatle 5c9281e87b qemu: QEMU fix libtool usage
QEMU uses the environment variable LIBTOOL by default.  We want to ensure
we set it to the proper libtool version, instead of letting it default to
the host system version.

This corrects target building, and ensures we're linking properly for
native and nativesdk versions.

(From OE-Core rev: b91d65fc78c18948ed4ec96f34b85c431dbc3d95)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-13 18:23:38 +01:00
Saul Wold 1d10dc3ec3 kconfig-frontends: Update to 3.10
Rename recipe to match upstream tarball name which requires a fix the the SOLIBS numbering

(From OE-Core rev: cd749a50eb7dcdb735b5f7bd8b7e15f709e0a38e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-10 09:42:05 +01:00
Saul Wold 7f7fb8be07 cmake: Update to 2.8.11.2
(From OE-Core rev: 3a709c2d189a0fccf04ee0fabd21975d6886e734)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-10 09:42:04 +01:00
Paul Eggleton 09fea03644 cmake: fix configure error if system Qt installation is broken
If the host Qt installation exists but is incomplete or the installed
qmake architecture doesn't match that of the Qt libraries, cmake was
failing at do_configure. cmake 2.8.10 failed silently here so we should
make 2.8.11 do the same.

Fixes [YOCTO #4565].

(From OE-Core rev: 2bf46fbd25e1a3a44d556758f536fa26c44edb03)

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>
2013-07-10 09:42:00 +01:00
Ting Liu 6e08d01e54 qemu: use PACKAGECONFIG to address libaio/attr/libcap dependencies
Move to using the PACKAGECONFIG mechanism to select configure options
and dependencies. Without this the system will attempt to discover
various dependencies, and sometimes does so incorrectly.

(From OE-Core rev: 8438bbe210de6f565f842d745ccede131fa385db)

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>
2013-07-10 09:42:00 +01:00
Radu Moisan 1f5bd7639d elfutils: Upgrade to v0.155
*license changed to GPLv3
*several patches were absolete so I removed them
*redhat-portability & redhat-robustify backported from
 latest elfutils-portability & elfutils-robustify from
 upstream

(From OE-Core rev: 6edbaf14f875b7759672e8d118c59a01dbdeb853)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-10 09:41:55 +01:00
Andrei Dinu 28d8cbe2cd e2fsprogs: upgrade to 1.42.8
upgrade from 1.42.7 -> 1.42.8

(From OE-Core rev: 76a373c64f1b1da02fccbc51f9aaff6082effef9)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-10 09:41:51 +01:00
Saul Wold 94eee2ed11 remake: Update to latest 3.82_dbg-0.9 Tag
(From OE-Core rev: 1fc6e0fc5d5d65190a709bc21ec756609468eb09)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-05 15:44:13 +01:00
Saul Wold d7dbb52d84 swabber: Update to latest head
(From OE-Core rev: 22afce89e7a000bc8f0b66df1f675ab0fe4b1e74)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-05 15:44:12 +01:00
Saul Wold 830e8900e5 help2man: Update to 1.43.3
(From OE-Core rev: b9e75458a6beb3bb6ff21b5be3763bb4b26c81f1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-05 15:44:12 +01:00
Khem Raj 7450ff2416 binutils: Backport emulation template fixes
This fixes the linking errors seen on mips64 when linking
sln/ from eglibc 2.18

 /builds1/angstrom/build/tmp-angstrom_next-eglibc/sysroots/x86_64-linux/usr/libexec/mips64-angstrom-linux.gcc-cross-initial/gcc/mips64-angstrom-linux/4.8.1/ld:
BFD (GNU Binutils) 2.23.2 assertion fail
/builds1/angstrom/build/tmp-angstrom_next-eglibc/work/mips64-angstrom-linux/binutils-cross/2.23.2-r4/binutils-2.23.2/bfd/elfxx-mips.c:3453
| collect2: error: ld returned 1 exit status

(From OE-Core rev: eda721f0c85afa30c2b3030ef76522cc3451af21)

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>
2013-07-05 15:34:26 +01:00
Emilia Ciobanu fc82975607 mkelfimage: switch to git repository
The project has switched to using git for version control.

(From OE-Core rev: 8a9a476c03a3bc2782206799933d92e216032ff7)

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-05 15:34:22 +01:00
Paul Eggleton 209f92b68f rpm: add wrapper for debugedit executable
This should fix sstate relocation issues with debugedit failing during
do_package on the Yocto Project autobuilder.

(From OE-Core rev: b7c2e01753e4a09388a3282e534bcbd163cd6ef7)

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>
2013-07-02 22:26:57 +01:00
Paul Eggleton 23e87bdbcd python-native: add python-codecs-native to RPROVIDES
This is now required by python-argparse-native as of OE-Core revision
8d0e84bdfaf63ad61be7b015dd55dacccfa9132c.

(From OE-Core rev: e9e03d44d6a402fecdf0d62ff09a1f6af9da10bb)

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>
2013-07-02 22:23:50 +01:00
Khem Raj 889b451516 bison: Delete unused patch
(From OE-Core rev: 5917b04027f44e0c4425154dcc0563bbd681c1d8)

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>
2013-07-02 22:23:49 +01:00
Ionut Radu 70a26477ce apt: Updated from 0.9.8.1 to 0.9.8.2
(From OE-Core rev: 1500b4e7f6adec612efbdebad6a08a1efeeda7b6)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>

[sgw - fixed apt-native checksums]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-02 22:23:46 +01:00
Paul Eggleton d70439a185 python-git: add recipe
This is used by buildhistory-diff and the OE layer index, and thus will
be useful in the context of the build appliance and buildtools-tarball.

(From OE-Core rev: 449ae5a70bc7d7d08f99de7d272b4cc3c83c3dcc)

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>
2013-07-02 22:23:43 +01:00
Paul Eggleton 8146519141 python-gitdb: add recipe
This is required by python-git.

(From OE-Core rev: bcbb34c26a235a103b46aa5c8ae7b3896904a215)

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>
2013-07-02 22:23:43 +01:00
Paul Eggleton 37564528be python-smmap: add recipe
This is required by python-gitdb.

(From OE-Core rev: 37890014f406ca2ab24e0ec918af39613642afa0)

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>
2013-07-02 22:23:43 +01:00
Paul Eggleton 2e58f7d33e python-async: add recipe
This is required by python-gitdb.

(From OE-Core rev: 31bc9fa8d53110a09ca048039d83213b34f4b7e4)

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>
2013-07-02 22:23:42 +01:00
Lukas Bulwahn 67f76e6fc2 python-multiprocessing: adding runtime dependencies
As python-multiprocessing requires python-threading and
python-pickle, this commit adds them as runtime dependency.

The observed behavior was:

When typing 'import multiprocessing' in the python shell on a
minimal image with only the python-multiprocessing recipe installed,
python reports at first:

Python 2.7.3 (default, Jun 27 2013, 08:26:25)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import multiprocessing;
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/multiprocessing/__init__.py", line 65, in <module>
    from multiprocessing.util import SUBDEBUG, SUBWARNING
  File "/usr/lib/python2.7/multiprocessing/util.py", line 38, in <module>
    import threading        # we want threading to install it's
ImportError: No module named threading

After adding python-threading as runtime dependency and rebuilding
the image, python reports:

Python 2.7.3 (default, Jun 27 2013, 08:26:25)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import multiprocessing;
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/multiprocessing/__init__.py", line 84, in <module>
    import _multiprocessing
ImportError: No module named cPickle

(From OE-Core rev: e913412ca0ff01cb654757c8199e8859f15b7cf7)

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-28 11:02:41 +01:00
Lukas Bulwahn 524572af7e python-argparse: adding runtime dependency on python-codecs
When typing 'import argparse' in the python shell on a minimal image
with only the python-argparse recipe installed, python reports:

Python 2.7.3 (default, Jun 27 2013, 08:26:25)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import argparse;
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/argparse.py", line 91, in <module>
    from gettext import gettext as _
ImportError: No module named gettext

The python-argparse recipe requires the python gettext module,
which is currently provided by python-codecs.
Hence, this commit adds python-codecs as runtime dependency to
resolve the issue.

(From OE-Core rev: 8d0e84bdfaf63ad61be7b015dd55dacccfa9132c)

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-28 11:02:41 +01:00
Khem Raj 3030bbd85d gcc-4.8: Fix ICE on ppc/spe targets
Rename patches to make them easly to apply with git

(From OE-Core rev: 040a55d0b730bf78aad0f51e0018faa88655e279)

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>
2013-06-28 09:14:07 +01:00
Hongxu Jia b50d97cb4a adt_installer_internal:add sudo when permission deny on installation directory
When the user doesn't have rights to access the installation directory,
the sdk installation will fail, add sudo to fix this.

[YOCTO #4760]

(From OE-Core rev: 040010d04672c93f18d60308ecf3c26a26ec5fd3)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-28 09:14:07 +01:00
Hongxu Jia 321134f88d adt_installer_internal:fix perl lib version mismatch
When run "autoreconf" in toolchain, there is an error if the host's perl's
version is not the same as the one in the SDK, the error says that the
executable perl mismatches the perl lib's version.

This is because most of the autotools' scripts use the "#!/usr/bin/perl -w"
which is host perl, but the gnu-configize uses "#! /usr/bin/env perl" which
invokes the perl wrapper in the SDK, and the wrapper will set the PERL5LIB to
the SDK which causes the mismatch. We can make all the perl scripts to use the
host perl or the SDK perl to fix this problem.

[YOCTO #4758]

(From OE-Core rev: 487d1fa7b79e89518494986461c157bace842613)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-28 09:14:06 +01:00
Hongxu Jia 8b45f23237 adt_installer_internal: fix perl modules relocated failed on older distributions
The perl module for automake has an embedded path in it, this needs
to be relocated.

Older versions of 'file' do not return the "ASCII" text in the output for
a perl module file. Hence, the regex pattern didn't match perl module and
they were not getting relocated at all on older distributions.

1) On CentOS release 6.4, the version of file is 5.04
$ file /usr/lib/perl5/Config_heavy.pl
$ /usr/lib/perl5/Config_heavy.pl: Perl5 module source text

2) On Ubuntu 13.04, the version of file is 5.11
$ file /usr/lib/perl/5.14/Config_heavy.pl
$ /usr/lib/perl/5.14/Config_heavy.pl: C source, ASCII text, with very long lines

[YOCTO #4550]

(From OE-Core rev: 7cfab2c895bf4daa7716fb7509e367bf74f016e4)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-28 09:14:06 +01:00
Laurentiu Palcu 8e9501ffa8 populate_sdk_base, adt_installer: abort install if path contains spaces
Spaces are not handled properly in some parts of oe-core and it's safer
to abort toolchain installation if path contains spaces. Even though
we fix space handling in the toolchain installation script, there are
various other parts in the toolchain (perl scripts, sysroot path passed to
toolchain binaries, shebang lines) that would need special handling. So,
for now, just bail out if path contains spaces.

The checking for spaces in the path is done after expanding relative
paths to absolute and tilde conversion.

[YOCTO #4488]

(From OE-Core rev: 8c35ba2d3048ce69f74f72cb2676e4bc162cfb63)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-25 17:59:17 +01:00
Saul Wold 1f57651ba1 chrpath: Fix SRC_URI to correct location
(From OE-Core rev: 6b7ab43722a94e7a0ced72ffb7497e5d507a39cd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-25 17:44:59 +01:00
Mark Hatle 051eb15093 buildtools-tarball: Add nativesdk-make
Recently it was discovered that many Fedora hosts have a broken version of
make 3.82.  Add make to the buildtools-tarball, as well ad modify make to
support building a special nativesdk version.

(From OE-Core rev: ea972fc4ce2268f01be6beeafd27dd949d800f9d)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-25 17:44:59 +01:00
Mark Hatle 316e24233c make: Fix second part of bug Savannah 30612
The Savannah bug 30612 describes two different issue.  The first,
previously fixed, errors parsing multiple objects in parenthesis.
The second, (this issue), extra white space contained in the
parenthesis.

The fix was backported from the current make git tree:
http://git.savannah.gnu.org/cgit/make.git/commit/?id=b06b8c64a29a5ba3a8daecd829fa2f98d42cb285

(From OE-Core rev: 681b4c2cd9830cd523080aa830748d9c3367c7c9)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-25 17:44:59 +01:00
Mark Hatle 216e4dc4aa gcc: When cross compiling a target gcc, target flags may be used on the host
The original fix worked some of the time, but not on all machines.  Fix
this by applying the change in a different way.  Following the example of
the existing BUILD_CFLAGS.

Below is the commit message from the original change to help explain why
this is needed:

Configure identifies a number of warning flags (WARN_CFLAGS and
WARN_CXXFLAGS) from the $CC value.  The cross compiler may be different
from the host compiler and may not support the same set of flags.  This
leads to problems such as:

cc1plus: error: unrecognized command line option "-Wno-narrowing"
cc1plus: error: unrecognized command line option "-Wno-overlength-strings"

Work around this problem by removing the warning flags from the
BUILD_CXXFLAGS value, in a way similar to the BUILD_CFLAGS.

(From OE-Core rev: be21c6e8e4f810e826538337dac6e34ed96e1f6f)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-25 17:44:58 +01:00
Kai Kang 6d5d49e7a1 python-pygtk: fix parallel compile issue
defs.c dependes on gdk-types.defs and gtk-types.defs. When parallel
compile, it may fails with:
"IOError: [Errno 2] No such file or directory: 'gtk-types.defs'"

Add them to dependences of defs.c to fix this issue.

(From OE-Core rev: edf278eec71552bcd3ac661dce8e8b7489463f6a)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-25 17:44:53 +01:00
Kai Kang a0102b35af python-pygobject: disable parallel install
The installation of __glib.so is invoked by install-data-am target
which are generated by automake. installing libpyglib-2.0-python is
invoked by install-exec-am.

"make install" will firstly install libpyglib-2.0-python, then install
__glib.so, the sequence should not be broken, since _glib.so has
dependence on libpyglib-2.0-python. But when enable parallel install,
the sequence maybe break then installation fails with:
 "/usr/bin/ld: cannot find -lpyglib-2.0-python"

Disable parallel install to fix this issue.

(From OE-Core rev: e87a0c81c77d11f892a34c2d14ffbeb4342d32dd)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-25 17:44:53 +01:00
Kai Kang 1ff6828fe9 openjade-native: fix build failure
Fix openjade-native build failure when build directory name contains the
characters ".a".

(From OE-Core rev: f005670ee8f6d02e0b0517a48b47b364f0bddf2d)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-25 17:44:53 +01:00
Kai Kang 302a039cda strace: add configure options libaio and acl
Add strace configure options libaio and acl to enable or disable build
with them. Then PACKAGECONFIG can be used to handle dependency.

Set "libaio" as a default feature of PACKAGECONFIG.

(From OE-Core rev: 9b6b7973a5e49fe9cd283c5b4af31e8a7940e7b5)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-21 13:24:49 +01:00
Kai Kang 4e5ba5f882 strace: update to 4.8
Update strace to 4.8:

* Update License file.
* Remove the backport patches which are already in version 4.8.
* Add file git-version-gen from git repo. Without this file configure
  fails.

(From OE-Core rev: 3ae2592b40900caaebe2452c875912f82f9e5200)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-21 13:24:49 +01:00
Kai Kang d3027b3e9b tcl: fix unit test boundary year issue
Unit test clock.test check the boundary year 2099 which is not
inclusive. Include 2099 to be a valide year number.

(From OE-Core rev: c6386c8661f18f6b9104c74345120a56e2330ea4)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-20 15:12:21 +01:00
Kai Kang a58a1e63d7 tcl: remove hardcoded library install path
Remove hardcoded library install path and then install library to
${libdir}.

(From OE-Core rev: ec06d828d8ee623b0064713583344db84496ef1e)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-20 15:12:21 +01:00
Laurentiu Palcu 2a4d076bdd qemu: fix segfault in Xorg when not using kvm
This backported patch will fix this Xorg issue and, probably, many
others which didn't show up yet.

[YOCTO #4737]

(From OE-Core rev: c659903841da7aa44675d2970d1b92841b91d29e)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-20 15:09:11 +01:00
Kai Kang be58154baf autogen-native: fix build failure on overloaded hosts
On some overloaded hosts, shell commands of autogen may can not
finish in 5 secs. This has caused many build failures, so increase
the timeout limit to fix this.

(From OE-Core rev: 92c7a0bec3f3c9fec04a6019aa9cee395ba5a9ab)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-19 18:03:34 +01:00
Martin Jansa 6038a40e0e gcc-4.8: Backport fix for ICE triggered in pixman
* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57329

(From OE-Core rev: 255c22994449c3d9eb34c80f0a1159ad6714347e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-18 17:33:16 +01:00
Paul Eggleton c91deb497c pseudo: drop version 1.4.5 recipe
We've been using 1.5.1 for a while now with success, so in line with the
OE-Core policy of avoiding multiple versions of the same recipe let's
drop this version.

(From OE-Core rev: c26fd671466f42d76cbd99e275dc91fc322062c4)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-18 17:33:15 +01:00
Paul Barker 692b751729 opkg: put libopkg header files into libopkg-dev
The header files for libopkg belong in the package libopkg-dev rather than
opkg-dev where they are placed by default.

(From OE-Core rev: f79cd4208340b56afc044d8e3abc72d43d395062)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-18 17:33:15 +01:00
Paul Barker ea4217591a opkg: fix header installation for libopkg
When opkg is built outside the source directory, libopkg headers aren't all
installed as the search path for headers only includes the directory that make
is being ran in, not the source directory. So we fix this by adding
$(srcdir)/*.h to the list of header files to install.

Without this patch, "/usr/include/libopkg" will only include the file config.h.
With this patch, other files such as "opkg.h" are present which are needed to
compile software which uses libopkg.

The new patch has also been submitted upstream as a fix to opkg itself.

(From OE-Core rev: 873689bbabba25e7be5c12317c04519a7bc8d0ef)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-18 17:33:15 +01:00
Richard Purdie c281cd149b python: Add nativesdk wrapper to handle terminfo
Currently if you build nativesdk-python, install it and try and run it,
you see it search in the default nativesdk path for terminfo files
when the readline module is used.

If terminfo files cannot be found, or if the ones found are incorrect,
the system may emit control characters which confuse commandline
processing.

This patch sets the TERMINFO_DIRS variable to ensure the correct locations
are searched for terminfo files, starting with the nativesdk terminfo files
and falling back to the host systtem's.

(From OE-Core rev: 682861166f39fbdcd0c9b923139faab2d40362cf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-18 17:33:14 +01:00
Khem Raj 8d3397b2f1 python: -Wformat is needed by gcc 4.8
This fixes errors in packages using python( build with gcc 4.8)

|
/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/python2.7/modsupport.h:27:1:
error: 'PyArg_ParseTuple' is an unrecognized format function type
[-Werror=format=]
|  PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...)
Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3);
|  ^
| cc1: all warnings being treated as errors
| cc1: all warnings being treated as errors

(From OE-Core rev: 5745a482a85c064a1eec960aff104cf8ce588e30)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-14 12:44:37 +01:00
Ross Burton 81c3428e5c python-native: add nativepython symlink
Add a symlink to the native Python so that scripts can just invoke
"nativepython" and get the right one without needing absolute paths (these often
end up too long for the #! parser in the kernel as the buffer is 128 bytes
long).

The name "nativepython" was chosen to match the existing "nativeperl" which
serves the same purpose.

(From OE-Core rev: d99dac66e3e121e96c4d8a29aee846d4b8f38622)

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>
2013-06-13 17:38:10 +01:00
Ross Burton c88d41760a dpkg: drop the usage of create_wrapper
create_wrapper was previously abused to invoke the Perl interpretter directly
instead of relying on #! parsing, which is read into a 128 byte buffer so breaks
with deep build directories.

However we already install a "nativeperl" binary into the native sysroot, so
use sed to change the #! line to /usr/bin/env nativeperl.

(From OE-Core rev: c4f987239fe78783d732df673a5e592bb05a877d)

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>
2013-06-13 17:38:10 +01:00
Saul Wold 4f661f4bff help2man: Update to 1.43.2
(From OE-Core rev: 6d5d89deed0dca25220e5bc20de005d427b5e144)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-13 17:38:09 +01:00
Saul Wold a7d2ab73db cmake: Update to 2.8.11.1
(From OE-Core rev: 56f4e7101d2bbb0692607a54b3392f2703c11a32)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-13 17:38:09 +01:00
Riku Voipio b85b6118d5 qemu: update to 1.5.0
Patches removed:

0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch
 - applied
0002-docs-Fix-generating-qemu-doc.html-with-texinfo-5.patch
 - fixed different upstream
Revert-vmware_vga-Add-back-some-info-in-local-state-.patch
 - fixed different upstream
arm-bgr.patch
 - this should be also fixed upstream, if still issue please resend.
fallback-to-safe-mmap_min_addr.patch
 - this should be also fixed upstream, if still issue please resend.
linker-flags.patch
 - unneeded with makefile changes

from configure the obsolete --audio-cards-list option has been removed.

(From OE-Core rev: 408f933f3b5523fc26ee818a16bb4162c4343192)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-13 17:38:08 +01:00
Khem Raj a6daa838df gcc: Upgrade to 4.8.1
(From OE-Core rev: 1584e587288d355eef29f4f447a75388ed86f314)

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>
2013-06-13 17:38:08 +01:00
Laurentiu Palcu d5f593c25f rpm: replace rpm-postinsts dependency with run-postinsts
run-postinsts is generic and will handle rpm delayed postinsts just
fine. No need to use another recipe.

(From OE-Core rev: 1195a188f366fbbb04b9379d7ea3c7c02130cc98)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-11 15:38:05 +01:00
Laurentiu Palcu 76cd8a776b run-postinsts: make it generic
This recipe is used only when the package manager is not deployed on
target and there still are delayed postinstalls that need to be run on
target. At the moment, run-postinsts is targeted to dpkg/opkg. RPM uses another
recipe, called rpm-postinsts which, in turn, is used even when the rpm
package is deployed.

This patch intends to make run-postinsts generic and deprecate
rpm-postinsts. Here's why:
 * when opkg/dpkg are not deplyed, the meta-data files are useless.
   Hence, the awk script is not needed. The postinstall files are already
   saved in /etc/(deb|ipk)-postinsts directory and we can use the same
   procedure as in rpm's case;

Also, the recipe is moved out from meta/recipes-devel/dpkg to
meta/recipes-devel/run-postinsts.

(From OE-Core rev: 0222e6740ee4670bbf42d246ab3ecad415ffcdee)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-11 15:38:04 +01:00
Richard Purdie 80d6316574 git/tar/findutils: Add nativesdk versions
We need to be able to generate a standalone tarball containing tar/git so
add nativesdk versions of the appropriate recipes to allow this to be possible.

Tweak the git perl paths to avoid warnings when building the nativesdk version,
ensure the binaries are wrapped correctly and avoid update-alternatives in
nativesdk-tar.

(From OE-Core rev: c91bb8c76e3bd45690e66f3de79cd3adfe45f600)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-07 16:48:30 +01:00
Dan McGregor 61ded4c7e6 python: enable IPv6 based on DISTRO_FEATURES
Base this on DISTRO_FEATURES, because we don't want it
unconditionally enabled.

(From OE-Core rev: 6956fb01e0c7332e4d8b59cbcb1cd997c54191fc)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-07 16:48:28 +01:00
Bogdan Marinescu 2ee07173a6 subversion: upgraded to 1.7.10
(From OE-Core rev: 6866fd80ec59ef1e2d24263827237be8ff21584f)

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>
2013-06-07 16:48:24 +01:00
Bogdan Marinescu 26133c2916 diffstat: upgraded to 1.57
(From OE-Core rev: 36f14ee692a632234a4670f4b4ec2db8f4e32241)

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>
2013-06-07 16:48:23 +01:00
Andrei Dinu 31073bc1e6 linuxdoc-tools-native : upgrade to 0.9.69
upgrade from 0.9.66 -> 0.9.69

- COPYING file contains now more detailed information.
- reworked a patch because it didn't apply.

(From OE-Core rev: 376612cbf7fa5c68ae3adb6f4c1b4427e69a1871)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-07 16:48:22 +01:00
Roy.Li 2aed8981e6 gcc: add build directory to include directories
Add build directory to include directories by -I${B}/include which will
be searched before standard system include directories.

Both libunwind and gcc supply unwind.h, once gcc use libunwind's unwind.h,
the compiling will fail.

This patch is generally not applicable to the upstream as they do not
use libunwind.

(From OE-Core rev: 2b47bce78536a800205b2385bba69038351545e5)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-04 15:55:46 +01:00
Mark Hatle 807476eac7 gcc: Workaround for compiler flag mismatch
When cross compiling the target compiler, both the cross-compiler
and the host compiler are used.  However, the -W options used were
discovered from the cross-compiler and may be incompatible with the
host compiler.

(From OE-Core rev: 1f40202ce3c1282674b6cea39ef709972275f201)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-04 15:55:46 +01:00
Peter Kjellerstedt 59bb8e17c7 makedevs: Make count actually behave as a count for device blocks
Previously count actually behaved as end, and did not take start into
account.

(From OE-Core rev: 4fe2b01bfd2831b002e7138dadbc0437df6e9ed6)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-04 11:43:36 +01:00
Saul Wold 6fa824ec8f gdb: don't build with LZMA
This was a floating dependency that got added in recently and was
caught on the Autobuilder, disable building with LZMA to ensure
consistent builds

(From OE-Core rev: 1e58fc8f6ac8f13d6c86a3ae340d90dd53b3ec27)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-04 11:43:34 +01:00
Zhenhua Luo 14010b4a60 binutils: fix compile error of complex expressions before @l/@h
Back port two patches to fix the error of complex expressions before @l/@h.

Error sample:
test.s: Assembler messages:
test.s:1: Error: operand out of range (0xffffffffffff8000 is not between 0x0000000000000000 and 0x000000000000ffff)

Fix Bug 4524.

(From OE-Core rev: 9ba812ab1f613d28f9eb3192d2ff1a34dfce33e4)

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-03 16:47:40 +01:00
Richard Purdie 66dfd49b86 apt-native: Fix incorrect checksums
The apt recipe had the correct checksums, the -native did not. Depending
on which downloaded first, the build could succeed or fail.

This patch corrects the checksums for -native to match the apt recipe.

(From OE-Core rev: 86d0708bb59952a139e705a8c396e70dd0084b75)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-03 16:43:37 +01:00
Ross Burton 73dae11852 rpm: remove .real hacks in argument parsing
The argument parser in RPM was patched to look for <binary>.real, but since the
wrapper now fakes the right argv[0] rpm wasn't able to parse any options.

(From OE-Core rev: a67b4cfc41819ed77ed2bc4246228e9d006a4317)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-31 14:02:45 +01:00
Richard Purdie 00c3a84272 dpkg: Be deterministic about lzma dependency
dpkg has no DEPENDS on lzma so turn it off explicitly.

[YOCTO #4518]

(From OE-Core rev: 12fbd693f4565e66d10af4e801e7435996d67e76)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-31 08:14:10 +01:00
Jonathan Liu 254b93224a file: remove obsolete version check patch
After e8d2a2a3646f964ec61ece62e14788cd7184dd01 [OE-Core], file --version
returns file-5.14 instead of file.real-5.14 so the patch is no longer
necessary and causes the build to fail with the following:
| Cannot use the installed version of file (file-5.14) to
| cross-compile file 5.14
| Please install file 5.14 locally first

(From OE-Core rev: f89f705da9bffd9d10628e90a415db4411d22b4e)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-31 08:06:57 +01:00
Paul Eggleton 4c6939f657 python-smartpm: add gettext-native to DEPENDS
Fixes the following failure at do_install building python-smartpm-native
if gettext-native has not already been built and gettext tools are not
installed on the host:

| compiling locale/it/LC_MESSAGES/smart.po -> locale/it/LC_MESSAGES/smart.mo
| sh: msgfmt: command not found
...
| creating $D/usr/share/share/locale/it/LC_MESSAGES
| error: can't copy 'locale/it/LC_MESSAGES/smart.mo': doesn't exist or not a regular file

Note that we need gettext-native in DEPENDS and not "inherit gettext"
here because for native variants, gettext.bbclass instead adds
gettext-minimal-native to DEPENDS and that does not provide the msgfmt
command.

(From OE-Core rev: e8d903e2d5e0c0df18dfd9561c3f8ef340297f1f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-30 21:00:56 +01:00
Peter Kjellerstedt ba319bbffa makedevs: Avoid unnecessary timestamp calculation
(From OE-Core rev: af4b5eac7acf36444de078c294c3adc3f2763511)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-30 20:59:13 +01:00
Peter Kjellerstedt c8bfe84eef makedevs: Make the mode number readable in debug messages
(From OE-Core rev: 56f4adfc37d44e9626a5d157863f4b760bb516ec)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-30 20:59:12 +01:00
Peter Kjellerstedt 4844884d13 makedevs: Correct the device number calculation for blocks of devices
If the increment > 1 and the start > 0 then the calculation for the
minor device number was incorrect.

(From OE-Core rev: 0a878426bee607a7d961ba475a7ec7e89115df35)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-30 20:59:12 +01:00
Peter Kjellerstedt 6804eec625 makedevs: Create blocks of devices with the correct uid/gid
When creating a block of devices (i.e., when count > 0), the wrong
path was used with the call to chown(), effectively trying to change
the owner of some (probably) non-existent file. Thus the created
device nodes were always owned by root.

(From OE-Core rev: e7796880164d6a37c2699a94e1c5391337c5eaa5)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-30 20:59:12 +01:00
Bogdan Marinescu d4e632a16a guile: added runtime dependency on glibc-gconv-iso8859-1
guile needs to be able to convert strings from ISO-8859-1 in order
to work properly. This patch adds a runtime dependency to the required
convert package, but only when glibc is used. The fix for uClibc depends
on another bug (#4530).

[YOCTO #4019]

(From OE-Core rev: 0e519c99bafd49ecac97b1fb9185a4d02fb44d75)

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>
2013-05-30 20:59:10 +01:00
Hongxu Jia f5d0f6becc python-scons-native: fix invoking scons failed on Fedora-17
While the destro didn't install scons, build scons by python-scons-native,
and invoke it with the error:
...
$scons -h
Traceback (most recent call last):
  File "/buildarea2/hongxujia/build-20130520-udev-emenlow/tmp/sysroots/x86_64-linux/usr/bin/scons", line 188, in <module>
    import SCons.Script
ImportError: No module named SCons.Script
...

1, While building scons as default, scons's lib will be install in the dir of
`scons' or `scons-2.3.0' if the option `--install-lib' is not set explicitly.

2, While build python-scons-native, `--install-lib' is explicitly set, and
scons's lib was not installed in the dir of `scons' or `scons-2.3.0'.

3, While invoke scons-native, the scons searches the lib in ${STAGING_DIR_HOST}/
${PYTHON_SITEPACKAGES_DIR}/scons, ${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}/
scons-2.3.0 rather than ${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}.

Use create_wrapper to relocate scons-native to add `${STAGING_DIR_HOST}/${PYTHON
_SITEPACKAGES_DIR}' to PYTHONPATH, so scons-native could find out the lib.

[YOCTO #4562]

(From OE-Core rev: 1aa828d05ae1614689542c6a9ce6425a088bdc7d)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-30 20:59:09 +01:00
Marko Lindqvist e9648158c3 pkg-config: remove obsolete AM_PROG_CC_STDC
Add patch obsolete_automake_macros.patch that removes
AM_PROG_CC_STDC from included glib tree.

(From OE-Core rev: 5e06a20403c59f80e0ffa90626a2bab832af7a46)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-30 20:59:08 +01:00
Saul Wold a09c5e4b0b patch: use PACKAGECONFIG to ensure correct dependency for xattr
This will enable or disable xattr with the correct dependency
on attr as needed.

(From OE-Core rev: dd219cb2608e5800dcd900117b37ad8cf9ac689a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-30 20:59:08 +01:00
Ming Liu e4967e668f dpkg-native: Fix native perl path
The path to the native perl was incorrect leading to rootfs failures. This
patch corrects that problem, it's a complementary fix for commit:04432446.

(From OE-Core rev: 0f99d7fed094a59d2c5c01c83ea38dc852aadf6b)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-29 22:17:11 +01:00
Jackie Huang 1515425237 guile: don't search for libreadline in host libdir
Fix the QA warning:
WARNING: guile: The compile log indicates that host include and/or library paths were used.

(From OE-Core rev: 1582975cd89b0b71c93913f07648c67f2b18bc99)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-29 22:14:18 +01:00
Samuli Piippo 0d2211a41c gdb-cross-canadian: use correct exec-prefix path for python
Incorrect exec-prefix path was given to gdb which leads to gdb
startup failure when SDK is not installed to its original destination.
Gdb relocates the exec-prefix path, so it will work for SDKs that
are installed to different location. PYTHONHOME env in no longer
neeeded for gdb.

[YOCTO #3839]

(From OE-Core rev: e77603324332b932c73c9e22ab65a0b9b7c17798)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-29 22:07:55 +01:00
Marcin Juszkiewicz 40187e50da binutils: add two AArch64 related backports to 2.23.2
Update required to pass "movi" related build errors when gcc-4.8 is
used.

libgcrypt, slang, mysql5 were failing like this:

| {standard input}: Assembler messages:
| {standard input}:316: Error: immediate value out of range 0 to 255 at operand 2 -- `movi v3.8b,-106'
| {standard input}:348: Error: immediate value out of range 0 to 255 at operand 2 -- `movi v3.8b,-8'
| {standard input}:352: Error: immediate value out of range 0 to 255 at operand 2 -- `movi v3.8b,-27'

(From OE-Core rev: 2489151dbfc8bc002d89ab199d457ab3794c54a8)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-29 22:07:55 +01:00
Bogdan Marinescu 493556b4df autogen-native: upgraded to 5.17.4
(From OE-Core rev: 849d98a45b3f21f55bfecdd9daf494a632d53a48)

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>
2013-05-29 22:07:54 +01:00
Bogdan Marinescu 5fa3649113 python-dbus: upgraded to 1.2.0
The license itself didn't modify, just some comments regarding the license.

(From OE-Core rev: ccf27bfe1269df74fa00b77447fecfe2368c0191)

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>
2013-05-29 22:07:53 +01:00
Bogdan Marinescu 6ff3a262bc git: upgraded to 1.8.3
(From OE-Core rev: 7d1ab4fe3bd78799b2e6401c6413d43655de348e)

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>
2013-05-29 22:07:53 +01:00
Ionut Radu b752e188ce apt: Updated from 0.9.7.8 to 0.9.8.1
(From OE-Core rev: 76b32bbe16c790ed81fffe37e67d80d1ec754e4e)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-29 22:07:52 +01:00
Saul Wold 39214157da binutils: the cat should always succeed when building config.cache
There is a race condition between when the CONFIG_SITE list is generated and
then used here via the cat to create the config.cache and in *all* configure
scripts when reading from CONFIG_SITE.

The race in this case is that the sstate setscene task runs on a package that
contains a site config file (ncurses in this case) and then bitbake decides
that it needs to rebuild and cleans out the site config file, so it existed
for siteinfo_get_files() to find in SITECONFIG_SYSROOTCACHE and then was removed
for the rebuild. When bintuils tried to run the do_configure() task which creates
the binutil's version of config.cache it reads from CONFIG_SITE which now contains
the non-existant site config file. (confused yet ;-)?

Currently the configure script does a test -r to ensure the file is readable
before using it, therefore having the cat succeed regardless of the file being
available is consistent behaviour.

(From OE-Core rev: ffd8f05e5548500199c9b04a174067811ad2c5e7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-24 14:14:47 +01:00
Ionut Radu 8f5abd2812 qemu: Updated from 1.4.0 to 1.4.1
0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch and 3f08ffb4a4741d147634761dc053ed386243a0de.patch were backported in 1.4.1

(From OE-Core rev: d3fd92010a0b965fe1b7696f7c4e6c02d07f85dc)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-24 14:14:46 +01:00
Saul Wold 70d48673ae patch: diable xattr as default
There is a optional dependency on xattr (and thus the attr package),
disable it by default, to ensure it builds correctly.

(From OE-Core rev: a7de32c8ad1405ed31b620fb99dfe0fe80ac23a9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-24 14:14:45 +01:00
Jesse Zhang 73b752897d perl-tests: convert to ptest
On 05/17/2013 05:31 PM, Björn Stenberg wrote:
> Unless there are clear advantages with patching t/TEST that I have overlooked, I suggest using sed in run-ptest instead.

Ok.. Here is the new commit.

Removed the patch and added a call to sed in run-ptest. See attachment
for the test log.

From: Jesse Zhang <sen.zhang@windriver.com>
Date: Tue, 14 May 2013 02:53:30 -0400
Subject: [PATCH 1/1] perl-tests: convert to ptest

Replace PERL_TEST_DIR with PTEST_PATH, and rename "tests" with "ptest"
in various places. Also add a run-ptest script.

[YOCTO #4292]

(From OE-Core rev: 364cad5d8eecfec74a7be8cf93e75cd63031101f)

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-24 14:14:45 +01:00
Saul Wold 24380e2be9 cmake: Update to 2.8.11
Rebased support-oe-qt4-tools-names as some of the changes where
added in the upstream code.

(From OE-Core rev: 13399264e987b698b120688dc5018adb3fa8522d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-24 14:14:42 +01:00
Saul Wold 1f2436e5c4 mklibs: Update to 0.1.37
(From OE-Core rev: 4132b811bff36f79caecb3cfb0b7b0b91c2abfc1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-24 14:14:42 +01:00
Saul Wold 54cf30d019 desktop-file-utils: Update to 0.21
(From OE-Core rev: a728571f14e4ee5f97043d8b38f14b5513d8d43d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-24 14:14:41 +01:00
Chen Qi f7b639e527 rpm-postinsts.bb: enable postinst logging
Enable postinst logging by checking the configuration in ${sysconfdir}
/default/postinst.

In this way, the postinst logging is enabled if 'debug-tweaks' is
in IMAGE_FEATURES, and at the same time, we avoid unnecessary rebuild
if IMAGE_FEATURES is changed.

[YOCTO #4262]

(From OE-Core rev: 6f2aa32f10c24c84e581128bb3a976ef071197ac)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-23 10:28:05 +01:00
Chen Qi 0bf2c0af71 opkg: modify the run-postinst script to enable postinst logging
Enable postinst logging by checking the configuration in ${sysconfdir}
/default/postinst.

In this way, the postinst logging is enabled if 'debug-tweaks' is
in IMAGE_FEATURES, and at the same time, we avoid unnecessary rebuilt
if IMAGE_FEATURES is changed.

[YOCTO #4262]

(From OE-Core rev: 35be6ffc19a5156aa029397707f1e6869684b821)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-23 10:28:04 +01:00
Chen Qi 45c37d6299 dpkg: modify the run-postinst script to enable postinst logging
Enable postinst logging by checking the configuration in ${sysconfdir}
/default/postinst.

In this way, the postinst logging is enabled if 'debug-tweaks' is
in IMAGE_FEATURES, and at the same time, we avoid unnecessary rebuilt
if IMAGE_FEATURES is changed.

[YOCTO #4262]

(From OE-Core rev: 881880992ac0edc5f928f7e3d2a8f3f993284df6)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-23 10:28:04 +01:00
Andrei Dinu f6d44383a1 cdrtools-native : upgrade to 3.00
Upgrade from 2.01 -> 3.00

- Updated md5 of the license file because new information
was added by the owner.
- Removed glibc-conflict-rename.patch because it is not
required anymore.
- Updated no_usr_src.patch because it didn't apply.

(From OE-Core rev: 951a8e422be93a3d06d0149f9b070eddcdb37afb)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-21 00:18:46 +01:00
Jonathan Liu 5c43ee2f2a opkg: remove unnecessary extra leading slash in run-postinsts
(From OE-Core rev: 047826f034f00c2402c0a078b5c918019fcf36a4)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-21 00:18:45 +01:00
Cristian Iorga ad35569044 python-pygobject-native: fix build dependency on python-native
The class-native override is undoing the dependency that distutils-base
added which we require. This patch adds in the missing dependency manually
to ensure the build functions correctly.

Fixes [YOCTO #4502].

(From OE-Core rev: ae28ee3f7a060b9e0d13154a84f2444a98490b5b)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-17 09:39:47 +03:00
Saul Wold 6de55b6968 rpm-postinst: remove un-needed RDEPENDS on base-files
This was transferred un-intentionally when we split the rpm code,
the base-files then layed down additional files (specificaly /etc/mtab)
in the initramfs image and caused problems for the installer code.

Removing the RDEPENDS will fix the image generation issue and thus
the installer, so we will need to revert a previous patch that attempted
to fix the earlier issue #4229.

[YOCTO #4504]
[YOCTO #4229]

(From OE-Core rev: 6861eb34e903c5ddf491eca04011b2219fe14267)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-17 09:37:29 +03:00
Stefan Herbrechtsmeier 046b0e1587 tcf-agent: Use common two-digit sequence numbers for init script links
The common init script links use two-digit sequence numbers and
systemd interprets everything behind the two-digits as service name.
This leads to the following failure during boot:
  Cannot add dependency job for unit 9tcf-agent.service

(From OE-Core rev: e29a13bf047ce90e9e1aae953044b9cab85f9aab)

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-16 00:21:23 +03:00
Khem Raj db668726d6 binutils: Add broadcom XLP support
(From OE-Core rev: f72a8257388f3df1d9b1f7ae516295afe227d3e3)

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>
2013-05-16 00:09:47 +03:00
Saul Wold c50b1fb475 pkgconfig: Update to 0.28
Remove older patches that have been fixed upstream, added new patch to
use the correct alias-libtool instead of ./libtool.

pkgconfig provides an internal glib library, so use it to avoid ciruclar
dependecny issues.

(From OE-Core rev: d91a43228c5ba35335a28de278194df23dcdf978)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-16 00:09:47 +03:00
Jonathan Liu badd718253 syslinux: Update to 4.06
Patches are now part of upstream or no longer needed.
Added new util-linux dependency for isohybrid.
Paths updated to reflect directory structure changes.
Add CFLAGS and LDFLAGS overrides.

[YOCTO #4438]

(From OE-Core rev: 17e7ac0c5e75245d17a90e5cc49ade3d18a168ba)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-16 00:09:46 +03:00
Saul Wold ea89950ba8 Upstream-Status: Correct Capitalization
(From OE-Core rev: 43b2a2f375e2201be7a9bb6a9c5c0a9fc61f3361)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-12 09:37:31 +01:00
Bogdan Marinescu cac01c037d tcl: upgraded to 8.6.0
The license checksum changed because of a small correction in the
license text.

(From OE-Core rev: eb2b082146cf3ba229a816faa9c87fd098c0627f)

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>
2013-05-12 09:37:30 +01:00
Marcin Juszkiewicz 02b0763203 gdb-cross-canadian: set everything in gdb-cross-canadian.inc
This allows out-of-tree versions to include one file to have all set.

(From OE-Core rev: c1bfe7985ac95644585e8b296edd9722c2ca4f57)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-12 09:37:30 +01:00
Marcin Juszkiewicz 2d912e2dfb gdb: add 7.6 version
(From OE-Core rev: ace67d28ab295451a59edcf02447bcd9095b3edb)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-12 09:37:30 +01:00
Bogdan Marinescu 0d8b27b8cc autogen: upgraded to 5.17.3
'guile.patch' updated for the new version.

(From OE-Core rev: 0f1b721a99ee1403ffe88dde97676316bca3004c)

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>
2013-05-12 09:37:30 +01:00
Wenzong Fan f31c86eee1 libtool-nativesdk: rename to nativesdk-libtool
Rename nativesdk item to prefix vs suffix. Some minor changes for
getting it works after renamed:

    * append patches dir 'libtool/' to FILESEXTRAPATHS
    * update ${S}, append '${datadir}/libtool/*' to FILES_${PN}

(From OE-Core rev: cc7deb8b8dbc58975b8f55cd63f237aa0ded0887)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-12 09:37:29 +01:00
Bogdan Marinescu d67e9bc9df subversion: upgraded to 1.7.9
(From OE-Core rev: 93381809e88f18ce8409a3517eb6b2cb69a42941)

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>
2013-05-12 09:37:29 +01:00
Saul Wold c13fc38881 kconfig-frontends: Update to 3.9.0
(From OE-Core rev: 117a6145c2aa8263f6eff6101e4a5006b9865564)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-12 09:37:29 +01:00
Saul Wold 8a35037d6e help2man: Update to 1.41.2
(From OE-Core rev: 41b3e68c324cb082e1b692bf63ac2244223e8e26)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-12 09:37:29 +01:00
Saul Wold dce2f05338 mklibs: Update to 0.1.35
(From OE-Core rev: 14565747b61b7181fab600a73490803a351bfd0f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-12 09:37:29 +01:00
Bogdan Marinescu 37c284c16b bison: upgraded to 2.7.1
(From OE-Core rev: 9cad15c8bc14d7f371e518b443650d1380b16516)

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>
2013-05-12 09:37:28 +01:00
Bogdan Marinescu 097e35deb0 git: upgrated to 1.8.2.2
(From OE-Core rev: a54b5f93c5b5fa00c7099fcc51e916db145ecfc2)

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>
2013-05-12 09:37:28 +01:00
Bogdan Marinescu d556ca2fd6 python-scons: upgraded to 2.3.0
"2013" was added in the 'Copyright' line in LICENSE.txt.

(From OE-Core rev: de425c01ffc50d53d570c24e2fe99e1a8b81e5ac)

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>
2013-05-12 09:37:28 +01:00
Saul Wold b34cf7ea4e rpm: ensure __mkdir_p matches __mkdir
They differ at times because one is set from the db_cv_path_mkdir and the other is
found during config time for the host (/usr/bin/mkdir), in the macros we should just
use __mkdir for the __mkdir_p variant.

[YOCTO #4452]

(From OE-Core rev: 2ab642056829aef675f75c05b9ac5bbc43c87cd1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-10 11:43:12 +01:00
Robert Yang 2f7c588c5a python: remove the default optimization
We had hard coded python-native and python's default optimization to 1,
which made the "assert" statement didn't work, and removed the "-O/-OO"
(optimization options), the target python had a "-N" option to disable
the default optimization, but the native python didn't.

I think that we can set the environment variable PYTHONOPTIMIZE or use
"python -O" if we need to optimize, but I'm not sure whether we need to
set it by default, it would confuse the user or cause/hide unexpected
problems if the "assert" doesn't work.

[YOCTO #4427]

(From OE-Core rev: 165ed464bbb9bf985dde9d8c15d000809901fff6)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-10 11:43:12 +01:00
Richard Purdie c3d18afaa5 classes/recipes/lib: Fix various python whitespace issues
There are some left over tab characters in the python functions. This
removes them and resolves python 3 errors.

(From OE-Core rev: fafeb381c48291fa65c634c01c244843c8d7fad3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-09 14:06:51 +01:00
Khem Raj 40fe7adfd5 gcc-configure-cross.inc: Remove info generation
Some distros have newer makeinfo which does not go well with
anything below gcc 4.8, this fix avoids regenerating info files

(From OE-Core rev: 50ac2ed5299e2b47b2f3fd9c9cde9d733d2f8d9b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-09 08:51:13 +01:00
Marcin Juszkiewicz 452f6b25ee gdb: tabs -> spaces
(From OE-Core rev: 8ec07ae2ebfd97aa1413a3c3be0dc612eee7e929)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-09 08:43:07 +01:00
Marcin Juszkiewicz e125870bec gdb: AArch64 lacks lttng support
(From OE-Core rev: 2288c2a9abe828ffb0bbd527105fb633ac818354)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-09 08:43:07 +01:00
Saul Wold b5d5b1bfa4 dmidecode: fix fetch path to use BP
This is so the multilib prefix is not used

(From OE-Core rev: 50e26e553152485461d096463db0fb4f4fa826d6)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-08 15:41:14 +01:00
Khem Raj 1e7b9ef7e2 gcc-configure-target: Add --enable-dependency-tracking to EXTRA_OECONF
Fixes errors seen while compiling gcc 4.8 for target, errors like

| /home/khem/work/angstrom/build/tmp-angstrom_next-eglibc/work-shared/gcc-4.8.0-r0/gcc-4.8.0/libatomic/cas_n.c:125:1: fatal error: opening dependency file .deps/cas_1_.lo.Ppo: No such file or directory

which are due to disabled dependency tracking but dependency files being still generated
while compiling libatomics.

(From OE-Core rev: c83cbc80af078d7be5deec44bba6e0ca29a5ee1a)

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>
2013-05-08 15:41:14 +01:00
Saul Wold 483c900a4f binutils: backport whitespace fix
This is a backport of a whitespace skipping issue: PR14987 and PR14887

(From OE-Core rev: f4312eaeb6eb2b7196be2b968e2e468e705fb2cf)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-08 15:41:13 +01:00
Khem Raj edcae40bf6 binutils: Upgrade 2.23.1 -> 2.23.2
(From OE-Core rev: 202f46b139ab20079e97cdeb147d59e23bcdfe01)

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>
2013-05-08 15:41:13 +01:00
Jonathan Liu 4bf8253af7 guile: Update to 2.0.9
fix_parallel_build_issue.patch is now part of upstream.

(From OE-Core rev: 87cb30d988843ab1159d23789cd334aaf2a77e34)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-08 15:41:13 +01:00
Mike Crowe d8afc32e78 gdb-cross: gdb-cross requires readline-native
gdb depends on readline so gdb-cross needs to depend on readline-native to
build successfully.

(From OE-Core rev: ee132d68220d7f515760d47db57e00d1d8263a1a)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Acked-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-08 15:41:13 +01:00
Darren Hart 5874564bf8 dmidecode: Add dmidecode to dev tools
Dmidecode reports information about your system's hardware as described
in your system BIOS according to the SMBIOS/DMI standard.

This recipe was updated to version 2.12 and cleaned up slightly from the
OE 2.10 version and proposed here for inclusion in oe-core.

(From OE-Core rev: 120495843118b55e865bb8d87933bd585fced992)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-03 16:19:21 +01:00
Josh Cartwright 3681c89432 gcc-4.7: fix gcc ICE when building with gcc-4.8
Backport fix for internal compiler error when building gcc-4.7.2 with a
gcc-4.8.0 host gcc.

See upstream bug here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56308

(From OE-Core rev: b1dc91969f9bb0c2a3a4336f5e9a2f57aabb9f78)

Signed-off-by: Josh Cartwright <josh.cartwright@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-03 16:19:20 +01:00
Phil Blundell 3dedd8f72c gcc-runtime: Avoid error when trying to remove nonexistent directories
If we didn't build libgomp then we won't have installed anything into
${infodir} or ${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude.  Check
whether those directories exist before trying to remove them, else we
will lose.

(From OE-Core rev: 507e14ecdc5b4ff2ee7f1128d9f30c2948e10d5a)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-03 16:19:20 +01:00
Richard Purdie 82a55f7808 dpkg: Ensure target packages don't reference perlnative
Currently a load of scripts in ${bindir} start with:

which is undesireable, this patch fixes that.

(From OE-Core rev: e3634ec359a71c9858698cb597d23c05b1184d2e)

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>
2013-05-02 17:41:54 +01:00
Laurentiu Palcu c6a769eb7e adt-installer: do not dereference symlinks when relocating
This was already fixed for meta-toolchain.

[YOCTO #4157]

(From OE-Core rev: 9e9331a4b859c4205c2a0406ab0224ac575e351b)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-02 17:41:54 +01:00
Laurentiu Palcu fe240006fb qemuwrapper: use fallback in case the ELF binary is wrong
This wrapper script is called mainly from intercept hooks and allarch
packages postinstalls. When multilib is used, the qemuwrapper script
points to the binary that matches the MACHINE architecture.

For example: if MACHINE=qemux86_64 and we activate multilib, then the
postinstalls for lib32 packages would call qemu-x86_64 with 32 bit
binaries and they would certainly fail.

This patch adds just a fallback method if the exit code of the previous
qemu call corresponds to "Invalid ELF image for this architecture"
error. This will allow us to have all postinstalls run on host.

(From OE-Core rev: 0c6ddb84043f0f917543cdaf4814efc15cd0273f)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-29 14:45:09 +01:00
Saul Wold a08dd5d456 pkgconfig: Move patches in prep for 0.28 update
(From OE-Core rev: 076e1c9895cc4f559fd58956a6eb1098918292b5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-29 14:45:09 +01:00
Saul Wold 8507e7892c file: Update to 5.14
(From OE-Core rev: 13b6bedab766657270a12c7c332914c69ebae085)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-29 14:45:08 +01:00
Saul Wold b50099466f dpkg: Update to 1.16.10
(From OE-Core rev: 47e37874372b405e64ed42168b66ef3dccefdb08)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-29 14:45:08 +01:00
Phil Blundell c296855519 gdb: Disable hard-coding of library rpaths
GDB's configury has a tendency to hard-code the path where it found
libexpat using "-Wl,--rpath".  This is undesirable and leads to QA warnings.

Fortunately, the helpful GDB maintainers have provided a "--disable-rpath"
switch to turn this behaviour off.  Let's use it and profit.

(From OE-Core rev: 3d70f28cc9612f733b835df139f31c197528677a)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-29 14:45:07 +01:00
Eric Bénard f94519c617 apt: update to 0.9.7.8
(From OE-Core rev: 09b3a782bf1c0738ddd7f9622a7fa4a1d51225ca)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-29 14:45:07 +01:00
Phil Blundell ac273d6564 gdb-cross: Adjust ${datadir} to avoid file conflicts in sysroot
GDB wants to install a bunch of files in ${datadir}/gdb/python/gdb
and ${datadir}/gdb/syscalls.  These pathnames are invariant with
TARGET_ARCH which means that if you build gdb multiple times for
different targets they will all try to write to the same location
and you get a lot of warning spew about manifest conflicts.

Prevent this by factoring the target specification into ${datadir}
so that different copies of GDB install their files into different
paths.

(From OE-Core rev: 3e87aba1ee2ca0e39ba66fb7cba52e48df499c23)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-29 14:45:06 +01:00
Bogdan Marinescu f2f835632c rpm: change arch scoring items
Don't add the first line of /etc/rpm/platform to the list of patterns
to match when computing an arch score, use it just for getting
information about the platform (cpu/vendor/os).

[YOCTO #3864]

(From OE-Core rev: 9263a2192ccf8ca513cbf7f2f88473e267e6b945)

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>
2013-04-29 14:45:06 +01:00
Paul Eggleton 612ad98ed2 python-smartpm: fix HOMEPAGE and adjust DESCRIPTION
* HOMEPAGE was incorrect
* We're not really interested in the fact that Smart works across
  different distros.

(From OE-Core rev: a7f8989e027abea84a371703909f62a8b9a03177)

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>
2013-04-29 14:45:05 +01:00
Paul Eggleton 1ef9b252cb libxml-simple-perl: add SUMMARY, DESCRIPTION and HOMEPAGE
(From OE-Core rev: 227144310f403f3457b9c3d5ccc8e79272a86330)

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>
2013-04-29 14:45:05 +01:00
Paul Eggleton b880008dc8 mtools: use same SUMMARY as newer version of mtools recipe
(From OE-Core rev: ccd5f4b8635d8771122cbc3173e33c6f568f7520)

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>
2013-04-29 14:45:04 +01:00
Paul Eggleton 6b731898ea icon-naming-utils: add SUMMARY and DESCRIPTION
(From OE-Core rev: 4fe0ddded508ba9ed90574ef0387b48dce029f3f)

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>
2013-04-29 14:45:04 +01:00
Andrei Dinu 9bc16a0987 pax-utils : upgrade to 0.7
upgrade from 0.6 -> 0.7

(From OE-Core rev: 5a868cc5aba80c9208973755541a060e417b77f0)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-28 12:12:20 +01:00
Marcin Juszkiewicz 361d686408 elfutils: split libraries into separate packages
(From OE-Core rev: 2b9db2c81bf55527ba3a44fbf94762e5009642a4)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-22 14:45:04 +01:00
Khem Raj 88a4fd8ab2 gcc-4.8: Fix GCC ICE on arm
armv5t was seeing ICE on code from elfutils it has been fixed upstream
so lets backport it.

(From OE-Core rev: 6c50d60ce3fd7242e67a531d5875edeb8b7a3651)

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>
2013-04-22 14:45:04 +01:00
Elvis Dowson fd566d20b7 gcc-4.8: Refactor gcc-4.8.0 patch files.
(From OE-Core rev: 16ab55220c4b602a8406c7a4405c737caae5907b)

Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
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>
2013-04-22 14:45:04 +01:00
Khem Raj c3cc4bfc83 gcc-4.8: Add recipes
(From OE-Core rev: c850415a1bdbb9268114d90fd0fc4cb3479de9c5)

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>
2013-04-22 14:45:04 +01:00
Lukas Bulwahn 6dc9a7edaf python-setuptools: Improving the runtime dependencies
When trying to import setuptools on a minimal image, it reports that some
python module is missing. We add those missing python modules as runtime
dependency.

(From OE-Core rev: c5de114f63fe3d60a48622ec5be8fa34ce177191)

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-22 14:45:03 +01:00
Richard Purdie c0f8159738 dpkg: Correct paths in postinst
The postinstall needs to reference $D, not ${D} which would get expanded
by bitbake. This allows postinsts to run correctly on the target system.

(From OE-Core rev: 6573685a5374034df065c41bbe71c7ac49e4b9a4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-18 22:01:21 +01:00
Richard Purdie 0d9f7900de allarch: Drop various problematic allarch usages
In each of these cases allarch is used where the package in question has a
dependency on things which are not allach and change when MACHINE is changed.

This leads to a rebuild of the package each time MACHINE is switched and
the sstate checksum changes. The dependencies in question are not suited
be being marked as ABISAFE.

(From OE-Core rev: 087a680429efa713a98fbb89f927b046fe07f87c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-15 15:57:30 +01:00
Richard Purdie ba4f19ece8 nfs-export-root: Update to use packagegroup naming
task packages were renamed to use packagegroup so fix this reference.

(From OE-Core rev: bcd68f11e479e8a3a95793ab2ed65202c0f71d84)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-15 15:57:30 +01:00
Richard Purdie 3cf3c8d4e0 qemuwrapper-cross: Inhibit default dependencies
This wrapper script doesn't need a compile or any of the default system
dependencies so lets inhibit them. This also stops the script
being rebuild every time the toolchain changes.

(From OE-Core rev: 7f72562d274dd2c37ce9262bb7fb8a8a6a9a37df)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-15 15:57:30 +01:00
Paul Eggleton 79c2485204 rpm-postinsts: remove erroneous call to /etc/default/rcS
This doesn't work when the initscripts package is not installed (e.g.
when using systemd only) and is not even needed.

(From OE-Core rev: 6c972598c6da17fbec7a4582eb593c31f4283275)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-15 09:35:40 +01:00
Henning Heinold ea6e797596 qemu: define fdt_t types in libfdt_env.h from qemu
* fixes
In file included from /home/oe/setup-scripts/build/tmp-angstrom_next-uclibc/sysroots/x86_64-linux/usr/include/libfdt.h:55:0,
                 from /home/oe/setup-scripts/build/tmp-angstrom_next-uclibc/work/x86_64-linux/qemu-native/1.4.0-r0/qemu-1.4.0/hw/arm/../../device_tree.c:28:
/home/oe/setup-scripts/build/tmp-angstrom_next-uclibc/sysroots/x86_64-linux/usr/include/fdt.h:58:2: error: unknown type name 'fdt32_t'
/home/oe/setup-scripts/build/tmp-angstrom_next-uclibc/sysroots/x86_64-linux/usr/include/fdt.h:59:2: error: unknown type name 'fdt32_t'
/home/oe/setup-scripts/build/tmp-angstrom_next-uclibc/sysroots/x86_64-linux/usr/include/fdt.h:60:2: error: unknown type name 'fdt32_t'
/home/oe/setup-scripts/build/tmp-angstrom_next-uclibc/sysroots/x86_64-linux/usr/include/fdt.h:61:2: error: unknown type name 'fdt32_t'
/home/oe/setup-scripts/build/tmp-angstrom_next-uclibc/sysroots/x86_64-linux/usr/include/fdt.h:62:2: error: unknown type name 'fdt32_t'
/home/oe/setup-scripts/build/tmp-angstrom_next-uclibc/sysroots/x86_64-linux/usr/include/fdt.h:63:2: error: unknown type name 'fdt32_t'
/home/oe/setup-scripts/build/tmp-angstrom_next-uclibc/sysroots/x86_64-linux/usr/include/fdt.h:64:2: error: unknown type name 'fdt32_t'
/home/oe/setup-scripts/build/tmp-angstrom_next-uclibc/sysroots/x86_64-linux/usr/include/fdt.h:67:2: error: unknown type name 'fdt32_t'
/home/oe/setup-scripts/build/tmp-angstrom_next-uclibc/sysroots/x86_64-linux/usr/include/fdt.h:70:2: error: unknown type name 'fdt32_t'
/home/oe/setup-scripts/build/tmp-angstrom_next-uclibc/sysroots/x86_64-linux/usr/include/fdt.h:73:2: error: unknown type name 'fdt32_t'
/home/oe/setup-scripts/build/tmp-angstrom_next-uclibc/sysroots/x86_64-linux/usr/include/fdt.h:77:2: error: unknown type name 'fdt64_t'
/home/oe/setup-scripts/build/tmp-angstrom_next-uclibc/sysroots/x86_64-linux/usr/include/fdt.h:78:2: error: unknown type name 'fdt64_t'
/home/oe/setup-scripts/build/tmp-angstrom_next-uclibc/sysroots/x86_64-linux/usr/include/fdt.h:82:2: error: unknown type name 'fdt32_t'
/home/oe/setup-scripts/build/tmp-angstrom_next-uclibc/sysroots/x86_64-linux/usr/include/fdt.h:87:2: error: unknown type name 'fdt32_t'
/home/oe/setup-scripts/build/tmp-angstrom_next-uclibc/sysroots/x86_64-linux/usr/include/fdt.h:88:2: error: unknown type name 'fdt32_t'
/home/oe/setup-scripts/build/tmp-angstrom_next-uclibc/sysroots/x86_64-linux/usr/include/fdt.h:89:2: error: unknown type name 'fdt32_t'

(From OE-Core rev: dfb0c2cf9799d084a76aa92e243c743d7ff05db8)

Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-13 23:54:19 +01:00
Richard Purdie 2bede7f2a9 qemu: Fix typo in patch header
(From OE-Core rev: 6749cd024eaeda238cfe22ec2ab5f57da866607c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-12 18:33:29 +01:00
Laurentiu Palcu d1ff4b68ba opkg.inc: don't hardcode /var/lib/opkg
(From OE-Core rev: 9caf1f2540f0419c1301cc21777f97c6671fd844)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-11 16:39:39 +01:00
Paul Eggleton f3dbf8f674 dpkg, opkg, rpm-postinsts: avoid repackaging when changing IMAGE_FEATURES
Recipes cannot depend on the value of IMAGE_FEATURES; in this case the
result is do_package task signatures changing every time IMAGE_FEATURES
changes, causing a large number of task re-executions. The
implementation of the log capturing really needs to be changed to
capture these in a different place and possibly not even conditional
upon IMAGE_FEATURES at all, but this will be invasive at this point in
the development cycle. For now, remove the variable dependencies to fix
the immediate problem.

Fixes [YOCTO #4246].

(From OE-Core rev: b4fbe4095de447ef4e426128bafaf8a292fa63e1)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-11 16:13:58 +01:00
Laurentiu Palcu 8b29120a8c dpkg, opkg, rpm-postinst: fix overwriting the run-postinstall script
If multiple package managers are installed in the image, they will
overwrite each other's run-postinsts script, resulting in postinstalls
not beeing run at all at first boot.

What this patch does:
 * checks whether opkg/dpks/rpm is actually used to install
   the packages and, only after, creates the run-postinsts script;
 * brings dpkg recipe in sync with opkg: moves the script creation from
   do_install to postinstall;
 * move creation of run-postinsts script (rpm-postinsts recipe) to the
   postinstall scriptlet in order to better control the creation of the
   script according to the package manager used;

[YOCTO #4231]
[YOCTO #4179]

(From OE-Core rev: d7fd56df0a4954954d6d0764ae06beb869e6b99a)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-11 12:20:35 +01:00
Paul Eggleton cf569f5def rpm-postinsts: avoid errors during boot with read-only-rootfs enabled
* If /etc/rpm-postinsts doesn't exist, don't error
* If deleting the script errors, don't bother printing it (this will
  always happen if the root filesystem is read-only)

(From OE-Core rev: f787b8302ed61bdaf1767473b856f31fe5bba28e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:49:24 +01:00
Paul Eggleton aa22868eba rpm-postinsts: don't create broken postinst script
Not only was the variable reference in this line broken, but it wasn't
going to work anyway - we install the script directly into /etc/rcS.d
and not into /etc/init.d, so the code in update-rc.d.bbclass couldn't
find anything there. This resulted in a postinstall script for
rpm-postinsts being created in /etc/rpm-postinsts which can't work when
the root filesystem is read-only. To simplify things just remove the use
of update-rc.d.bbclass since we don't really need the added complexity
here.

Fixes [YOCTO #4222].

(From OE-Core rev: d196d08acafe599c16a7ac8e04121039b1216ba6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10 16:49:24 +01:00
Laurentiu Palcu 51959f5662 rpm: fix RDEPENDS
The rpm-postinsts runtime dependency was overwritten.

(From OE-Core rev: 834ea4ed891c874e0336abb8f0b96664250208c9)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-09 13:16:52 +01:00
Richard Purdie 6ec99ee2f1 qemu: Add backported patch to address random segfaults
We've been seeing random sefgaults on a variety of architectures which appear
to be from an issue in qemu. The attached backport from upstream appears
to fix these.

[YOCTO #4216]

(From OE-Core rev: 55a22b7341571179d5e026d102953a6d9f2045bf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-09 13:16:52 +01:00
Ioana Grigoropol 9dccc97bfc tcf-agent: Use kill instead of killproc to stop agent
When shutting down a core-image-lsb-sdk image, there is a lot of time spend stopping tcf-agent,
which slows down the whole process. The reason for this slowdown is the fact that it tries in a
loop to kill tcf-agent service by using killproc with the path of the executable and killproc
does not seem to available in lsb images. This patch fixes the issue by using "kill" instead of
"killproc".

[Yocto #3928]

(From OE-Core rev: 251361eb78176a04e3da00e0f77b7f3ff459d571)

Signed-off-by: Ioana Grigoropol <ioanax.grigoropol@intel.com>
Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-08 18:02:47 +01:00
Bogdan Marinescu 02ae9b3576 smart: disable CHANNELSDIR
Make CHANNELSDIR in smart empty, since this causes host contamination issues
on some RPM-based hosts on which smart is already installed.

[YOCTO #3881]

(From OE-Core rev: 94e76a98b6cdafe9547630be159401ac1d8c5edd)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-08 16:57:03 +01:00
Martin Jansa 66bee6afa1 gcc: add patch to disable texinfo when texinfo is 5.0 or newer
* this is needed only for 4.7 series, newer works fine with texinfo-5*

[YOCTO #3947]

(From OE-Core rev: d85d15972d78b5dda7a03dd273a64305f115282b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-04 14:04:43 +01:00
Martin Jansa dabf7a4b75 qemu: Add 2 patches to fix build with texinfo-5
(From OE-Core rev: af65260dbf17fcd47b6630db473d95f2f3225d68)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-04 14:04:43 +01:00
Mihai Prica 6ad0467ac8 qemu: Enabled SDL when compiling for target architecture
Enables qemu to run images with video output without the need for vncviewer.

(From OE-Core rev: 30d5c1d5bc9a3931a09425962d980a3571dc56f3)

Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-04 14:04:42 +01:00
Lukas Bulwahn 88f446661b python: adding missing runtime dependency python-io to python-pprint
When trying to import python-pprint on a minimal image, it reports that
the cStringIO python module is missing.
This is provided with python-io, so we add python-io as runtime
dependency.

The complete observed trace was:

Python 2.7.3 (default, Apr  4 2013, 07:45:36)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pprint
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/pprint.py", line 40, in <module>
    from cStringIO import StringIO as _StringIO
ImportError: No module named cStringIO

(From OE-Core rev: abe7bf9992e298f1b53e790eee7b064a9e4e8589)

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-04 14:04:42 +01:00
Saul Wold b450344ca7 rpm-postinsts: Split out run-postinsts
This patch allows for the run-postinsts script to be provided outside
of the rpm package itself and not pull in all the associated build
dependencies.

[YOCTO 4175]

(From OE-Core rev: 7841ee7041d04f11a3d879fb5bc60bb37de0a5c0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-04 14:04:42 +01:00
Paul Eggleton 4ce8a67645 icon-naming-utils: import version 0.8.90 from meta-oe
* Use newer version 0.8.90
* Updates to a BBCLASSEXTENDed recipe instead of just a native recipe
* Use PV in SRC_URI instead of hardcoded version number

In copying over the recipe from meta-oe, some minor changes were made:
* Preserve the existing OE-Core nativeperl wrapper usage
* Drop setting of S which is effectively the default value

(From OE-Core rev: ef24f8e7e6b91ad8e83942bd956e0d6ab0fc077b)

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>
2013-04-04 14:04:42 +01:00
Martin Jansa 280374fa1c tcf-agent: Don't download epl-v10.html just for LIC_FILES_CHKSUM validation
* it's not part of sources, downloading some html from web is not better
  check then using meta/files/common-licenses/EPL-1.0
* http://www.eclipse.org/org/documents/epl-v10.html was changed, plain
  text looks the same, but html formating was changed (from MS Word
  export to valid XHTML 1.0, changing checksums for this new html
  would cause issues for people with old epl-v10.html already on
  PREMIRROR, so lets just remove it.

(From OE-Core rev: 22bce79652fc753a7b5d536664b744e110b5775a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-02 18:13:40 +01:00
Richard Purdie f988ca1105 remake: Fix out of tree builds
remake fails with errors during configure due to the out of tree build changes.
This ensures the configure commands run correctly on files in ${S}.

[YOCTO #4139]

(From OE-Core rev: 166c123bc0d121eeea39db71e63940fa2f8a3f7b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-02 17:57:07 +01:00
Richard Purdie f802d7f0c4 rpm: Ensure rpm depends on rpm-postinsts
If package-management isn't in IMAGE_FEATURES, the postinstall handler
wasn't being installed. rpm needs to depend on this to ensure it does
get installed.

[YOCTO #4160]

(From OE-Core rev: 0c2778c36f521d019ab6ff0c458a1e117808d2e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-02 17:57:06 +01:00
Laurentiu Palcu 688c4e8462 elfutils: remove i386_dis.h/x86_64_dis.h compilation targets
Since we provide those files manually (i386_gendis, which is needed for
generating those files, has to be run on host and would fail when
compiling for other architectures), the mentioned compilation targets
in libcpu/ are not needed anymore.

This change will avoid a nasty race condition when running "make -jX
install" resulting in a zero size libebl_i386.so file. The issue happens
because, at "make install" time, the *_dis.h prerequisites will be newer
than the target itself, triggering a chain of recompilations while, in
the same time, the binary files are copied to the destination directory.
Hence, the zero sized file...

[YOCTO #4131]

(From OE-Core rev: a4ebe0f6efc8ed93521e75919f23821f59934c1f)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29 10:40:56 +00:00
Joe Slater 7698f26149 dosfstools: really compile supporting large files
Makefile in the package tries to set _FILE_OFFSET_BITS=64,
but we clobber that with our CFLAGS, so we add it in
the recipe.

[CQID: 409915]

(From OE-Core rev: ac904b9e10ec9641686bc35dcf200b9b855899b1)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29 10:40:55 +00:00
Zhenhua Luo 4b50385e2c rpm: split out run-postinsts
1. Split out run-postinsts script into separated package, sometimes only the
   postinsts script is required to run all postinsts scripts in /etc/rpm-postinsts/
   instead of the whole rpm package.
2. Set ROOTFS_PKGMANAGE_BOOTSTRAP to rpm-postinsts

(From OE-Core rev: 056490ddbfdbb6cc6fa0d8ff8716d64819d6b16c)

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29 10:40:54 +00:00
Richard Purdie 7b5f838137 qemu: Add missing DEPENDS on dtc
This fixes failures in builds where qemu fails with:

i586-poky-linux/qemu/1.4.0-r0/qemu-1.4.0/hw/arm/../../device_tree.c:28:20: fatal error: libfdt.h: No such file or directory
x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld: cannot find -lfdt

(From OE-Core rev: 1bf194f392bf14154e9cc2c33e117a52ef07f9e1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27 11:56:31 +00:00
Khem Raj a8f92290f1 binutils: Don't generate .PPC.EMB.apuinfo sections for 64-bit output
This can cause issues building ppc64/eabi kernel. For details
see the patch header

(From OE-Core rev: 3c6622e22b0e1b2a8ceea6465ea84c6fb8299518)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26 17:56:35 +00:00
Mark Hatle 6da3aca59b rpm: Fix debugedit buildid processing
[ YOCTO #4089 ]

When constructing a new buildid, the items being hashed need to be
returned to their native endian.  In the process we were munging
the sh_type field that we relied on to determine if a section was
loadable or not.  The patch avoids this behavior by only modifying
a copy of the local endian data.

(From OE-Core rev: ac4d2d44c88cace8dbce0c8e7df3fd1f2ed244b4)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26 17:53:46 +00:00
Richard Purdie a28005ae15 opkg-utils: Update to newer git rev for bashism fix
On systems with dash as /bin/sh there were failures in do_package_write_ipk
due to bashisms in opkg-build. This newer revision contains a fix for this.

(From OE-Core rev: 0e185b86e80989a7904292f5866540a049cc4daa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26 17:50:08 +00:00
Khem Raj f36926a264 docbook-utils-native: Unbreak the build after source and build dir split
docbook-utils-native started to install frontends and backends in
wrong locations after this change. The absolute build and source
directories were being created in install locations and the recipes
using docbook-utils-native were complaining like dbus-java is saying

| jw: There is no frontend called
"/b/kraj/jlinux-next/poky/build/tmp-eglibc/sysroots/x86_64-linux/usr/share/sgml/docbook/utils-0.6.14/frontends/docbook".
| make: *** [CreateInterface.1] Error 2
| ERROR: oe_runmake failed

Rightly so because now they are installed under
/b/kraj/jlinux-next/poky/build/tmp-eglibc/sysroots/x86_64-linux/usr/share/sgml/docbook/utils-0.6.14/b/kraj/jlinux-next/poky/build/tmp-eglibc/work/x86_64-linux/docbook-utils-native/0.6.14-r3/

This patch fixes the install to be like it was but consider
the build and sourcedir split.

(From OE-Core rev: d60aec3f5b319f4583fa72a8357b9ddd3be62b1a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-25 20:51:19 +00:00
Mark Hatle 5a9d83de1f rpm: Add workaround for debugedit-segv
[ YOCTO #4089 ]

On PPC and MIPS, there appears to be a condition that causes
debugedit to segfault.  The segfault is related to a call into
the md5hash algorithm, an address of '0', and a size > 0 is passed
causing the access of the address to segv.

This workaround may prove to be the final fix, but it's currently
unclear what the actual cause of the 0 address is.

(From OE-Core rev: a046029eb96cd9307253937ceeadafaaa6d06dce)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-25 17:42:58 +00:00
Mark Hatle 9f438fc21c tcl: Fix the location of the installed headers
Having '${S}' in the for loop was causing the headers to be installed
into the wrong location.  Move the 'S' to the install line.

(From OE-Core rev: 41c0241a810f0a97ddc98a834e717645e0047958)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-23 18:09:57 +00:00
Richard Purdie e6dad38c65 valgrind: Fix out of tree builds
(From OE-Core rev: 1944d362866fef1af406ed50955f1ed7cd9c29a8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-23 17:40:27 +00:00
Robert Yang c896db7c4c perl: remove the duplicated RDEPENDS
Remove a duplicated line:
RDEPENDS_${PN}-module-cpanplus += "${PN}-module-load"

[YOCTO #4064]

(From OE-Core rev: 5660aac1cf3f71ce14b58f2c0e69460732f09d7c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22 17:01:30 +00:00
Robert Yang cc38db4805 perl-native: remove duplicated LIC_FILES_CHKSUM
Remove duplicated LIC_FILES_CHKSUM:
LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
                   file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"

[YOCTO #4064]

(From OE-Core rev: 9b298098401c61761bd65fc1d9efff2197cc45a5)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22 17:01:29 +00:00
Paul Eggleton cf3c96a425 perl: avoid splitting out .debug directories as packages
The recursive parameter is set to True, the regex for the first call to
do_split_packages matches any path under ${libdir}/perl/${PV}/auto/, and
the .debug directories contain .so files, so each one was getting picked
up as a package. Change the regex to disallow dots in the path beneath
auto/ and thus avoid the .debug directories.

Fixes [YOCTO #4048].

(From OE-Core rev: f8f6992fe0f29db1cc4df15b7449e06188052041)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22 16:54:37 +00:00
Richard Purdie 0b679927fe apt: Fix case where ${B} != ${S}
Need to reference objects from ${B}.

(From OE-Core rev: 0610cf3ef864acc9ca98498b9810bcce0fbb935a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22 16:54:37 +00:00
Richard Purdie 902b785e93 rpm: Fix case where ${B} != ${S}
We need to run autogen.sh in the correct directory (${S}).

(From OE-Core rev: f352f9f25695635bbaad09774f02e66684971fc0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22 16:54:36 +00:00
Richard Purdie 5306f72e7a python-pygtk: Fix case where ${B} != ${S}
Fix out of tree builds by adding missing path component.

(From OE-Core rev: fd86061e02bd175dcc5816db1cf15d705d338062)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22 16:54:36 +00:00
Richard Purdie 21fd35ac14 dpkg: Fix case where ${B} != ${S}
Add missing path component to make out of tree builds work.

(From OE-Core rev: 04515f61e2768435126f0c8ccfb5ad1e368710ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22 16:54:36 +00:00
Koen Kooi 683abbce58 python: fix on-target use of distutils/setuptools by removing references to buildpaths
Running 'python setup.py build' would fail due to the python Makefile having

CC=             i586-angstrom-linux-gcc  -m32    -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/koen/v2012.12/build/tmp-angstrom_v2012_12-eglibc/sysroots/fri2
CXX=            i586-angstrom-linux-g++  -m32    -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/koen/v2012.12/build/tmp-angstrom_v2012_12-eglibc/sysroots/fri2
'--with-libtool-sysroot=/home/koen/v2012.12/build/tmp-angstrom_v2012_12-eglibc/sysroots/fri2'

And more

Multiple users have reported this problem:

http://hipstercircuits.com/?p=499
http://www.gigamegablog.com/2012/09/09/beaglebone-coding-101-spi-output/

(From OE-Core rev: 5704dfa690a625abcface432cf5f9c9bc3ee8abd)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-19 11:54:22 +00:00