]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
5 years agoopenssl: fix multilib files conflict
Kai Kang [Wed, 10 Jul 2019 07:21:29 +0000 (03:21 -0400)]
openssl: fix multilib files conflict

Inherit multilib_script to fix openssl multilib files conflict issue:

| Error: Transaction check error:
|   file /usr/bin/c_rehash conflicts between attempted installs of
|   lib32-openssl-bin-1.1.1c-r0.core2_32 and openssl-bin-1.1.1c-r0.core2_64

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoxmlcatalog: hold libxml2-native dependency
Chen Qi [Wed, 10 Jul 2019 03:07:57 +0000 (11:07 +0800)]
xmlcatalog: hold libxml2-native dependency

Put libxml2-native dependency in this class and remove
it from recipes inheriting this class.

In fact, if a recipe inherits this class and does not have
libxml2-native, the xmlcatalog_sstate_postinst would fail.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxslt: fix CVE-2019-13117 CVE-2019-13118
Anuj Mittal [Wed, 10 Jul 2019 02:37:24 +0000 (10:37 +0800)]
libxslt: fix CVE-2019-13117 CVE-2019-13118

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agognupg: upgrade 2.2.16 -> 2.2.17
Anuj Mittal [Wed, 10 Jul 2019 02:37:23 +0000 (10:37 +0800)]
gnupg: upgrade 2.2.16 -> 2.2.17

Also fixes CVE-2019-13050. Announcement:

https://lists.gnupg.org/pipermail/gnupg-announce/2019q3/000439.html

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobinutils: fix CVE-2019-12972 CVE-2019-9071
Anuj Mittal [Wed, 10 Jul 2019 02:37:22 +0000 (10:37 +0800)]
binutils: fix CVE-2019-12972 CVE-2019-9071

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-firmware: bump to 20190618
Oleksandr Kravchuk [Mon, 1 Jul 2019 19:11:42 +0000 (21:11 +0200)]
linux-firmware: bump to 20190618

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopackagegroup-core-lsb: remove GTK+
Ross Burton [Fri, 5 Jul 2019 16:20:16 +0000 (17:20 +0100)]
packagegroup-core-lsb: remove GTK+

GTK+ 2 is being removed from oe-core, so remove it from the oe-core LSB
packagegroup.

Also document the fact that GTK+ 2 is no longer part of the LSB packagegroup,
and point to meta-oe for the recipe if required.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoalsa-utils: disable tools using GTK+2
Ross Burton [Fri, 5 Jul 2019 16:20:15 +0000 (17:20 +0100)]
alsa-utils: disable tools using GTK+2

Change the default configuration so that it doesn't need GTK+ 2 to build, as
GTK+ 2 is obsolete.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibrepo:upgrade 1.10.3 -> 1.10.4
Zang Ruochen [Mon, 8 Jul 2019 07:13:01 +0000 (15:13 +0800)]
librepo:upgrade 1.10.3 -> 1.10.4

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-pbr: update to 5.4.0
Oleksandr Kravchuk [Sun, 7 Jul 2019 01:57:14 +0000 (03:57 +0200)]
python3-pbr: update to 5.4.0

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocve-update-db-native: Skip recipe when cve-check class is not loaded.
Pierre Le Magourou [Mon, 8 Jul 2019 08:59:28 +0000 (10:59 +0200)]
cve-update-db-native: Skip recipe when cve-check class is not loaded.

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglibc / glibc-locale: Fix stash_locale determinism problems
Jason Wessel [Mon, 8 Jul 2019 19:16:12 +0000 (12:16 -0700)]
glibc / glibc-locale: Fix stash_locale determinism problems

When using sstate, or performing an incremental build any change to
the do_stash_locale() will cause a build failure because
do_stash_locale() was destroying the results obtained from the
do_install() with several mv operations.  A recent change to
do_stash_locale() for a different problem illustrated a number of
build failures for users in the community.

To fix the problem, do_stash_locale() must use copy operations instead
of the mv operations.  Because this is changed to a copy, the sysroot
and package stage need to remove the files that would have been
previously removed.  The correct "fixup" code to deal with the removal
already existed in the previous do_poststash_install_cleanup().  All
that needed change was the path to where to remove the files
from the sysroot and package stages.

In order to force a re-compilation of glibc some unused white space
was removed from do_compile() for glibc.  I could not find any other
way around this and we don't want to have all the community folks to
have another iteration where they have to remove their tmp directories
or purge some portion of the sstate.  It also makes this change
bisectable. If the change to the glibc is not included, it will fail
with the following message:

=====
| DEBUG: Executing shell function do_prep_locale_tree
| tar: i18n: Cannot stat: No such file or directory
| tar: Exiting with failure status due to previous errors
| gzip: /poky/build/tmp/work/core2-64-poky-linux/glibc-locale/2.29-r0/locale-tree//usr/share/i18n/charmaps/*gz.gz: No such file or directory
=====

