]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
7 years agorecipetool: create: drop debug print
Paul Eggleton [Tue, 3 Oct 2017 22:40:39 +0000 (11:40 +1300)]
recipetool: create: drop debug print

This looks like some debug printing that was left in by accident.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodevtool: upgrade: handle recipes that use named SRC_URI checksums
Paul Eggleton [Tue, 3 Oct 2017 03:36:19 +0000 (16:36 +1300)]
devtool: upgrade: handle recipes that use named SRC_URI checksums

devtool upgrade did not properly handle setting SRC_URI checksums for
recipes that use named SRC_URI entries and also use those names in the
SRC_URI checksums. A further complication was where the name contained
an expression that changed with the version e.g. ${PV} (probably quite
rare, but the dnsmasq recipe in meta-networking is currently one such
recipe.) All of these are now handled properly.

Additionally, drop the _get_checksums() function that wasn't being
called from anywhere in the code.

Note that this now turns nowrap_vars in recipeutils.py to be a list of
regexes, hence things such as [ and ] need to be appropriately escaped.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodevtool: finish: fix "layer not in bblayers.conf" warning when path specified
Paul Eggleton [Mon, 2 Oct 2017 02:45:49 +0000 (15:45 +1300)]
devtool: finish: fix "layer not in bblayers.conf" warning when path specified

devtool finish will check if the destination layer is part of
bblayers.conf so that we avoid the user getting confused about the
recipe vanishing from their configuration if it isn't. devtool finish
also accepts a path underneath a layer so that you have a bit
more control over where it ends up. However if you used a path
underneath a layer then it wasn't converting this to the base of the
layer before checking it against BBLAYERS, thus the warning was being
shown erroneously in that case.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodevtool: finish: ensure repository is clean before proceeding
Paul Eggleton [Fri, 29 Sep 2017 03:56:20 +0000 (16:56 +1300)]
devtool: finish: ensure repository is clean before proceeding

If the git repository for a recipe in the workspace has uncommitted
changes in it then it's possible that the user has forgotten to commit
something, so check and exit if there are any. Provide a -f/--force
option to continue in the case where the uncommitted changes aren't
needed.

Separately, if the repository is in the middle of a rebase or git am /
apply then error out (without the opportunity to force) since the user
really needs to sort this out before finishing.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodevtool: reset: print source tree base path
Paul Eggleton [Fri, 29 Sep 2017 03:19:28 +0000 (16:19 +1300)]
devtool: reset: print source tree base path

If S points to a subdirectory of the source rather than the "base" of
the source tree then print that rather than the subdirectory path when
telling the user they need to remove the source tree, since that is the
directory that they will need to remove.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodevtool: make find-recipe and edit-recipe always work with any recipe
Paul Eggleton [Fri, 29 Sep 2017 01:22:17 +0000 (14:22 +1300)]
devtool: make find-recipe and edit-recipe always work with any recipe

After some reconsideration I think it's a bit annoying for users to be
forced to use an option to work with recipes where the file isn't in the
workspace, so let's just have these commands check the workspace first
for the recipe, and if it isn't there then load the cache and get it
that way.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodevtool: show some warnings for upgrade versions
Paul Eggleton [Thu, 28 Sep 2017 02:51:40 +0000 (15:51 +1300)]
devtool: show some warnings for upgrade versions

* Show a warning in devtool upgrade if the version is less than the
  current version suggesting that the user may need to bump PE in the
  recipe
* Show a warning in devtool add and devtool upgrade if the version looks
  like a pre-release version suggesting using a version number that
  won't mess up the progression when you come to upgrade to the final
  release version.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodevtool: fix handling of oe-local-files when source is in a subdirectory
Paul Eggleton [Fri, 29 Sep 2017 02:26:22 +0000 (15:26 +1300)]
devtool: fix handling of oe-local-files when source is in a subdirectory

If S points to a subdirectory of the source rather than the "base" of
the source tree then we weren't handling the oe-local-files directory
properly - it got extracted to the base of the tree but devtool
update-recipe and devtool finish assumed it would be under S which would
be the subdirectory, thus it would be missing and devtool would assume
the files had been deleted and remove them from the recipe. Record the
base of the source tree in the bbappend and read it into the in-memory
workspace so we can use that to find out where oe-local-files should be
found.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodevtool: upgrade: improve performance and show progress when adding files
Paul Eggleton [Thu, 28 Sep 2017 03:46:14 +0000 (16:46 +1300)]
devtool: upgrade: improve performance and show progress when adding files

