]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
10 years agoicecc.bbclass: blacklist libgcc-initial
Dmitry Eremin-Solenikov [Wed, 22 Apr 2015 09:49:52 +0000 (12:49 +0300)]
icecc.bbclass: blacklist libgcc-initial

Building libgcc-initial with IceCC enabled can fail with the CPP sanity
check error in the following case (using ARM for example):
* sysroot contains cross gcc built for another ARM variant
* sysroot contains initial cross gcc built to suit the target machine
* bitbake tries to configure libgcc-initial
* libgcc-initial calls icecc wrapper
* icecc wrapper calls non-initial cross gcc via the full path
* non-initial cross gcc looks for the headers in the wrong place
* BOOM

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibunwind: don't use gold for mips
Robert Yang [Wed, 22 Apr 2015 06:59:13 +0000 (23:59 -0700)]
libunwind: don't use gold for mips

The gold doesn't work for mips or mips64:
configure:3867: checking whether the C compiler works
configure:3889: mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32r2 --sysroot=/buildarea/lyang1/test_uni/tmp/sysroots/qemumips  -O2 -pipe -g -feliminate-unused-debug-types   -Wl,-O1  -Wl,--as-needed  -fuse-ld=gold conftest.c  >&5
collect2: fatal error: cannot find 'ld'

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomesa: respect x11 in PACKAGECONFIG not DISTRO_FEATURES
Martin Jansa [Tue, 21 Apr 2015 16:30:39 +0000 (18:30 +0200)]
mesa: respect x11 in PACKAGECONFIG not DISTRO_FEATURES

* default value of PACKAGECONFIG is set from DISTRO_FEATURES,
  but in the end we should respect what user sets in PACKAGECONFIG

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev-cache: improve error handling
Ken Sharp [Tue, 21 Apr 2015 15:35:45 +0000 (10:35 -0500)]
udev-cache: improve error handling

If an error occurs while the udev cache is being populated, the system
is left in a state where udev is stopped.  Remedy this with a clean up
function to restart udev and remove any intermediate files.

Signed-off-by: Ken Sharp <ken.sharp@ni.com>
Reviewed-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev-cache: Remove unnecessary tar read from stdin
Ken Sharp [Tue, 21 Apr 2015 15:35:44 +0000 (10:35 -0500)]
udev-cache: Remove unnecessary tar read from stdin

xargs already formats the inputs to tar correctly, so the
'-T -' argument to tar is unnecessary.

Signed-off-by: Ken Sharp <ken.sharp@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-utils: Remove double dependency on udev
Mike Looijmans [Tue, 21 Apr 2015 13:33:44 +0000 (15:33 +0200)]
alsa-utils: Remove double dependency on udev

"udev" is already added when PACKAGECONFIG includes it, so it should
not be in the DEPENDS list on itself.

This caused udev to be built for systems that don't use it.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosubversion: upgrade it from 1.8.11 to 1.8.13
Roy Li [Mon, 27 Apr 2015 08:12:29 +0000 (16:12 +0800)]
subversion: upgrade it from 1.8.11 to 1.8.13

upgrade to fix two CVE defects: CVE-2015-0248 and CVE-2015-0251

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopopulate_sdk_base: also record the host part into manifest
Chen Qi [Mon, 27 Apr 2015 10:19:59 +0000 (18:19 +0800)]
populate_sdk_base: also record the host part into manifest

For now, we can create manifest for the target part for SDK.
I think it's nice to have a place for users to look into to examine contents
of the host part of SDK.

This also affects uninative-tarball and buildtools-tarball as they
inherit populate_sdk.bbclass. After this change, we could have a manifest file
created in the deploy directory containing a list of packages used to
construct them.