After this one time change I tested changing only the
do_stash_locale() function and it now works well because it is
deterministically operating off the sstate data or a local build.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoopensbi: Update from 0.3 to 0.4
Alistair Francis [Mon, 8 Jul 2019 16:35:08 +0000 (09:35 -0700)]
opensbi: Update from 0.3 to 0.4

The OpenSBI licence was updated to include contributors in the
copyright notice.

The payload logic has been updated to fix some bugs and handle the new
optional dependency on the Linux kernel for device trees

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopackagegroup-core-sdk: Set blank sanitiser for RISC-V 32
Alistair Francis [Mon, 8 Jul 2019 21:22:27 +0000 (14:22 -0700)]
packagegroup-core-sdk: Set blank sanitiser for RISC-V 32

Set the SANITIZERS varialbe to "" for the riscv32 machine as it is
already set for the riscv64 machine.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agou-boot: Update to 2019.07
Alistair Francis [Mon, 8 Jul 2019 20:38:41 +0000 (13:38 -0700)]
u-boot: Update to 2019.07

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovulkan: remove
Anuj Mittal [Tue, 9 Jul 2019 02:03:38 +0000 (10:03 +0800)]
vulkan: remove

This has been split in multiple components which are now being packaged
separately following the repository split upstream.

https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/wiki/Repository-Split

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovulkan-demos: depend on vulkan-loader
Anuj Mittal [Tue, 9 Jul 2019 02:03:37 +0000 (10:03 +0800)]
vulkan-demos: depend on vulkan-loader

Depend on vulkan-loader component of the now split-up vulkan.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogstreamer1.0-plugins-bad: depend on vulkan-loader now
Anuj Mittal [Tue, 9 Jul 2019 02:03:36 +0000 (10:03 +0800)]
gstreamer1.0-plugins-bad: depend on vulkan-loader now

Depend on vulkan-loader instead of vulkan which has been deprecated.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovulkan-tools: add recipe
Tim Orling [Tue, 9 Jul 2019 02:03:35 +0000 (10:03 +0800)]
vulkan-tools: add recipe

Vulkan tools and utilities that can assist development by enabling
developers to verify their applications correct use of the Vulkan API.

DEPENDS on vulkan-headers and vulkan-loader.

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovulkan-loader: add recipe
Tim Orling [Tue, 9 Jul 2019 02:03:34 +0000 (10:03 +0800)]
vulkan-loader: add recipe

Khronos official Vulkan ICD desktop loader for Windows, Linux, and MacOS.

Adapted from vulkan recipe with the changes done to remove obsolete options.
Needs either of X11 or Wayland to be enabled.

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovulkan-headers: add recipe
Tim Orling [Tue, 9 Jul 2019 02:03:33 +0000 (10:03 +0800)]
vulkan-headers: add recipe

Provides vulkan header files and API registry.

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoimage.bbclass: Only append to IMAGE_LINK_NAME if it was already set
Mike Crowe [Tue, 9 Jul 2019 08:25:09 +0000 (09:25 +0100)]
image.bbclass: Only append to IMAGE_LINK_NAME if it was already set

create_symlinks does not create any links if IMAGE_LINK_NAME is empty.
Unfortunately, setup_debugfs_variables unconditionally appends '-dbg' which
results in a previously-empty IMAGE_LINK_NAME containing just '-dbg'. Let's
check that it's not empty before appending.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosysstat: use service file from source codes
Chen Qi [Tue, 9 Jul 2019 05:53:28 +0000 (13:53 +0800)]
sysstat: use service file from source codes

Use service file from sysstat source codes.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobuildhistory: filter out the unexpected prefix for native/cross sysroots
Ross Burton [Mon, 8 Jul 2019 23:46:50 +0000 (00:46 +0100)]
buildhistory: filter out the unexpected prefix for native/cross sysroots

For various technical reasons, native and cross builds have a prefix that
includes the full path to the sysroot.  As these are stripped away before the
files are used in the sysroot, we should also filter them out of the
buildhistory report.  This both removes noise when sharing a buildhistory
repository between different build directories, and improves the accuracy of the
reports.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobuildhistory: don't output ownership for the sysroot
Ross Burton [Mon, 8 Jul 2019 23:46:43 +0000 (00:46 +0100)]
buildhistory: don't output ownership for the sysroot

As the sysroot isn't ran inside pseudo the ownership is whoever is running the
builds.  In a setup where multiple builders all contribute to a shared
buildhistory writing the ownership data isn't useful, so just replace it with "-
-".

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoefibootmgr: Pass correct flags to compiler from pkg-config
Khem Raj [Tue, 9 Jul 2019 16:39:58 +0000 (09:39 -0700)]
efibootmgr: Pass correct flags to compiler from pkg-config

efivar.h is in usr/include/efirvar directory so it should be
added to include search path via -I to compiler cmdline to fix

make[1]: *** No rule to make target 'efivar.h', needed by 'efibootmgr.o'.  Stop.
| make[1]: *** Waiting for unfinished jobs....

