]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agoboost: Fix build on soft-float ABI arm systems
Khem Raj [Mon, 1 Feb 2016 05:08:29 +0000 (05:08 +0000)]
boost: Fix build on soft-float ABI arm systems

We get errors like
./boost/test/execution_monitor.hpp:490:27: error: 'FE_DIVBYZERO' was not
declared in this scope
     BOOST_FPE_DIVBYZERO = FE_DIVBYZERO,

on musl, rightly because FPU is not used on soft-float
systems

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibnss-mdns: Check for nss.h before using
Khem Raj [Mon, 1 Feb 2016 05:08:22 +0000 (05:08 +0000)]
libnss-mdns: Check for nss.h before using

nss.h is not available on all libcs
so check for it and if its not there provide
the needed data types.

Fixed buil with musl
../../nss-mdns-0.10/src/nss.c:32:17: fatal error: nss.h: No such file or
directory
compilation terminated.
make[2]: *** [libnss_mdns4_la-nss.lo] Error 1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodb: Use cross libtool
Khem Raj [Mon, 1 Feb 2016 05:08:27 +0000 (05:08 +0000)]
db: Use cross libtool

db is not reconfigured like usual autotools based components so it
generates its own libtool, and this libtool is not equipped to do cross
builds, e.g. when building using clang on musl, it misdirects linker to
use libstdc++.so from build host instead of target, the reason being it
does not understand sysroot.

Use cross libtool instead to build the target versions

Fixes errors like below

| libtool: link: arm-oe-linux-musleabi-ranlib .libs/libdb-6.0.a
|
/a/builder/mnt/build-oe/tmp-musl/sysroots/x86_64-linux/usr/bin/arm-oe-linux-musleabi/arm-oe-linux-musleabi-ld:
error: /usr/lib/libstdc++.so: incompatible target

(From OE-Core rev: d14b5e650e1e55e30abbd884a6bbd9b4feacd923)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibtool-cross: Unset pre|post dep objects
Khem Raj [Mon, 1 Feb 2016 04:49:49 +0000 (04:49 +0000)]
libtool-cross: Unset pre|post dep objects

predep_objects and postdep_objects are specifying the duplicate objects
which are better computed by gcc/g++ driver, since we want to generate
PIE, PIC and non-PIC combinations, let gcc decide on this, since it
knows best about linker options to use in each of these situations.
When we defer the linker options to driver, we also need to remove
-nostdlib from linker commandline options.

Remove duplicate directory creation for ${D}${bindir_crossscripts}/

This fixes a frequent problem we see during -fpie links e.g.

|
/home/ubuntu/work/oe/openembedded-core/build/tmp-glibc/sysroots/qemux86-64/usr/include/c++/5.3.0/iostream:74:
undefined reference to `__dso_handle'
|
/home/ubuntu/work/oe/openembedded-core/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/5.3.0/ld:
.libs/cxx_channel.o: relocation R_X86_64_PC32 against undefined hidden
symbol `__dso_handle' can not be used when making a shared object
|
/home/ubuntu/work/oe/openembedded-core/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/5.3.0/ld:
final link failed: Bad value

After this change libtool gets changed as below

 old_archive_from_expsyms_cmds=""

 # Commands used to build a shared archive.
-archive_cmds="\$CC \$pic_flag -shared -nostdlib \$predep_objects
\$libobjs \$deplibs \$postdep_objects \$compiler_flags \$wl-soname
\$wl\$soname -o \$lib"
-archive_expsym_cmds="\$CC \$pic_flag -shared -nostdlib \$predep_objects
\$libobjs \$deplibs \$postdep_objects \$compiler_flags \$wl-soname
\$wl\$soname \$wl-retain-symbols-file \$wl\$export_symbols -o \$lib"
+archive_cmds="\$CC \$pic_flag -shared  \$predep_objects \$libobjs
\$deplibs \$postdep_objects \$compiler_flags \$wl-soname \$wl\$soname -o
\$lib"
+archive_expsym_cmds="\$CC \$pic_flag -shared  \$predep_objects
\$libobjs \$deplibs \$postdep_objects \$compiler_flags \$wl-soname
\$wl\$soname \$wl-retain-symbols-file \$wl\$export_symbols -o \$lib"

 # Commands used to build a loadable module if different from building
 # a shared archive.
@@ -11908,8 +11908,8 @@

 # Dependencies to place before and after the objects being linked to
 # create a shared library.
-predep_objects="/home/ubuntu/work/oe/openembedded-core/build/tmp-glibc/sysroots/qemux86-64/usr/lib/../lib/Scrt1.o
/home/ubuntu/work/oe/openembedded-core/build/tmp-glibc/sysroots/qemux86-64/usr/lib/../lib/crti.o
/home/ubuntu/work/oe/openembedded-core/build/tmp-glibc/sysroots/qemux86-64/usr/lib/../lib/x86_64-oe-linux/5.3.0/crtbeginS.o"
-postdep_objects="/home/ubuntu/work/oe/openembedded-core/build/tmp-glibc/sysroots/qemux86-64/usr/lib/../lib/x86_64-oe-linux/5.3.0/crtendS.o
/home/ubuntu/work/oe/openembedded-core/build/tmp-glibc/sysroots/qemux86-64/usr/lib/../lib/crtn.o"
+predep_objects=""
+postdep_objects=""
 predeps=""
 postdeps="-lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc"

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agodocbook-xsl-stylesheets: create a link for easy refer
Kai Kang [Fri, 29 Jan 2016 09:38:06 +0000 (17:38 +0800)]
docbook-xsl-stylesheets: create a link for easy refer

Create a link to stylesheets directory for docbook-xsl-stylesheets to
make it easy to refer.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopth: Remove dead code
Khem Raj [Mon, 1 Feb 2016 05:08:25 +0000 (05:08 +0000)]
pth: Remove dead code

