]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
10 years agobase.bbclass: detect when S has been set incorrectly
Petter Mabäcker [Sun, 4 Jan 2015 22:45:46 +0000 (23:45 +0100)]
base.bbclass: detect when S has been set incorrectly

Currently base.bbclass is creating S if it's not created by unpacking
an archive or fetching a repository. If we avoid creating S we can detect
when S hasn't been set correctly, since it will not exist. Then we can tell
the user that they should set S to a proper value, instead of just failing
with odd errors in later tasks.

Besides removing the auto-creation of S this change will introduce a warning
if S is set incorrectly. The reason for not display an error and return
is due to all external layers that might have recipes that will fail otherwise
and that might be a bit to hard to start with. So use a warning until people
have had a chance to cleanup affected recipes.

[YOCTO #5627]

Signed-off-by: Petter Mabäcker <petter@technux.se>
10 years agometa: set proper S value
Petter Mabäcker [Tue, 6 Jan 2015 21:29:04 +0000 (22:29 +0100)]
meta: set proper S value

After removal of auto-creating S we must ensure that all recipes are
using a proper value for S.

Fix all recipes that only need to set S equals to WORKDIR.

[YOCTO #5627]

Signed-off-by: Petter Mabäcker <petter@technux.se>
10 years agoxorg-minimal-fonts: set and handle S in a proper way
Petter Mabäcker [Tue, 6 Jan 2015 21:26:11 +0000 (22:26 +0100)]
xorg-minimal-fonts: set and handle S in a proper way

After removal of auto-creating S we must ensure that all recipes are
using a proper value for S. Also do some minor adjustment after changing
value of S.

[YOCTO #5627]

Signed-off-by: Petter Mabäcker <petter@technux.se>
10 years agolsof: handle S in a proper way
Petter Mabäcker [Tue, 6 Jan 2015 21:22:21 +0000 (22:22 +0100)]
lsof: handle S in a proper way

Since lsof are doing two unpacks and S should be set to match
the second unpack of an internal archive, we should let the build
system know that we are aware of this.

Solve this by temporarily set S like lsof are doing with SRC_URI.

[YOCTO #5627]

Signed-off-by: Petter Mabäcker <petter@technux.se>
10 years agomakedevs: set and handle S in a proper way
Petter Mabäcker [Tue, 6 Jan 2015 21:18:59 +0000 (22:18 +0100)]
makedevs: set and handle S in a proper way

After removal of auto-creating S we must ensure that all recipes are
using a proper value for S. Also do some cleanup of code not needed
after changing value of S.

[YOCTO #5627]

Signed-off-by: Petter Mabäcker <petter@technux.se>
10 years agognutls: fix sed command
Robert Yang [Sat, 17 Jan 2015 17:08:39 +0000 (09:08 -0800)]
gnutls: fix sed command

The "sed 's/.bak//g'" matchs "bitbake", which would cause strange errors
when the S contains "bitbake", fix to "sed 's/\.bak$//'`"

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agopython3: fix for cross compiling
Robert Yang [Mon, 19 Jan 2015 03:10:32 +0000 (19:10 -0800)]
python3: fix for cross compiling

Fixed:
* python3 has introduced _PYTHON_PROJECT_BASE which is used for separate
  B and S, but it doesn't work when compile Modules, the target python3 runs
  python3-native's sysconfig to get srcdir which is the native's, there
  would be errors when native's srcdir has been removed, add
  _PYTHON_PROJECT_SRC to fix the problem.

* Check cross_compiling when get FLAGS

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agocurl: Add PACKAGECONFIG for samba
Maxin B. John [Mon, 19 Jan 2015 13:19:08 +0000 (14:19 +0100)]
curl: Add PACKAGECONFIG for samba

curl 7.40.0 added support for the SMB/CIFS protocol. So provide
a PACKAGECONFIG option for smb.

Reported-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoat-spi2-core: pass correct path to dbus-daemon
Ross Burton [Mon, 19 Jan 2015 14:57:12 +0000 (14:57 +0000)]
at-spi2-core: pass correct path to dbus-daemon

at-spi2-core tries to find the dbus-daemon binary and hard-codes this path in a
script.  The first dbus-daemon it finds is the one in the target sysroot, so
explicitly pass the correct path.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agotexi2html: update po_document/Makefile.in.in for new gettext
Robert Yang [Wed, 14 Jan 2015 06:38:07 +0000 (22:38 -0800)]
texi2html: update po_document/Makefile.in.in for new gettext

* The autotools_do_configure updates po/Makefile.in.in, we also need
  update po_document and po_messages.

Fixed:
 *** error: gettext infrastructure mismatch:
using a Makefile.in.in from gettext version 0.18 but the autoconf macros are from gettext version 0.19

* Remove fix_gettext_version.patch, it wasn't a correct fix.

* Remove unneeded code from do_configure_append/prepend().

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agotexinfo: update po_document/Makefile.in.in for new gettext
Robert Yang [Wed, 14 Jan 2015 06:38:07 +0000 (22:38 -0800)]
texinfo: update po_document/Makefile.in.in for new gettext

The autotools_do_configure updates po/Makefile.in.in, we also need
update po_document.

Fixed:
 *** error: gettext infrastructure mismatch:
using a Makefile.in.in from gettext version 0.18 but the autoconf macros are from gettext version 0.19

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agogettext: upgrade to 0.19.4
Robert Yang [Tue, 13 Jan 2015 15:02:50 +0000 (07:02 -0800)]
gettext: upgrade to 0.19.4

* gettext:
  - Update parallel.patch, we only need a part of it.

* gettext-minimal-native:
  - Update related files from gettext-native.
  - Remove Makevars.template, we didn't use it.
  - Remove iconv-m4-remove-the-test-to-convert-euc-jp.patch (can be
    reverse applied).
  - Update the COPYING (1995 - 2014).

* About upgrade gettext-minimal-native (for future's upgrade):
  - Build gettext-native
  - Copy gettext-runtime/po/Makefile.in.in, build-aux/config.rpath and
    gettext-runtime/po/remove-potcdate.sin from gettext-native.
  - Update COPYING when needed (usually update the year), do not copy
    the whole COPYING file from gettext-native.
  - Go to gettext-native's ${S}/gettext-runtime/m4:
    > Remove lt*.m4 and libtool.m4
    > copy lib-ld.m4 lib-link.m4 lib-prefix.m4 from ${S}/gettext-runtime/m4/
    > tar czvf /path/to/aclocal.tgz *.m4

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoopkg: fix libtoolize error
Robert Yang [Wed, 7 Jan 2015 02:00:52 +0000 (18:00 -0800)]
opkg: fix libtoolize error

Fixed:
libtoolize:   error: AC_CONFIG_MACRO_DIRS([m4]) conflicts with ACLOCAL_AMFLAGS=-I shave.

They are already included by configure.ac:
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_MACRO_DIR([shave])

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agolibtool: upgraded to 2.4.4
Robert Yang [Tue, 6 Jan 2015 22:47:37 +0000 (14:47 -0800)]
libtool: upgraded to 2.4.4

* Upgrade:
  - libtool-native
  - libtool-cross
  - nativesdk-libtool
  - libtool

* Remove 2 patches:
  - respect-fstack-protector.patch: already in the new source.
  - avoid_absolute_paths_for_general_utils.patch: no general.m4sh any
    more.
  - Use inline-source to install libtoolize.

* Update other patches

* The LIC_FILES_CHKSUM is changed because of the indent, the contents
  are the same.

* The libtool config files are put in libtool/build-aux now, it was
  libtool/config in the past.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoautomake: upgrade to 1.15
Robert Yang [Mon, 12 Jan 2015 23:57:44 +0000 (15:57 -0800)]
automake: upgrade to 1.15

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agomklibs-native: upgrade to 0.1.40
Robert Yang [Mon, 12 Jan 2015 23:45:00 +0000 (15:45 -0800)]
mklibs-native: upgrade to 0.1.40

Remove the do_configure_prepend, it never worked since the sed command
didn't use '-i'.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoautogen-native: upgrade to 5.18.4
Robert Yang [Mon, 12 Jan 2015 03:10:56 +0000 (19:10 -0800)]
autogen-native: upgrade to 5.18.4

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agogrub: remove autogen-native dependency for tarball recipes
Ross Burton [Mon, 19 Jan 2015 13:33:04 +0000 (13:33 +0000)]
grub: remove autogen-native dependency for tarball recipes

The tarballs of grub ship the files that are generated by autogen, so tarball
recipes don't need to depend on autogen-native (and thus guile-native).

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolib/oe/sdk.py: Add SDKIMAGE_INSTALL_COMPLEMENTARY capabilities to DpkgSdk
Pau Espin Pedrol [Fri, 16 Jan 2015 11:57:25 +0000 (12:57 +0100)]
lib/oe/sdk.py: Add SDKIMAGE_INSTALL_COMPLEMENTARY capabilities to DpkgSdk

Creating an SDK by means of do_populate_sdk, complementary packages
(SDKIMAGE_FEATURES = "dev-pkgs dbg-pkgs") are not installed when using
the deb packaging system.

The reason is that the call to install the complementary packages is missing
from the deb backend. This patch fixes that.

[YOCTO #7160]

(From OE-Core rev: 0bcca69ea97ac51acf290f8f1da1bde715ab51c4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoarch-mips.inc: Add the MIPS ABIEXTENSION to toolchain name
Mark Hatle [Thu, 15 Jan 2015 15:05:33 +0000 (09:05 -0600)]
arch-mips.inc: Add the MIPS ABIEXTENSION to toolchain name

[YOCTO #7143]

When the system is configured for a multilib SDK, such as:

require conf/multilib.conf
MULTILIBS = "multilib:lib32 multilib:lib64"
DEFAULTTUNE = "mips32r2"
DEFAULTTUNE_virtclass-multilib-lib32 = "mips64-n32"
DEFAULTTUNE_virtclass-multilib-lib64 = "mips64"

Only one of the mips64-n32 or mips64 toolchains is built.  Causing the
other to be unavailable.  This is due to both recipes ending up with the
same PN.

The toolchain uses the TRANSLATED_TARGET_ARCH in it's name, however the
target for mips64 and mips64 n32 were the same, causing the conflict.
Avoid this conflict by adding the ABIEXTENSION to the name.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodepmodwrapper-cross: Update to use STAGING_KERNEL_BUILDDIR
Richard Purdie [Sat, 17 Jan 2015 17:04:35 +0000 (17:04 +0000)]
depmodwrapper-cross: Update to use STAGING_KERNEL_BUILDDIR

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/rootfs.py: Fix reference to abiversion file location
Richard Purdie [Fri, 16 Jan 2015 23:11:53 +0000 (23:11 +0000)]
lib/oe/rootfs.py: Fix reference to abiversion file location

With the changes to kernel layout, we need to refer to the correct
location of the kernel abiversion file.

Thanks to Saul, Randy, Darren and Bruce to figuring out the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xorg: Always disable systemd-logind.
Randy Witt [Fri, 16 Jan 2015 21:36:35 +0000 (13:36 -0800)]
xserver-xorg: Always disable systemd-logind.

Without a dm to handle the session management systemd-logind can make it
difficult for X to gain ownership of devices and behave properly.

Since X seems to work without enabling systemd-logind, always disable it for
now, and we can revisit it if we ever want to try to take advantage of
multi-user sessions/seats.

[Yocto # 7100]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglibc: Fix up minimal build with libc-libm
Saul Wold [Thu, 15 Jan 2015 14:39:06 +0000 (06:39 -0800)]
glibc: Fix up minimal build with libc-libm

This addresses 2 issues discovered trying to build a minimal libc with
libm option.  By default nscd was always being built and without inet
enabled there were missing symbols.

[YOCTO #7108]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agomsmtp: fix configure options
Ross Burton [Thu, 15 Jan 2015 11:19:23 +0000 (11:19 +0000)]
msmtp: fix configure options

msmtp moved from gnome-keyring to libsecret, so update EXTRA_OECONF.  Also
explicitly disable libgsasl to avoid potential non-deterministic builds in the
future.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agokexec-tools: separate B and S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)]
kexec-tools: separate B and S

It works well now, and bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agopresentproto: separate B and S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)]
presentproto: separate B and S

It works well now, and bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agorpm: separate B and S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)]
rpm: separate B and S

It works well now, and bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoicon-naming-utils: separate B and S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)]
icon-naming-utils: separate B and S

It works well now, and bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agolibfm: separate B and S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)]
libfm: separate B and S

It works well now, and bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agolibfm-extra: separate B and S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)]
libfm-extra: separate B and S