When running clang to generate dependencies -MM -MG -MF it still
parses the compile unit and complains if certain header is not found
where as gcc does not do that, hence the compile error is only seen
when compiling with clang.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsndfile1: remove redundant autoconf seeding
Ross Burton [Tue, 9 Jul 2019 10:50:58 +0000 (11:50 +0100)]
libsndfile1: remove redundant autoconf seeding

Twelve years ago libsndfile was badly detecting large file handling and
generating bad code[1].  The detection code in libsndfile has had many fixes
since then and this isn't needed anymore (verified by comparing config.h when
built for qemuarm).

[1] https://git.openembedded.org/openembedded/commit/?id=875cfc6f23ae68c6215bf32eb01a486f0387cb92

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsndfile1: disable use of sqlite3 by default
Ross Burton [Tue, 9 Jul 2019 10:50:57 +0000 (11:50 +0100)]
libsndfile1: disable use of sqlite3 by default

sqlite3 is only used by the regression testing tool, which is of limited use
unless you're the developer of libsndfile.  Add a PACKAGECONFIG for this, but
disable by default.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/bbtests: Tweak test bitbake output pattern matching
Richard Purdie [Tue, 9 Jul 2019 10:19:50 +0000 (11:19 +0100)]
oeqa/bbtests: Tweak test bitbake output pattern matching

The output from bitbake will change slightly soon due to runqueue changes,
adpat the test now to account for both the old and new cases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocore-image-sato-sdk-ptest: Reduce image padding size due to bootimg 4GB limit
Richard Purdie [Sat, 6 Jul 2019 16:46:28 +0000 (17:46 +0100)]
core-image-sato-sdk-ptest: Reduce image padding size due to bootimg 4GB limit

This image continues to run out of space on the autobuilder, tweak it a bit
further now the image space requirements were reduced after various ptest
fixes to avoid the error.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoutil-linux:upgrade 2.33.2 -> 2.34
Zang Ruochen [Fri, 5 Jul 2019 08:25:49 +0000 (16:25 +0800)]
util-linux:upgrade 2.33.2 -> 2.34

-Upgrade from util-linux_2.33.2.bb to util-linux_2.34.bb.

-util-linux/check-for-_HAVE_STRUCT_TERMIOS_C_OSPEED.patch
 Removed since this is included in 2.34.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoi2c-tools: Add alternative for i2ctransfer
Adrian Bunk [Thu, 4 Jul 2019 20:21:01 +0000 (23:21 +0300)]
i2c-tools: Add alternative for i2ctransfer

i2ctransfer is now also provided by busybox.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibdrm: update to 2.4.99
Oleksandr Kravchuk [Thu, 4 Jul 2019 18:18:58 +0000 (20:18 +0200)]
libdrm: update to 2.4.99

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogo.bbclass: separate the ptest logic to go-ptest class
Mingli Yu [Fri, 5 Jul 2019 09:00:23 +0000 (02:00 -0700)]
go.bbclass: separate the ptest logic to go-ptest class

The current go class includes ptest logic by default
and will make the recipe which inherits go class
to support ptest automatically though maybe the
recipe which inherits go class doesn't plan to
support the ptest.

So separate the ptest logic to another specified
class go-ptest to make the recipe which needs to
inherit go class more flexible with regards to
ptest support.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocve-check: Update unpatched CVE matching
Pierre Le Magourou [Fri, 5 Jul 2019 09:40:38 +0000 (11:40 +0200)]
cve-check: Update unpatched CVE matching

Now that cve-update-db added CPE information to NVD database. We can
check for unpatched versions with operators '<', '<=', '>', and '>='.

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocve-update-db: Use NVD CPE data to populate PRODUCTS table
Pierre Le Magourou [Fri, 5 Jul 2019 09:40:37 +0000 (11:40 +0200)]
cve-update-db: Use NVD CPE data to populate PRODUCTS table

Instead of using expanded list of affected versions that is not
reliable, use the 'cpe_match' node in the 'configurations' json node.

For cve-check to correctly match affected CVE, the sqlite database need to
contain operator_start, operator_end and the corresponding versions fields.

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocve-check: Depends on cve-update-db-native
Pierre Le Magourou [Fri, 5 Jul 2019 09:40:36 +0000 (11:40 +0200)]
cve-check: Depends on cve-update-db-native

do_populate_cve_db is a native task.

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocve-update-db: Catch request.urlopen errors.
Pierre Le Magourou [Wed, 3 Jul 2019 09:35:06 +0000 (11:35 +0200)]
cve-update-db: Catch request.urlopen errors.

If the NVD url is not accessible, print a warning on top of the CVE
report, and continue. The database will not be fully updated, but
cve_check can still run on the previous database.

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogrub-efi.bbclass: take into consideration of multilib
Chen Qi [Thu, 4 Jul 2019 02:38:37 +0000 (10:38 +0800)]
grub-efi.bbclass: take into consideration of multilib