When devtool upgrade is upgrading to a new version where the source is
fetched as an archive (e.g. a tarball), we create a single commit in the
git repository that is the upgrade from the old version to the new. We
do this by extracting the old source, committing it, deleting all files,
copying in the new files, running git add on each new/changed/deleted
file, and then committing the result. When a lot of files have changed
in an upgrade (such as QEMU 2.8.1.1 -> 2.10.0) the penultimate step of
running git add it can take quite a long time; in order to reduce this
and show some feedback to the user, run git add with batches of 100
files at once and also show a progress bar. In a local test with the
aforementioned QEMU upgrade it took the time down from over 7 minutes
down to about 13 seconds.

Fixes [YOCTO #11948].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodevtool: upgrade: fix not committing deleted files with older git versions
Paul Eggleton [Wed, 8 Nov 2017 22:07:15 +0000 (11:07 +1300)]
devtool: upgrade: fix not committing deleted files with older git versions

With versions of git older than 2.0, "git add" on a deleted file (i.e.
in this case a file that was removed between versions) will not add the
delete to be committed by default, with the result that the rebase of
patches on top of the new branch will fail. We need to use the -A
option in order to force that for older git versions.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodevtool: upgrade: fix accidentally swapped parameters
Paul Eggleton [Mon, 30 Oct 2017 22:35:17 +0000 (11:35 +1300)]
devtool: upgrade: fix accidentally swapped parameters

It appears that when fixing the signature unlocking in OE-Core commit
4e9a0be32fc30fb87d65da7cd1a4015c99533aff I swapped the parameters here
and did not test it within the eSDK (it does nothing outside of the
eSDK) resulting in a TypeError when devtool upgrade was used in the
eSDK. Swap the parameters around to the correct ordering.

Fixes [YOCTO #12285].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolib/oe/recipeutils: fix line splitting in patch_recipe_*
Paul Eggleton [Wed, 1 Nov 2017 00:49:44 +0000 (13:49 +1300)]
lib/oe/recipeutils: fix line splitting in patch_recipe_*

If a value was split over multiple lines (e.g. as SRC_URI usually is)
then we were inserting the value as one item in the lines list with
newlines between each line. There's nothing wrong with this if you're
writing the list out to a file, but if you want to generate a patch (as
patch_recipe_file() will do if the patch parameter is set to True) then
the diff output looks a bit odd. Split the value before adding it to the
lines list to resolve this.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolib/oe/recipeutils: fix find_layerdir() to return absolute paths
Paul Eggleton [Tue, 7 Nov 2017 20:45:06 +0000 (09:45 +1300)]
lib/oe/recipeutils: fix find_layerdir() to return absolute paths

find_layerdir() should really return absolute paths, so make it do so.
This fixes devtool finish not deleting files it should do after devtool
upgrade if the specified path is relative, since the devtool finish code
was assuming that find_layerdir() was returning an absolute path.

Fixes [YOCTO #12318].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agorecipetool: ignore incidental kernel module source
Paul Eggleton [Wed, 20 Sep 2017 04:43:33 +0000 (16:43 +1200)]
recipetool: ignore incidental kernel module source

If the source tree happens to contain a kernel module as an example, a
test or under a "contrib" directory then we shouldn't be picking it up
and making the determination that the entire thing is a kernel module.

An example that triggered this is zstd, which ships a kernel module
under contrib/linux-kernel:

  https://github.com/facebook/zstd

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agorecipetool: pass absolute source tree path to plugins
Paul Eggleton [Wed, 20 Sep 2017 00:03:39 +0000 (12:03 +1200)]
recipetool: pass absolute source tree path to plugins

We shouldn't be passing a relative path to the plugins if that's what's
been specified on the recipetool command line.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
7 years agogcc7/gcc6: Fix unaligned STRD issue on ARM
Khem Raj [Tue, 7 Nov 2017 23:26:52 +0000 (15:26 -0800)]
gcc7/gcc6: Fix unaligned STRD issue on ARM

Backport
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82445

Fixes [YOCTO 12297]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomusl: Update to 1.1.18
Khem Raj [Fri, 6 Oct 2017 18:57:12 +0000 (11:57 -0700)]
musl: Update to 1.1.18

Rich Felker (9):
      fix access by setjmp and longjmp to __hwcap on arm built as thumb2
      for executing init array functions, use function type with prototype
      fix read-after-free type error in pthread_detach
      fix incorrect base name offset from nftw when pathname ends in slash(es)
      in dns parsing callback, enforce MAXADDRS to preclude overflow
      release 1.1.17
      fix regression in glob with literal . or .. path component
      fix build regression on ARM for ISA levels less than v5
      release 1.1.18

Szabolcs Nagy (1):
      math: rewrite fma with mostly int arithmetics

Will Dietz (1):
      posix_spawn: use larger stack to cover worst-case in execvpe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosystemd: Fix build with musl/mips64
Khem Raj [Fri, 27 Oct 2017 20:16:03 +0000 (13:16 -0700)]
systemd: Fix build with musl/mips64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoat-spi2-core: remove redundant intltool dependency
Ross Burton [Thu, 9 Nov 2017 15:35:20 +0000 (15:35 +0000)]
at-spi2-core: remove redundant intltool dependency

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodefault-providers: remove virtual/db
Ross Burton [Tue, 31 Oct 2017 21:10:27 +0000 (21:10 +0000)]
default-providers: remove virtual/db

Now that db doesn't PROVIDE virtual/db, remove it from default-providers.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodb: don't provide virtual/db
Ross Burton [Tue, 31 Oct 2017 21:10:13 +0000 (21:10 +0000)]
db: don't provide virtual/db

As there are no alternative providers for virtual/db remove the PROVIDES and
recipes can just depend on db.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoperl: depend on db, not virtual/db
Ross Burton [Tue, 31 Oct 2017 21:10:00 +0000 (21:10 +0000)]
perl: depend on db, not virtual/db

As there are no alternative providers for virtual/db, just depend directly on
db.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agooeqa/runner: Pass the value of buffer, don't force to True
Richard Purdie [Thu, 9 Nov 2017 13:23:04 +0000 (13:23 +0000)]
oeqa/runner: Pass the value of buffer, don't force to True

The value could be False in which case we should pass that through.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa: Markup further tests for stdout/stderr buffering
Richard Purdie [Thu, 9 Nov 2017 12:10:16 +0000 (12:10 +0000)]
oeqa: Markup further tests for stdout/stderr buffering

This further cleans up the output of oe-selftest so that runqemu output
is hidden unless tests fail.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotestimage: Ensure full logs are shown for failures
Richard Purdie [Fri, 10 Nov 2017 14:41:32 +0000 (14:41 +0000)]
testimage: Ensure full logs are shown for failures

Currently, the fact an error message is shown means the rest of the
task logs are suppressed. In this case we don't want that as it hides
the real errors and useful information. Therefore override this behaviour.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomaintainers.inc: add Otavio Salvador for go-dep
Alexander Kanavin [Tue, 10 Oct 2017 13:05:10 +0000 (16:05 +0300)]
maintainers.inc: add Otavio Salvador for go-dep

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agomaintainers.inc: add Khem Raj for libmnl
Alexander Kanavin [Tue, 10 Oct 2017 13:03:32 +0000 (16:03 +0300)]
maintainers.inc: add Khem Raj for libmnl

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoglew: update to 2.1.0
Alexander Kanavin [Tue, 10 Oct 2017 12:22:47 +0000 (15:22 +0300)]
glew: update to 2.1.0

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoatk: update to 2.26.0
Alexander Kanavin [Tue, 10 Oct 2017 12:21:31 +0000 (15:21 +0300)]
atk: update to 2.26.0

Remove --disable-glibtest as ./configure no longer has it.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoat-spi2-atk: update to 2.26.0
Alexander Kanavin [Tue, 10 Oct 2017 12:19:43 +0000 (15:19 +0300)]
at-spi2-atk: update to 2.26.0

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoat-spi2-core: update to 2.26.0
Alexander Kanavin [Tue, 10 Oct 2017 12:18:04 +0000 (15:18 +0300)]
at-spi2-core: update to 2.26.0

Drop 0001-nls.m4-Take-it-from-gettext-0.15.patch as it's now
upstreamed.

Remove --disable-xevie option:
https://github.com/GNOME/at-spi2-core/commit/644096a28a47bdf5c6e0c34c9cd5b944df059925

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoclutter-gtk-1.0: update to 1.8.4
Alexander Kanavin [Tue, 10 Oct 2017 12:11:39 +0000 (15:11 +0300)]
clutter-gtk-1.0: update to 1.8.4

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agolibrsvg: update to 2.40.19
Alexander Kanavin [Tue, 10 Oct 2017 12:10:35 +0000 (15:10 +0300)]
librsvg: update to 2.40.19

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agovte: update to 0.50.1
Alexander Kanavin [Tue, 10 Oct 2017 12:07:05 +0000 (15:07 +0300)]
vte: update to 0.50.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agolibinput: update to 1.8.3
Alexander Kanavin [Tue, 10 Oct 2017 12:04:37 +0000 (15:04 +0300)]
libinput: update to 1.8.3

Drop upstreamed patch.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agofontconfig: update to 2.12.6
Alexander Kanavin [Tue, 10 Oct 2017 12:02:27 +0000 (15:02 +0300)]
fontconfig: update to 2.12.6

Add a patch to avoid crashing under qemu.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agopango: update to 1.40.12
Alexander Kanavin [Tue, 10 Oct 2017 12:00:35 +0000 (15:00 +0300)]
pango: update to 1.40.12

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agolibgudev: update to 232
Alexander Kanavin [Tue, 10 Oct 2017 11:52:09 +0000 (14:52 +0300)]
libgudev: update to 232

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agohicolor-icon-theme: update to 0.17
Alexander Kanavin [Tue, 10 Oct 2017 11:45:09 +0000 (14:45 +0300)]
hicolor-icon-theme: update to 0.17

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agogdk-pixbuf: update to 2.36.11
Alexander Kanavin [Mon, 9 Oct 2017 13:50:11 +0000 (16:50 +0300)]
gdk-pixbuf: update to 2.36.11

Remove upstreamed 0001-queryloaders-Make-output-more-reproducible.patch

Rebase fatal-loader.patch

Add a patch to fix a libtiff detection issue.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoassimp: update to 4.0.1
Alexander Kanavin [Mon, 9 Oct 2017 13:35:28 +0000 (16:35 +0300)]
assimp: update to 4.0.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoshared-mime-info: update to 1.9
Alexander Kanavin [Mon, 9 Oct 2017 13:33:03 +0000 (16:33 +0300)]
shared-mime-info: update to 1.9

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoadwaita-icon-theme: update to 3.26.0
Alexander Kanavin [Mon, 9 Oct 2017 13:28:35 +0000 (16:28 +0300)]
adwaita-icon-theme: update to 3.26.0

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agolibsoup-2.4: update to 2.60.1
Alexander Kanavin [Mon, 9 Oct 2017 13:24:31 +0000 (16:24 +0300)]
libsoup-2.4: update to 2.60.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agogsettings-desktop-schemas: update to 3.24.1
Alexander Kanavin [Mon, 9 Oct 2017 13:21:49 +0000 (16:21 +0300)]
gsettings-desktop-schemas: update to 3.24.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoxdg-utils: update to 1.1.2
Alexander Kanavin [Mon, 9 Oct 2017 13:20:25 +0000 (16:20 +0300)]
xdg-utils: update to 1.1.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agovulkan: update to 1.0.61.1
Alexander Kanavin [Mon, 9 Oct 2017 13:16:15 +0000 (16:16 +0300)]
vulkan: update to 1.0.61.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agofreetype: update to 2.8.1
Alexander Kanavin [Mon, 9 Oct 2017 13:12:25 +0000 (16:12 +0300)]
freetype: update to 2.8.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agogtk+3: update to 3.22.24
Alexander Kanavin [Mon, 9 Oct 2017 13:09:14 +0000 (16:09 +0300)]
gtk+3: update to 3.22.24

Rebase Jussi's GL patches.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agogtk-doc.bbclass: correctly make the list of directories with shared libraries
Alexander Kanavin [Thu, 5 Oct 2017 14:16:11 +0000 (17:16 +0300)]
gtk-doc.bbclass: correctly make the list of directories with shared libraries

Previously it was working only if only one shared library was found, and
broke when there were several.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agosysprof: update to 3.26.1
Alexander Kanavin [Thu, 5 Oct 2017 12:03:24 +0000 (15:03 +0300)]
sysprof: update to 3.26.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoiso-codes: update to 3.76
Alexander Kanavin [Thu, 5 Oct 2017 12:00:24 +0000 (15:00 +0300)]
iso-codes: update to 3.76

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoboost: update to 1.65.1
Alexander Kanavin [Wed, 4 Oct 2017 15:23:41 +0000 (18:23 +0300)]
boost: update to 1.65.1

Add a patch to fix bjam-native compile error (due to mistyped
variable name).

Drop upstreamed patch.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoffmpeg: upgrade to 3.3.4
Chen Qi [Sat, 30 Sep 2017 03:21:01 +0000 (11:21 +0800)]
ffmpeg: upgrade to 3.3.4

Upgrade ffmpeg to version 3.3.4. Version 3.3.4 is a bug fix version, and
there's no new feature added.

Compared to version 3.3.3, there are 57 new commits. These 57 commits are
either bug fix or small tweaks.

Drop CVE patches that were backported from 3.3.4.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agolibsolv: update to 0.6.29
Alexander Kanavin [Wed, 4 Oct 2017 14:00:37 +0000 (17:00 +0300)]
libsolv: update to 0.6.29

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agompg123: update to 1.25.7
Alexander Kanavin [Wed, 4 Oct 2017 13:58:35 +0000 (16:58 +0300)]
mpg123: update to 1.25.7

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agobtrfs-tools: update to 4.13.2
Alexander Kanavin [Wed, 4 Oct 2017 13:37:16 +0000 (16:37 +0300)]
btrfs-tools: update to 4.13.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agovala: update to 0.38.2
Alexander Kanavin [Wed, 4 Oct 2017 12:31:40 +0000 (15:31 +0300)]
vala: update to 0.38.2

Valadoc has been merged into the main vala tree, so
add necessary patches to disable it.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agolibxslt: update to 1.1.31
Alexander Kanavin [Wed, 4 Oct 2017 11:35:08 +0000 (14:35 +0300)]
libxslt: update to 1.1.31

Drop upstreamed patches, including pkg-config support patch,
as upstream now does use pkg-config.

configure.in is now configure.ac, adjust recipe accordingly.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agofreetype: fix upstream version check
Alexander Kanavin [Wed, 4 Oct 2017 11:21:28 +0000 (14:21 +0300)]
freetype: fix upstream version check

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agolz4: fix upstream version check
Alexander Kanavin [Wed, 4 Oct 2017 11:18:00 +0000 (14:18 +0300)]
lz4: fix upstream version check

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agogo-helloworld: add an acknowledgement of unknown upstream version
Alexander Kanavin [Wed, 4 Oct 2017 10:29:19 +0000 (13:29 +0300)]
go-helloworld: add an acknowledgement of unknown upstream version

As upstream has no git tags.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agotcf-agent: latest upstream version is now known
Alexander Kanavin [Wed, 4 Oct 2017 10:28:23 +0000 (13:28 +0300)]
tcf-agent: latest upstream version is now known

So incorrect acknowledgement of it being unknown can be deleted.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoeudev: fix upstream version check
Alexander Kanavin [Wed, 4 Oct 2017 10:28:04 +0000 (13:28 +0300)]
eudev: fix upstream version check

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agolibpfm4: remove the recipe
Alexander Kanavin [Fri, 11 Aug 2017 11:29:22 +0000 (14:29 +0300)]
libpfm4: remove the recipe

It was required only by oprofile.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agooprofile: remove the recipe
Alexander Kanavin [Mon, 7 Aug 2017 11:27:23 +0000 (14:27 +0300)]
oprofile: remove the recipe

Perf is the preferred solution, and oprofile is difficult to
maintain against musl.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agooeqa/target/ssh: Drop command/output logging to debug level
Richard Purdie [Thu, 9 Nov 2017 10:56:13 +0000 (10:56 +0000)]
oeqa/target/ssh: Drop command/output logging to debug level

This ensures the console is kept clear of confusing output but that
the main logs contain good debugging information.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa: Clean up logger handling
Richard Purdie [Wed, 8 Nov 2017 18:17:17 +0000 (18:17 +0000)]
oeqa: Clean up logger handling

The logger handling in oeqa was confused at best. This patch:

a) Passes in a logger through various qemu runner pieces
b) Uses that logger consistently in the code
c) Creates a logger for QemuRunner outside the bitbake namespace
   meaning we don't conflict with the tinfoil logging changes