[YOCTO #7604]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoptest: add recommends to ptest-runner
Ross Burton [Thu, 23 Apr 2015 14:42:42 +0000 (15:42 +0100)]
ptest: add recommends to ptest-runner

If you're installing ptest packages into an image there's a good chance
you want to run the tests.  Assist with this by recommending
ptest-runner in the -ptest packages.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: be more explicit with device error
Paul Eggleton [Tue, 21 Apr 2015 13:01:56 +0000 (14:01 +0100)]
mkefidisk.sh: be more explicit with device error

* Specify whether the device can't be found or can't be written to
* Give a hint to use sudo

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: fix hanging on non-writeable device
Paul Eggleton [Tue, 21 Apr 2015 13:01:55 +0000 (14:01 +0100)]
mkefidisk.sh: fix hanging on non-writeable device

If cleanup() is called early on, as happens when the device isn't
writeable, then none of the mount point variables are set; thus the
script was calling grep with only one argument and appeared to hang
since it was waiting for input on stdin.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: use script mode when running parted
Paul Eggleton [Tue, 21 Apr 2015 13:01:54 +0000 (14:01 +0100)]
mkefidisk.sh: use script mode when running parted

This avoids parted showing prompts and thus effectively hanging the
script in in the case of initially malformed disks.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: update-recipe: check if source tree is a git repository
Paul Eggleton [Mon, 27 Apr 2015 09:53:21 +0000 (10:53 +0100)]
devtool: update-recipe: check if source tree is a git repository

If you've done "devtool add" (or "devtool modify" without -x) then it's
possible that the external source tree is not a git repository, so we
should handle that case here instead of printing a traceback.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: update-recipe: handle unversioned bbappends
Paul Eggleton [Mon, 27 Apr 2015 09:53:20 +0000 (10:53 +0100)]
devtool: update-recipe: handle unversioned bbappends

Use the proper bbappend file name, don't just assume it will have a
version suffix (because it won't if the original recipe doesn't).

Fixes [YOCTO #7651].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: reset: avoid errors in case file no longer exists
Paul Eggleton [Mon, 27 Apr 2015 09:53:19 +0000 (10:53 +0100)]
devtool: reset: avoid errors in case file no longer exists

If you manually delete files in the workspace layer (which you really
shouldn't) it was possible to get yourself into the situation where you
couldn't reset because we were attempting to check if the file had been
modified and erroring out if it couldn't be opened. If the file's not
there anymore there's not much point checking if it needs to be
preserved, just skip it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: add: use correct bbappend file name with -V option
Paul Eggleton [Mon, 27 Apr 2015 09:53:18 +0000 (10:53 +0100)]
devtool: add: use correct bbappend file name with -V option

We weren't adding the version into the bbappend file name when -V was
specified which meant that building or resetting failed.

Also adjust one of the tests so that we're testing devtool add both with
and without this option.

Fixes [YOCTO #7647].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: handle . in recipe name
Paul Eggleton [Mon, 27 Apr 2015 09:53:17 +0000 (10:53 +0100)]
devtool: handle . in recipe name

Names such as glib-2.0 are valid (and used) recipe names, so we need to
support them.

Fixes [YOCTO #7643].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: include bbappends in recipe parsing
Markus Lehtonen [Mon, 27 Apr 2015 09:53:16 +0000 (10:53 +0100)]
devtool: include bbappends in recipe parsing

In order to get correct metadata, SRCREV for example.

Fixes [YOCTO #7648].

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooe-selftest: devtool: fix test_devtool_update_recipe_git
Paul Eggleton [Mon, 27 Apr 2015 09:53:15 +0000 (10:53 +0100)]
oe-selftest: devtool: fix test_devtool_update_recipe_git

Make this test work after recent changes to the mtd-utils recipe, and
hopefully make it robust against any future changes.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: modify: implement --no-same-dir
Markus Lehtonen [Mon, 27 Apr 2015 09:53:14 +0000 (10:53 +0100)]
devtool: modify: implement --no-same-dir

This option can be used to have a separate build directory, in order to
keep the srctree directory clean for packages that do not need to be
built in the source directory.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: modify: use B=S if that is the default for the recipe
Markus Lehtonen [Mon, 27 Apr 2015 09:53:13 +0000 (10:53 +0100)]
devtool: modify: use B=S if that is the default for the recipe

Makes the build succeed for packages which do not support separate build
directory, e.g. zlib. The same outcome could be achieved with the
--same-dir option, but, it's generally hard to tell if a random package
would need that option. The negative side effect of this patch is that
dev srctree (of some packages that build fine without this modification)
gets dirtied by build artefacts.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Acked-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxkeyboard-config: modified the license
Lei Maohui [Mon, 27 Apr 2015 06:53:27 +0000 (14:53 +0800)]
xkeyboard-config: modified the license

Because usr/share/X11/xkb/symbols/eu and usr/share/X11/xkb/symbols/ph are GPLv3.
So add GPLv3 in the license.

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosysstat: upgrade to 11.1.4
Chen Qi [Mon, 27 Apr 2015 02:25:55 +0000 (10:25 +0800)]
sysstat: upgrade to 11.1.4

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopciutils: upgrade to 3.3.1
Chen Qi [Mon, 27 Apr 2015 02:25:54 +0000 (10:25 +0800)]
pciutils: upgrade to 3.3.1

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.19: configuration updates and stable integration
Bruce Ashfield [Fri, 24 Apr 2015 16:13:54 +0000 (12:13 -0400)]
linux-yocto/3.19: configuration updates and stable integration

Bumping the linux-yocto 3.19 SRCREVs to integrate the 3.19.5 korg
stable updates, as well as the following meta data changes:

  205aca0c1241 meta: intel-common: Enable USB-based Bluetooth hardware
  b6a810e8e808 meta: features/bluetooth: add support for USB Bluetooth hardware
  767f3fa34680 common-pc-drivers: Add CONFIG_EEPROM_AT24
  e308b2c52519 intel-core*: Add Braswell soc support
  8c1c74d5052b braswell: Add features/soc/braswell

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotzdata: update to 2015d
Armin Kuster [Fri, 24 Apr 2015 21:38:39 +0000 (14:38 -0700)]
tzdata: update to 2015d

Changes affecting future time stamps

Egypt will not observe DST in 2015 and will consider canceling it
permanently.  For now, assume no DST indefinitely.
(Thanks to Ahmed Nazmy and Tim Parenti.)

Changes affecting past time stamps
America/Whitehorse switched from UTC-9 to UTC-8 on 1967-05-28, not
1966-07-01.  Also, Yukon's time zone history is documented better.
(Thanks to Brian Inglis and Dennis Ferguson.)

Change affecting past and future time zone abbreviations
The abbreviations for Hawaii-Aleutian standard and daylight times
have been changed from HAST/HADT to HST/HDT, as per US Government
Printing Office style.  This affects only America/Adak since 1983,
as America/Honolulu was already using the new style.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotzcode: update to 2015d
Armin Kuster [Fri, 24 Apr 2015 21:38:38 +0000 (14:38 -0700)]
tzcode: update to 2015d

Changes affecting code

    zic has some minor performance improvements.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinsserv: Fix build with gcc5 and clang
Khem Raj [Fri, 24 Apr 2015 03:35:20 +0000 (20:35 -0700)]
insserv: Fix build with gcc5 and clang

Kill 2 bugs with one patch

| insserv.c:997:5: note: each undeclared identifier is reported only
once for each function it appears in
| insserv.c:997:15: error: expected ';' before 'char'
|      extension char buf[strlen(myname)+2+strlen(fmt)+1];
|                ^
| insserv.c: In function 'main':
| insserv.c:2379:5: error: 'extension' undeclared (first use in this
function)
|      extension char * argr[argc];
|      ^
| insserv.c:2379:15: error: expected ';' before 'char'
|      extension char * argr[argc];
|                ^
| insserv.c:2401:2: error: 'argr' undeclared (first use in this
function)
|   argr[c] = (char*)0;
|   ^

Change-Id: I36b7fb9e8baeda5a7cc252da10c0527401248226
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofontconfig: Fix pkgconfig file generation to not have absolute paths
Khem Raj [Fri, 24 Apr 2015 03:35:32 +0000 (20:35 -0700)]
fontconfig: Fix pkgconfig file generation to not have absolute paths

Fixes cross building dependent packages with gcc-5
e.g. matchbox-panel-2

Change-Id: I6290cfa4aac5d03a7200472d0c713b7ea84b99ac
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofontconfig: Upgrade to 2.11.93
Khem Raj [Fri, 24 Apr 2015 03:35:31 +0000 (20:35 -0700)]
fontconfig: Upgrade to 2.11.93

LIC_FILES_CHKSUM change is due to shifting of
the hunk to different line numbers, checksum remains same still

Change-Id: I0ce0cc96d39c801e57394f7a839a01d11a6f3979
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopkgconfig: Upgrade to latest git tip
Khem Raj [Fri, 24 Apr 2015 03:35:30 +0000 (20:35 -0700)]
pkgconfig: Upgrade to latest git tip

0.28 was released 2 years ago and bunch of patches
have gone in since. The commit rate is quite low
so its not a lot of churn to use. We have backports
for few bugs that are removed. Git version of recipe is removed too
since its no longer needed

Change-Id: I4b57db15320c76b1de5d26a733e60436663ff34a
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogummiboot: upgrade 43 -> 48+git
Khem Raj [Fri, 24 Apr 2015 03:35:29 +0000 (20:35 -0700)]
gummiboot: upgrade 43 -> 48+git

43 does not compile with gcc-5
Refresh objcopy patch to incorporate latest changes

Change-Id: Ied41ed1335bb1db3438b98121e05c22242a8a13e
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub: Backport const qualifier fix for gcc-5
Khem Raj [Fri, 24 Apr 2015 03:35:28 +0000 (20:35 -0700)]
grub: Backport const qualifier fix for gcc-5

gcc-5 is stricter and complains about const to non-const
conversions, we backport the patch from upstream into 2.00

Change-Id: I17db365fdd253daaa1ab726e2a70ecad0ac7b2ae
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogtk+: Correct function prototype
Khem Raj [Fri, 24 Apr 2015 03:35:27 +0000 (20:35 -0700)]
gtk+: Correct function prototype

This is turned on by default in gcc-5 so far
we have been getting by this issue but time to fix it
has now come

Change-Id: I012248731de0be7a9b7e232073746360fe6c83dd
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognome-icon-theme: Needs nls.m4
Khem Raj [Fri, 24 Apr 2015 03:35:26 +0000 (20:35 -0700)]
gnome-icon-theme: Needs nls.m4

it really needs nls, so lets add proper dependencies
and options

Change-Id: Ib01f066e9dadf2784686cbe28578d2784dfcba88
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosubversion: Add -P to CPPFLAGS
Khem Raj [Fri, 24 Apr 2015 03:35:25 +0000 (20:35 -0700)]
subversion: Add -P to CPPFLAGS

see https://gcc.gnu.org/gcc-5/porting_to.html

we need to stop the preprocessor from generating the #line directives
or we run into issues like

| checking for apr_int64_t Python/C API format string...
| configure: error: failed to recognize APR_INT64_T_FMT on this platform
| Configure failed. The contents of all config.log files follows to aid
debugging
| ERROR: oe_runconf failed

Rightly subversion should be fixed but lets leave that to subversion
folks

Change-Id: I02a89798ff949f79967ab0a73adcddaa4218662d
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-tools: Add extern qualifier to declarations in .h file
Khem Raj [Fri, 24 Apr 2015 03:35:24 +0000 (20:35 -0700)]
lttng-tools: Add extern qualifier to declarations in .h file

This will ensure that compiler does not initialize the definitions
in header files

Change-Id: I1076201c667f96707c320a51a77d4a70e22df750
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomdadm: Fix inline semantics
Khem Raj [Fri, 24 Apr 2015 03:35:23 +0000 (20:35 -0700)]
mdadm: Fix inline semantics

With gcc-5 defaulting to gnu11 C we need to follow
c99 inline semantics

Change-Id: I397520c36c81634556b3f3782aebc532e4a79aed
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agou-boot-mkimage: Backport fix from upstream to fix build with gcc-5
Khem Raj [Fri, 24 Apr 2015 03:35:22 +0000 (20:35 -0700)]
u-boot-mkimage: Backport fix from upstream to fix build with gcc-5

Change-Id: I5322f1ff8653009b45ddee1a2d3a0d96584d3327
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xorg: Fix build with gcc-5
Khem Raj [Fri, 24 Apr 2015 03:35:21 +0000 (20:35 -0700)]
xserver-xorg: Fix build with gcc-5

Backport a patch from fedora details are in patch header

Change-Id: I6b8dfaae3b751071bf8b0d88b15a4f95c19877f6
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglibc, packagegroup-self-hosted, packagegroup-core-lsb: Consider non-glibc libcs
Khem Raj [Fri, 24 Apr 2015 03:35:19 +0000 (20:35 -0700)]
glibc, packagegroup-self-hosted, packagegroup-core-lsb: Consider non-glibc libcs

Make skipping expression simpler to check for given libc
Make sure glibc specific items are covered with right override

Change-Id: I8b4a0b7cbfe38ffdc9320f798038c79c7220552b
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibsoup-2.4: Upgrade 2.46.0 -> 2.50.0
Jussi Kukkonen [Mon, 13 Apr 2015 12:42:00 +0000 (15:42 +0300)]
libsoup-2.4: Upgrade 2.46.0 -> 2.50.0

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibrsvg: Upgrade 0.40.6 -> 0.40.9
Jussi Kukkonen [Fri, 10 Apr 2015 13:54:40 +0000 (16:54 +0300)]
librsvg: Upgrade 0.40.6 -> 0.40.9

* modify gtk-option patch so it's for configure.ac and not
  configure.in

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agojson-glib: Upgrade 1.0.2 -> 1.0.4
Jussi Kukkonen [Fri, 10 Apr 2015 12:26:34 +0000 (15:26 +0300)]
json-glib: Upgrade 1.0.2 -> 1.0.4

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agohicolor-icon-theme: Upgrade to 0.15
Jussi Kukkonen [Fri, 10 Apr 2015 12:24:06 +0000 (15:24 +0300)]
hicolor-icon-theme: Upgrade to 0.15

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxml-simple-perl/libconvert-asn1-perl: using PERLHOSTLIB
Roy Li [Mon, 30 Mar 2015 00:56:42 +0000 (08:56 +0800)]
libxml-simple-perl/libconvert-asn1-perl: using PERLHOSTLIB

Using PERLHOSTLIB as possible, which is same as
${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocurl: upgrade to 7.42.0
Maxin B. John [Thu, 23 Apr 2015 16:13:57 +0000 (18:13 +0200)]
curl: upgrade to 7.42.0

Upgrade include these security fixes:
1. CVE-2015-3143
2. CVE-2015-3144
3. CVE-2015-3145
4. CVE-2015-3148

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd 219 -> system 219-stable
Bruno Bottazzini [Wed, 22 Apr 2015 17:01:10 +0000 (14:01 -0300)]
systemd 219 -> system 219-stable

The upstream systemd git repo only contains the main systemd branch that
progresses at a quick pace, continuously bringing both bugfixes and new features.

Distributions usually prefer basing their releases on stabilized versions
that receive the bugfixes but not the features.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/selftest/toaster: fix bad indent
Cristian Iorga [Wed, 22 Apr 2015 09:22:31 +0000 (12:22 +0300)]
oeqa/selftest/toaster: fix bad indent

oe-selftest --list-classes crashes because
of a bad indent (see below). Fixed.

systemd-build$ oe-selftest --list-classes
2015-04-22 12:12:39,141 - selftest - INFO - Listing all available test modules:
_sstatetests_noauto (hidden)
 -- SStateBase
 -- RebuildFromSState
 --  -- test_sstate_rebuild
 --  -- test_sstate_relocation
_toaster (hidden)
Traceback (most recent call last):
  File "/mnt/Yo/yoctoproject/poky/scripts/oe-selftest", line 201, in <module>
    ret = main()
  File "/mnt/Yo/yoctoproject/poky/scripts/oe-selftest", line 157, in main
    modlib = importlib.import_module(test)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/mnt/Yo/yoctoproject/poky/meta/lib/oeqa/selftest/_toaster.py", line 438
    time.sleep(3)
    ^
IndentationError: unexpected indent

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomtd-utils: enable mtd-utils-fix-corrupt-cleanmarker-with-flash_erase--j-command.patch
Robert Yang [Fri, 24 Apr 2015 07:54:09 +0000 (00:54 -0700)]
mtd-utils: enable mtd-utils-fix-corrupt-cleanmarker-with-flash_erase--j-command.patch

We still need it, so update and enable it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopopulate_sdk_base: avoid executing empty function
Chen Qi [Fri, 24 Apr 2015 06:26:54 +0000 (14:26 +0800)]
populate_sdk_base: avoid executing empty function

`bitbake uninative-tarball' raises the following warning.

    WARNING: Function  doesn't exist

This is because SDK_PACKAGING_FUNC is set to "" in its recipe.
Anyway, we need to check this variable to avoid executing empty function.

[YOCTO #7598]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
10 years agouninative-tarball: delete the packagedata task
Chen Qi [Fri, 24 Apr 2015 06:05:30 +0000 (14:05 +0800)]
uninative-tarball: delete the packagedata task

This task is meaningless for uninative-tarball as the package task
has been deleted. Besides, sometimes it would cause problems. To
reproduce, use the following command.

bitbake uninative-tarball -c cleansstate && bitbake uninative-tarball &&
bitbake uninative-tarball -c clean && bitbake uninative-tarball

The error is something like below.

File: 'sstate.bbclass', lineno: 33, function: sstate_installpkg
     0029:        bb.build.exec_func(f, d)
     0030:
     0031:    for state in ss['dirs']:
     0032:        prepdir(state[1])
 *** 0033:        os.rename(sstateinst + state[0], state[1])
     0034:    sstate_install(ss, d)
     0035:
     0036:    for plain in ss['plaindirs']:
     0037:        workdir = d.getVar('WORKDIR', True)
Exception: OSError: [Errno 2] No such file or directory

[YOCTO #7597]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
10 years agobash: explicitly define NON_INTERACTIVE_LOGIN_SHELLS in CFLAGS
Chen Qi [Tue, 21 Apr 2015 09:30:47 +0000 (17:30 +0800)]
bash: explicitly define NON_INTERACTIVE_LOGIN_SHELLS in CFLAGS

If NON_INTERACTIVE_LOGIN_SHELLS is defined, all login shells read the
startup files, even if they are not interactive.

This is the behaviour of other major distros like Ubuntu and Fedora.
We also need to set it so that when executing `su -l xxx -c env' command,
/etc/profile is parsed.

[YOCTO #5359]
[YOCTO #7137]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoshadow: fix `su' behaviour
Chen Qi [Tue, 21 Apr 2015 09:30:46 +0000 (17:30 +0800)]
shadow: fix `su' behaviour

0001-su.c-fix-to-exec-command-correctly.patch is removed. Below is the reason.
This patch is introduced to solve the 'su: applet not found' problem when
executing `su -l xxx -c env'. The patch references codes of previous release
of shadow. However, this patch introduces bug#5359. So it's not correct.

Let's first look at the root cause of 'su: applet not found' problem.
This problem appears when /bin/sh is provided by busybox.
When executing `su -l xxx -c env' command, the following function is invoked.
    execve("/bin/sh", ["-su", "-c", "env"], [/* 6 vars */])
Note that the argv[0] provided to new executable file (/bin/sh) is "-su".
As /bin/sh is a symlink to /bin/busybox. It's /bin/busybox that is executed.
In busybox's appletlib.c, it would examine argv[0], try to find an applet
that has the same name, and then try to execute the main function of the
applet. This logic results in `su' applet from busybox to be executed.
However, we default to set 'BUSYBOX_SPLIT_SUID' to "1", so 'su' is not found.
Further more, even if we set 'BUSYBOX_SPLIT_SUID' to "0", so that 'su' applet
is found. The whole behaviour is still not correct. Because 'su' from shadow
takes higher priority than that from busybox, so 'su' from busybox should never
be executed on such system unless it's specified clearly by the end user.
The logic of busybox's appletlib.c is totally correct from the point of busybox
itself. It's an integration problem.

To solve the above problem, this patch comment out SU_NAME in /etc/login.defs
so that the final function executed in shadow's su is as below.
    execve("/bin/sh", ["-sh", "-c", "env"], [/* 6 vars */])

[YOCTO #5359]
[YOCTO #7137]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-4.9: backport from gcc trunk r212178
Stefan Müller-Klieser [Tue, 21 Apr 2015 08:23:47 +0000 (10:23 +0200)]
gcc-4.9: backport from gcc trunk r212178

When compiling meta-toolchain-qt5 on cortexa8, the compiler throws an
internal compiler error:

...
qttools-opensource-src-5.3.2/src/linguist/shared/po.cpp:
In function 'bool loadPO(Translator&, QIODevice&, ConversionData&)':
qttools-opensource-src-5.3.2/src/linguist/shared/po.cpp:717:1:
internal compiler error: in add_stores, at var-tracking.c:6000
...

Tracking this down led to https://bugs.linaro.org/show_bug.cgi?id=534
It seems the bug is well know and fixed upstream. So backporting from
trunk seems to be the right solution. This fixes the compiler problem
on cortexa8 and does not seem to be very invasive. The original commit
can be found at:

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212178 138bc75d-0d04-0410-961f-82ee72b054a4

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agositeinfo.bbclass: Added Epiphany archinfo
Peter Saunderson [Sun, 12 Apr 2015 17:31:42 +0000 (18:31 +0100)]
siteinfo.bbclass: Added Epiphany archinfo

Adding machine definitions for the epiphany (http://www.adapteva.com/) chip.

Signed-off-by: Peter Saunderson <peteasa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinsane.bbclass: Added Epiphany machine definitions
Peter Saunderson [Sun, 12 Apr 2015 17:27:38 +0000 (18:27 +0100)]
insane.bbclass: Added Epiphany machine definitions

Adding machine definitions for the epiphany (http://www.adapteva.com/) chip using https://github.com/adapteva/epiphany-binutils-gdb.
For binutils implementation that defines TARGET_ARCH MACHINE "epiphany": 4643 See https://github.com/adapteva/epiphany-binutils-gdb/blob/epiphany-binutils-2.24/bfd/elf32-epiphany.c
For example layer that uses these defines see https://github.com/peteasa/meta-epiphany.git

Signed-off-by: Peter Saunderson <peteasa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage: zap_empty_root_password doesn't handle passwd file in shadow case
tprrt [Mon, 13 Apr 2015 22:08:03 +0000 (00:08 +0200)]
image: zap_empty_root_password doesn't handle passwd file in shadow case

/etc/passwd isn't editted if /etc/shadow exists and should be else
it can cause problems with some login providers such as toybox.

Signed-off-by: tprrt <tprrt@tupi.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorootfsdebugfiles.bbclass: quick-and-dirty installation of additional files
Patrick Ohly [Mon, 13 Apr 2015 15:44:38 +0000 (08:44 -0700)]
rootfsdebugfiles.bbclass: quick-and-dirty installation of additional files

The main motivation for this class was the observation that
a) a core-image can hang under qemu when the kernel does not
   have enough entropy to generate the ssh host key
b) ssh complains about changing ssh host key files when
   rebooting the same machine with different images

For debugging it is okay to reuse an ssh host key generated on the device
before. There may be also similar use cases, so the class is generic enough to
also copy more than one file or directory, with dropbear_rsa_host_key given as
example.

The documentation and naming of the class makes it clear that it
should not be used for production images.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoghostscript: add objarch.h for armeb
Krishnanjanappa, Jagadeesh [Tue, 14 Apr 2015 09:38:48 +0000 (15:08 +0530)]
ghostscript: add objarch.h for armeb

ghostscript application fails to fetch objarch.h file while building for armeb.
The fetch failure is due to absence of this file in the default set of
directories that the OpenEmbedded build system searches (i.e FILESPATH)
for patches and files. This patch adds the required objarch.h file for
armeb in one of the default locations where OpenEmbedded build system searches.

Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: code cleanup: wildcard imports
Ed Bartosh [Wed, 15 Apr 2015 20:47:10 +0000 (23:47 +0300)]
wic: code cleanup: wildcard imports

Here is what PEP8(Style Guide for Python Code) says about this:

Wildcard imports (from <module> import *) should be avoided, as they
make it unclear which names are present in the namespace, confusing
both readers and many automated tools.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: code cleanup: undefined variables
Ed Bartosh [Wed, 15 Apr 2015 20:45:46 +0000 (23:45 +0300)]
wic: code cleanup: undefined variables

Fixed forgoten imports Wic_PartData and ImageError.
Removed unused and undefined variable syslinux_conf.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoolchain-shar-extract.sh: mention how to set up the SDK environment
Paul Eggleton [Mon, 20 Apr 2015 16:47:09 +0000 (17:47 +0100)]
toolchain-shar-extract.sh: mention how to set up the SDK environment

Tell the user how to set up the SDK environment each time they want to
use it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/populate_sdk_base: Show title in SDK installer
Paul Eggleton [Mon, 20 Apr 2015 16:47:08 +0000 (17:47 +0100)]
classes/populate_sdk_base: Show title in SDK installer

Show a friendly title when running the SDK installer, so the user knows
what SDK they are installing. The title is controlled by the
SDK_INSTALLER_TITLE variable and includes the distro name and SDK
version by default.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/populate_sdk_ext: add warning against editing configuration
Paul Eggleton [Mon, 20 Apr 2015 16:47:07 +0000 (17:47 +0100)]
classes/populate_sdk_ext: add warning against editing configuration

It may be tempting to edit the configuration of the encapsulated version
of the build system, however that is not the way it is intended to be
used, so add a warning against doing this.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/populate_sdk_ext: disable network connectivity check
Paul Eggleton [Mon, 20 Apr 2015 16:47:06 +0000 (17:47 +0100)]
classes/populate_sdk_ext: disable network connectivity check

Most of the time we shouldn't be downloading anything within the
extensible SDK (since it's all pre-built and we have the sstate
artifacts) therefore there's really no need for a connectivity
check, in fact it may just get in the way.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: force use of bash when running build within extensible SDK
Paul Eggleton [Mon, 20 Apr 2015 16:47:05 +0000 (17:47 +0100)]
devtool: force use of bash when running build within extensible SDK

Ubuntu's default dash shell causes oe-init-build-env to behave a bit
differently - (a) it can't pick up the OE root directory and (b) it
can't see any build directory specified as a command-line argument
(since dash doesn't pass through any arguments specified to sourced
scripts). We could work around these but doing so requires some internal
knowledge of the script; a much simpler fix is just to force running the
command under bash since it's expected to be installed on every distro.

Thanks to Chen Qi <Qi.Chen@windriver.com> for this fix.

Fixes [YOCTO #7614].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonss: improve the script signlibs.sh
Jackie Huang [Wed, 25 Mar 2015 02:19:15 +0000 (10:19 +0800)]
nss: improve the script signlibs.sh

The *.chk files are installed in ${libdir} by nss,
which is already known, no need to 'find' to get the
file list, and 'ls' is more faster than 'find'.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: Add lastb to alternatives
Bryan Evenson [Mon, 20 Apr 2015 18:43:32 +0000 (14:43 -0400)]
util-linux: Add lastb to alternatives

util-linux creates lastb as a symlink to last during the build.
Just as other applications may provide last, other applications
may provide lastb.

Add alternatives designations for lastb to avoid installation
conflicts with other applications.

Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-lib: 1.0.28 -> 1.0.29
Tanu Kaskinen [Mon, 20 Apr 2015 19:45:43 +0000 (22:45 +0300)]
alsa-lib: 1.0.28 -> 1.0.29

Release notes:
http://alsa-project.org/main/index.php/Changes_v1.0.28_v1.0.29

Dropped the backported patches.

Dropped also fix-tstamp-declaration.patch. It's unclear whether the
ancient patch is needed by anyone any more. The original commit
message[1] wasn't very clear on what specific conditions triggered the
build failure that the patch fixes, so it's hard to try to reproduce
the failure.

[1] http://cgit.openembedded.org/openembedded/commit/?id=f61f3efe2389249c001107ccd55dac39e79ef2a1

Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agou-boot.inc: make sure all counter variables are properly unset
Carlos Rafael Giani [Mon, 20 Apr 2015 19:17:08 +0000 (21:17 +0200)]
u-boot.inc: make sure all counter variables are properly unset

The script does "i == j" checks to retrieve the config <-> type pairs from
the UBOOT_MACHINE and UBOOT_CONFIG lists. This check however requires both
j and i to be initially unset. Ensure this by explicitely unsetting i.

This fixes broken u-boot SPL installations with SolidRun machines
(the SPL wasn't being installed and deployed.)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobison: don't depend on help2man
Robert Yang [Tue, 21 Apr 2015 09:04:01 +0000 (02:04 -0700)]
bison: don't depend on help2man

Fix build error when no help2man on the host:
tmp/work/x86_64-linux/bison-native/3.0.4-r0/bison-3.0.4/build-aux/missing: line 81: help2man: command not found

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinit-install-efi.sh: fix gummiboot entry installation
Reinette Chatre [Tue, 14 Apr 2015 18:49:37 +0000 (11:49 -0700)]
init-install-efi.sh: fix gummiboot entry installation

After selecting the "install" gummiboot option of a Live image we are
seeing boot failure resulting from the gummiboot entries not being
installed correctly. This seems to be a problem in this init-install-efi.sh
script where it incorrectly installs the gummiboot entries into the root
filesystem, not the boot partition. We fix it by installing the entries in
the boot partition.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotxdata: update to 2015c
Armin Kuster [Tue, 14 Apr 2015 05:02:47 +0000 (22:02 -0700)]
txdata: update to 2015c

Changes affecting future time stamps

Egypt's spring-forward transition is at 24:00 on April's last Thursday,
not 00:00 on April's last Friday.  2015's transition will therefore be on
Thursday, April 30 at 24:00, not Friday, April 24 at 00:00.  Similar fixes
apply to 2026, 2037, 2043, etc.  (Thanks to Steffen Thorsen.)

Changes affecting past time stamps

The following changes affect some pre-1991 Chile-related time stamps
in America/Santiago, Antarctica/Palmer, and Pacific/Easter.

The 1910 transition was January 10, not January 1.

The 1918 transition was September 10, not September 1.

The UTC-4 time observed from 1932 to 1942 is now considered to be
standard time, not year-round DST.

Santiago observed DST (UTC-3) from 1946-07-15 through 1946-08-31,
then reverted to standard time, then switched its time zone to
UTC-5 on 1947-04-01.

Assume transitions before 1968 were at 00:00, since we have no data
saying otherwise.

The spring 1988 transition was 1988-10-09, not 1988-10-02.
The fall 1990 transition was 1990-03-11, not 1990-03-18.

Assume no UTC offset change for Pacific/Easter on 1890-01-01,
and omit all transitions on Pacific/Easter from 1942 through 1946
since we have no data suggesting that they existed.

One more zone has been turned into a link, as it differed
from an existing zone only for older time stamps.  As usual,
this change affects UTC offsets in pre-1970 time stamps only.
The zone's old contents have been moved to the 'backzone' file.
The affected zone is America/Montreal.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotzcode: update to 2015c
Armin Kuster [Tue, 14 Apr 2015 05:02:46 +0000 (22:02 -0700)]
tzcode: update to 2015c

Changes affecting commentary
 Mention the TZUpdater tool.
 Mention "The Time Now".  (Thanks to Brandon Ramsey.)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-target: remove gcc-plugin-dev from PACKAGES
Robert Yang [Tue, 14 Apr 2015 09:04:44 +0000 (02:04 -0700)]
gcc-target: remove gcc-plugin-dev from PACKAGES

There should be only one dev and dbg package.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgcc: remove libgcov-dev from PACKAGES
Robert Yang [Tue, 14 Apr 2015 09:04:43 +0000 (02:04 -0700)]
libgcc: remove libgcov-dev from PACKAGES

There should be only one dev and dbg package.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocurl: remove extra dev and staticdev from PACKAGES
Robert Yang [Tue, 14 Apr 2015 09:04:42 +0000 (02:04 -0700)]
curl: remove extra dev and staticdev from PACKAGES

There should be only one dev and dbg package.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxz: remove liblzma-dev and liblzma-dbg from PACKAGES
Robert Yang [Tue, 14 Apr 2015 09:04:41 +0000 (02:04 -0700)]
xz: remove liblzma-dev and liblzma-dbg from PACKAGES

There should be only one dev and dbg package.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobison: 2.7.1 -> 3.0.4
Robert Yang [Tue, 14 Apr 2015 09:07:12 +0000 (02:07 -0700)]
bison: 2.7.1 -> 3.0.4

* Based on Chong Lu's previous upgrade to 3.0.2
* Remove unneeded patches:
  dont-depend-on-help2man.patch and
  fix_cross_manpage_building.patch

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowebkit-gtk: ANGLE doesn't build with bison 3
Chong Lu [Tue, 14 Apr 2015 09:07:14 +0000 (02:07 -0700)]
webkit-gtk: ANGLE doesn't build with bison 3

Use %lex-param to set YYLEX_PARAM.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer: change priv_gst_parse_yylex arguments
Chong Lu [Tue, 14 Apr 2015 09:07:13 +0000 (02:07 -0700)]
gstreamer: change priv_gst_parse_yylex arguments

Change priv_gst_parse_yylex to fit new bison version, else we will
get following error:

| grammar.tab.c: In function 'priv_gst_parse_yyparse':
| grammar.tab.c:67:25: error: too few arguments to function 'priv_gst_parse_yylex'
|  #define yylex           priv_gst_parse_yylex
|                          ^

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-git: 0.3.6 -> 1.0.0
Robert Yang [Tue, 14 Apr 2015 09:07:11 +0000 (02:07 -0700)]
python-git: 0.3.6 -> 1.0.0

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotcl: 8.6.3 -> 8.6.4
Robert Yang [Tue, 14 Apr 2015 09:07:10 +0000 (02:07 -0700)]
tcl: 8.6.3 -> 8.6.4

The LIC_FILES_CHKSUM has been changed since 2 extra spaces in the end
were moved.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognu-efi: 3.0.1 -> 3.0.2
Robert Yang [Tue, 14 Apr 2015 09:07:09 +0000 (02:07 -0700)]
gnu-efi: 3.0.1 -> 3.0.2

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofontcache: allow to pass different fontconfig cache dir
Martin Jansa [Tue, 7 Apr 2015 11:21:13 +0000 (13:21 +0200)]
fontcache: allow to pass different fontconfig cache dir

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/utils/decorators: Fix up frame selection
Nathan Rossi [Thu, 16 Apr 2015 08:29:24 +0000 (18:29 +1000)]
oeqa/utils/decorators: Fix up frame selection

Use threading to get the current threads ident to select the current
executing frame to ensure that the scanned stack is the expected stack.

This allows for the decorators to be used within a process that has
multiple threads executing.

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorecipes: Fix charset.alias for musl
Khem Raj [Thu, 16 Apr 2015 02:00:25 +0000 (19:00 -0700)]
recipes: Fix charset.alias for musl

This is same gnulib fix replicated across needed recipes

Change-Id: I756713407111a726eae98e26c9c1ff64981371c0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomtd-utils: update to latest and fix static inlining
Khem Raj [Thu, 16 Apr 2015 02:00:26 +0000 (19:00 -0700)]
mtd-utils: update to latest and fix static inlining

use static storage class instead of extern for inline functions
and remove duplicate definitions as a result

Change-Id: I72e8c5f19dff656c18f719d1e9e2ca697c9a856f
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibnfsidmap: Include sys/types.h for u_int32_t
Khem Raj [Thu, 16 Apr 2015 02:00:24 +0000 (19:00 -0700)]
libnfsidmap: Include sys/types.h for u_int32_t

Exposed using musl

Change-Id: Ia155850b3dfe62cd7d10b207b94ff3cc1f0244fc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoparted: Add patches to fix build on musl
Khem Raj [Thu, 16 Apr 2015 02:00:23 +0000 (19:00 -0700)]
parted: Add patches to fix build on musl

Theese patches are actually generic but expose issues
when compiling on musl

Change-Id: Ib5312af280d2c399334c5645fbea215737933ae5
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodistcc:Include missing fcntl.h in zeroconf
Khem Raj [Thu, 16 Apr 2015 02:00:22 +0000 (19:00 -0700)]
distcc:Include missing fcntl.h in zeroconf

This is exposed by musl

Change-Id: I39ea3a66135d33ed0a9abbd94d3c0f39120e3586
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodosfstools: Fix build with musl
Khem Raj [Thu, 16 Apr 2015 02:00:21 +0000 (19:00 -0700)]
dosfstools: Fix build with musl

We need to pass _GNU_SOURCE and include fcntl.h

Change-Id: Ice0597ddac3b275400880d85793ece4b300bec9b
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh: Upgrade 6.7 - > 6.8
Khem Raj [Thu, 16 Apr 2015 02:00:20 +0000 (19:00 -0700)]
openssh: Upgrade 6.7 - > 6.8

Its a major releaseof openssh, should be fully
compatible with 6.7 additionally works with musl

Change-Id: I903d31247b8a318b9be1c21f764ffe56b5971ca9
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocoreutils: Add code to consider musl when selecting charsets
Khem Raj [Thu, 16 Apr 2015 02:00:19 +0000 (19:00 -0700)]
coreutils: Add code to consider musl when selecting charsets

The real issue is in gnulib where it should be fixed
but gnulib gets imported in source into various components
and that may take a while. So lets fix the componnets versions
and as/if they land in new gnulib with a fix we can take
it off.

Change-Id: I63bbcb7bc4d92cb1ec74bb4f4f5109a377060253
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoat: Remove glibc specific code
Khem Raj [Thu, 16 Apr 2015 02:00:18 +0000 (19:00 -0700)]
at: Remove glibc specific code

Fixes errors like
|
/home/kraj/work/bleeding/openembedded-core/build/tmp-musl/work/i586-oe-linux-musl/at/3.1.16-r0/at-3.1.16/parsetime.y:264:
undefined reference to `__isleap'
| collect2: error: ld returned 1 exit status

Change-Id: Ie6ec970b12c918de640ba47e090b2f67a3a43f4e
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agostrace: fixes for compilation failures with musl
Andre McCurdy [Sat, 18 Apr 2015 00:25:36 +0000 (17:25 -0700)]
strace: fixes for compilation failures with musl

Backports from upstream:

  http://sourceforge.net/p/strace/code/ci/d34e00b293942b1012ddc49ed3ab379a32337611
  http://sourceforge.net/p/strace/code/ci/3460dc486d333231998de0f19918204aacee9ae3

Expected to be released officially as part of strace 4.11

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoe2fsprogs: add ptest
Dmitry Eremin-Solenikov [Sat, 18 Apr 2015 14:58:17 +0000 (17:58 +0300)]
e2fsprogs: add ptest

Enable ptest for e2fsprogs by reusing provided testsuite.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibunwind: use gold for all archs
Robert Yang [Mon, 20 Apr 2015 08:05:34 +0000 (01:05 -0700)]
libunwind: use gold for all archs

At least the following boards have build errors without using gold:
qemux86, qemux86-64, qemuarm, qemuaarch64, qemuppc.

The error is:
ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
ld: failed to set dynamic section sizes: Bad value
ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
ld: failed to set dynamic section sizes: Bad value
| collect2: error: ld returned 1 exit status

So use gold for all archs to fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopax-utils: 0.9.2 -> 1.0.3
Robert Yang [Mon, 20 Apr 2015 08:09:22 +0000 (01:09 -0700)]
pax-utils: 0.9.2 -> 1.0.3

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>