When enabling multilib and building lib32-IMAGE which
uses grub-efi, the build fails with the following error.

  install: cannot stat '/PROJ_DIR/build/tmp-glibc/deploy/images/intel-x86-64/grub-efi-bootia32.efi': No such file or directory

The grub-efi is in NON_MULTILIB_SCRIPTS. That means we
will use 64bit grub-efi for lib32-IMAGE.

So take into consideration of multilib to fix this problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoinsane: use clean_path for the host contamination warnings
Ross Burton [Wed, 3 Jul 2019 15:01:28 +0000 (16:01 +0100)]
insane: use clean_path for the host contamination warnings

We've a nice function to clean up absolute build paths for display, so use it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogcc-9.1: add back GLIBC_DYNAMIC_LINKER riscv changes
Ricardo Salveti [Wed, 3 Jul 2019 16:04:41 +0000 (13:04 -0300)]
gcc-9.1: add back GLIBC_DYNAMIC_LINKER riscv changes

The riscv GLIBC_DYNAMIC_LINKER changes were dropped during the gcc 9.1
update, breaking usrmerge support.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobuildhistory_analysis: ignore ownership for sysroot diffs
Ross Burton [Thu, 4 Jul 2019 10:36:42 +0000 (11:36 +0100)]
buildhistory_analysis: ignore ownership for sysroot diffs

The sysroot isn't populated under pseudo, so ownership differences should be ignored.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodevtool.py: track to clean devtool.conf in test_create_workspace
Chen Qi [Wed, 3 Jul 2019 03:39:48 +0000 (11:39 +0800)]
devtool.py: track to clean devtool.conf in test_create_workspace

`devtool create-workspace' would create devtool.conf, so track to
clean it up. Otherwise, this devtool.conf file would mess things up.

e.g.
oe-selftest -r devtool && oe-selftest -r devtool -j 2
AssertionError: '/PROJ_DIR/build-selftest-st-15753/workspace/conf/layer.conf' does not exist : Workspace directory not created

This is because the devtool.conf is also copied to build-selftest-st-xxxx
directory, resulting in devtool to create and use workspace specified
in this file.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomultilib_script: fix whitespace
Ross Burton [Tue, 2 Jul 2019 15:22:47 +0000 (16:22 +0100)]
multilib_script: fix whitespace

The blocks were intended with 3 spaces instead of 4.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglibc/glibc-locale: Fix do_stash_locale to work with usrmerge and multilibs
Jason Wessel [Tue, 2 Jul 2019 20:16:09 +0000 (13:16 -0700)]
glibc/glibc-locale: Fix do_stash_locale to work with usrmerge and multilibs

The do_stash_locale was not working consistently across the 4 build
configurations and the multilib, usrmerge configuration would fail
entirely with the obscure message:

| DEBUG: Executing shell function do_prep_locale_tree
| tar: i18n: Cannot stat: No such file or directory
| tar: Exiting with failure status due to previous errors
| gzip: /poky/build/tmp/work/core2-64-poky-linux/glibc-locale/2.29-r0/locale-tree//usr/share/i18n/charmaps/*gz.gz: No such file or directory
| WARNING: /poky/build/tmp/work/core2-64-poky-linux/glibc-locale/2.29-r0/temp/run.do_prep_locale_tree.124690:1 exit 1 from 'gunzip $i'

Here is the 4 build configurations without the patch applied:

A) x86-64 no multilibs, no usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
909
B) x86-64 no multilibs, usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
909
C) x86-64 multilibs, no usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
885
D) x86-64 multilibs, usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
864

The issue here is that all the moves should be processed first, then a
copy should be made of the lib directories, but only in the case they
are different when using the usrmerge feature.  Even though the build
worked for the multilib configuration without usrmerge, the content
was not the same.

After applying the patch the same number of files are in all the
configurations.  The list of files was also diffed, after normalizing
the directory names to ensure all the correct files were copied.

Ultimately there are probably additional files that should be pruned
from what is copied to the stated_locale, but the purpose of this
patch is make it 100% consistent between the build types and fix the
builds.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglibc-locale: Fix build error with PACKAGE_NO_GCONV = "1"
Jason Wessel [Tue, 2 Jul 2019 20:16:08 +0000 (13:16 -0700)]
glibc-locale: Fix build error with PACKAGE_NO_GCONV = "1"

When the PACKAGE_NO_GCONV is set to 1 an empty directory is left behind from the do_install rule:

=====
ERROR: glibc-locale-2.29-r0 do_package: QA Issue: glibc-locale: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/locale
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
glibc-locale: 2 installed and not shipped files. [installed-vs-shipped]
ERROR: glibc-locale-2.29-r0 do_package: Fatal QA errors found, failing task.
=====

The simple fix is to prune the empty directory.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopsmisc: Fix dependency for USE_NLS=no
Jason Wessel [Tue, 2 Jul 2019 20:16:07 +0000 (13:16 -0700)]
psmisc: Fix dependency for USE_NLS=no

When using USE_NLS="no" in the local.conf psmisc will fail to
compile as follows:

| autoreconf: Entering directory `.'
| autoreconf: running: autopoint --force
| autoreconf: failed to run autopoint: No such file or directory
| autoreconf: autopoint is needed because this package uses Gettext
| ERROR: autoreconf execution failed.