The result of this is more consistency. For runtime tests in testimage,
the logs always contain the debug info, nothing is shwon on the console.
For the oe-selftests, logs are intercepted and only shown if the test
fails.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotestimage: Pass the logger into OERuntimeTestContextExecutor.getTarget()
Richard Purdie [Wed, 8 Nov 2017 18:15:02 +0000 (18:15 +0000)]
testimage: Pass the logger into OERuntimeTestContextExecutor.getTarget()

I have no idea why we didn't do this but it means the code has nowhere
to log to unless we do this. This means we can then use the logger
to log data to the task logs.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/qemurunner: Use logger.debug, not logger.info
Richard Purdie [Wed, 8 Nov 2017 18:13:24 +0000 (18:13 +0000)]
oeqa/qemurunner: Use logger.debug, not logger.info

Bitbake logs info messages to the console. These messages are really
there as debugging information. At the debug level, they will be shown
in failure logs and in the task logs but not on the console which
is what we want in this case.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/targetcontrol: Drop unused get_target_controller function
Richard Purdie [Wed, 8 Nov 2017 14:14:24 +0000 (14:14 +0000)]
oeqa/targetcontrol: Drop unused get_target_controller function

This funciton appears completely unused, drop it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/runqemu: Only show stdout/stderr upon test failure
Richard Purdie [Wed, 8 Nov 2017 14:03:28 +0000 (14:03 +0000)]
oeqa/runqemu: Only show stdout/stderr upon test failure

