]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
7 years agomanifest.py: sort package list
Michael Blättler [Mon, 8 Jan 2018 07:42:38 +0000 (08:42 +0100)]
manifest.py: sort package list

The entries of the created manifest file are always in a
different order. To ensure a deterministic build output
the entries are ordered alphabetically.

Signed-off-by: Michael Blättler <michael.blaettler@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomultilib.bbclass: remove invalid PACKAGE_INSTALL
Robert Yang [Mon, 8 Jan 2018 09:33:05 +0000 (17:33 +0800)]
multilib.bbclass: remove invalid PACKAGE_INSTALL

The PACKAGE_INSTALL is only used by image recipe, the previous code had
handled it in "if bb.data.inherits_class('image', d)", handle it again
doesn't make any sense (there is no PACKAGE_INSTALL for non-image
recipe), so remove it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosstate.bbclass: sstate_hardcode_path(): fix for multilib
Robert Yang [Mon, 8 Jan 2018 09:33:00 +0000 (17:33 +0800)]
sstate.bbclass: sstate_hardcode_path(): fix for multilib

It only substituted staging_target for target recipe which didn't work
for multilib, for example, postinst-useradd-lib32-polkit:

* No multilib:
  PATH=/path/to/tmp-glibc/work/core2-64-wrs-linux/polkit/0.113-r0/recipe-sysroot-native/bin
  staging_target=/path/to/tmp-glibc/work/core2-64-wrs-linux/polkit/0.113-r0/recipe-sysroot
  The PATH would be substituted to:
  FIXMESTAGINGDIRTARGET-native/bin
  Not the funny "-native/bin", this works well.

* When multilib:
  PATH=/path/to/tmp-glibc/work/core2-32-wrsmllib32-linux/lib32-polkit/0.113-r0/recipe-sysroot-native/bin
  staging_target=/path/to/tmp-glibc/work/core2-32-wrsmllib32-linux/lib32-polkit/0.113-r0/lib32-recipe-sysroot
  Now staging_target endswith "/lib32-recipe-sysroot", so it can't
  replace '/recipe-sysroot-native' in PATH , so PATH can't be fixed, and
  there would be build errors when building multilib + rm_work, for
  example:
  chown: invalid user: ‘polkitd:root’

Substitute staging_host for target recipe can fix the problem, now all
of native, cross and target need substitute staging_host, so we can
simply the code a little.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agonativesdk/sdk: Update sdk dummy providers
Richard Purdie [Tue, 9 Jan 2018 11:20:31 +0000 (11:20 +0000)]
nativesdk/sdk: Update sdk dummy providers

When we migrated rpm v5 -> v4, we lost the ability to drop "per file"
dependencies from the rpm backend for things like "/bin/bash" and
"/usr/bin/env" which meant the sdks were becomming 'bloated'.

This restores the functionality using a dummy package, similarly to
the way the buildtools perl issue was addressed. It also removes
the non-functional old code so as not to confuse people in future.

I ran into this problem trying to filter dependencies to only rpms
a build directly depends upon and it turns out we have some determinism issues
in this area so this is something key to fix.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_deb: Handle / in dependency name
Richard Purdie [Tue, 9 Jan 2018 11:22:54 +0000 (11:22 +0000)]
package_deb: Handle / in dependency name

We can end up with / in dependency names from file dependencies but the
deb format doesn't allow this. Filter the names to allow such dependencies
to work. Names have to start with an alphanumeric digit so also handle this.

This allows for future handling of "per file" dependencies similarly to
the rpm backend, bring parity to the functionality of the backends.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibcroco: enable nativesdk builds
Ross Burton [Mon, 8 Jan 2018 15:52:41 +0000 (15:52 +0000)]
libcroco: enable nativesdk builds

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoavahi: remove explicit avahi-dev RDEPENDS
Ross Burton [Mon, 8 Jan 2018 15:53:19 +0000 (15:53 +0000)]
avahi: remove explicit avahi-dev RDEPENDS

These were added to the avahi-dev package back in 2011 before avahi-ui existed
at all.  The problem of GTK+ being pulled in via avahi-dev was finally solved
with the avahi-ui split, so these explicit (and by being manually maintained,
incomplete) dependencies can be removed.

This also results in gettext-dev being removed from the dependency tree (the
gettext library API is provided by glibc/musl), which means that for a standard
image we don't need to build target gettext at all anymore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agom4: merge two .inc files
Ross Burton [Mon, 8 Jan 2018 12:48:48 +0000 (12:48 +0000)]
m4: merge two .inc files

Now that oe-core only has one copy of m4, there's no need to maintain two inc
files.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agonative/cross: remove redundant DEPENDS_GETTEXT assignment
Ross Burton [Mon, 8 Jan 2018 11:12:41 +0000 (11:12 +0000)]
native/cross: remove redundant DEPENDS_GETTEXT assignment

DEPENDS_GETTEXT defaults to gettext-native, so there's no need to set it again
in these classes.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopango: don't wipe EXTRA_AUTORECONF
Ross Burton [Mon, 8 Jan 2018 11:04:46 +0000 (11:04 +0000)]
pango: don't wipe EXTRA_AUTORECONF