This is because the gettext.bbclass returns gettext-minimal-native for
the host dependency which does not include autopoint.  The autopoint
utility is required to build psmisc, so it needs to list
gettext-native as a dependency.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoifupdown: update to 0.8.22
Oleksandr Kravchuk [Tue, 2 Jul 2019 20:29:09 +0000 (22:29 +0200)]
ifupdown: update to 0.8.22

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-mako: update to 1.0.13
Oleksandr Kravchuk [Tue, 2 Jul 2019 20:41:05 +0000 (22:41 +0200)]
python3-mako: update to 1.0.13

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogrub2: Drop unneeded code
Richard Purdie [Tue, 2 Jul 2019 10:30:12 +0000 (11:30 +0100)]
grub2: Drop unneeded code

We no longer export these variables into the environment so we no longer
need this code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa: Test bitbake --skip-setsecene
Joshua Watt [Mon, 1 Jul 2019 18:23:06 +0000 (13:23 -0500)]
oeqa: Test bitbake --skip-setsecene

Tests the bitbake --skip-setscene option to verify that it correctly
reuses tasks previously restored from sstate, but doesn't execute new
sstate tasks

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoltp: file01: Fix in was not recognized
He Zhe [Mon, 22 Apr 2019 08:55:39 +0000 (16:55 +0800)]
ltp: file01: Fix in was not recognized

Some file has "pie" appending after LSB or MSB, which causes mismatch and the
following error.

"file01 10 TFAIL: in: was not recognized"
..."ELF 64-bit LSB pie executable"...

This patches tunes the regulation expression to include those cases.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorng-tools: fix rngd blocks system shutdown
Kai Kang [Tue, 2 Jul 2019 08:32:40 +0000 (04:32 -0400)]
rng-tools: fix rngd blocks system shutdown

fix-rngd-fail-to-stop.patch is added to fix rngd blocks system shutdown
issue. But it causes rngd doesn't release CPU and causes 100% CPU
usage, so drop it.

The block shutdown issue is caused by comit [7cb64b9fe1 rng-tools: start
earlier in the boot process] which updated rngd.service. Revert the
modification of rngd.service.

Update sed expressions in do_install as well which fails to replace
second match in one line.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobusybox: 1.30.1 -> 1.31.0
Andrej Valek [Tue, 2 Jul 2019 08:06:08 +0000 (10:06 +0200)]
busybox: 1.30.1 -> 1.31.0

- update to last stable version 1.31.0
- remove and refresh already merged patches

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodevtool: upgrade: fix handling of errors parsing upgraded recipe
Paul Eggleton [Tue, 2 Jul 2019 04:24:00 +0000 (16:24 +1200)]
devtool: upgrade: fix handling of errors parsing upgraded recipe

As part of upgrading a recipe we create the upgraded recipe file in the
workspace and then try to parse it so we can then make further
modifications. If for some reason that parsing fails then the failure
was not being handled very well - the broken recipe was being left in
place, breaking parsing until it was removed by hand. Fix that by adding
a call to the cleanup function, and fix the following issues:

* Fix the cleanup function which doesn't look like it has ever worked
  due to a typo in the function call

* Fix double-printing the error message

* Remove usage of DevtoolError in this case (DevtoolError is for simple
  usage errors, not this kind of issue which may be the result of a
  bug).

We're still printing a traceback in this scenario but at least it
doesn't break the build system requiring manual cleanup. I also
introduced a command-line option to preserve the broken upgraded recipe
file(s) for debugging purposes.

(The reproducer for this is "devtool upgrade libnewt-python", however
you need to check out revision b82ea144e144671d3f64c0785ba4beafe905cd4f
or earlier since that recipe has now been absorbed into the libnewt
recipe. The libnewt-python recipe was causing an issue with the upgrade
because it actually included the libnewt recipe using ${PV} in the
include statement, and of course PV was changing in the upgrade.)