In general we don't need to see the output of runqemu however if it fails
we do. Use the buffer option that already exists in TestResult but allow
us to trigger it on a per test basis.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoqemurunner: Ensure logging handler is removed
Richard Purdie [Tue, 7 Nov 2017 23:23:54 +0000 (23:23 +0000)]
qemurunner: Ensure logging handler is removed

If we don't remove the handler we end up with duplicate log messages
which is undesireable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobusybox.inc: Fix bashism in compile, which fixes sh being suid
Nathan Rossi [Thu, 9 Nov 2017 11:09:25 +0000 (21:09 +1000)]
busybox.inc: Fix bashism in compile, which fixes sh being suid

Fix the bashism in the suid check. This ensures that the check works
correctly on hosts that default sh to e.g. dash. If this check fails the
suid shell workaround does not remove sh from the suid binary and
results in the target system containing a busybox.suid with sh as well
as /bin/sh -> /bin/busybox.suid.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Cc: Andrej Valek <andrej.valek@siemens.com>
Cc: Radovan Scasny <radovan.scasny@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc: fix miscompilation on mips64
Chen Qi [Fri, 27 Oct 2017 09:43:51 +0000 (17:43 +0800)]
gcc: fix miscompilation on mips64

We've observed strange behaviour of `systemctl status <xxx> on qemumips64.
The output of the command is like `systemctl show <xxx>', which is incorrect.

This patch is from gcc bugzilla's attachment.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81803

The patch hasn't been merged into gcc. But it does solve the above problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosystemd: Fix build on musl
Khem Raj [Fri, 27 Oct 2017 05:10:42 +0000 (22:10 -0700)]
systemd: Fix build on musl

Add needed patches for portability across glibc/musl
enable systemd on musl too

Disable utmp,ldconfig,nss,resolved,localed for musl
which is not supported on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoe2fsprogs-ptest: improve reproducibility
Juro Bystricky [Wed, 25 Oct 2017 23:00:26 +0000 (16:00 -0700)]
e2fsprogs-ptest: improve reproducibility

Remove several Makefiles containing build host references.
While at it, also remove some additional files not needed for
testing.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agooe-build-perf-report-email.py: add images as MIME objects
Markus Lehtonen [Wed, 25 Oct 2017 11:39:38 +0000 (14:39 +0300)]
oe-build-perf-report-email.py: add images as MIME objects

Add images as separate MIME objects instead of directly embedding images
in the html (as base64 encoded pngs). This makes the emails better
suited for certain email servers/clients.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogobject-introspection: improve reproducibility
Juro Bystricky [Tue, 24 Oct 2017 21:04:09 +0000 (14:04 -0700)]
gobject-introspection: improve reproducibility

Remove cross-compiler wrappers from the package, these contain numerous
build host references.
The wrappers are only needed for cross-compiling.

[YOCTO #11705]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowayland-protocols: upgrade to 1.11
Denys Dmytriyenko [Tue, 17 Oct 2017 23:51:30 +0000 (19:51 -0400)]
wayland-protocols: upgrade to 1.11

usesysrootprefixforpkgdatadirvariable.patch was a backport from 1.11,
no longer needed.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoqemu: upgrade to 2.10.1
Leonardo Sandoval [Thu, 19 Oct 2017 20:10:46 +0000 (13:10 -0700)]
qemu: upgrade to 2.10.1

All CVE patches removed because these are already integrated in 2.10.1.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowic: Update canned-wks for systemd to use UUID everywhere
Tom Rini [Thu, 21 Sep 2017 17:46:17 +0000 (13:46 -0400)]
wic: Update canned-wks for systemd to use UUID everywhere

With systemd, the mounting of the swap partition is handled via systemd
and will mount it, regardless of if PARTUUID is parsed or not.  systemd
has a runtime dependency on util-linux-mount so PARTUUID for regular
mount points will be handled correctly.  Make all partitions that we add
to the image make use of UUIDs for maximum portability.

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowic: When using --use-uuid make sure that we update the fstab with PARTUUID
Tom Rini [Thu, 21 Sep 2017 17:46:16 +0000 (13:46 -0400)]
wic: When using --use-uuid make sure that we update the fstab with PARTUUID

When we have been told to use the UUID we should also update the fstab
to make use of PARTUUID instead of hard-coding the device in question.
This will make the resulting image much more portable.

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosystemctl-native: add target.wants to target regex
Martin Kelly [Mon, 16 Oct 2017 16:31:42 +0000 (09:31 -0700)]
systemctl-native: add target.wants to target regex

The regex for acceptable systemd WantedBy/RequiredBy targets does not include
target.wants, so a line like this:

WantedBy=multi-user.target.wants

gets silently ignored, even though it works fine on a real system.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodpkg: use snapshot.debian.org
Ross Burton [Tue, 7 Nov 2017 13:18:18 +0000 (13:18 +0000)]
dpkg: use snapshot.debian.org

7 years agoexpat: upgrade to 2.2.5
Dengke Du [Fri, 3 Nov 2017 07:26:42 +0000 (15:26 +0800)]
expat: upgrade to 2.2.5

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowget: Upgrade 1.19.1 -> 1.19.2
Zhixiong Chi [Tue, 31 Oct 2017 09:52:29 +0000 (17:52 +0800)]
wget: Upgrade 1.19.1 -> 1.19.2

Among other things, fix CVE-2017-13089 CVE-2017-13090 CVE-2017-6508
External References:
https://nvd.nist.gov/vuln/detail/CVE-2017-13089
https://nvd.nist.gov/vuln/detail/CVE-2017-13090
https://nvd.nist.gov/vuln/detail/CVE-2017-6508

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoscripts/contrib/bbvars.py: Rewrite to use tinfoil
Amanda Brindle [Mon, 30 Oct 2017 21:57:04 +0000 (14:57 -0700)]
scripts/contrib/bbvars.py: Rewrite to use tinfoil

Use tinfoil to collect all variable names globally and in each recipe.

No longer show the count of variables if they are undocumented.

Fixes [YOCTO #2086]

Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agocurl_7.54.1.bb: improve reproducibility
Juro Bystricky [Mon, 30 Oct 2017 17:49:46 +0000 (10:49 -0700)]
curl_7.54.1.bb: improve reproducibility

Improve reproducible build of curl-dev and curl-dbg packages.

curl-dev: Correctly remove build host references from curl-config
curl-dbg: Do not generate time stamps in files generated by mkhelp.pl

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosystemd: remove useless options for mips4
Chen Qi [Fri, 27 Oct 2017 09:43:50 +0000 (17:43 +0800)]
systemd: remove useless options for mips4

Looking back the history, we had problem with systemd on qemumips64
which is also related to compilation flags. We solved that by using
tweaking FULL_OPTIMIZATION for mips64 to have "-fno-tree-switch-conversion
-fno-tree-tail-merge".

Now systemd has been upgraded to 234, and we don't have the above problem
any more, thus removing these flags.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomusl: Update to latest
Khem Raj [Sat, 14 Oct 2017 15:48:54 +0000 (08:48 -0700)]
musl: Update to latest

* fix use of memset without declaration in sched.h cpu set macros
* powerpc{64}: fix MAP_NORESERVE and MAP_LOCKED in mman.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agorpm: remove --sysroot from macros on target
Joe Slater [Fri, 13 Oct 2017 22:40:25 +0000 (15:40 -0700)]
rpm: remove --sysroot from macros on target

We do not want to specify --sysroot when defining __cc
used on a target.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibsolv: fix a kernel-devsrc installation issue
Ming Liu [Mon, 2 Oct 2017 05:25:42 +0000 (07:25 +0200)]
libsolv: fix a kernel-devsrc installation issue

We encountered a problem when installing kernel-devsrc package on a
intel-x86 target, as follows:
$ dnf install kernel-devsrc
| Installing : kernel-devsrc-1.0-r0.0.intel_corei7_64 1/1
| failed loading RPMDB
| The downloaded packages were saved in cache until the next successful transaction.
| You can remove cached packages by executing 'dnf clean packages'.

It can be fixed by increasing MAX_HDR_CNT and MAX_HDR_DSIZE in libsolv
per test.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoexpect: Fix segfaults when Expect clib is used directly from C program
Li Zhou [Fri, 29 Sep 2017 02:00:21 +0000 (10:00 +0800)]
expect: Fix segfaults when Expect clib is used directly from C program

Fix segfaults if Tcl is built with stubs and Expect clib function is used
directly from C program.

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobind: move libraries to own package
andreas.kling@peiker-cee.de [Mon, 25 Sep 2017 09:01:30 +0000 (11:01 +0200)]
bind: move libraries to own package

Signed-off-by: Andy Kling <andreas.kling@peiker-cee.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogrub_2.02.bb: improve reproducibility
Juro Bystricky [Mon, 25 Sep 2017 23:36:08 +0000 (16:36 -0700)]
grub_2.02.bb: improve reproducibility

Remove several build host references from modinfo.sh files.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoffmpeg: upgrade to 3.3.4
Chen Qi [Sat, 30 Sep 2017 03:21:01 +0000 (11:21 +0800)]
ffmpeg: upgrade to 3.3.4

Upgrade ffmpeg to version 3.3.4. Version 3.3.4 is a bug fix version, and
there's no new feature added.

Compared to version 3.3.3, there are 57 new commits. These 57 commits are
either bug fix or small tweaks.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopython: add PACKAGECONFIG for Berkeley DB module
Ross Burton [Wed, 1 Nov 2017 00:28:34 +0000 (00:28 +0000)]
python: add PACKAGECONFIG for Berkeley DB module

The bsddb module is deprecated and requires an old version of Berkeley DB that
some may be unhappy with even shipping, so expose a way to disable the module.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodb: change types to avoid headers changing between architectures
Ross Burton [Wed, 1 Nov 2017 13:52:19 +0000 (13:52 +0000)]
db: change types to avoid headers changing between architectures

Triggered by looking at why Python doesn't find db.h (because it greps db.h for
a regex, and db.h is actually a oe_multilib_header wrapper) I realised that the
only reason we have to oe_multilib_header db.h is because one typedef is
different between 32-bit and 64-bit architectures.

However, the typedef is for a 64-bit integer so instead of using long (64-bit)
or long long (32-bit), just use int64_t.  Some of the overly complicated
configure tests need to be deleted after this change but that is safe as we're
building in a controlled environment and can assume int64_t exists.

With this done the header doesn't change between architectures, and it doesn't
need to be wrapped by oe_multilib_header.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibxml2: 2.9.5 -> 2.9.7
Andrej Valek [Mon, 6 Nov 2017 07:29:57 +0000 (08:29 +0100)]
libxml2: 2.9.5 -> 2.9.7

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>