It works well now, and bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoconnman: fix B != S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)]
connman: fix B != S

And bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agopython: fix B != S
Robert Yang [Tue, 13 Jan 2015 02:55:19 +0000 (18:55 -0800)]
python: fix B != S

And bump PR to avoid:
gcc: error: Parser/tokenizer_pgen.o: No such file or directory
gcc: error: Parser/printgrammar.o: No such file or directory
gcc: error: Parser/pgenmain.o: No such file or directory

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoalsa-utils: fix B != S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)]
alsa-utils: fix B != S

And bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agolibcroco: separate B and S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)]
libcroco: separate B and S

It works well now, and bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agognome-desktop-testing: separate B and S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)]
gnome-desktop-testing: separate B and S

It works well now, and bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoqemu: fix B != S
Robert Yang [Tue, 13 Jan 2015 02:55:19 +0000 (18:55 -0800)]
qemu: fix B != S

And bump PR to avoid:
Makefile:16: *** This is an out of tree build but your source tree
(/path/to/qemu-2.2.0) seems to have been used for an in-tree build. You
can fix this by running "make distclean && rm -rf *-linux-user
*-softmmu" in your source tree.  Stop.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoapr-util: fix B != S
Robert Yang [Tue, 13 Jan 2015 02:55:19 +0000 (18:55 -0800)]
apr-util: fix B != S