This was added in 2007 to solve unspecified build errors, but the autotools
support has improved a lot since then and nothing breaks with it removed.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobison: remove pointless gettext-minimal-native DEPENDS
Ross Burton [Mon, 8 Jan 2018 11:08:44 +0000 (11:08 +0000)]
bison: remove pointless gettext-minimal-native DEPENDS

In native builds USE_NLS is set to 'no' so the gettext class will handle adding
gettext-minimal-native to DEPENDS.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobison: remove obsolete patch
Ross Burton [Mon, 8 Jan 2018 11:08:44 +0000 (11:08 +0000)]
bison: remove obsolete patch

m4.patch was added before 2005 (history isn't in git, only BitKeeper) and
doesn't appear to be needed anymore.

Also add a comment to clarify why acpaths is required.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopsmisc: improve autopoint-enabling
Ross Burton [Fri, 5 Jan 2018 16:39:11 +0000 (16:39 +0000)]
psmisc: improve autopoint-enabling

Instead of globally clearing EXTRA_AUTORECONF (which by default currently
contains --exclude=autopoint) use _remove to selectively remove the piece we
care about.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoicu-dbg: improve reproducibility
Juro Bystricky [Sun, 7 Jan 2018 16:59:18 +0000 (08:59 -0800)]
icu-dbg: improve reproducibility

Make sure build host references do not end up being compiled in the image.
This only affects libicutu and icu-dbg.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoperl-ptest: various fixes
Juro Bystricky [Sun, 7 Jan 2018 16:56:08 +0000 (08:56 -0800)]
perl-ptest: various fixes

Improve reproducibility: Remove all build host references from
distributed files.

Do not package non-linux OS related files.
Also remove some additional files not needed by run-ptest. (There are
probably still more files that can be removed, but as long as they
don't leak build host references they are harmless).

Fix the expected checksum of MakeMaker/lib/ExtUtils/Liblist/Kid.pm
to match the one expected: We modified the file, but did not
recalculate/update the file checksum accordingly.
(This fixes the only failing test.)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoperl-dbg: improve reproducibility
Juro Bystricky [Sun, 7 Jan 2018 16:56:07 +0000 (08:56 -0800)]
perl-dbg: improve reproducibility

Remove various build host references scattered within
comments in numerous files that are distributed in the package.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibunwind: Disable documentation explicitly
Richard Purdie [Sun, 7 Jan 2018 16:59:40 +0000 (16:59 +0000)]
libunwind: Disable documentation explicitly

We don't have latex2man in HOSTTOOLs so documentaion is never built but this
dependency does cause problems on older releases like morty, pre-HOSTTOOLS.
Document the configuration explicitly in master.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogstreamer: use a patch instead of sed to fix gtk-doc makefiles
Ross Burton [Wed, 20 Dec 2017 13:03:03 +0000 (13:03 +0000)]
gstreamer: use a patch instead of sed to fix gtk-doc makefiles

seds can get stale without warning and repeated application can cause problems,
so move the gtk-doc seds into a patch.

(From OE-Core rev: a704411ab0f1e5f8cbf57ff54b36d60ccaf0d223)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibproxy: Rely on cmake.bbclass to put cmake package files in dev package
Mike Crowe [Sat, 6 Jan 2018 20:09:03 +0000 (20:09 +0000)]
libproxy: Rely on cmake.bbclass to put cmake package files in dev package

cmake.bbclass now ensures that ${datadir}/cmake ends up in the dev package,
so this recipe doesn't need to do so itself.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibical: Rely on cmake.bbclass to put cmake package files in dev package
Mike Crowe [Sat, 6 Jan 2018 20:09:02 +0000 (20:09 +0000)]
libical: Rely on cmake.bbclass to put cmake package files in dev package

cmake.bbclass now ensures that ${libdir}/cmake ends up in the dev package,
so this recipe doesn't need to do so itself.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowaffle: Rely on cmake.bbclass to put cmake package files in dev package
Mike Crowe [Sat, 6 Jan 2018 20:09:01 +0000 (20:09 +0000)]
waffle: Rely on cmake.bbclass to put cmake package files in dev package

cmake.bbclass now ensures that ${libdir}/cmake and ${datadir}/cmake end up
in the dev package, so this recipe doesn't need to do so itself.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agovulkan: Rely on cmake.bbclass to put cmake package files in dev package
Mike Crowe [Sat, 6 Jan 2018 20:09:00 +0000 (20:09 +0000)]
vulkan: Rely on cmake.bbclass to put cmake package files in dev package

cmake.bbclass now ensures that ${libdir}/cmake ends up in the dev package,
so this recipe doesn't need to do so itself.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibsolv: Rely on cmake.bbclass to put cmake package files in dev package
Mike Crowe [Sat, 6 Jan 2018 20:08:59 +0000 (20:08 +0000)]
libsolv: Rely on cmake.bbclass to put cmake package files in dev package

cmake.bbclass now ensures that ${datadir}/cmake ends up in the dev package,
so this recipe doesn't need to do so itself.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocmake: Always put cmake package files in -dev packages
Mike Crowe [Sat, 6 Jan 2018 20:08:58 +0000 (20:08 +0000)]
cmake: Always put cmake package files in -dev packages

Various recipes that inherit cmake contain FILES_${PN}-dev magic to add the
generated package files to their -dev packages. Since this is a standard
feature of cmake, we might as well teach cmake.bbclass to do this itself so
those recipes can be simpler.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_manager.py: remove obsolete MULTILIB_ARCHS
Robert Yang [Tue, 31 Oct 2017 07:51:16 +0000 (15:51 +0800)]
package_manager.py: remove obsolete MULTILIB_ARCHS

It had been removed since 2011:

commit b774bf44ef004276da12a83ebd69715c00b596ac
Author: Lianhao Lu <lianhao.lu@intel.com>
Date:   Tue Aug 16 16:26:49 2011 +0800

    package(_ipk).bbclass: opkg using ALL_MULTILIB_PACKAGE_ARCHS

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_manager.py: print running dnf command
Robert Yang [Tue, 31 Oct 2017 05:48:56 +0000 (13:48 +0800)]
package_manager.py: print running dnf command

This can make debug easier, for example, makes it easy to run the
command mannually.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomultilib.bbclass: remove unneeded bb.data.inherits_class()
Robert Yang [Tue, 31 Oct 2017 08:10:22 +0000 (16:10 +0800)]
multilib.bbclass: remove unneeded bb.data.inherits_class()

It is duplicated to previous.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomultilib.bbclass: remove obsolete DEFAULTTUNE_ML_
Robert Yang [Tue, 31 Oct 2017 08:30:03 +0000 (16:30 +0800)]
multilib.bbclass: remove obsolete DEFAULTTUNE_ML_

It had been dropped by:
commit 65581c68d130fa74d703f6c3c92560e053857ac7
Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Date:   Mon Feb 13 16:44:48 2017 +0200

    rootfs_rpm.bbclass: migrate image creation to dnf

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agovolatile-binds: use PN to replace hardcode name
Robert Yang [Thu, 2 Nov 2017 07:53:57 +0000 (15:53 +0800)]
volatile-binds: use PN to replace hardcode name

Otherwise it doesn't work since SYSTEMD_SERVICE_volatile-binds is not defined
when multilib.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomultilib_global.bbclass: fix indent
Robert Yang [Tue, 31 Oct 2017 09:24:28 +0000 (17:24 +0800)]
multilib_global.bbclass: fix indent

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooe/copy_buildsystem.py: make sure layer exists
Robert Yang [Sun, 15 Oct 2017 19:51:24 +0000 (03:51 +0800)]
oe/copy_buildsystem.py: make sure layer exists

It had a problem when nested layer before, e.g.:
layer_a/layer_b/

And when layer_b is handled before layer_a, then layer_a dir existed, so
it would be treated as already handled, which was wrong, check
conf/layer.conf can fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopopulate_sdk_ext.bbclass: don't rename layers when failed
Robert Yang [Sun, 15 Oct 2017 19:30:43 +0000 (03:30 +0800)]
populate_sdk_ext.bbclass: don't rename layers when failed

The previous code:
os.rename(sdkbasepath, temp_sdkbasepath)
try:
    foo
finally:
    os.rename(temp_sdkbasepath, sdkbasepath)

always renamed the path, it made the debug harder when error happened.
drop the "try: finally" makes the debug easier.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotestsdk.bbclass: add a newline after own-mirrors
Robert Yang [Thu, 12 Oct 2017 06:28:47 +0000 (23:28 -0700)]
testsdk.bbclass: add a newline after own-mirrors

Otherwise it would generate lines like the following when multilib:
INHERIT += "own-mirrors"SSTATE_MIRRORS += " \n file://.* file:///path/to/../share/sstate-cache/PATH"

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agostaging.bbclass: make subprocess.check_output() capture stderr
Robert Yang [Tue, 10 Oct 2017 08:54:12 +0000 (01:54 -0700)]
staging.bbclass: make subprocess.check_output() capture stderr

This is very useful for debugging. The similar to testsdk.bbclass.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopulseaudio: change pulse to be a system group
Jackie Huang [Fri, 5 Jan 2018 02:56:49 +0000 (10:56 +0800)]
pulseaudio: change pulse to be a system group

pulse is added as a system user, so the group 'pulse' is
meant to be a system group as well, which is the same with
other distros like ubuntu/centos.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomaintainers.inc: add missing entries for gst-validate, gst-examples and meson
Alexander Kanavin [Fri, 5 Jan 2018 15:53:40 +0000 (17:53 +0200)]
maintainers.inc: add missing entries for gst-validate, gst-examples and meson

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibpcre2: add packages for 16-bit and 32-bit code unit support
Stefan Müller-Klieser [Fri, 5 Jan 2018 15:31:54 +0000 (16:31 +0100)]
libpcre2: add packages for 16-bit and 32-bit code unit support

The packages loosely follow the debian package names. In that way more
projects, e.g. Qt5 for 16-bit, are able use system libraries. This does
not change the existing default package.

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake.conf: Set AUTOREV to have a vardepvalue
Richard Purdie [Fri, 5 Jan 2018 15:14:35 +0000 (15:14 +0000)]
bitbake.conf: Set AUTOREV to have a vardepvalue

If you have a recipe which does not include SRCPV in PV but does set
SRCREV = "${AUTOREV}" and you run do_fetch, then change the repo to a
new commit then run do_unpack, do_unpack will fail since the new commit
doesn't exist in the repo that was fetched.

The problem is the revision chosen is not represented in the do_fetch
task hash. It if were, the fetch would rerun first and the commit would be
present. It works when PV includes SRCPV since that does contain the chosen
commit from the AUTOREV.

The solution is to include the SRCPV value into the representation of AUTOREV
used for checksum calculation purposes.

Add a selftest for this issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodebian.bbclass: add a note when a package is renamed
Ross Burton [Fri, 5 Jan 2018 13:06:22 +0000 (13:06 +0000)]
debian.bbclass: add a note when a package is renamed

To make it easier to debug problems with renaming caused by debian.bbclass,
explicitly log when packages are renamed.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolz4: remove ptest changes
Ross Burton [Fri, 5 Jan 2018 13:06:16 +0000 (13:06 +0000)]
lz4: remove ptest changes

This recipe installs the test suite by copying the entire build tree into
/usr/share/ptest, which is both wasteful and breaks packaging as lz4-ptest then
gets renamed by debian.bbclass to liblz4.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogst-validate: disable gtk-doc API documentation
Ross Burton [Fri, 5 Jan 2018 13:06:08 +0000 (13:06 +0000)]
gst-validate: disable gtk-doc API documentation

When the gtk-doc API documentation is enabled (via the api-documentation DISTRO_FEATURE, typically) this recipe fails to build:

  WORKDIR/build/docs/validate/gst-validate-scan: line 117:
  WORKDIR/build/docs/validate/.libs/lt-gst-validate-scan:
  No such file or directory

Forcibly disable the gtk-doc for now.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/runtime/buildcpio: Use our own mirror for source
Richard Purdie [Fri, 5 Jan 2018 16:09:47 +0000 (16:09 +0000)]
oeqa/runtime/buildcpio: Use our own mirror for source

We see occasional network glitches which break this test. Use our own
mirror (which has a .gz instead of .bz2) to avoid the errors, we're not
trying to test network connectivity.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolocal.conf.sample: Weakly set BB_DISKMON_DIRS
Richard Purdie [Sat, 6 Jan 2018 10:02:10 +0000 (10:02 +0000)]
local.conf.sample: Weakly set BB_DISKMON_DIRS

For various reasons we need to be able to set and override this from
auto.conf on our test infrastructure. We have tried forcing the variable
but this then breaks other selftests. In the interests of not complicating
things further and needing to modify the tests across releases, weaken
the default assignment.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogst-player: Upgrade, rename to gst-examples
Jussi Kukkonen [Thu, 4 Jan 2018 13:12:36 +0000 (15:12 +0200)]
gst-player: Upgrade, rename to gst-examples

Switch to using current repository, switch to meson (following
upstream), rename the recipe like upstream.

Add a patch to install the player binaries.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosysprof: convert to meson build
Alexander Kanavin [Thu, 4 Jan 2018 13:12:35 +0000 (15:12 +0200)]
sysprof: convert to meson build

Drop autotools-specific patches.

Rename polkit packageconfig option to sysprofd as 'polkit' does not
at all match what is happening.

Remove --enable-compiler-warnings, as the equivalent in meson
could not be found.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibinput: convert to meson build
Alexander Kanavin [Thu, 4 Jan 2018 13:12:34 +0000 (15:12 +0200)]
libinput: convert to meson build

Drop libunwind option, as it is only used if tests are enabled
(and they're unconditionally not enabled).

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibepoxy: convert to meson build
Alexander Kanavin [Thu, 4 Jan 2018 13:12:33 +0000 (15:12 +0200)]
libepoxy: convert to meson build

Add a patch to work around absence of dlvsym() on musl
(wasn't previously a problem as autotools weren't building tests by default)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agojson-glib: convert to meson build
Alexander Kanavin [Thu, 4 Jan 2018 13:12:32 +0000 (15:12 +0200)]
json-glib: convert to meson build

Note that meson flags for gobject introspection and gtk-doc
appear to be non-standardized; going forward we should devise
a common way to deal with it.

gettext inherit is removed, as there is no equivalent functionality
in meson; NLS bits are always built and installed.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomeson: Port pkgconfig-native patch to 0.44.0
Ricardo Ribalda Delgado [Thu, 4 Jan 2018 13:12:38 +0000 (15:12 +0200)]
meson: Port pkgconfig-native patch to 0.44.0

The update to 0.44.0 did not add this patch required for qt builds.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomeson: export native env only for native build
Martin Kelly [Thu, 4 Jan 2018 13:12:37 +0000 (15:12 +0200)]
meson: export native env only for native build

Although the meson crossfile should take care of setting the right cross
environment for a target build, meson slurps any set CFLAGS, CXXFLAGS,
LDFLAGS, and CPPFLAGS from the environment and injects them into the
build (see mesonbuild/environment.py:get_args_from_envvars for details).

This means that we are seeing native CFLAGS, CXXFLAGS, LDFLAGS, and
CPPFLAGS in the target build, which is wrong and causes build failures
when target and native have libraries in common (the linker gets
confused and bails).

That said, we *do* need to set certain vars for all builds so that meson
can find the right build tools. Without this, meson will fail during its
sanity checking step because it will determine the build tools to be
unrunnable since they output target instead of native artifacts.

The solution to all of this is to set CC, CXX, LD, and AR globally to
the native tools while setting the other native vars *only* for the
native build. For target builds, these vars will get overridden by the
cross file as we expect.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agognomebase.bbclass: allow a meson-specific version
Alexander Kanavin [Thu, 4 Jan 2018 13:12:31 +0000 (15:12 +0200)]
gnomebase.bbclass: allow a meson-specific version

gnomebase.bbclass hardcodes the autotools inherit, so make it
configurable and allow meson to be specified instead.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
[RP: patches tweaked to only need the one class]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc-runtime: improve reproducibility
Juro Bystricky [Thu, 4 Jan 2018 20:24:01 +0000 (12:24 -0800)]
gcc-runtime: improve reproducibility

Remove various build host references from packages:

libstdc++
libstdc++-staticdev
gcc-runtime-dbg

The references are removoved by correctly setting various compiler
-fdebug-prefix-map settings. There are two main issues:
The default DEBUG_PREFIX_MAP variable references WORKDIR, however,
gcc sources are in a shared folder (work-shared)/
Additionally, DWARF info seems to store symlink names but gcc
seems to resolve symlink names referenced in -fdebug-prefix-map.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3-dev: improve reproducibility
Juro Bystricky [Thu, 4 Jan 2018 20:24:00 +0000 (12:24 -0800)]
python3-dev: improve reproducibility

Remove remaining build host references from packaged files.

[#YOCTO 11472]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoattr-doc: improve reproducibility
Juro Bystricky [Thu, 4 Jan 2018 20:24:02 +0000 (12:24 -0800)]
attr-doc: improve reproducibility

Use gzip compression without timestamps in the metadata.
(Use gzip -n).

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssl-ptest: improve reproducibility
Juro Bystricky [Thu, 4 Jan 2018 20:24:04 +0000 (12:24 -0800)]
openssl-ptest: improve reproducibility

Remove buildhost references from Makefile and Configure.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosed-ptest: improve reproducibility
Juro Bystricky [Thu, 4 Jan 2018 20:24:03 +0000 (12:24 -0800)]
sed-ptest: improve reproducibility

Remove build host references

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_rpm.bbclass: clamp timestamps
Juro Bystricky [Thu, 4 Jan 2018 20:01:13 +0000 (12:01 -0800)]
package_rpm.bbclass: clamp timestamps

Improve binary reproducibility of RPM packages.
Ensure timestamps in RPM packages are not later than the value
of SOURCE_DATE_EPOCH. If SOURCE_DATE_EPOCH is not set,
timestamps are not clamped.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoglib-2.0: Remove python3 modules when building for mingw
Alistair Francis [Wed, 3 Jan 2018 19:51:18 +0000 (11:51 -0800)]
glib-2.0: Remove python3 modules when building for mingw

Commit "glib-2.0: Add python3 modules required by gdbus-codegen"
(26af3b4b33a34d7e53059b07236f9d5aae5e004a) broke the MinGW build of
QEMU. To fix the build remove the python3 RDEPENDS for gdbus-codegen
when targeting mingw.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogdb: fix build with x32
Anuj Mittal [Thu, 4 Jan 2018 02:33:47 +0000 (10:33 +0800)]
gdb: fix build with x32

When compiling gdb for x32, it fails with errors:

|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c: In function 'const target_desc* get_ipa_tdesc(int)':
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:184:10: error: 'X86_TDESC_AVX512' was not declared in this scope
|     case X86_TDESC_AVX512:
|          ^~~~~~~~~~~~~~~~
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:184:10: note: suggested alternative: 'X86_TDESC_AVX'
|     case X86_TDESC_AVX512:
|          ^~~~~~~~~~~~~~~~
|          X86_TDESC_AVX
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:185:14: error: 'tdesc_x32_avx512_linux' was not declared in this scope
|       return tdesc_x32_avx512_linux;
|              ^~~~~~~~~~~~~~~~~~~~~~
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:185:14: note: suggested alternative: 'tdesc_x32_avx_linux'
|       return tdesc_x32_avx512_linux;
|              ^~~~~~~~~~~~~~~~~~~~~~
|              tdesc_x32_avx_linux
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c: In function 'void initialize_low_tracepoint()':
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:282:3: error: 'init_registers_x32_avx512_linux' was not declared in this scope
|   init_registers_x32_avx512_linux ();
|   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|../../../gdb-8.0/gdb/gdbserver/linux-amd64-ipa.c:282:3: note: suggested alternative: 'init_registers_x32_avx_linux'
|   init_registers_x32_avx512_linux ();
|   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|   init_registers_x32_avx_linux

Backport:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=f02fd7745d003d65fd3b981618e07b874b721d79

Fixes [YOCTO #12120]

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogobject-introspection: correct the --lib-dirs-envvar patch
Alexander Kanavin [Thu, 4 Jan 2018 13:58:45 +0000 (15:58 +0200)]
gobject-introspection: correct the --lib-dirs-envvar patch

The first version introduced a new branch in if-else statement, and so
discarded the actions in the branch taken previously. This seemed
to have no adverse effect for now, but let's do it right.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomaintainers.inc: assign python recipes to Derek Straka
Alexander Kanavin [Thu, 4 Jan 2018 13:58:44 +0000 (15:58 +0200)]
maintainers.inc: assign python recipes to Derek Straka

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomaintainers.inc: remove python recipes no longer provided in oe-core
Alexander Kanavin [Thu, 4 Jan 2018 13:58:43 +0000 (15:58 +0200)]
maintainers.inc: remove python recipes no longer provided in oe-core

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoruntime/cases/ptest.py: fail when ptests fail on target
Alexander Kanavin [Thu, 4 Jan 2018 12:13:46 +0000 (14:13 +0200)]
runtime/cases/ptest.py: fail when ptests fail on target

That's the whole point isn't it? Previously this testcase succeeded
even if some of the underlying on-target tests failed; the only way
to find out if anything was wrong was to manually inspect the logs.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotestimage.bbclass: add ptest to the list of runtime tests whenever possible
Alexander Kanavin [Thu, 4 Jan 2018 12:13:45 +0000 (14:13 +0200)]
testimage.bbclass: add ptest to the list of runtime tests whenever possible

If no ptest packages are installed in the image, the test does nothing;
if ptest packages are installed in the image, then they should be
run without user having to enable that manually.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoruntime/cases/ptest.py: do not require ptest-pkgs in IMAGE_FEATURES; run only when...
Alexander Kanavin [Thu, 4 Jan 2018 12:13:44 +0000 (14:13 +0200)]
runtime/cases/ptest.py: do not require ptest-pkgs in IMAGE_FEATURES; run only when ptest-runner is availalble;

Previously the test would execute only when all available ptests
for packages in the image were installed; some of those tests may
be broken, never finish, take a very long time or simply irrelevant
to the user who wants to check ptests of only a few specific packages,
and does so by listing them explicitly via IMAGE_INSTALL_append or similar.

Presence of ptest-runner means there is at least one ptest package installed
as they pull it in via a class dependency; ptest-runner is not generally
installed otherwise.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomeson: add a recipe and class from meta-oe
Alexander Kanavin [Thu, 4 Jan 2018 13:12:30 +0000 (15:12 +0200)]
meson: add a recipe and class from meta-oe

The original recipe has been provided and improved by:

Ross Burton <ross.burton@intel.com>
Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Adam C. Foltzer <acfoltzer@galois.com>
Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Linus Svensson <linussn@axis.com>

I have added  patches to fix up gtk-doc and
gobject-introspection in cross-compilation environments,
and also change the order of linker arguments to replicate
autotools more closely (and fix linking errors in some corner
cases).

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosite/common: Allow ac_cv_path_SED to be overridden
Richard Purdie [Wed, 20 Dec 2017 17:09:47 +0000 (17:09 +0000)]
site/common: Allow ac_cv_path_SED to be overridden

There are tools in the wild where we need this to be a full path, even
if that doesn't make sense in most other cases due to libtool issues.
Allow those cases to override the default value as currently its near
impossible to do so.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoutils: Make get_multilib_datastore available from lib/oe
Richard Purdie [Wed, 20 Dec 2017 17:08:40 +0000 (17:08 +0000)]
utils: Make get_multilib_datastore available from lib/oe

Currently we can't access this function from lib/oe as its a class function.
Move it to allow such access.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoglibc: malloc: Add missing arena lock in malloc_info
Zhixiong Chi [Mon, 27 Nov 2017 06:53:59 +0000 (22:53 -0800)]
glibc: malloc: Add missing arena lock in malloc_info

There are the multiple process crashes seen while using malloc_info.
Obtain the size information while the arena lock is acquired, and only
print it later.

Backport patch from https://sourceware.org/git/gitweb.cgi?p=glibc.git;
h=7a9368a1174cb15b9f1d6342e0e10dd90dae238d

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoglibc: Upgrade to latest on 2.26 release
Khem Raj [Wed, 15 Nov 2017 03:02:09 +0000 (19:02 -0800)]
glibc: Upgrade to latest on 2.26 release

For detailed view of changes see
https://github.com/kraj/glibc/compare/glibc-2.26...77f921dac17c5fa99bd9e926d926c327982895f7

Drop two upstreamed patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
7 years agoglibc: fix C++ compile failures related to 'assert'
S. Lockwood-Childs [Wed, 3 Jan 2018 00:13:48 +0000 (16:13 -0800)]
glibc: fix C++ compile failures related to 'assert'

* fixes "lambda-expression in unevaluated context" compile failures such as
  https://github.com/nlohmann/json/issues/705

* fixes "no match for 'operator==" compile failures such as
  https://bugzilla.redhat.com/show_bug.cgi?id=1482990

Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogobject-introspection: do not export LD_LIBRARY_PATH prior to running qemu
Alexander Kanavin [Wed, 3 Jan 2018 15:24:04 +0000 (17:24 +0200)]
gobject-introspection: do not export LD_LIBRARY_PATH prior to running qemu

Latest g-i upstream adds target paths to this variable which breaks
qemu in various confusing ways.

Instead, the list of target library paths is exported to GIR_EXTRA_LIBS_PATH,
so that it can be picked up automatically by the qemu wrapper script
and given to qemu (manually setting this variable from various recipes
will be removed in a different patch).

Also, re-enable parts of g-i on mips64, as it is the same issue.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd: inherit distro_features_check
Robert Yang [Wed, 20 Dec 2017 01:53:13 +0000 (09:53 +0800)]
systemd: inherit distro_features_check

Use distro_features_check so that we can have a uniform controller.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosysvinit: inherit distro_features_check
Robert Yang [Wed, 20 Dec 2017 01:53:12 +0000 (09:53 +0800)]
sysvinit: inherit distro_features_check

Use distro_features_check so that we can have a uniform controller.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoimage_types.bbclass: use stat to get sparse file's size
Robert Yang [Thu, 21 Dec 2017 02:02:22 +0000 (10:02 +0800)]
image_types.bbclass: use stat to get sparse file's size

The "ls -s sparse_file"'s result is 0, use stat to replace of it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocore/loader.py: fix regex to include all available test cases
Leonardo Sandoval [Thu, 14 Dec 2017 15:07:22 +0000 (07:07 -0800)]
core/loader.py: fix regex to include all available test cases

Some test cases (eSDK.oeSDK*, runtime_test/*) does not match
with current regex, fix it accept all.

[YOCTO #12385]

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogstreamer1.0: upgrade to version 1.12.4
Maxin B. John [Wed, 27 Dec 2017 09:53:51 +0000 (11:53 +0200)]
gstreamer1.0: upgrade to version 1.12.4

The fourth 1.12 bug-fix release

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel-fitimage.bbclass: Fix bad image type replacement for microblaze
Manjukumar Matha [Wed, 3 Jan 2018 00:45:04 +0000 (16:45 -0800)]
kernel-fitimage.bbclass: Fix bad image type replacement for microblaze

When using kernel-fitimage class with microblaze, the image type has to be
linux.bin not zImage. This patch fixes the bad image type replacement
for microblaze

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowebkitgtk: fix build with musl and x32
Anuj Mittal [Fri, 29 Dec 2017 02:00:12 +0000 (10:00 +0800)]
webkitgtk: fix build with musl and x32

Make the x32 check generic to make it work with musl as well.

Fixes [YOCTO #12118]

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd-boot: fix build with musl and x32
Anuj Mittal [Wed, 3 Jan 2018 01:48:52 +0000 (09:48 +0800)]
systemd-boot: fix build with musl and x32

systemd-boot shouldn't be built for x32. Make sure that this is the
case when TCLIBC is set to something other than glibc.

Fixes [YOCTO #12122]

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Thu, 4 Jan 2018 11:31:36 +0000 (11:31 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agou-boot: Add Upstream-Status line missed from merged patch
Richard Purdie [Tue, 2 Jan 2018 22:41:43 +0000 (22:41 +0000)]
u-boot: Add Upstream-Status line missed from merged patch

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomusl: Update to latest
Khem Raj [Tue, 12 Dec 2017 17:23:14 +0000 (09:23 -0800)]
musl: Update to latest

These commits are added
https://git.musl-libc.org/cgit/musl/log/?qt=range&q=eb03bde2f24582874cb72b56c7811bf51da0c817..4000b0107ddd7fe733fa31d4f078c6fcd35851d6

Key fix for malloc
https://git.musl-libc.org/cgit/musl/commit/?id=a71b46cfd289aa0ff829fc9a436c59c398f8326d

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomusl: Disable thumb1 ISA
Andrea Adami [Wed, 15 Nov 2017 02:23:13 +0000 (18:23 -0800)]
musl: Disable thumb1 ISA

thumb1 is unsupported see http://www.openwall.com/lists/musl/2017/10/20/10

Fix
[YOCTO #12336]

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
7 years agogdb: Upgrade to 8.0.1
Khem Raj [Sun, 12 Nov 2017 18:55:50 +0000 (10:55 -0800)]
gdb: Upgrade to 8.0.1

Minor bugfix release, details are here
https://sourceware.org/ml/gdb-announce/2017/msg00004.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
7 years agobinutils: Convert SRC_URI and SRCREV to weak defines
Khem Raj [Sun, 12 Nov 2017 18:48:35 +0000 (10:48 -0800)]
binutils: Convert SRC_URI and SRCREV to weak defines

This makes it easy to override them in bbappends

Signed-off-by: Khem Raj <raj.khem@gmail.com>
7 years agobinutils: update to 2.29.1
Armin Kuster [Sat, 11 Nov 2017 21:32:56 +0000 (13:32 -0800)]
binutils: update to 2.29.1

update to 2.29.1 to fix the following missing CVEs:

CVE-2017-15939, CVE-2017-15938, CVE-2017-15225, CVE-2017-15025,
CVE-2017-15024, CVE-2017-15023, CVE-2017-15022, CVE-2017-15021,
CVE-2017-15020, CVE-2017-14974, CVE-2017-14940, CVE-2017-14939,
CVE-2017-14938, CVE-2017-14934, CVE-2017-14933, CVE-2017-14932,
CVE-2017-14930, CVE-2017-14745, CVE-2017-14729, CVE-2017-14529,
CVE-2017-14333, CVE-2017-14130, CVE-2017-14129, CVE-2017-14128,
CVE-2017-13757, CVE-2017-13716, CVE-2017-13710, CVE-2017-12967,
CVE-2017-12799, CVE-2017-12459, CVE-2017-12458, CVE-2017-12457,
CVE-2017-12456, CVE-2017-12455, CVE-2017-12454, CVE-2017-12453,
CVE-2017-12452, CVE-2017-12451, CVE-2017-12450, CVE-2017-12449,
CVE-2017-12448

see Changelogs for additional information

Signed-off-by: Armin Kuster <akuster@mvista.com>
7 years agoinsane: add support for ARM64 ILP32
Daniel Díaz [Mon, 13 Nov 2017 18:06:27 +0000 (12:06 -0600)]
insane: add support for ARM64 ILP32

Add aarch64 32-bits (ILP32) ELF header into dictionary and
check binaries for 32-bitness.

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agositeinfo: add support for ARM64 ILP32
Daniel Díaz [Mon, 13 Nov 2017 18:06:26 +0000 (12:06 -0600)]
siteinfo: add support for ARM64 ILP32

More information about ARM64 ILP32 can be found here:
* https://wiki.debian.org/Arm64ilp32Port
* https://wiki.linaro.org/Platform/arm64-ilp32

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agocross-canadian: update GNU name for ILP32 triplet
Daniel Díaz [Mon, 13 Nov 2017 18:06:25 +0000 (12:06 -0600)]
cross-canadian: update GNU name for ILP32 triplet

As discussed and agreed in Linaro Connect Budapest 2017 [1],
the GNU name for ARM64 with 32-bit ABI has been changed, e.g.,
from:
  aarch64_ilp32-linux-gnu
to:
  aarch64-linux-gnu_ilp32

The current code has "ilp32" as an OS variant; this change
updates that variant to include the underscore in order to
match the agreed convention.

More information about ARM64 ILP32 can be found here:
* https://wiki.debian.org/Arm64ilp32Port
* https://wiki.linaro.org/Platform/arm64-ilp32

[1] https://lists.linaro.org/pipermail/cross-distro/2017-March/000864.html

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoacpica: fix build with x32
Anuj Mittal [Tue, 2 Jan 2018 06:12:59 +0000 (14:12 +0800)]
acpica: fix build with x32

Make sure architecture dependent defines are correct for x32 by
checking for both ILP32 and x86_64.

Fixes [YOCTO #12123]

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>wq
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibxkbcommon: update to 0.8.0
Armin Kuster [Fri, 29 Dec 2017 15:38:22 +0000 (07:38 -0800)]
libxkbcommon: update to 0.8.0

see https://lists.freedesktop.org/archives/wayland-devel/2017-December/036291.html for details

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoxorg-xserver: update to 1.19.5
Armin Kuster [Fri, 29 Dec 2017 15:38:21 +0000 (07:38 -0800)]
xorg-xserver: update to 1.19.5

See https://lists.freedesktop.org/archives/xorg/2017-December/059095.html for details

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomesa: Upgrade to 17.3.1 release
Otavio Salvador [Fri, 29 Dec 2017 12:38:04 +0000 (10:38 -0200)]
mesa: Upgrade to 17.3.1 release

The 17.3.1 release, published in December 21, 2017, is the first 17.3
stable release for use. It fixes a number of issues since 17.3.0
release.

The release notes can be seen at:

 - 17.3.0: https://www.mesa3d.org/relnotes/17.3.0.html
 - 17.3.1: https://www.mesa3d.org/relnotes/17.3.1.html

This commit has reworked few patches, to apply to the new source, and
dropped the backported ones.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoboost: fix build with x32 and musl
Anuj Mittal [Tue, 2 Jan 2018 08:59:15 +0000 (16:59 +0800)]
boost: fix build with x32 and musl

Make sure that boost picks up correct address model value
for x32 even when musl is enabled.

Fixes [YOCTO #12119]

Suggested-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibatomic-ops: upgrade to 7.6.2
Maxin B. John [Tue, 2 Jan 2018 13:14:55 +0000 (15:14 +0200)]
libatomic-ops: upgrade to 7.6.2

7.6.0 -> 7.6.2

Remove unused patch:
        0001-Add-initial-nios2-architecture-support.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibjpeg-turbo: upgrade to 1.5.3
Maxin B. John [Tue, 2 Jan 2018 12:41:44 +0000 (14:41 +0200)]
libjpeg-turbo: upgrade to 1.5.3

1.5.2 -> 1.5.3

No change in license. Updates in License Checksums are due to change
in Copyright years.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoharfbuzz: upgrade to 1.7.4
Maxin B. John [Tue, 2 Jan 2018 12:41:42 +0000 (14:41 +0200)]
harfbuzz: upgrade to 1.7.4

1.7.0 -> 1.7.4

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorunqemu: Add workaround for APIC hang on pre 4.15 kernels on qemux86
Richard Purdie [Tue, 2 Jan 2018 11:36:53 +0000 (11:36 +0000)]
runqemu: Add workaround for APIC hang on pre 4.15 kernels on qemux86

On pre 4.15 host kernels, an APIC window emulation bug can cause qemu
to hang. On 64 bit we can use the x2apic, for 32 bit, we just have to
disable the other timer sources and rely on kvm-clock.

[YOCTO #12301]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd: drop obsolete workaround for ARM + gcc 5.2
Andre McCurdy [Wed, 20 Dec 2017 21:41:12 +0000 (13:41 -0800)]
systemd: drop obsolete workaround for ARM + gcc 5.2

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>