recipe is removed, delete remaining cruft

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosstate: Revert using -m option to tar in sstate
Richard Purdie [Sun, 31 Jan 2016 13:35:54 +0000 (13:35 +0000)]
sstate: Revert using -m option to tar in sstate

In http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=2d89cff42af2bb0049224bfaaebaa2b21966169f
we added a workaround for dealing with lack of time sync between build
machines and their users.

This has turned out to cause problems for people who rely on timestamps
being preserved in sstate output.

Since our autobuilders are all in time sync with ntp, revert the commit.

[YOCTO #8996]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibarchive-native: Disable libxml2 support
Richard Purdie [Sun, 31 Jan 2016 13:32:36 +0000 (13:32 +0000)]
libarchive-native: Disable libxml2 support

For libarchive-native, we don't really need libxml2 support. Adding this
means we need libxml2-native which means we need python-native and
makes the dependency chains pretty heavy. The target case is unaffected.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopcmciautils: Fix makefile race
Richard Purdie [Sun, 31 Jan 2016 13:24:56 +0000 (13:24 +0000)]
pcmciautils: Fix makefile race

The existing patch wasn't fixing one issue it claimed to and seemed
incorrect in relation to the other.

This patch correctly addresses the parallel make issue, as seen on
our autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobinutils: Use target provided zlib
Richard Purdie [Sun, 31 Jan 2016 13:21:06 +0000 (13:21 +0000)]
binutils: Use target provided zlib

When using -fpie (security related cflags), qemux6-64 builds would
fail due to linker symbol errors. This was due to the internal zlib
that binutils was using.

Add the switch to tell it to use the target system zlib which is
already in DEPENDS. That zlib is already compiled with the correct
flags.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobinutils: Upgrade to 2.26
Khem Raj [Sat, 30 Jan 2016 06:28:38 +0000 (06:28 +0000)]
binutils: Upgrade to 2.26

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonative.bbclass: Set CXXFLAGS from BUILD_CXXFLAGS not BUILD_CFLAGS
Phil Blundell [Sat, 30 Jan 2016 12:21:59 +0000 (12:21 +0000)]
native.bbclass: Set CXXFLAGS from BUILD_CXXFLAGS not BUILD_CFLAGS

Although BUILD_CXXFLAGS, by default, expands to the same thing as
BUILD_CFLAGS there is no guarantee that this will be true in all
cases.  When setting CXXFLAGS we should use the former.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-base: Add video crop supporting when convert frame
Yuqing Zhu [Thu, 28 Jan 2016 09:02:48 +0000 (17:02 +0800)]
gstreamer1.0-plugins-base: Add video crop supporting when convert frame

Getting thumbnail will use convertframe to convert video frame to
desired video format and size. But haven't process crop meta on
the video buffer. Need to add video crop support.

Signed-off-by: Yuqing Zhu <b54851@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-bad: Fix memory leak of navigation thread
Yuqing Zhu [Thu, 28 Jan 2016 09:02:47 +0000 (17:02 +0800)]
gstreamer1.0-plugins-bad: Fix memory leak of navigation thread

When exit navigation thread, call g_thread_join() to release
the resource hold by it.

Signed-off-by: Yuqing Zhu <b54851@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolib/oe/package_manager: remove package feed lists
Stefan Agner [Wed, 27 Jan 2016 23:14:26 +0000 (15:14 -0800)]
lib/oe/package_manager: remove package feed lists

Remove opkg package feed lists after generating the rootfs. The
lists have been generated by the local feed but are no longer
necessary after image generation. This still leaves the package
management fully usable (and hence is different from omitting
package-management from IMAGE_FEATURES).

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoexternalsrc: use shared CONFIGURESTAMPFILE if B=S
Markus Lehtonen [Fri, 29 Jan 2016 15:04:31 +0000 (17:04 +0200)]
externalsrc: use shared CONFIGURESTAMPFILE if B=S

External source tree is used as the builddir even for different
architectures in case ${B}=${S}. This may cause problems if MACHINE is
changed as do_configure is not being re-run (which would run make
clean). This patches changes externalsrc to use a common (per-recipe)
CONFIGURESTAMPFILE under 'work-shared' if ${B}=${S}. In addition,
do_configure will depend on changes of this stamp file. As a result,
do_configure is re-run and the build dir is cleaned correctly if a
rebuild for different MACHINE is done.

[YOCTO #8950]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoMake sure that the directory for CONFIGURESTAMPFILE exists
Markus Lehtonen [Fri, 29 Jan 2016 15:04:30 +0000 (17:04 +0200)]
Make sure that the directory for CONFIGURESTAMPFILE exists

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoautotools.bbclass: use oe_runmake instead of ${MAKE}
Markus Lehtonen [Fri, 29 Jan 2016 15:04:29 +0000 (17:04 +0200)]
autotools.bbclass: use oe_runmake instead of ${MAKE}

Use oe_runmake like in base.bbclass so that EXTRA_OEMAKE will be
respected.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc, qemuppc: Explicitly disable forcing SPE flags
Khem Raj [Sat, 30 Jan 2016 06:28:37 +0000 (06:28 +0000)]
gcc, qemuppc: Explicitly disable forcing SPE flags

G4 does not have SPE, so we make that explicit in the tune files and
since we emulate G4 when building Qemu, we ensure it for qemuppc as
well.

GCC config for powerpc-linux is made to include SPE by default which is
equivalent if the tripet was powerpc-linux*spe, this forces gcc to
configure assembler to enable -mspe by default, when we do that then the
kernel fails to compile with binutils 2.26, since newer assembler is
smart to detect the tlbia instructions are not compatible with SPE and
hence the kernel build breaks rightly. We configure the kernel for G4 as
well where it enables tlbia instrucitons rightly so because it thinks
its being configured for power4. So we keep the options but do not force
-mspe down to assembler as default.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopango.inc: misc dependency fixes
Andre McCurdy [Fri, 29 Jan 2016 22:08:49 +0000 (14:08 -0800)]
pango.inc: misc dependency fixes

 - Add glib-2.0-native dependency for target
 - Add fontconfig-native and freetype-native dependencies for native
 - Drop unnecessary dependency on zlib for all

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopango.inc: limit ptest specific do_compile_prepend to target builds
Andre McCurdy [Fri, 29 Jan 2016 22:08:48 +0000 (14:08 -0800)]
pango.inc: limit ptest specific do_compile_prepend to target builds

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemtap_git.inc: do not immediate expand SELECTED_OPTIMIZATION
Hongxu Jia [Fri, 29 Jan 2016 17:35:58 +0000 (12:35 -0500)]
systemtap_git.inc: do not immediate expand SELECTED_OPTIMIZATION

We need to expand SELECTED_OPTIMIZATION later, so
do not immediate expansion, and do the work in
anonymous python function.

It is reasonable to give an error for -O0.

[YOCTO #7058]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoglibc.inc: do not immediate expand SELECTED_OPTIMIZATION
Hongxu Jia [Fri, 29 Jan 2016 17:35:57 +0000 (12:35 -0500)]
glibc.inc: do not immediate expand SELECTED_OPTIMIZATION

We need to expand SELECTED_OPTIMIZATION later, so
do not immediate expansion, and do the work in
anonymous python function.

It is reasonable to give an error for -O0.

[YOCTO #7058]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomkelfimage: fix target cflags leaks to host
Hongxu Jia [Fri, 29 Jan 2016 17:35:56 +0000 (12:35 -0500)]
mkelfimage: fix target cflags leaks to host

The patch fix-makefile-to-find-libz.patch fixed native
compile failure; for target compile, it incorrectly
leaks CFLAGS to HOST_CFLAGS.

[YOCTO #3547]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobase: Move COMPATIBLE_MACHINE out the scope of SOURCE_MIRROR_FETCH
Richard Purdie [Wed, 27 Jan 2016 12:23:34 +0000 (12:23 +0000)]
base: Move COMPATIBLE_MACHINE out the scope of SOURCE_MIRROR_FETCH

Recipes setting COMPATIBLE_MACHINE are likely to have SRC_URI
entries which can heavily depend on the configured machine. Skipping
them for SOURCE_MIRROR_FETCH is therefore not advised and leads to
build errors whilst not particularly improving source mirrors.

[YOCTO #8802]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocurl: update 7.46.0 -> 7.47.0 ( CVE-2016-0754 CVE-2016-0755 )
Andre McCurdy [Thu, 28 Jan 2016 21:31:38 +0000 (13:31 -0800)]
curl: update 7.46.0 -> 7.47.0 ( CVE-2016-0754 CVE-2016-0755 )

Full changelog: http://curl.haxx.se/changes.html#7_47_0
Security fixes: http://curl.haxx.se/docs/vulnerabilities.html

CVE-2016-0754 : remote file name path traversal in curl tool for Windows
CVE-2016-0755 : NTLM credentials not-checked for proxy connection re-use

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenssl: update 1.0.2e -> 1.0.2f ( CVE-2016-0701 CVE-2015-3197 )
Andre McCurdy [Thu, 28 Jan 2016 20:55:45 +0000 (12:55 -0800)]
openssl: update 1.0.2e -> 1.0.2f ( CVE-2016-0701 CVE-2015-3197 )

Major changes between OpenSSL 1.0.2e and OpenSSL 1.0.2f [28 Jan 2016]

  o DH small subgroups (CVE-2016-0701)
  o SSLv2 doesn't block disabled ciphers (CVE-2015-3197)

Updated LICENSE hash due to change in copyright year.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoautotools.bbclass: don't create subshell to delete configure scripts
Andre McCurdy [Thu, 28 Jan 2016 20:11:52 +0000 (12:11 -0800)]
autotools.bbclass: don't create subshell to delete configure scripts

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosstate: Add back packagedata on packagedata dependencies
Richard Purdie [Thu, 28 Jan 2016 16:34:00 +0000 (16:34 +0000)]
sstate: Add back packagedata on packagedata dependencies

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibical: update to 2.0.0
Maxin B. John [Thu, 28 Jan 2016 14:34:45 +0000 (16:34 +0200)]
libical: update to 2.0.0

1.0.1 -> 2.0.0

1. New version is not Binary Compatible with Older Versions
2. Removed two backported patches
        a. Fix-x32-ABI-build.patch
        b. Depend-on-headers-to-fix-parallel-build.patch

3. New RSCALE support requires icu

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokexec: package kdump init script/configuration file correctly
Roy Li [Thu, 28 Jan 2016 06:08:48 +0000 (14:08 +0800)]
kexec: package kdump init script/configuration file correctly

kdump init script/configuration files are under ${sysconfdir}, not ${sysconfig}
and should be packaged into kdump sub-package

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoconnman: fix crash with iptables 1.6
Maxin B. John [Thu, 28 Jan 2016 12:37:21 +0000 (14:37 +0200)]
connman: fix crash with iptables 1.6

The struct of xtables_globals has been modified in iptables 1.6.
If connman runs with iptables 1.6, it can crash.

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
0xb7dea89c in xtables_find_target () from /usr/lib/libxtables.so.11
0xb7deac1c in ?? () from /usr/lib/libxtables.so.11
0xb7dea793 in xtables_find_target () from /usr/lib/libxtables.so.11

The the missing function item of xtables is added to xtables_globals.
It can fix the above issue.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoautotools_stage.bbclass: remove it
Robert Yang [Thu, 28 Jan 2016 09:46:36 +0000 (01:46 -0800)]
autotools_stage.bbclass: remove it

Not needed any more, the autotools.bbclass can fully instead of it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogdb-common.inc: add PACKAGECONFIG for readline
Robert Yang [Thu, 28 Jan 2016 09:46:35 +0000 (01:46 -0800)]
gdb-common.inc: add PACKAGECONFIG for readline

When compile with readline 5.2:
completer.o: In function `gdb_display_match_list':
completer.c:(.text+0x1c13): undefined reference to `_rl_completion_prefix_display_length'
completer.c:(.text+0x1ce8): undefined reference to `rl_sort_completion_matches'
collect2: ld returned 1 exit status

The --without-system-readline will make it work.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotzdata: update to 2016a
Armin Kuster [Thu, 28 Jan 2016 02:17:59 +0000 (18:17 -0800)]
tzdata: update to 2016a

Changed LIC_CHKSUM_FILES to a new LICENSE  file.
Add BSD-3-clause to licenses

Changes affecting future time stamps

America/Cayman will not observe daylight saving this year after all.
Revert our guess that it would.  (Thanks to Matt Johnson.)

Asia/Chita switches from +0800 to +0900 on 2016-03-27 at 02:00.
(Thanks to Alexander Krivenyshev.)

Asia/Tehran now has DST predictions for the year 2038 and later,
to be March 21 00:00 to September 21 00:00.  This is likely better
than predicting no DST, albeit off by a day every now and then.

Changes affecting past and future time stamps

America/Metlakatla switched from PST all year to AKST/AKDT on
2015-11-01 at 02:00.  (Thanks to Steffen Thorsen.)

America/Santa_Isabel has been removed, and replaced with a
backward compatibility link to America/Tijuana.  Its contents were
apparently based on a misreading of Mexican legislation.

Changes affecting past time stamps
Asia/Karachi's two transition times in 2002 were off by a minute.
(Thanks to Matt Johnson.)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotzcode: update to 2016a
Armin Kuster [Thu, 28 Jan 2016 02:17:58 +0000 (18:17 -0800)]
tzcode: update to 2016a

Change LIC_CHKSUM_FILES to License. Some files are BSD clause 3

Changes affecting build procedure

An installer can now combine leap seconds with use of the backzone file,
e.g., with 'make PACKRATDATA=backzone REDO=posix_right zones'.
The old 'make posix_packrat' rule is now marked as obsolescent.
(Thanks to Ian Abbott for an initial implementation.)

Changes affecting documentation and commentary

A new file LICENSE makes it easier to see that the code and data
are mostly public-domain.  (Thanks to James Knight.) The three
non-public-domain files now use the current (3-clause) BSD license
instead of older versions of that license.

tz-link.htm mentions the BDE library (thanks to Andrew Paprocki),
CCTZ (thanks to Tim Parenti), TimeJones.com, and has a new section
on editing tz source files (with a mention of Sublime zoneinfo,
thanks to Gilmore Davidson).

The Theory and asia files now mention the 2015 book "The Global
Transformation of Time, 1870-1950", and cite a couple of reviews.

The America/Chicago entry now documents the informal use of US
central time in Fort Pierre, South Dakota.  (Thanks to Rick
McDermid, Matt Johnson, and Steve Jones.)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglibc-testing.inc: drop pruning of PATCH_GET from the testglibc script
Andre McCurdy [Thu, 28 Jan 2016 02:11:11 +0000 (18:11 -0800)]
glibc-testing.inc: drop pruning of PATCH_GET from the testglibc script

PATCH_GET is no longer exported by bitbake.conf, so no longer needs
to be pruned from the glibc do_compile() environment.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc-cross.inc: drop pruning of PATCH_GET from the testgcc script
Andre McCurdy [Thu, 28 Jan 2016 02:11:10 +0000 (18:11 -0800)]
gcc-cross.inc: drop pruning of PATCH_GET from the testgcc script

PATCH_GET is no longer exported by bitbake.conf, so no longer needs
to be pruned from the gcc-cross do_compile() environment.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobitbake.conf: stop exporting PATCH_GET = "0"
Andre McCurdy [Thu, 28 Jan 2016 02:11:09 +0000 (18:11 -0800)]
bitbake.conf: stop exporting PATCH_GET = "0"

Exporting PATCH_GET = "0" has been redundant since patch 2.6.0 was
released in 2009:

  http://git.savannah.gnu.org/cgit/patch.git/commit/?id=b008dece18e6b94b8a13ea44a253855bf407ed01

Host distros which shipped with patch 2.5.x (e.g. Centos 5) are no
longer supported, so this export can be retired from bitbake.conf.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosstate: Improve handling of useradd dependencies
Richard Purdie [Wed, 27 Jan 2016 23:30:30 +0000 (23:30 +0000)]
sstate: Improve handling of useradd dependencies

useradd has sstate [depends] for both do_package and do_populate_sysroot
yet the dependency validation code only covers do_package.

Add coverage of populate_sysroot, else the order inversion that [depends]
creates means unexpected installation of users of useradd.bbclass (e.g.
avahi do_populate_sysroot) in cases where it shouldn't be (e.g.
libnss-mdns -c packagedata).

The code needs to move above the other populate_sysroot intercept code
since there are specific cases we need to cover before that code.

The result of this change is more optimal installation of sstate objects
in common usage scenarios.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogtk-icon-utils-native: Drop problematic dependency
Richard Purdie [Wed, 27 Jan 2016 23:29:36 +0000 (23:29 +0000)]
gtk-icon-utils-native: Drop problematic dependency

The setscene [depends] support is nasty with hidden side effects, in
particular hardcoding that the items mentioned basically always get
installed from sstate. Installing librsvg-native ends up pulling
in qemu-native and all kinds of things we don't want.

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=e384d9ba0c4a3335575a766a82ed79201d794b11
was meant to resolve the reasons this dependency was present and
I suspect I simply forgot to remove it at the time. Remove it now
for much better sstate usage.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglib.inc: limit ARM_INSTRUCTION_SET over-rides to armv4/armv5
Andre McCurdy [Wed, 27 Jan 2016 23:28:36 +0000 (15:28 -0800)]
glib.inc: limit ARM_INSTRUCTION_SET over-rides to armv4/armv5

The original over-ride dates back to 2007:

  http://git.openembedded.org/openembedded-core/commit/?id=fc5366261e12c100e18dc1d9ef0b86b91500e355

There are no obvious issues seen now when building glib-2.0 v2.46.2
in thumb2 for Cortex A15.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglib-2.0: drop add-march-i486-into-CFLAGS-automatically.patch
Andre McCurdy [Wed, 27 Jan 2016 23:28:35 +0000 (15:28 -0800)]
glib-2.0: drop add-march-i486-into-CFLAGS-automatically.patch

The reasoning behind this patch isn't clear. ${CC} should always
contain appropriate -march flags. If the build is misconfigured
somehow (or someone is trying to build for i386) then we want the
configure scipt to generate an error, not to try to quietly try to
fix it (adding -march=i486 to CFLAGS is potentially going to cause
more problems than it solves).

Since this patch is unlikely to ever be merged upstream and it's not
helpful in any typical OE build, drop it rather than maintaining it.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglib-2.0: refresh configure-libtool.patch
Andre McCurdy [Wed, 27 Jan 2016 23:28:34 +0000 (15:28 -0800)]
glib-2.0: refresh configure-libtool.patch

Refresh configure-libtool.patch to replace one more instance of
./libtool in configure.ac, first introduced in v2.31.20:

  https://git.gnome.org/browse/glib/commit/?id=59ee6dbc004adda8c4e4c8ff58bf21a9173eb99f

Fixes "./libtool: No such file or directory" warnings when running
configure:

 | ...
 | checking for dlsym in -ldl... yes
 | ../glib-2.46.2/configure: line 25481: ./libtool: No such file or directory
 | checking for RTLD_GLOBAL brokenness... (cached) yes
 | ...

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: fix systemctl enable script for template units
Enrico Jorns [Tue, 12 Jan 2016 12:55:43 +0000 (13:55 +0100)]
systemd: fix systemctl enable script for template units

The systemctl script supports enabling template units by evaluating
"DefaultInstance" parameter. Unfortunately, due to the sed replacement
mechanism, all escaping used in the DefaultInstance string, e.g. for
giving path names with dashes, is expanded too early.

Thus for

  DefaultInstance=-path\x2dwith\x2ddashes

a path unit `foobar@.path` will be installed with a symlink named

  foobar@-path-with-dashed.path

that is interpreted as the path `/path/with/dashes` instead of the
intended path nam `/path-with-dashes`.

To fix this behavior additional escaping of the backslashes in the
`DefaultInstance` string is required so that sed does not expand the
escaped characters.

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglib: use bash-completion.bbclass
George McCollister [Thu, 14 Jan 2016 20:56:33 +0000 (14:56 -0600)]
glib: use bash-completion.bbclass

Use bash-completion.bbclass to package bash completions.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokmod: use bash-completion.bbclass
George McCollister [Thu, 14 Jan 2016 20:56:36 +0000 (14:56 -0600)]
kmod: use bash-completion.bbclass

Use bash-completion.bbclass to package bash completions.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogit: use bash-completion.bbclass
George McCollister [Thu, 14 Jan 2016 20:56:35 +0000 (14:56 -0600)]
git: use bash-completion.bbclass

Use bash-completion.bbclass to package bash completions.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoutil-linux: use bash-completion.bbclass
George McCollister [Thu, 14 Jan 2016 20:56:34 +0000 (14:56 -0600)]
util-linux: use bash-completion.bbclass

Use bash-completion.bbclass to package bash completions.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodbus-glib: use bash-completion.bbclass
George McCollister [Thu, 14 Jan 2016 20:56:32 +0000 (14:56 -0600)]
dbus-glib: use bash-completion.bbclass

Use bash-completion.bbclass to package bash completions.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobash-completion.bbclass: add class
George McCollister [Thu, 14 Jan 2016 20:56:31 +0000 (14:56 -0600)]
bash-completion.bbclass: add class

Add bash-completion.bbclass which will package bash completion files in
a subpackage ${PN}-bash-completion. Use of this class will ensure
consitent handling of bash completions across recipes.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobash-completion: move in recipe from meta-oe
George McCollister [Thu, 14 Jan 2016 20:56:29 +0000 (14:56 -0600)]
bash-completion: move in recipe from meta-oe

Recipes in OE core are building packages that should RDEPEND on
bash-completion so it should be in this layer.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoffmpeg: add a recipe, and remove the libav recipe
Alexander Kanavin [Wed, 27 Jan 2016 15:11:12 +0000 (17:11 +0200)]
ffmpeg: add a recipe, and remove the libav recipe

The reasons for the switch are here:
http://lists.openembedded.org/pipermail/openembedded-core/2015-July/107091.html
http://lists.openembedded.org/pipermail/openembedded-core/2016-January/116007.html

Changes made to libav recipe:
- drop libav-fix-CVE-2014-9676.patch, the fix is available upstream
- merge .inc into .bb, only one upstream version (latest one) is provided
- drop separate libpostproc recipe, the library is provided directly
from ffmpeg source tree
- drop ARM tweaks; they date to classic-OE, need to be retested against the
new code and probably haven't been relevant for a long time
- drop PACKAGECONFIG options that are no longer provided upstream
- drop build and packaging tweaks that don't seem to do anything useful
and also date back to classic OE; if you run into issues, please report
- explicitly enable PIC and disable stripping of binaries

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolib/oe/patch: Make GitApplyTree._applypatch() support read-only .git/hooks
Peter Kjellerstedt [Wed, 27 Jan 2016 14:39:52 +0000 (15:39 +0100)]
lib/oe/patch: Make GitApplyTree._applypatch() support read-only .git/hooks

Rather than modifying files in .git/hooks, which can be read-only
(e.g., if it is a link to a directory in /usr/share), move away the
entire .git/hooks directory temporarily.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc: fix hidden weak symbols by removing buggy gcc patch
Mathieu Desnoyers [Wed, 27 Jan 2016 13:47:10 +0000 (08:47 -0500)]
gcc: fix hidden weak symbols by removing buggy gcc patch

We are noticing the presence of the following patch in various
openembedded gcc versions:

0024-PR-target-32219.patch

However, contrarily to its "Backport" status, that patch is
not upstream in gcc, and it breaks handling of start/stop automatic
weak hidden symbols we use in lttng-ust.

We are only experiencing problems on the various openembedded
compilers, but on no other distro (with same compiler versions),
which led us to suspect a buggy distro-specific gcc patch.

We've been testing with openembedded gcc-4.9.2-r0. Rebuilding the gcc
compiler with this patch removed fixes the lttng-ust issue.

Link: http://lists.openembedded.org/pipermail/openembedded-core/2016-January/116306.html
Link: http://lists.lttng.org/pipermail/lttng-dev/2014-May/023112.html
Link: https://gcc.gnu.org/ml/gcc-help/2014-05/msg00042.html
Link: http://cgit.openembedded.org/openembedded-core/commit/?id=3cb2b003db7371b3a47d02c08352a262e1e419b4
Link: https://sourceware.org/bugzilla/show_bug.cgi?id=15435
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodpkg: fix CVE-2015-0860
Catalin Enache [Wed, 27 Jan 2016 10:22:21 +0000 (18:22 +0800)]
dpkg: fix CVE-2015-0860

Backported and cherry picked upstream commit:
https://anonscm.debian.org/cgit/dpkg/dpkg.git/commit/?h=wheezy&id=f1aac7d933819569bf6f347c3c0d5a64a90bbce0

Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemu.bbclass: clarify QEMU_EXTRAOPTIONS
Andre McCurdy [Wed, 27 Jan 2016 20:58:51 +0000 (12:58 -0800)]
qemu.bbclass: clarify QEMU_EXTRAOPTIONS

QEMU_EXTRAOPTIONS is a way to add PACKAGE_ARCH specific options to the
qemu_run_binary qemu commandline. The base QEMU_EXTRAOPTIONS variable
(ie without a PACKAGE_ARCH suffix) is not used, so defining it, either
directly or via an over-ride has no effect.

Although previously an over-ride for _armv7a was used, it did nothing
for most armv7a builds, which typically use PACKAGE_ARCH values such
as "cortexa9hf-neon". In practice this worked OK since without a -cpu
option, qemu-arm will default to emulating a CPU which supports all
required architecture levels.

qemu-arm (v2.5.0) with no -cpu option has been confirmed to
successfully run binaries built for armv7ve.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopango.inc: drop obsolete dependency on qemu-native
Andre McCurdy [Wed, 27 Jan 2016 20:57:00 +0000 (12:57 -0800)]
pango.inc: drop obsolete dependency on qemu-native

The dependency on qemu-native was removed during the update to 1.38.1:

  http://git.openembedded.org/openembedded-core/commit/?id=9a86d2a876f5cce9c2825f8fd5bf5dc9aaf9d7a1

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodbus: upgrade to 1.10.6
Chen Qi [Thu, 14 Jan 2016 09:16:23 +0000 (17:16 +0800)]
dbus: upgrade to 1.10.6

Now that systemd doesn't use DBus directly, dbus can --enable-systemd.  In fact
this appears to be essential for DBus to work on under modern systemd.

python-config.patch refreshed.

Package dbus-test-tool into PN-dev, and remove obsolete dbus-glib-tool
reference.

Remove obsolete --without-dbus-glib option, and dependency on dbus-glib in
dbus-test.

[ patch originally by Chen, tweaked and message rewritten by RB ]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobuildhistory: fix the check for existence of a git repo
Markus Lehtonen [Wed, 27 Jan 2016 12:50:53 +0000 (14:50 +0200)]
buildhistory: fix the check for existence of a git repo

Previously, in order to determine the existence of an already
initialized Git repository we checked if a directory named '.git' was
present in the buildhistory dir. However, e.g. in the case of git
submodules '.git' may also be a regular file referencing some other
location which was causing unwanted behavior. This patch changes
buildhistory.bbclass to check for any file named '.git' which fixes
these problems.

[YOCTO #8911]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoconnman: tidy up connman-conf usage
Joshua Lock [Wed, 27 Jan 2016 11:24:00 +0000 (11:24 +0000)]
connman: tidy up connman-conf usage

connman-conf is now a systemd oneshot and therefore doesn't need to
be sed'ed in to the ConnMan service file.

Note: this doesn't affect sysvinit where we provide a ConnMan
init script which checks for the presence of the wired-networking
script and, if it exists, executes it as part of the connman init.

[YOCTO #8399]

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoconnman-conf: convert to systemd oneshot
Joshua Lock [Wed, 27 Jan 2016 11:23:59 +0000 (11:23 +0000)]
connman-conf: convert to systemd oneshot

Install a oneshot unit file that is started before ConnMan to
configure a wired network inteface with the wired-setup script,
rather than requiring this script to be manually run some how.

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobitbake-whatchanged: avoid double do_ task name prefix
Olof Johansson [Wed, 27 Jan 2016 10:14:32 +0000 (11:14 +0100)]
bitbake-whatchanged: avoid double do_ task name prefix

When used with --verbose, the heading for each task looks like

  === The verbose changes of example.do_do_compile:

This should instead be

  === The verbose changes of example.do_compile:

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agonetbase: add ipv6 host to /etc/hosts
Roy Li [Wed, 27 Jan 2016 08:00:19 +0000 (16:00 +0800)]
netbase: add ipv6 host to /etc/hosts

There is a script in netbase, debian/netbase.postinst, which create
/etc/hosts, but it is not called, so ipv6 host is missing.

now copy them from Ubuntu; and add localhost as alias of ::1

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-yocto/4.4: CVEs and preempt-rt update
Bruce Ashfield [Wed, 27 Jan 2016 04:27:49 +0000 (23:27 -0500)]
linux-yocto/4.4: CVEs and preempt-rt update

Integrating the following CVE update:

  Author: Yevgeny Pats <yevgeny@perception-point.io>
  Date:   Tue Jan 19 22:09:04 2016 +0000

      KEYS: Fix keyring ref leak in join_session_keyring()

      This fixes CVE-2016-0728.

We also integrate the 4.4-rt3 version.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-yocto/4.1: update to 4.1.16
Bruce Ashfield [Wed, 27 Jan 2016 04:27:48 +0000 (23:27 -0500)]
linux-yocto/4.1: update to 4.1.16

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-bad: fix compiler warnings with -Os in 1.7.1
Andre McCurdy [Wed, 27 Jan 2016 00:23:32 +0000 (16:23 -0800)]
gstreamer1.0-plugins-bad: fix compiler warnings with -Os in 1.7.1

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-good: fix compiler warnings with -Os in 1.7.1
Andre McCurdy [Wed, 27 Jan 2016 00:23:31 +0000 (16:23 -0800)]
gstreamer1.0-plugins-good: fix compiler warnings with -Os in 1.7.1

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsoup-2.4: add glib-2.0-native dependency
Andre McCurdy [Wed, 27 Jan 2016 00:17:58 +0000 (16:17 -0800)]
libsoup-2.4: add glib-2.0-native dependency

Building libsoup requires glib-mkenums.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibtirpc: remove stray .orig file from Use-netbsd-queue.h.patch
Andre McCurdy [Wed, 27 Jan 2016 00:16:54 +0000 (16:16 -0800)]
libtirpc: remove stray .orig file from Use-netbsd-queue.h.patch

The file 'src/clnt_bcast.c.orig' seems to have been accidentally
included when the Use-netbsd-queue.h.patch patch was created.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoptest-runner: Add ptest-runner_2.0 recipe.
Aníbal Limón [Mon, 25 Jan 2016 23:29:37 +0000 (17:29 -0600)]
ptest-runner: Add ptest-runner_2.0 recipe.

The ptest-runner 2.0 is C written program for run ptests of
Yocto/Openembedded, is fully compatible with previous version of
ptest-runner that was a shell script that runs ptests sequencially.

The mainly reason for the new ptest-runner in C is because is designed
for run in tiny systems also the old shell script version have problems
when certain ptest hang it becomes blocked indefinitely.

Now the ptest-runner 2.0 support the next features:

- Specify the directory for search ptests.
- List available ptests.
- Specify the timeout for avoid blocking indefinetly.
- Only run certain ptests.

Proposed features:

- Adds support for per ptest output file.
- Adds support for run ptests in parallel (review possible
  colisions in ptests).

[YOCTO #8021]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomusl: Upgrade to tip of tree
Khem Raj [Thu, 21 Jan 2016 23:20:35 +0000 (15:20 -0800)]
musl: Upgrade to tip of tree

Add explicit runtime dep on bsd-headers-dev
so we dont miss them in dev images

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agolibdrm: Refresh patch to match upstream submission
Khem Raj [Fri, 22 Jan 2016 00:36:47 +0000 (00:36 +0000)]
libdrm: Refresh patch to match upstream submission

The version submitted upstream has been updated to this one
after feedback

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agofts: Correct LIC_FILES_CHKSUM
Khem Raj [Thu, 21 Jan 2016 23:18:04 +0000 (15:18 -0800)]
fts: Correct LIC_FILES_CHKSUM

It was using wrong keyword and let it point to section of header file

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopth: Delete
Khem Raj [Mon, 18 Jan 2016 21:23:33 +0000 (21:23 +0000)]
pth: Delete

replacement in npth is available in OE-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoelfutils: Fix build with uclibc/musl
Khem Raj [Sat, 26 Dec 2015 20:01:44 +0000 (20:01 +0000)]
elfutils: Fix build with uclibc/musl

Remove mempcpy patch its already in uclibc now
refresh libargp patch to match latest elfutils

Add ALLOW_EMPTY for musl

core-image-cmdline-full asks for elfutils package to be added to package
it has all eu-* tools but we dont build them on musl. nevertheless lets
satisfy the dependency so image can build for musl

Build libdw,libasm,libebl along with libelf

enhance the musl portability patch to compile every other library
except the eu-* tools

Fix build on aarch64/musl issues

Header inclusion ends up with duplicate definitions of iovec struct
since uclibc defines the same in usersapce, we have been depending upong
including the kernel header on aarch64, using sys/uio.h is the right
approach

Fix x86 build warning seen on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogrub: Backport fix for largefile detection/use
Khem Raj [Tue, 12 Jan 2016 23:43:13 +0000 (23:43 +0000)]
grub: Backport fix for largefile detection/use

This is inspired by musl porting, where grub's configure is enabling
largefile support based on glibc versions, instead an upstream patch
turns it into autoconf check

Update git version recipe

arm platforms use this recipe to provide grub and it needed fixes from
upstream so upgrade to latest tip of git and forward port patches as
well as drop the ones already applied upstream

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agooeqa/runtime/rpm: be more verbose if test_rpm_query_nonroot fails
Ross Burton [Mon, 25 Jan 2016 16:26:17 +0000 (16:26 +0000)]
oeqa/runtime/rpm: be more verbose if test_rpm_query_nonroot fails

If some parts of this test fail put the failing output in the logs to help
debugging.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibc-package.bbclass: add LOCALE_UTF8_IS_DEFAULT
Richard Tollerton [Fri, 22 Jan 2016 01:46:53 +0000 (19:46 -0600)]
libc-package.bbclass: add LOCALE_UTF8_IS_DEFAULT

python hard-codes the encoding of many locales; for instance, en_US is
always assumed to be ISO-8859-1, regardless of the actual encoding of
the en_US locale on the system. cf
https://hg.python.org/cpython/file/7841e9b614eb/Lib/locale.py#l1049,
getdefaultlocale(), etc. This code appears to date back to python 2.0.
The source of this hard-coding is Xorg's locale.alias but is ultimately
justified by glibc's SUPPORTED.

This causes problems on OE, because any locale lacking an explicit
encoding suffix (e.g. en_US) is UTF-8. It has been this way from the
beginning (svn r1). That is not a bug, per se -- no specification
prohibits this AFAIK. But it seems to be at odds with virtually every
other glibc-based distribution in existence. To avoid needlessly
aggravating hidden bugs that nobody else might hit, it makes sense to
disable this behavior such that locales are named precisely as specified
by SUPPORTED.

I suppose that reasonable minds may disagree on whether or not the
current behavior is prudent; at the very least, this is likely to break
IMAGE_LINGUAS settings. So let's create a new distro variable
LOCALE_UTF8_IS_DEFAULT to allow either behavior. Set it to 0 and all
your locales get named exactly like they are in SUPPORTED. Leave it at 1
to preserve current OE locale naming conventions.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolocal.conf.sample.extended: Update the info about BBMASK
Peter Kjellerstedt [Wed, 27 Jan 2016 17:23:31 +0000 (18:23 +0100)]
local.conf.sample.extended: Update the info about BBMASK

Update the info about BBMASK to reflect that it can now contain
multiple regular expressions.

Also correct a misspelled PREFERRED_VERSION in a comment.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodocumentation.conf: Update the help for BBMASK
Peter Kjellerstedt [Wed, 27 Jan 2016 17:23:30 +0000 (18:23 +0100)]
documentation.conf: Update the help for BBMASK

Since it is now possible to concatenate multiple regular expressions
into BBMASK, there is no longer any real reason to limit it to be
specified only in local.conf.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocmake: update to 3.4.2
Alexander Kanavin [Fri, 22 Jan 2016 13:37:32 +0000 (15:37 +0200)]
cmake: update to 3.4.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoat-spi2-core: update to 2.18.3
Alexander Kanavin [Fri, 22 Jan 2016 13:37:57 +0000 (15:37 +0200)]
at-spi2-core: update to 2.18.3

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowebkitgtk: update to 2.10.5
Alexander Kanavin [Fri, 22 Jan 2016 13:51:29 +0000 (15:51 +0200)]
webkitgtk: update to 2.10.5

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsecret: update to 0.18.4
Alexander Kanavin [Fri, 22 Jan 2016 13:51:46 +0000 (15:51 +0200)]
libsecret: update to 0.18.4

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agofreetype: update to 2.6.2
Alexander Kanavin [Fri, 22 Jan 2016 13:53:20 +0000 (15:53 +0200)]
freetype: update to 2.6.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogdk-pixbuf: update to 2.32.3
Alexander Kanavin [Fri, 22 Jan 2016 13:58:01 +0000 (15:58 +0200)]
gdk-pixbuf: update to 2.32.3

Drop backported libc_memfuncs.patch

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglib-2.0: update to 2.46.2
Alexander Kanavin [Fri, 22 Jan 2016 14:03:31 +0000 (16:03 +0200)]
glib-2.0: update to 2.46.2

Drop backported 0001-gio-tests-Don-t-depend-on-a-data-file-that-s-not-bui.patch

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogtk+3: update to 3.18.6
Alexander Kanavin [Fri, 22 Jan 2016 14:09:17 +0000 (16:09 +0200)]
gtk+3: update to 3.18.6

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogtk+: update to 2.24.29
Alexander Kanavin [Fri, 22 Jan 2016 14:08:39 +0000 (16:08 +0200)]
gtk+: update to 2.24.29

Fix a do_configure() error (missing m4 macro) in puzzles recipe caused
by this update.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogtk-icon-utils-native: update to 3.18.6
Alexander Kanavin [Fri, 22 Jan 2016 14:11:46 +0000 (16:11 +0200)]
gtk-icon-utils-native: update to 3.18.6

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsoup-2.4: update to 2.52.2
Alexander Kanavin [Fri, 22 Jan 2016 14:13:43 +0000 (16:13 +0200)]
libsoup-2.4: update to 2.52.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowaffle: update to 1.5.2
Alexander Kanavin [Fri, 22 Jan 2016 14:25:20 +0000 (16:25 +0200)]
waffle: update to 1.5.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agovala: update to 0.30.0
Alexander Kanavin [Fri, 22 Jan 2016 14:27:12 +0000 (16:27 +0200)]
vala: update to 0.30.0

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorxvt-unicode: update to 9.22
Alexander Kanavin [Mon, 25 Jan 2016 13:27:12 +0000 (15:27 +0200)]
rxvt-unicode: update to 9.22

License checksum change due to new copyright year.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobtrfs-tools: Disable backtrace on musl
Khem Raj [Sun, 10 Jan 2016 03:26:46 +0000 (19:26 -0800)]
btrfs-tools: Disable backtrace on musl

musl does not support backtrace APIs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobsd-headers: Fix LICENCE and dev package RDEPENDS
Khem Raj [Thu, 21 Jan 2016 23:14:40 +0000 (15:14 -0800)]
bsd-headers: Fix LICENCE and dev package RDEPENDS

Clear out runtime deps for dev package, since PN is empty packager will
try to resolve to PN when building images with musl and error out since
PN is deleted as its empty

musl-dev explicitly depends upon it so it will get pulled into build
in right order

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agogdb: Fix build failures on musl
Khem Raj [Wed, 20 Jan 2016 02:27:20 +0000 (18:27 -0800)]
gdb: Fix build failures on musl

mode_t is needed by gdbserver headers so include sys/types.h to get them

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoltp: Add rdep on ldd
Khem Raj [Wed, 20 Jan 2016 19:51:01 +0000 (11:51 -0800)]
ltp: Add rdep on ldd

Fixes runtime errors e.g.

/opt/ltp/ver_linux: line 50: ldd: command not found
awk: cmd. line:2: (FILENAME=- FNR=1) fatal: attempt to access field -1
/opt/ltp/ver_linux: line 54: ldd: command not found

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoargp-standalone: Fix build when S != B
Khem Raj [Tue, 19 Jan 2016 21:21:08 +0000 (21:21 +0000)]
argp-standalone: Fix build when S != B

accesses headers from source tree.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>