And bump PR to avoid:
x86_64-linux-libtool:   error: 'dbm/apr_dbm_gdbm.la' is not a valid libtool archive

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoexpect: separate B and S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)]
expect: separate B and S

And bump the PR to avoid:
install: cannot stat `/path/to/image/usr/lib64/expect5.45/libexpect*.so': No such file or directory

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agooprofile: separate B and S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)]
oprofile: separate B and S

And bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agopinentry: separate B and S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)]
pinentry: separate B and S

It works well now, and bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agobash: separate B and S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)]
bash: separate B and S

It works well now, and bump the PR to avoid:
x86_64-poky-linux-ar: shmatch.o: No such file or directory

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agognutls: separate B and S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)]
gnutls: separate B and S

It works well now, and bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agolibgcrypt: separate B and S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)]
libgcrypt: separate B and S

It works well now, and bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoflac: separate B and S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)]
flac: separate B and S

It works well now, and bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Remove the CLEANBROKEN.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agocracklib: separate B and S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)]
cracklib: separate B and S

It works well now, and bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agocmake: fix B != S
Robert Yang [Tue, 13 Jan 2015 02:55:19 +0000 (18:55 -0800)]
cmake: fix B != S

And bump PR to avoid:
| Error when bootstrapping CMake:
| Found directory "/path/to/cmake-2.8.12.2/Bootstrap.cmk".
| Looks like somebody did bootstrap CMake in the source tree, but now you are
| trying to do bootstrap in the binary tree. Please remove Bootstrap.cmk
| directory from the source tree.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agobc: separate B and S
Robert Yang [Tue, 13 Jan 2015 03:08:51 +0000 (19:08 -0800)]
bc: separate B and S

It works well now, and bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoghostscript: fix B != S
Robert Yang [Tue, 13 Jan 2015 02:55:19 +0000 (18:55 -0800)]
ghostscript: fix B != S

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agonspr: fix B != S
Robert Yang [Tue, 13 Jan 2015 02:55:19 +0000 (18:55 -0800)]
nspr: fix B != S

And bump the PR to avoid:
make[3]: ../../../config/./nsinstall: Command not found

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agolibnl: separate B and S
Robert Yang [Tue, 13 Jan 2015 01:38:05 +0000 (17:38 -0800)]
libnl: separate B and S

It works well now, and bump the PR to avoid:
configure: error: source directory already configured; run "make distclean" there first

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agorxvt-unicode: Add Upgraded version 9.21
Saul Wold [Tue, 13 Jan 2015 18:36:50 +0000 (10:36 -0800)]
rxvt-unicode: Add Upgraded version 9.21

Keep older 9.20 due to newer version being GPLv3

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agodtc: Upgrade to 1.4.1 (git based)
Saul Wold [Tue, 13 Jan 2015 18:35:02 +0000 (10:35 -0800)]
dtc: Upgrade to 1.4.1 (git based)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agomsmtp: Upgrade to 1.6.1
Saul Wold [Tue, 13 Jan 2015 18:34:30 +0000 (10:34 -0800)]
msmtp: Upgrade to 1.6.1

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoautotools.bbclass: print make clean
Robert Yang [Wed, 14 Jan 2015 08:55:33 +0000 (00:55 -0800)]
autotools.bbclass: print make clean

It makes us easier to see make clean failed.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoquilt: set CLEANBROKEN
Robert Yang [Wed, 14 Jan 2015 07:44:40 +0000 (23:44 -0800)]
quilt: set CLEANBROKEN

Fix when rebuild:
| DEBUG: Executing shell function autotools_preconfigure
| Please run ./configure
| make: *** [Makefile] Error 1

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agomkelfimage: set CLEANBROKEN
Robert Yang [Wed, 14 Jan 2015 07:44:40 +0000 (23:44 -0800)]
mkelfimage: set CLEANBROKEN

Fix when rebuild:
| DEBUG: Executing shell function autotools_preconfigure
| Makefile:1: Makefile.conf: No such file or directory

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoslang: set CLEANBROKEN
Robert Yang [Wed, 14 Jan 2015 06:42:36 +0000 (22:42 -0800)]
slang: set CLEANBROKEN

When make clean:
| Makefile is older than the configure script.
| Please re-run the configure script.
| make: *** [Makefile] Error 1

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agolibxml-parser-perl: fix LICENSE to be more accurate
Paul Eggleton [Tue, 13 Jan 2015 12:17:57 +0000 (12:17 +0000)]
libxml-parser-perl: fix LICENSE to be more accurate

XML::Parser is distributed under the same licenses as Perl itself.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
10 years agolibxml-simple-perl: fix LICENSE to be more accurate
Paul Eggleton [Tue, 13 Jan 2015 12:15:02 +0000 (12:15 +0000)]
libxml-simple-perl: fix LICENSE to be more accurate

XML::Simple is distributed under the same licenses as Perl itself; its
accompanying license statement also explicitly restates Artistic license
or GPL version 1 or (at your option) any later version (i.e. the same as
Perl).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
10 years agoperl: fix LICENSE to be more accurate
Paul Eggleton [Tue, 13 Jan 2015 12:12:49 +0000 (12:12 +0000)]
perl: fix LICENSE to be more accurate

The Perl license is the Artistic License, or GPL version 1 or (at your
option) any later version:

  http://dev.perl.org/licenses/

Update LICENSE accordingly. Thanks to Clemens Lang for reporting this.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
10 years agopigz: add Apache-2.0 to LICENSE
Paul Eggleton [Tue, 13 Jan 2015 12:04:28 +0000 (12:04 +0000)]
pigz: add Apache-2.0 to LICENSE

As of version 2.3, pigz ships a copy of zopfli, which is Apache-2.0
licensed, so we need to add this to LICENSE.

Thanks to Clemens Lang for reporting this.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
10 years agoportmap: remove obsolete lines
Robert Yang [Mon, 12 Jan 2015 06:04:53 +0000 (22:04 -0800)]
portmap: remove obsolete lines

* The SRC_URI and S in portmap.inc was for portmap 5, but we don't have
  it any more.
* Remove DEPENDS = "virtual/fakeroot-native" and fakeroot before
  do_install.
* Remove sbindir = "/sbin" and use "${base_sbindir}" in FILES.
* Move patches from dir portmap-6.0 to portmap.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoman: remove fakeroot from do_install()
Robert Yang [Mon, 12 Jan 2015 03:25:54 +0000 (19:25 -0800)]
man: remove fakeroot from do_install()

The fakeroot is already set in base.bbclass.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agocups: remove fakeroot from do_install()
Robert Yang [Mon, 12 Jan 2015 03:25:24 +0000 (19:25 -0800)]
cups: remove fakeroot from do_install()

The fakeroot is already set in base.bbclass.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agolibical: use BPN in SRC_URI
Robert Yang [Mon, 12 Jan 2015 03:04:28 +0000 (19:04 -0800)]
libical: use BPN in SRC_URI

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agognu-efi: upgrade to 3.0.1
Robert Yang [Thu, 8 Jan 2015 00:01:46 +0000 (16:01 -0800)]
gnu-efi: upgrade to 3.0.1

* Use the official src rather than debian.
* It doesn't have a general license file, the license is embedded in the
  files, which are "GPLv2+ | BSD-2-Clause".
* Supported aarch64 and arm.
* Remove parallel-make.patch that was accepted upstream. (From Saul)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agobluez5: upgrade to 5.27
Peter A. Bigot [Fri, 9 Jan 2015 12:51:37 +0000 (06:51 -0600)]
bluez5: upgrade to 5.27

- Bug fixes in A2DP, OBEX, GATT, and mgmt
- Low Energy Secure Connections with 3.19+ kernels

See: http://www.bluez.org/release-of-bluez-5-27/
See: http://www.bluez.org/release-of-bluez-5-26/
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolibaio: Upgrade to 0.3.110
Saul Wold [Fri, 12 Dec 2014 22:26:25 +0000 (14:26 -0800)]
libaio: Upgrade to 0.3.110

Remove old patches and rebase existing ones
Add libc for x86 for stack-protector bounce function (__stack_chk_fail_local)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agosecurity_flags: disable pie support for libaio, blktrace and ltp
Saul Wold [Tue, 6 Jan 2015 22:04:01 +0000 (14:04 -0800)]
security_flags: disable pie support for libaio, blktrace and ltp

libaio when built with pie and fpie does not link correctly with blktrace or ltp
so we need to disable those flags until a better solution comes along.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agousbutils: Add version 008
Saul Wold [Thu, 13 Nov 2014 22:38:06 +0000 (14:38 -0800)]
usbutils: Add version 008

The latest version of usbutil (v008) uses the latest version of udev (v196 or greater)
which is only available as part of the systemd package.  So add systemd as a DEPENDS and
REQUIRED_DISTRO_FEATURE.

Add v008 version of iconv.patch

COPYING file is GPLv2, but has newer formatting and address change.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agosystemd: add missing RDEPENDS
Ross Burton [Mon, 12 Jan 2015 11:57:17 +0000 (11:57 +0000)]
systemd: add missing RDEPENDS

systemd-ptest also needs a Python interpretter.  Also remove the redundant
comment.

systemd-kernel-install is a bash script that can't be trivially ported to POSIX
sh.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopython-gitdb: upgrade to 0.6.1
Robert Yang [Wed, 7 Jan 2015 23:57:09 +0000 (15:57 -0800)]
python-gitdb: upgrade to 0.6.1

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agopython-git: upgrade to 0.3.3
Robert Yang [Wed, 7 Jan 2015 23:52:59 +0000 (15:52 -0800)]
python-git: upgrade to 0.3.3

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agosocat: forcibly disable use of libbsd
Ross Burton [Fri, 9 Jan 2015 16:40:31 +0000 (16:40 +0000)]
socat: forcibly disable use of libbsd

Socat will look for openpty() in BSD headers before Linux headers, so if libbsd
is present at configure time then that will be used.  We don't need to depend on
libbsd though, and leaving it floating can cause build errors, so tell configure
that the libbsd header isn't present.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoBAD_RECOMMENDATIONS also works for RPM packaging.
Robert P. J. Day [Fri, 9 Jan 2015 16:08:39 +0000 (11:08 -0500)]
BAD_RECOMMENDATIONS also works for RPM packaging.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agocurl: upgrade to 7.40
Maxin B. John [Fri, 9 Jan 2015 12:06:52 +0000 (13:06 +0100)]
curl: upgrade to 7.40

Bump to version 7.40

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopackage.bbclass: Fix support for private libs
Martin Jansa [Thu, 8 Jan 2015 17:11:18 +0000 (18:11 +0100)]
package.bbclass: Fix support for private libs

* n is a tuple since this commit:
  commit d3aa7668a9f001044d0a0f1ba2de425a36056102
  Author: Richard Purdie <richard.purdie@linuxfoundation.org>
  Date:   Mon Jul 7 18:41:23 2014 +0100
  Subject package.bbclass: Improve shlibs needed data structure

  since then 'n in private_libs' was always false and private libs
  were always processed
* this is bad when we have libfoo in private libs, but also some package
  providing libfoo, that way we ship own libfoo.so, but together with
  runtime dependency on package providing libfoo

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agosysklogd: upgrade to 1.5.1
Chen Qi [Sun, 4 Jan 2015 08:16:54 +0000 (16:16 +0800)]
sysklogd: upgrade to 1.5.1

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
10 years agocoreutils: upgrade to 8.23
Chen Qi [Sun, 4 Jan 2015 05:40:55 +0000 (13:40 +0800)]
coreutils: upgrade to 8.23

fix-for-dummy-man-usage.patch is rebased.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
10 years agosysstat: upgrade to stable version 11.0.2
Chen Qi [Sun, 4 Jan 2015 03:11:22 +0000 (11:11 +0800)]
sysstat: upgrade to stable version 11.0.2

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
10 years agoqt4-embedded: support c++0x stand for directfb
Hongxu Jia [Mon, 29 Dec 2014 02:25:55 +0000 (10:25 +0800)]
qt4-embedded: support c++0x stand for directfb

While directfd upgrade to 1.7.6, it always includes directfb++ utils
when C++ is used and set c++0x as c++ standard.
(In git://git.directfb.org/git/directfb/core/DirectFB.git
commit b444bcae3197be9faf883460dcc239ef757d5922, and commit
522beeb76f2a8d2dee30d928d2a5955bd06cf25c)

The directfd in qt4-embedded is c++, and there was a build failure:
...
| qdirectfbwindowsurface.cpp:336:69: error: in C++98 'rect' must be
initialized by constructor, not by '{...}'
|      const DFBRectangle rect = { r.x(), r.y(), r.width(), r.height() };
...

The g++ used c++98 as default c++ standard, we should
explicitly set c++0x for directfd in qt4-embedded.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
10 years agodirectfb: upgrade to 1.7.6
Hongxu Jia [Tue, 23 Dec 2014 02:15:12 +0000 (10:15 +0800)]
directfb: upgrade to 1.7.6

- Drop fixsepbuild.patch which has been merged to 1.7.6
- Drop obsolete rename-no-instrument-function-macro.patch

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
10 years agolz4: update to r127
Armin Kuster [Fri, 2 Jan 2015 04:45:28 +0000 (20:45 -0800)]
lz4: update to r127

dropped Makefile from license check.

r127
added : lz4frame_static.h

r126
New : lz4frame API is now integrated into liblz4
Fixed : GCC 4.9 bug on highest performance settings, reported by Greg Slazinski
Fixed : bug within LZ4 HC streaming mode, reported by James Boyle
Fixed : older compiler don't like nameless unions, reported by Cheyi Lin
Changed : lz4 is C90 compatible
Changed : added -pedantic option, fixed a few minor warnings

r125
New 32/64 bits, little/big endian and strict/efficient align detection routines
(internal)
New directory structure
Small decompression speed improvement
Fixed a bug into LZ4_compress_limitedOutput(), thanks to Christopher Speller
lz4 utility uses lz4frame library (lz4io modified)

r124
New : LZ4 HC streaming mode
Fixed : LZ4F_compressBound() using null preferencesPtr

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogrub 2.0: several fixes
Robert Yang [Sun, 4 Jan 2015 02:38:19 +0000 (18:38 -0800)]
grub 2.0: several fixes

* Make grub, grub-efi grub_git use a grub2.inc to reduce the duplicated code.

* Make grub and grub-efi use the same patches since they use the same
  source. (grub_git is different).

* grub-efi:
  - Use autotools to replace autotools-brokensep
  - Remove the DEPENDS of freetype, it should be a RDEPENDS.
  - Remove grub-2.00-ignore-gnulib-gets-stupidity.patch since it is a
    duplication of remove-gets.patch.
  - Make grub-efi.rpm contain files rather than make an empty package.

* grub_git:
  - Fix a SSE build failure.

[YOCTO #6310]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agopax-utils: RDEPENDS on python
Robert Yang [Tue, 6 Jan 2015 23:00:56 +0000 (15:00 -0800)]
pax-utils: RDEPENDS on python

python script:
pax-utils/usr/bin/lddtree

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agoparted: parted-ptest RDEPENDS on python
Robert Yang [Tue, 6 Jan 2015 02:56:10 +0000 (18:56 -0800)]
parted: parted-ptest RDEPENDS on python

python scripts:
parted-ptest/usr/lib64/parted/ptest/tests/gpt-header-move
parted-ptest/usr/lib64/parted/ptest/tests/msdos-overlap

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10 years agooprofile: disable documentation
Ross Burton [Thu, 8 Jan 2015 15:37:39 +0000 (15:37 +0000)]
oprofile: disable documentation

Seed the xsltproc detection with "not found" to avoid determinism races with the
documentation which doesn't build correctly with our xsltproc.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoicecc.bbclass: properly handle disabling of icecc
Dmitry Eremin-Solenikov [Thu, 15 Jan 2015 10:11:51 +0000 (13:11 +0300)]
icecc.bbclass: properly handle disabling of icecc

Always use use_icc to check if IceCC should be enabled. Move
ICECC_DISABLED variable checking to use_icc function. Also while we are
at it, fix condition in icc_is_allarch function.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocross-canadian/meta-environment: Allow modification of TARGET_OS to be optional
Richard Purdie [Thu, 15 Jan 2015 10:03:50 +0000 (10:03 +0000)]
cross-canadian/meta-environment: Allow modification of TARGET_OS to be optional

There are some cases we want the manipulation cross-canadian performance
on TARGET_OS, there are also cases like meta-environment where we do not
want this manipulation.

We did try and use immediate expansion to avoid this problem and it
works in the non multilib case. If we have a multilib that used an
extension, like for example:

require conf/multilib.conf
MULTILIBS = "multilib:lib32 multilib:lib64"
DEFAULTTUNE = "mips32r2"
DEFAULTTUNE_virtclass-multilib-lib32 = "mips64-n32"
DEFAULTTUNE_virtclass-multilib-lib64 = "mips64"

then the n32 extension case will be misconfigured.

It turns out saving an unexpanded variable is hard. The best I could
come up with was:

SAVEDTOS := "${@d.getVar('TARGET_OS', False).replace("{", "*")}"

and then

localdata.setVar("TARGET_OS", d.getVar("SAVEDOS", False).replace('*','{'))

which is rather evil, I'd challenge someone to come up with a nicer way
of making it work though!

Rather than the above madness, we modify cross-canadian to make the
problamtic code conditional.

This fixes the original issue (where a linux-gnuspe target was seeing
'linux') of
http://cgit.openembedded.org/openembedded-core/commit/?id=0038634ee6e2b6035c023a2702547f20f67c103a
but also fixes the multilib one.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh: deliver ssh-copy-id
Kai Kang [Thu, 15 Jan 2015 08:38:36 +0000 (16:38 +0800)]
openssh: deliver ssh-copy-id

Deliver script ssh-copy-id from openssh which is useful to add an
authorized ssh key.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel-yocto: remove GUILT_BASE from terminal exports
Bruce Ashfield [Thu, 15 Jan 2015 11:54:20 +0000 (11:54 +0000)]
kernel-yocto: remove GUILT_BASE from terminal exports

guilt is no longer used to manage linux-yocto kernel pathes, so
we no longer need to export variables that it needed to locate
patches in the tree.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel.bbclass: Update cleandirs to remove new kernel staging dirs
Darren Hart [Thu, 15 Jan 2015 11:54:19 +0000 (11:54 +0000)]
kernel.bbclass: Update cleandirs to remove new kernel staging dirs

Fixes [YOCTO 6818]

Update do_unpack[cleandirs] to include the STAGING_KERNEL_BUILDDIR, and
add the same set of updated cleandirs for do_clean.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel-devsrc: Depend on virtual/kernel:do_compile
Darren Hart [Thu, 15 Jan 2015 11:54:18 +0000 (11:54 +0000)]
kernel-devsrc: Depend on virtual/kernel:do_compile

Since virtual/kernel do_compile modifies ${B}, we need to wait for
do_compile to copy everything across in order to ensure a deterministic
file set.

Currently, we race against the build and can see .debug directories, and
the do_compile dependency we will always see them. Add .debug to the
find path pruning.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperf: Disable perf-libunwind
Tom Zanussi [Thu, 15 Jan 2015 11:54:17 +0000 (11:54 +0000)]
perf: Disable perf-libunwind

It hasn't actually been being enabled anyway: 'Disabling post unwind,
no support found.'.  For now, turn it off because of [YOCTO #7129].

Fixes [YOCTO #7129].

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperf: Add libdw unwind support to perf-libunwind feature
Tom Zanussi [Thu, 15 Jan 2015 11:54:16 +0000 (11:54 +0000)]
perf: Add libdw unwind support to perf-libunwind feature

perf can use either libdw or libunwind dwarf unwinders, or neither.
The perf-libunwind feature implies that if disabled, neither should be
used, so have it disable both libdw and libunwind DWARF unwinders if
disabled.

This fixes [YOCTO #7129].

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel: move source and build output to work-shared
Bruce Ashfield [Thu, 15 Jan 2015 11:54:15 +0000 (11:54 +0000)]
kernel: move source and build output to work-shared

commit 3b3f7e785e279 [kernel: Rearrange for 1.8] began the process of
moving the kernel source and build artefacts out of sstate control and
into a shared location.

This changed triggered some workflow issues, as well as bugs related
to the kernel source containing build output, and hence being dirty and
breaking kernel rebuilds.

To solve these issues, and to make it clear that the kernel is not under
sstate control, we move the source and build outputs to:

  work-shared/MACHINE/kernel-source
  work-shared/MACHINE/kernel-build-artifacts

Where kernel-build-artifacts is the kernel build output and
kernel-source is kept "pristine". The build-artifacts contain everything
that is required to build external modules against the kernel source,
and includes the defconfig, the kernel-abiversion, System.map files and
output from "make scripts".

External module builds should either pass O= on the command line, or
set KBUILD_OUTPUT to point to the build-artifacts. module-base.bbclass
takes care of setting KBUILD_OUTPUT, so most existing external module
recipes are transparently adapted to the new source/build layout.

recipes that depend on the kernel source must have a depedency on the
do_shared_workdir task:

 do_configure[depends] += "virtual/kernel:do_shared_workdir"

With this dependency added, the STAGING_KERNEL_DIR will be populated and
available to the rest of the build.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel.bbclass: When linux/version.h exists, copy it
Otavio Salvador [Thu, 15 Jan 2015 11:54:14 +0000 (11:54 +0000)]
kernel.bbclass: When linux/version.h exists, copy it

Old Linux kernel versions rely on linux/version.h for modules; this
needs to be published for external modules to use. Copy it when
available.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomodule.bbclass: Add KERNEL_SRC in EXTRA_OEMAKE
Otavio Salvador [Thu, 15 Jan 2015 11:54:13 +0000 (11:54 +0000)]
module.bbclass: Add KERNEL_SRC in EXTRA_OEMAKE

When the sstate hash changes for do_configure task, the do_configure
default implementation triggers the 'clean' to be run. For it to
succeed we need to have KERNEL_SRC defined in EXTRA_OEMAKE. Fixes
following error:

,----
| DEBUG: Executing shell function do_configure
| NOTE: make -e MAKEFLAGS= clean
| make -C  M=.../tmp/work/... clean
| make[1]: *** M=.../tmp/work/...: No such file or directory.  Stop.
| Makefile:20: recipe for target 'clean' failed
| make: *** [clean] Error 2
| ERROR: oe_runmake failed
`----

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoguile: fixed installed-vs-shipped error
Robert Yang [Wed, 7 Jan 2015 14:55:03 +0000 (06:55 -0800)]
guile: fixed installed-vs-shipped error

Fixed:
guile-2.0.11: guile: Files/directories were installed but not shipped
  /usr/lib64/libguile-2.0*-gdb.scm [installed-vs-shipped]

This is because when there is no file in the directory:
for f in libguile-2.0*; do
    [snip]
done

The f would be libguile-2.0* itself, make sure the libs are installed
firstly will fix the problem.

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