Fixes [YOCTO #13404].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorecipetool: ignore zero-length setup.py files
Paul Eggleton [Tue, 2 Jul 2019 04:23:59 +0000 (16:23 +1200)]
recipetool: ignore zero-length setup.py files

If a setup.py file exists it ought to have something in it before we
consider the source tree to be a Python module and treating it as such.
(A counter-example is https://www.bro.org/downloads/binpac-0.50.tar.gz -
it's not clear why this has a zero-length setup.py in it but we should
pay no attention to it.)

Fixes [YOCTO #12923].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolist-packageconfig-flags: print PN instead of P
Paul Eggleton [Tue, 2 Jul 2019 04:12:47 +0000 (16:12 +1200)]
list-packageconfig-flags: print PN instead of P

P (which is ${PN}-${PV}) isn't terribly useful in this context - we
don't really care what the version is, but we do want to know what the
recipe is so we can find it or set PACKAGECONFIG_pn-<PN> in our
configuration, so display ${PN} instead.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoscripts/contrib/ddimage: be explicit whether device doesn't exist or isn't writeable
Paul Eggleton [Tue, 2 Jul 2019 04:12:46 +0000 (16:12 +1200)]
scripts/contrib/ddimage: be explicit whether device doesn't exist or isn't writeable

Make the error messages a little more friendly.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoscripts/contrib/ddimage: replace blacklist with mount check
Paul Eggleton [Tue, 2 Jul 2019 04:12:45 +0000 (16:12 +1200)]
scripts/contrib/ddimage: replace blacklist with mount check

The blacklist, whilst previously useful for safety, is now becoming
obsolete - on my current system, the main storage is at /dev/nvme* and
if I plug in a USB stick it shows up as /dev/sdb which was previously
blacklisted. To make this more flexible, remove the blacklist and
instead check if the specified device is mounted, has a partition
that is mounted, or is otherwise in use according to the kernel, and
show an appropriate error and quit if so.

To make this robust, also ensure we handle where the specified device is
a symlink to another device.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoscripts/contrib/ddimage: fix typo
Paul Eggleton [Tue, 2 Jul 2019 04:12:44 +0000 (16:12 +1200)]
scripts/contrib/ddimage: fix typo

UNKOWN -> UNKNOWN

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibcap-ng: do not use symlink to share files with libcap-ng-python
Paul Eggleton [Tue, 2 Jul 2019 02:35:55 +0000 (14:35 +1200)]
libcap-ng: do not use symlink to share files with libcap-ng-python

I'm not sure what's going on but having this symlink present is causing
git problems rebasing just by being present; deleting it and checking it
out again does not fix it. In any event this is not the standard way of
sharing files between recipes in the same directory - extending
FILESEXTRAPATHS is, so use that method instead.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobzip2: update to 1.0.7
Oleksandr Kravchuk [Sun, 30 Jun 2019 22:38:44 +0000 (00:38 +0200)]
bzip2: update to 1.0.7

Removed patches were upstreamed.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoltp: diotest4: Let kernel pick an address when calling mmap
Hongzhi.Song [Mon, 1 Jul 2019 09:47:46 +0000 (02:47 -0700)]
ltp: diotest4: Let kernel pick an address when calling mmap

Error:
diotest4 10 TBROK : diotest4.c:368: can't mmap file: Invalid argument
diotest4 11 TBROK : diotest4.c:368: Remaining cases broken

This is because the manually specified addr from mmap is invalid.
We should let kernel itself pick an addrress.

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoefivar: ensure that target security flags are not used to build native code
Ross Burton [Mon, 1 Jul 2019 11:25:19 +0000 (12:25 +0100)]
efivar: ensure that target security flags are not used to build native code

Also set LDFLAGS=BUILD_LDFLAGS when compiling makeguids to ensure that any
target compiler flags are not passed to the native compiler.

[ YOCTO #13423 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonss: upgrade 3.44 -> 3.44.1
Zang Ruochen [Mon, 1 Jul 2019 11:13:55 +0000 (19:13 +0800)]
nss: upgrade 3.44 -> 3.44.1

Upgrade from nss_3.44.bb to nss_3.44.1.bb.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomdam: fix mdmonitor start up failure
Changqing Li [Mon, 1 Jul 2019 05:04:53 +0000 (13:04 +0800)]
mdam: fix mdmonitor start up failure

1. recently, mdadm has changed to use service file under srcdir,
   so remove the one not be used.
2. add -y option to fix below problem
   mdadm: No mail address or alert command - not monitoring

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoimage.bbclass: fix systemd_preset_all
Chen Qi [Mon, 1 Jul 2019 04:15:33 +0000 (12:15 +0800)]
image.bbclass: fix systemd_preset_all

Check the existence of systemd before using systemctl to preset units.
This is because even if 'systemd' is in DISTRO_FEATURES, it's possible
that systemd is not even installed. e.g. container-test-image in
meta-selftest layer.

As systemd DEPENDS on systemd-systemctl-native, the existence of systemd
also ensures the existence of systemd-systemctl-native.

This would fix the following test case when using systemd as the init
manager.

  containerimage.ContainerImageTests.test_expected_files

Also remove the IMAGE_EXTRADEPENDS setting, as nothing references this
variable.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoperl: fix Upstream-Status tags
Ross Burton [Mon, 1 Jul 2019 09:46:37 +0000 (10:46 +0100)]
perl: fix Upstream-Status tags

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agounfs3: Switch to new upstream location
Adrian Bunk [Mon, 1 Jul 2019 08:53:09 +0000 (11:53 +0300)]
unfs3: Switch to new upstream location

This uses the same code revision in the new repository.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoquilt: update to 0.66
Oleksandr Kravchuk [Mon, 1 Jul 2019 03:00:42 +0000 (05:00 +0200)]
quilt: update to 0.66

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoruby: update to 2.5.5
Oleksandr Kravchuk [Mon, 1 Jul 2019 02:52:11 +0000 (04:52 +0200)]
ruby: update to 2.5.5

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobc: dc: fix exit code of q command
Li Zhou [Mon, 1 Jul 2019 02:07:16 +0000 (10:07 +0800)]
bc: dc: fix exit code of q command

The exit code for "echo q | dc" is 1 for dc-1.4.1;
while the exit code for "echo q | dc" is 0 for dc-1.4.

Here is the answer from ken@gnu.org:
dc-1.4 was right.  There was a rewrite of a chunk of code for 1.4.1 to
fix a corner case in the Q command, and somehow the placement of the
clean-up label for the 'q' command got misplaced on the error-handling
branch instead of the clean-exit branch.  The patch below fixes this
(it is committed for whenever the next bc/dc release gets made).

Thanks for the report,
        --Ken Pizzini

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobison: update to 3.4.1
Oleksandr Kravchuk [Sun, 30 Jun 2019 23:17:21 +0000 (01:17 +0200)]
bison: update to 3.4.1

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoRevert "pigz: Add debug for autobuilder errors"
Richard Purdie [Sun, 30 Jun 2019 22:33:12 +0000 (23:33 +0100)]
Revert "pigz: Add debug for autobuilder errors"

This reverts commit b08976456c8ab7f29efd83644ce42746c0d6501b.

5 years agopackage: Build pkgdata specific to the current recipe
Richard Purdie [Fri, 28 Jun 2019 15:45:53 +0000 (16:45 +0100)]
package: Build pkgdata specific to the current recipe

This switches the code to build pkgdata specific to the current recipe
which means that its filtered to the recipes dependencies and can perform
better as we can drop the lockfile.

It uses a similar method to the staging code to do this, using BB_TASKDEPDATA
to construct a list of packagedata task output which this recipe should "see".

The original pkgdata store is left unaltered so existing code works.

The lock file was there to prevent files disappearing as they were read or as
directories were listed. Since we have a copy of the data and only access output
from completed tasks (as per their manifests), we can remove the lock.

The lock was causing starvation issues on systems with parallelism.

There was also a potential determinism problem as the current code could "see"
data from recipes which it doesn't depend upon.

[YOCTO #13412]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agostaging: Code cleanup
Richard Purdie [Fri, 28 Jun 2019 16:49:41 +0000 (17:49 +0100)]
staging: Code cleanup

multiconfig dependencies no longer appear in BB_TASKDEPDATA so we can drop
this code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomobile-broadband-provider-info: upgrade 20190116 -> 20190618
Alexander Kanavin [Fri, 28 Jun 2019 13:24:53 +0000 (15:24 +0200)]
mobile-broadband-provider-info: upgrade 20190116 -> 20190618

The new version is using xsltproc utility

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogtk-doc: correct the style.css permissions
Alexander Kanavin [Fri, 28 Jun 2019 13:24:57 +0000 (15:24 +0200)]
gtk-doc: correct the style.css permissions

style.css was set to write-only during build which means it wasn't actually
installed or packaged (with only webkitgtk producing a build failure!),
which in turn means generated documentation was broken.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agort-tests: exclude 1.4 version from upstream check as well
Alexander Kanavin [Fri, 28 Jun 2019 13:24:52 +0000 (15:24 +0200)]
rt-tests: exclude 1.4 version from upstream check as well

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsolf: update to 0.7.5
Oleksandr Kravchuk [Sat, 29 Jun 2019 18:21:19 +0000 (20:21 +0200)]
libsolf: update to 0.7.5

Removed patch was upstreamed.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoexpat: update to 2.2.7
Oleksandr Kravchuk [Sat, 29 Jun 2019 17:52:07 +0000 (19:52 +0200)]
expat: update to 2.2.7

Removed patch is not appropriate anymore.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibinput: update to 1.13.4
Oleksandr Kravchuk [Sat, 29 Jun 2019 17:28:08 +0000 (19:28 +0200)]
libinput: update to 1.13.4

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoapt: update to 1.2.31
Oleksandr Kravchuk [Sat, 29 Jun 2019 16:53:25 +0000 (18:53 +0200)]
apt: update to 1.2.31

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodpkg: update to 1.19.7
Oleksandr Kravchuk [Sat, 29 Jun 2019 16:39:58 +0000 (18:39 +0200)]
dpkg: update to 1.19.7

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobabeltrace: update to 1.5.7
Oleksandr Kravchuk [Sat, 29 Jun 2019 16:29:31 +0000 (18:29 +0200)]
babeltrace: update to 1.5.7

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglibc: Fix multilibs + usrmerge builds
Jason Wessel [Sun, 30 Jun 2019 02:15:48 +0000 (19:15 -0700)]
glibc: Fix multilibs + usrmerge builds

The build of glibc fails when you have multilibs enabled + the distro
feature usrmerge.  Here is an example configuration:

===
MACHINE = "qemux86-64"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_append = " systemd "
DISTRO_FEATURES_append += " usrmerge"

require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
===

This will fail with the following error:

NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: glibc-2.28-r0 do_poststash_install_cleanup: Function failed: do_poststash_install_cleanup (log file is located at /poky/build/tmp/work/core2-64-poky-linux/glibc/2.28-r0/temp/log.do_poststash_install_cleanup.107893)
ERROR: Logfile of failure stored in: /poky/build/tmp/work/core2-64-poky-linux/glibc/2.28-r0/temp/log.do_poststash_install_cleanup.107893

The fix is to not perform the rmdir check when using the multilib + usr/merge, namely:

if [ "${libdir}" != "${exec_prefix}/lib" ] && [ "${root_prefix}/lib" != "${exec_prefix}/lib" ]; then

This will evaluate as follows (collecting the output from bitbake -e glibc)

* no multilibs no usrmerge
        if [ "/usr/lib" != "/usr/lib" ] && [ "/lib" != "/usr/lib" ]; then
* no multilibs yes usrmerge
        if [ "/usr/lib" != "/usr/lib" ] && [ "/usr/lib" != "/usr/lib" ]; then
* yes multilibs no usrmerge
        if [ "/usr/lib64" != "/usr/lib" ] && [ "/lib" != "/usr/lib" ]; then
* yes multilibs yes user merge
        if [ "/usr/lib64" != "/usr/lib" ] && [ "/usr/lib" != "/usr/lib" ]; then

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopigz: Add debug for autobuilder errors
Richard Purdie [Thu, 27 Jun 2019 11:16:21 +0000 (12:16 +0100)]
pigz: Add debug for autobuilder errors

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopackage_rpm.bbclass: python2 -> python3
Robert Yang [Fri, 28 Jun 2019 12:23:41 +0000 (20:23 +0800)]
package_rpm.bbclass: python2 -> python3

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa: Cleanup /usr/bin/env python
Robert Yang [Fri, 28 Jun 2019 12:23:40 +0000 (20:23 +0800)]
oeqa: Cleanup /usr/bin/env python

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoext-sdk-prepare.py: python2 -> python3
Robert Yang [Fri, 28 Jun 2019 12:23:39 +0000 (20:23 +0800)]
ext-sdk-prepare.py: python2 -> python3

This script is python3 indeed.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowic: python2 -> python3
Robert Yang [Fri, 28 Jun 2019 12:23:38 +0000 (20:23 +0800)]
wic: python2 -> python3

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoksum.py: python -> python3
Robert Yang [Fri, 28 Jun 2019 12:23:37 +0000 (20:23 +0800)]
ksum.py: python -> python3

* Testinfo:
  In kernel's builddir:
  $ /path/to/oe-core/scripts/tiny/ksum.py

Collecting object files [DONE]

Totals:

vmlinux:
    text        data            bss             total
    10933110    3824470         1605632         16363212

modules (2004):
    text        data            bss             total
    46144408    3047516         167580          49359504

vmlinux + modules:
    text        data            bss             total
    57077518    6871986         1773212         65722716

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: Fix .pyc file reproduciblility
Joshua Watt [Thu, 27 Jun 2019 13:53:17 +0000 (08:53 -0500)]
python3: Fix .pyc file reproduciblility

Applies a patch to python that makes the pre-compiled .pyc files
generated during the build reproducible.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoeudev: update to 3.2.8
Oleksandr Kravchuk [Thu, 27 Jun 2019 16:08:00 +0000 (18:08 +0200)]
eudev: update to 3.2.8

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogit: update to 2.22.0
Oleksandr Kravchuk [Thu, 27 Jun 2019 16:02:08 +0000 (18:02 +0200)]
git: update to 2.22.0

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-pygobject: update to 3.32.2
Oleksandr Kravchuk [Thu, 27 Jun 2019 15:59:32 +0000 (17:59 +0200)]
python3-pygobject: update to 3.32.2

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-pbr: update to 5.3.1
Oleksandr Kravchuk [Thu, 27 Jun 2019 15:52:42 +0000 (17:52 +0200)]
python3-pbr: update to 5.3.1

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-mako: update to 1.0.12
Oleksandr Kravchuk [Thu, 27 Jun 2019 15:51:19 +0000 (17:51 +0200)]
python3-mako: update to 1.0.12

License checksum changed due to madified copyright year.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoautoconf-archive: update to 2019.01.06
Oleksandr Kravchuk [Thu, 27 Jun 2019 15:44:15 +0000 (17:44 +0200)]
autoconf-archive: update to 2019.01.06

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxt: update to 1.2.0
Oleksandr Kravchuk [Thu, 27 Jun 2019 15:40:54 +0000 (17:40 +0200)]
libxt: update to 1.2.0

License checksum changed due to modified copyright year.

Removed patch was upstreamed.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>