]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
6 years agoarch-armv4.inc, arch-armv5.inc: Do not tie generating thumb ISA to -march
Khem Raj [Thu, 3 Jan 2019 07:40:42 +0000 (23:40 -0800)]
arch-armv4.inc, arch-armv5.inc: Do not tie generating thumb ISA to -march

-march=armv5't'e means that CPU can execute thumb ISA, we do not need to
tie this to exclusively generating thumb ISA, this change means that
when we have thumb in tune features then it can use 't' in -march
options irrespective of ISA being thumb or arm.

This fixes derivative of armv5 tunes and paves way for gcc9 where e.g.
armv5e is dropped and minimum arch supported is armv5te

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/utils/qemurunner: set timeout to 60s for run_serial
Robert Yang [Thu, 3 Jan 2019 08:16:32 +0000 (16:16 +0800)]
oeqa/utils/qemurunner: set timeout to 60s for run_serial

The 5s timeout for non-kvm is too short, especially when the load is high,
which leads to unexpected errors, so set timeout to 60s by default.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocmake-native: Set --parallel for configure
Robert Yang [Tue, 18 Dec 2018 09:48:22 +0000 (17:48 +0800)]
cmake-native: Set --parallel for configure

This can save do_configure's time from 330s to 60s on my host.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopackage.bbclass: fix python unclosed file ResourceWarning
Chen Qi [Tue, 18 Dec 2018 06:53:43 +0000 (14:53 +0800)]
package.bbclass: fix python unclosed file ResourceWarning

Fix the following warning.

  ResourceWarning: unclosed file <_io.TextIOWrapper name='/.../systemd/1_239-r0/debugsources.list' mode='a' encoding='UTF-8'>

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonativesdk-packagegroup-sdk-host: add Meson
Ross Burton [Thu, 20 Dec 2018 14:08:36 +0000 (14:08 +0000)]
nativesdk-packagegroup-sdk-host: add Meson

Meson is growing in popularity, so add it to the SDK packagegroup.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agonativesdk-meson: add missing dependency on setuptools
Ross Burton [Thu, 20 Dec 2018 15:35:43 +0000 (15:35 +0000)]
nativesdk-meson: add missing dependency on setuptools

Meson uses pkg_resources, which is part of setuptools.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoman-pages: use alternatives to resolve crypt.3 conflict
mark asselstine [Thu, 20 Dec 2018 15:34:54 +0000 (10:34 -0500)]
man-pages: use alternatives to resolve crypt.3 conflict

To fix:

  Error: Transaction check error:
    file /usr/share/man/man3/crypt.3 conflicts between attempted installs
    of libcrypt-doc-4.4.1-r0.core2_64 and man-pages-4.16-r0.core2_64

This issue came about after commit 59be9254df9f [libxcrypt: Upgrade to
4.4.1 release].

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonetbase: update to 5.5
Armin Kuster [Wed, 2 Jan 2019 16:36:17 +0000 (08:36 -0800)]
netbase: update to 5.5

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibassuan: update to 2.5.2
Armin Kuster [Wed, 2 Jan 2019 16:36:16 +0000 (08:36 -0800)]
libassuan: update to 2.5.2

Refresh patch

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibgpg-error: Update to 1.33
Armin Kuster [Wed, 2 Jan 2019 16:36:15 +0000 (08:36 -0800)]
libgpg-error: Update to 1.33

Drop patches now included in the update
refactoered pkgconfig.patch

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonss: update to 3.41
Armin Kuster [Wed, 2 Jan 2019 16:36:13 +0000 (08:36 -0800)]
nss: update to 3.41

Bug fix only update.

    Bug 1252891 - Implemented EKU handling for IPsec IKE.
    Bug 1423043 - Enable half-closed states for TLS.
    Bug 1493215 - Enabled the following ciphersuites by default:
        TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
        TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
        TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
        TLS_RSA_WITH_AES_256_GCM_SHA384

    Bug 1412829, Reject empty supported_signature_algorithms in Certificate Request in TLS 1.2
    Bug 1485864 - Cache side-channel variant of the Bleichenbacher attack (CVE-2018-12404)
    Bug 1481271 - Resend the same ticket in ClientHello after HelloRetryRequest
    Bug 1493769 - Set session_id for external resumption tokens
    Bug 1507179 - Reject CCS after handshake is complete in TLS 1.3

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomaintainers.inc: Add entry for new eglinfo-wayland recipe
Richard Purdie [Thu, 3 Jan 2019 12:46:04 +0000 (12:46 +0000)]
maintainers.inc: Add entry for new eglinfo-wayland recipe

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoeglinfo: add wayland receipe
Roman Stratiienko [Thu, 27 Dec 2018 12:38:49 +0000 (14:38 +0200)]
eglinfo: add wayland receipe

Signed-off-by: Roman Stratiienko <roman.stratiienko@globallogic.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoeglinfo: upgrade SRCREV to 223817ee3798
Roman Stratiienko [Thu, 27 Dec 2018 12:38:48 +0000 (14:38 +0200)]
eglinfo: upgrade SRCREV to 223817ee3798

SRCREV upgraded to 223817ee3798 ("Add Wayland support")
Additional patches rebased to this version

Signed-off-by: Roman Stratiienko <roman.stratiienko@globallogic.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosstate: add support for caching shared workdir tasks
Michael Ho [Thu, 29 Nov 2018 12:21:36 +0000 (14:21 +0200)]
sstate: add support for caching shared workdir tasks

The sstate bbclass uses workdir as a hardcoded string in path
manipulations. This means that the sstate caching mechanism does
not work for the work-shared directory which the kernel uses to
share its build configuration and source files for out of tree
kernel modules.

This commit modifies the path manipulation mechanism to use the
work-shared directory if detected in the paths when handling the
sstate cache packages.

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonativesdk-*-provides-dummy: Fixes to allow correct operation with opkg
Richard Purdie [Wed, 5 Dec 2018 17:31:32 +0000 (17:31 +0000)]
nativesdk-*-provides-dummy: Fixes to allow correct operation with opkg

opkg needs the replaces/conflicts/provides in order for this package
to function as intended. When enabled, this code caused failures for
core-image-sato -c populate_sdk.

The reason is that nativesdk-autoconf has several perl dependencies. We
need to list more of the things which this package provides/conflicts
with in order for it to function correctly. Therefore add the missing
entries.

(From OE-Core rev: 27412b377dda47daa87bfcb3a41babe53ff8b0a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodpkg: Upgrade to 1.18.25
Aníbal Limón [Fri, 28 Dec 2018 19:54:08 +0000 (13:54 -0600)]
dpkg: Upgrade to 1.18.25

Removed (now in upstream),

0001-arch-Add-support-for-riscv64-CPU.patch

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agometa/classes/testimage.bbclass: Only validate IMAGE_FSTYPES when is QEMU
Aníbal Limón [Wed, 2 Jan 2019 16:08:13 +0000 (10:08 -0600)]
meta/classes/testimage.bbclass: Only validate IMAGE_FSTYPES when is QEMU

When use simpleremote target the flash/boot process is executed
manually, the IMAGE_FSTYPES validation is only needed when execute
testimage against qemu.

The supported_fstypes comes from oeqa.core.target.qemu module.

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocurl: update to 7.63
Armin Kuster [Wed, 2 Jan 2019 16:36:11 +0000 (08:36 -0800)]
curl: update to 7.63

 Changes:

    curl: add %{stderr} and %{stdout} for --write-out
    curl: add undocumented option --dump-module-paths for win32
    setopt: add CURLOPT_CURLU

For full list of changes see:
https://curl.haxx.se/changes.html

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agotzdata/tzcode-native: update to 2018i
Armin Kuster [Wed, 2 Jan 2019 16:36:10 +0000 (08:36 -0800)]
tzdata/tzcode-native: update to 2018i

2018i:

  Briefly:
    São Tomé and Príncipe switches from +01 to +00 on 2019-01-01.

  Changes to future timestamps

    Due to a change in government, São Tomé and Príncipe switches back
    from +01 to +00 on 2019-01-01 at 02:00.  (Thanks to Vadim
    Nasardinov and Michael Deckers.)

2018h:
Briefly:
    Qyzylorda, Kazakhstan moved from +06 to +05 on 2018-12-21.
    New zone Asia/Qostanay because Qostanay, Kazakhstan didn't move.
    Metlakatla, Alaska observes PST this winter only.
    Guess Morocco will continue to adjust clocks around Ramadan.
    Add predictions for Iran from 2038 through 2090.

  Changes to future timestamps

    Guess that Morocco will continue to fall back just before and
    spring forward just after Ramadan, the practice since 2012.
    (Thanks to Maamar Abdelkader.)  This means Morocco will observe
    negative DST during Ramadan in main and vanguard formats, and in
    rearguard format it stays in the +00 timezone and observes
    ordinary DST in all months other than Ramadan.  As before, extend
    this guesswork to the year 2037.  As a consequence, Morocco is
    scheduled to observe three DST transitions in some Gregorian years
    (e.g., 2033) due to the mismatch between the Gregorian and Islamic
    calendars.

    The table of exact transitions for Iranian DST has been extended.
    It formerly cut off before the year 2038 in a nod to 32-bit time_t.
    It now cuts off before 2091 as there is doubt about how the Persian
    calendar will treat 2091.  This change predicts DST transitions in
    2038-9, 2042-3, and 2046-7 to occur one day later than previously
    predicted.  As before, post-cutoff transitions are approximated.

  Changes to past and future timestamps

    Qyzylorda (aka Kyzylorda) oblast in Kazakhstan moved from +06 to
    +05 on 2018-12-21.  This is a zone split as Qostanay (aka
    Kostanay) did not switch, so create a zone Asia/Qostanay.

    Metlakatla moved from Alaska to Pacific standard time on 2018-11-04.
    It did not change clocks that day and remains on -08 this winter.
    (Thanks to Ryan Stanley.)  It will revert to the usual Alaska
    rules next spring, so this change affects only timestamps
    from 2018-11-04 through 2019-03-10.

  Change to past timestamps

    Kwajalein's 1993-08-20 transition from -12 to +12 was at 24:00,
    not 00:00.  I transcribed the time incorrectly from Shanks.
    (Thanks to Phake Nick.)

    Nauru's 1979 transition was on 02-10 at 02:00, not 05-01 at 00:00.
    (Thanks to Phake Nick.)

    Guam observed DST irregularly from 1959 through 1977.
    (Thanks to Phake Nick.)

    Hong Kong observed DST in 1941 starting 06-15 (not 04-01), then on
    10-01 changed standard time to +08:30 (not +08).  Its transition
    back to +08 after WWII was on 1945-09-15, not the previous day.
    Its 1904-10-30 change took effect at 01:00 +08 (not 00:00 LMT).
    (Thanks to Phake Nick, Steve Allen, and Joseph Myers.)  Also,
    its 1952 fallback was on 11-02 (not 10-25).

    This release contains many changes to timestamps before 1946 due
    to Japanese possession or occupation of Pacific/Chuuk,
    Pacific/Guam, Pacific/Kosrae, Pacific/Kwajalein, Pacific/Majuro,
    Pacific/Nauru, Pacific/Palau, and Pacific/Pohnpei.
    (Thanks to Phake Nick.)

    Assume that the Spanish East Indies was like the Philippines and
    observed American time until the end of 1844.  This affects
    Pacific/Chuuk, Pacific/Kosrae, Pacific/Palau, and Pacific/Pohnpei.

  Changes to past tm_isdst flags

    For the recent Morocco change, the tm_isdst flag should be 1 from
    2018-10-27 00:00 to 2018-10-28 03:00.  (Thanks to Michael Deckers.)
    Give a URL to the official decree.  (Thanks to Matt Johnson.)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosystemd: backport a patch to fix meson 0.49.0 issue
Alexander Kanavin [Tue, 18 Dec 2018 16:29:55 +0000 (17:29 +0100)]
systemd: backport a patch to fix meson 0.49.0 issue

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibrepo: upgrade 1.9.2 -> 1.9.3
Alexander Kanavin [Tue, 18 Dec 2018 16:30:05 +0000 (17:30 +0100)]
librepo: upgrade 1.9.2 -> 1.9.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agowebkitgtk: upgrade 2.22.4 -> 2.22.5
Alexander Kanavin [Tue, 18 Dec 2018 16:30:04 +0000 (17:30 +0100)]
webkitgtk: upgrade 2.22.4 -> 2.22.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibcomps: upgrade 0.1.8 -> 0.1.9
Alexander Kanavin [Tue, 18 Dec 2018 16:30:03 +0000 (17:30 +0100)]
libcomps: upgrade 0.1.8 -> 0.1.9

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogobject-introspection: upgrade 1.58.1 -> 1.58.2
Alexander Kanavin [Tue, 18 Dec 2018 16:30:02 +0000 (17:30 +0100)]
gobject-introspection: upgrade 1.58.1 -> 1.58.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoboost: update to 1.69.0
Alexander Kanavin [Tue, 18 Dec 2018 16:30:01 +0000 (17:30 +0100)]
boost: update to 1.69.0

Drop upstreamed reproducibility-add-file-directive-to-assembler.patch

Drop signals library as upstream has removed it:
https://www.boost.org/users/history/version_1_69_0.html

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolighttpd: upgrade 1.4.51 -> 1.4.52
Alexander Kanavin [Tue, 18 Dec 2018 16:30:00 +0000 (17:30 +0100)]
lighttpd: upgrade 1.4.51 -> 1.4.52

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibdnf: upgrade 0.22.3 -> 0.24.1
Alexander Kanavin [Tue, 18 Dec 2018 16:29:59 +0000 (17:29 +0100)]
libdnf: upgrade 0.22.3 -> 0.24.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocreaterepo-c: update to 0.12.0
Alexander Kanavin [Tue, 18 Dec 2018 16:29:58 +0000 (17:29 +0100)]
createrepo-c: update to 0.12.0

Drop 0001-Correctly-install-the-shared-library.patch as upstream fixed the issue.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodnf: upgrade 4.0.9 -> 4.0.10
Alexander Kanavin [Tue, 18 Dec 2018 16:29:57 +0000 (17:29 +0100)]
dnf: upgrade 4.0.9 -> 4.0.10

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibdazzle: fix a build issue with meson 0.49.0
Alexander Kanavin [Tue, 18 Dec 2018 16:29:56 +0000 (17:29 +0100)]
libdazzle: fix a build issue with meson 0.49.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomeson: update to 0.49.0
Alexander Kanavin [Tue, 18 Dec 2018 16:29:54 +0000 (17:29 +0100)]
meson: update to 0.49.0

Drop upstreamed gi-flags.patch and gtkdoc-flags.patch, rebase the rest.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobtrfs-tools: update to 4.19.1
Alexander Kanavin [Tue, 18 Dec 2018 16:29:53 +0000 (17:29 +0100)]
btrfs-tools: update to 4.19.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agorunqemu-gen-tapdevs: Allow run --help without sudo
Robert Yang [Fri, 28 Dec 2018 08:58:58 +0000 (00:58 -0800)]
runqemu-gen-tapdevs: Allow run --help without sudo

Then we can get user's UID and GID rather than hardcode to 1000, e.g.:

- Without sudo
$ runqemu-gen-tapdevs --help
[snip]
$ sudo ../poky/scripts/runqemu-gen-tapdevs 15220 100 4 tmp/sysroots-components/x86_64/qemu-helper-native/usr/bin
[snip]

- With sudo
$ sudo ../poky/scripts/runqemu-gen-tapdevs --help
[snip]
$ sudo ../poky/scripts/runqemu-gen-tapdevs 15220 100 4 tmp/sysroots-components/x86_64/qemu-helper-native/usr/bin
[snip]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoperl: Fix race issue for cpan/Pod-Simple
Robert Yang [Fri, 28 Dec 2018 09:01:49 +0000 (01:01 -0800)]
perl: Fix race issue for cpan/Pod-Simple

Fixed:
Running pm_to_blib for cpan/Pod-Simple directly
[snip]
/path/to/cpan/podlators/../../miniperl "-I../../lib" "-I../../lib" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/pod2man
Can't locate Getopt/Long.pm in @INC [snip]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobluez5: Fix a race issue for tools
Robert Yang [Fri, 28 Dec 2018 09:01:48 +0000 (01:01 -0800)]
bluez5: Fix a race issue for tools

Fixed:
cp ../bluez-5.50/tools/hid2hci.rules tools/97-hid2hci.rules
cp: cannot create regular file tools/97-hid2hci.rules: No such file or directory
make[1]: *** [tools/97-hid2hci.rules] Error 1

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agovalgrind: Fix a race issue for libcoregrind.a
Robert Yang [Fri, 28 Dec 2018 09:01:47 +0000 (01:01 -0800)]
valgrind: Fix a race issue for libcoregrind.a

The libnolto_coregrind_a_OBJECTS is in libcoregrind_a_LIBADD, so the objects
should be ready before generate libcoregrind.a, otherwise there would be
failures:

i586-poky-linux-ar: libnolto_coregrind_x86_linux_a-m_libcsetjmp.o: No such file or directory
make[3]: *** [libcoregrind-x86-linux.a] Error 1

Add libnolto_coregrind_a_OBJECTS to EXTRA_libcoregrind_DEPENDENCIES to fix the
problem.

This is a race issue during parallel build.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoAdded armeb into meson.bbclass.
Lei Maohui [Wed, 2 Jan 2019 05:17:48 +0000 (13:17 +0800)]
Added armeb into meson.bbclass.

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoos-release: don't import shutil
Jacob Kroon [Tue, 1 Jan 2019 17:38:44 +0000 (18:38 +0100)]
os-release: don't import shutil

The line was added in

  os-release: add the public package-signing key
  f7359ad6bec82d4aa761287a6c6d53cbc25adab3

but the actual usage was removed in

  signing-keys: Make signing keys the only publisher of keys
  1e38068ac38dfd067655dfd41464e28439179306

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosstate.bbclass: catch ValueError from incorrectly written sstate manifests
Martin Jansa [Mon, 31 Dec 2018 09:58:35 +0000 (09:58 +0000)]
sstate.bbclass: catch ValueError from incorrectly written sstate manifests

* in some rare cases the file format might be broken, e.g. when you run
  out of disk space while writing to it (hint: make sure to use
  BB_DISKMON_DIRS on _all_ the builds, to make sure that they can stop
  gracefully before this happens).

* will show error like this:
  ERROR: Invalid line '/OE/build/luneos-thud/webos-ports' in sstate manifest '/OE/build/luneos-thud/webos-ports/tmp-glibc/sstate-control/index-allarch'
  when the file isn't complete, like in my case:
  $ tail -n 2 /OE/build/luneos-thud/webos-ports/tmp-glibc/sstate-control/index-allarch
  /OE/build/luneos-thud/webos-ports/tmp-glibc/stamps/all-webos-linux/org.webosports.app.calculator/0.1.1+gitrAUTOINC+9e9eb67c28-r0 /OE/build/luneos-thud/webos-ports/tmp-glibc/sstate-control/manifest-allarch-org.webosports.app.calculator /OE/build/luneos-thud/webos-ports/tmp-glibc/work/all-webos-linux/org.webosports.app.calculator/0.1.1+gitrAUTOINC+9e9eb67c28-r0
  /OE/build/luneos-thud/webos-ports

* instead of much longer exception which doesn't really show what's
  wrong to selectively fix that (other than removing while TMPDIR):

  ERROR: Command execution failed: Traceback (most recent call last):
  File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/command.py", line 113, in runAsyncCommand
    self.cooker.updateCache()
  File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/cooker.py", line 1562, in updateCache
    bb.event.fire(event, self.databuilder.mcdata[mc])
  File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/event.py", line 225, in fire
    fire_class_handlers(event, d)
  File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/event.py", line 134, in fire_class_handlers
    execute_handler(name, handler, event, d)
  File "/OE/build/luneos-thud/webos-ports/bitbake/lib/bb/event.py", line 106, in execute_handler
    ret = handler(event)
  File "/OE/build/luneos-thud/webos-ports/openembedded-core/meta/classes/sstate.bbclass", line 1083, in sstate_eventhandler2
    (stamp, manifest, workdir) = l.split()
  ValueError: not enough values to unpack (expected 3, got 1)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agokernel-module-split.bbclass: Fix modinfo decoding in old kernels
Pau Espin Pedrol [Mon, 31 Dec 2018 00:04:50 +0000 (01:04 +0100)]
kernel-module-split.bbclass: Fix modinfo decoding in old kernels

Before linux commit d36b691077dc59c74efec0d54ed21b86f7a2a21a, some
strings contained invalid utf-8 character which made
split_kernel_module_packages unhappy when parsing ums-isd200.ko:

Exception: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 in position 21: invalid start byte

Signed-off-by: Pau Espin Pedrol <pespin@sysmocom.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogcc: Fix riscv multilibs for OE way
Khem Raj [Fri, 28 Dec 2018 20:03:49 +0000 (12:03 -0800)]
gcc: Fix riscv multilibs for OE way

In OE we do not build mutlib like gcc does it by default, this ensures
that mutlilib is virtually disabled for OE, since we hardly use same gcc
to build for multiple ABIs

This fixes cases in SDK where g++ is not able to find standard c++
include headers

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocups: default to unix pam module
Diego Rondini [Fri, 28 Dec 2018 13:55:36 +0000 (13:55 +0000)]
cups: default to unix pam module

When pam PACKAGECONFIG is enabled a cups "pam.d" configuration file is
installed. The default configuration file uses a non-existing "pam_unknown.so",
but a different existing module can be selected by passing the
--with-pam-module parameter. Use the unix pam module when pam is enabled.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agotestimage.bbclass: remove boot parameter systemd.log_target
Kai Kang [Tue, 25 Dec 2018 09:39:43 +0000 (04:39 -0500)]
testimage.bbclass: remove boot parameter systemd.log_target

Boot parameter systemd.log_target=console affects command journalctl's
output and causes oe selftest case test_systemd_boot_time fail to pass.

| Error at obtaining the boot time from journalctl
| RESULTS:
| RESULTS - systemd.SystemdJournalTests.test_systemd_boot_time - Testcase -1: SKIPPED (0.74s)

systemd.log_target=console was introduced by oe-core commit a0bb649 and
work with parameter systemd.log_level to enable systemd debug.
systemd.log_level has been removed already, so remove systemd.log_target
too to make case test_systemd_boot_time pass.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobinutils: Upgrade to latest on 2.31 release branch
Khem Raj [Wed, 26 Dec 2018 20:09:54 +0000 (12:09 -0800)]
binutils: Upgrade to latest on 2.31 release branch

* Append minor version to PV so recipe checker is happy
* Drop upstreamed patches
* Remove changelog from CVE patches, they dont apply and are in patch
  log anyway

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoffmpeg: Backport patch to fix build with gcc9
Khem Raj [Wed, 26 Dec 2018 20:09:53 +0000 (12:09 -0800)]
ffmpeg: Backport patch to fix build with gcc9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agovalgrind: Fix x86_64 build failure with gcc9
Khem Raj [Wed, 26 Dec 2018 20:09:52 +0000 (12:09 -0800)]
valgrind: Fix x86_64 build failure with gcc9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogdb: Backport a fix to build with gcc9
Khem Raj [Wed, 26 Dec 2018 20:09:51 +0000 (12:09 -0800)]
gdb: Backport a fix to build with gcc9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibxcrypt: Upgrade to 4.4.2
Khem Raj [Wed, 26 Dec 2018 20:09:50 +0000 (12:09 -0800)]
libxcrypt: Upgrade to 4.4.2

Licence-Update: Copyright Alexander Peslyak; 0-clause BSD added
see https://github.com/besser82/libxcrypt/commit/e07290ec7c3de301ce2b813ee2b42131bef2b119

Rename recipe to ve versionless and add PV in recipe itself, makes it
easy to traverse git history

Drop upstreamed patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomusl: Update to latest master
Khem Raj [Wed, 26 Dec 2018 20:09:49 +0000 (12:09 -0800)]
musl: Update to latest master

* sync APIs from  kernel v4.18
* Misc bug fixes

Full logs
https://git.musl-libc.org/cgit/musl/log/?qt=range&q=39ef612aa193cc6e954ac5a01574300ccd4b7ef9..21a172dd36cae7a08492fd3a7500d7bf0daee13e

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonfs-utils: Disable format-overflow as Werror
Khem Raj [Wed, 26 Dec 2018 20:09:48 +0000 (12:09 -0800)]
nfs-utils: Disable format-overflow as Werror

These warnings are intricate and we can ignore that for now as they are
being found by gcc 9, eventually this should be not needed when code
upstream is fixed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agognupg: Do not apply -Woverride-init guard for gcc >= 9
Khem Raj [Wed, 26 Dec 2018 20:09:47 +0000 (12:09 -0800)]
gnupg: Do not apply -Woverride-init guard for gcc >= 9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agognupg: Upgrade to 2.2.12 release
Khem Raj [Wed, 26 Dec 2018 20:09:46 +0000 (12:09 -0800)]
gnupg: Upgrade to 2.2.12 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogrub2: Fix passing null to printf formats
Khem Raj [Wed, 26 Dec 2018 20:09:45 +0000 (12:09 -0800)]
grub2: Fix passing null to printf formats

Backport a patch that helps with this error which is found
by gcc9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopackage_ip.bbclass: add xz threading
Alejandro del Castillo [Wed, 26 Dec 2018 23:59:06 +0000 (17:59 -0600)]
package_ip.bbclass: add xz threading

Before, threading was enabled via a patch to opkg-build. Now that
opkg-build provides a hook for extra arguments, use that.

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoopkg-utils: upgrade to version 0.4.0
Alejandro del Castillo [Wed, 26 Dec 2018 23:59:05 +0000 (17:59 -0600)]
opkg-utils: upgrade to version 0.4.0

Drop patches already merged upstream.

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoopkg: upgrade to version 0.4.0
Alejandro del Castillo [Wed, 26 Dec 2018 23:59:04 +0000 (17:59 -0600)]
opkg: upgrade to version 0.4.0

- Drop 0001-remove_maintainer_scripts-use-strict-matching.patch

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/utils/qemurunner: Print output when failed to login
Robert Yang [Thu, 27 Dec 2018 08:59:43 +0000 (00:59 -0800)]
oeqa/utils/qemurunner: Print output when failed to login

This is useful for debugging.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoglibc: Enable --with-default-link
Khem Raj [Sat, 22 Dec 2018 18:27:28 +0000 (10:27 -0800)]
glibc: Enable --with-default-link

This lets linker to use its internal linker script for shared objects
Fixes with when gold is default linker

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobase.bbclass, classextend.py: Drop catering to gcc-initial
Khem Raj [Wed, 19 Dec 2018 18:13:09 +0000 (10:13 -0800)]
base.bbclass, classextend.py: Drop catering to gcc-initial

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agotcmode-default: Drop pinnings for gcc-initial based recipes
Khem Raj [Wed, 19 Dec 2018 18:13:08 +0000 (10:13 -0800)]
tcmode-default: Drop pinnings for gcc-initial based recipes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomusl: Move away from gcc-initial dependency
Khem Raj [Wed, 19 Dec 2018 18:13:05 +0000 (10:13 -0800)]
musl: Move away from gcc-initial dependency

gcc-initial step is no more needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibssp: Remove dependency on gcc-initial
Khem Raj [Wed, 19 Dec 2018 18:13:07 +0000 (10:13 -0800)]
libssp: Remove dependency on gcc-initial

Its not needed anymore and it can depend on gcc-cross instead

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonewlib: Move away from gcc-initial dependency
Khem Raj [Wed, 19 Dec 2018 18:13:06 +0000 (10:13 -0800)]
newlib: Move away from gcc-initial dependency

gcc-initial step is no more needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agorecipes: Drop virtual/libc-for-gcc
Richard Purdie [Wed, 19 Dec 2018 22:29:13 +0000 (22:29 +0000)]
recipes: Drop virtual/libc-for-gcc

We no longer have special "libc" for gcc so we can rely on plain
virtual/libc and reduce the complexity in the dependencies.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogcc: Drop the -initial versions of the compiler
Richard Purdie [Wed, 19 Dec 2018 10:37:19 +0000 (10:37 +0000)]
gcc: Drop the -initial versions of the compiler

Separated out from the previous commit for clarity, this simply drops
all the -inital pieces of gcc which are no longer needed after the
previous commit.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogcc: Drop gcc-cross-initial and use gcc-cross instead
Richard Purdie [Wed, 19 Dec 2018 00:09:14 +0000 (00:09 +0000)]
gcc: Drop gcc-cross-initial and use gcc-cross instead

We need a libgcc to build glibc. Tranditionally we therefore build
a non-threaded and non-shared compiler (gcc-cross-initial), then use
that to build libgcc-initial which is used to build glibc which we can
then build gcc-cross and libgcc against.

Firstly, we can drop the glibc dependency from gcc-cross, *if* we make
two changes:

a) specify the minimum glibc version to support in a configure option
b) create a dummy limits.h file so that later when glibc creates one,
   the headers structure has support for it. We can do this with a simple
   empty file

Once gcc-cross is libc independent, we can use it to build both
libgcc-initial and then later libgcc.

libgcc-initial is tricky as we need to imitate the non-threaded and
non-shared case. We can do that by hacking the threading mode back to
"single" even if gcc reports "posix" and disable libc presence for the
libgcc-intial build. We have to create the dummy limits.h to avoid
compiler errors from a missing header.

glibc will fail to link with libgcc-initial due to a missing "exception
handler" capable libgcc (libgcc_eh.a). Since we know glibc doesn't need
any exception handler, we can safely symlink to libgcc.a.

With those changes, gcc-cross can be used in all places and we only need
one build of gcc for each architecture.

For some reason ifunc was being disabled on mips prior to these changes
but afterwards became enabled but caused assertion failures. This is
therefore disabled until we can debug that.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoglibc: Remove site_config and glibc-initial
Richard Purdie [Tue, 18 Dec 2018 20:01:26 +0000 (20:01 +0000)]
glibc: Remove site_config and glibc-initial

The only reason we appear to need glibc-initial at this time is to support
the site_config code. The site_config code compiles and therefore needs
at least some level of working C library to link against.

This isn't a good reason to keep the complexity of glibc-initial around
so remove it, and the site_config support which then breaks.

Performance benchmarks suggest the time spent just rerunning configure
for site_config just about equals any performance benefit for OE-Core
image builds excluding the time spent adding glibc-initial to the
dependency chain.

I'm not opposed to readding some other form of site_config support
but it needs to be rethought.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocrosssdk/cross-canadian: Set LIBCOVERRIDE correctly
Richard Purdie [Mon, 24 Dec 2018 09:56:15 +0000 (09:56 +0000)]
crosssdk/cross-canadian: Set LIBCOVERRIDE correctly

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/concurrencytest: fix for locating meta-selftest
Robert Yang [Wed, 19 Dec 2018 02:38:00 +0000 (18:38 -0800)]
oeqa/concurrencytest: fix for locating meta-selftest

The previous code assumed builddir and meta-selftest are in the same dir, but
this isn't always true, builddir can be anywhere, use get_test_layer() to
locate meta-selftest can fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopopulate_sdk_ext.bbclass: Include site.conf in parsing for contents for local.conf
Khem Raj [Thu, 20 Dec 2018 07:35:02 +0000 (23:35 -0800)]
populate_sdk_ext.bbclass: Include site.conf in parsing for contents for local.conf

Some distros use site.conf to emit certain variables which are important
for eSDK e.g. DISTRO with out which eSDK will not be able to ger right
metadata when it tries to build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoi2c-tools: upgrade 4.0 -> 4.1
Anuj Mittal [Wed, 19 Dec 2018 07:29:29 +0000 (15:29 +0800)]
i2c-tools: upgrade 4.0 -> 4.1

* For changes, see:
https://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git/log/?qt=range&q=v4.0...v4.1

* Remove upstreamed patches

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocommon-licenses: update Libpng license text
Anuj Mittal [Wed, 19 Dec 2018 07:29:27 +0000 (15:29 +0800)]
common-licenses: update Libpng license text

The new libpng license comprises the terms and conditions from the zlib
license, and the disclaimer from the Boost license. The legacy libpng
license license, used until libpng-1.6.35, is appended to the
new license, following the precedent established in the Python Software
Foundation License version 2.

See for details:

https://sourceforge.net/projects/libpng/files/libpng16/1.6.36/

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibpng: upgrade 1.6.35 -> 1.6.36
Anuj Mittal [Wed, 19 Dec 2018 07:29:26 +0000 (15:29 +0800)]
libpng: upgrade 1.6.35 -> 1.6.36

For changes, see:

https://sourceforge.net/p/libpng/code/ci/libpng16/tree/CHANGES

License-Update: Added authors to license, formatting, version changes,
export classification clarification and a new libpng2 license with
clarification:

The new libpng license comprises the terms and conditions from the zlib
license, and the disclaimer from the Boost license. The legacy libpng
license license, used until libpng-1.6.35, is appended to the
new license, following the precedent established in the Python Software
Foundation License version 2.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoharfbuzz: upgrade 2.1.3 -> 2.2.0
Anuj Mittal [Wed, 19 Dec 2018 07:29:25 +0000 (15:29 +0800)]
harfbuzz: upgrade 2.1.3 -> 2.2.0

For changes, see:

https://cgit.freedesktop.org/harfbuzz/tree/NEWS?h=2.2.0

Remove do_configure_append after the patch to remove pkg.m4 was merged
upstream.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosqlite3: upgrade 3.25.3 -> 3.26.0
Anuj Mittal [Wed, 19 Dec 2018 07:29:24 +0000 (15:29 +0800)]
sqlite3: upgrade 3.25.3 -> 3.26.0

For changes, see:

https://www.sqlite.org/releaselog/3_26_0.html

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibatomic-ops: upgrade 7.6.6 -> 7.6.8
Anuj Mittal [Wed, 19 Dec 2018 07:29:23 +0000 (15:29 +0800)]
libatomic-ops: upgrade 7.6.6 -> 7.6.8

For changes, see:

https://github.com/ivmai/libatomic_ops/compare/v7.6.6...v7.6.8

Also switch to using tarball release instead.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogsettings-desktop-schemas: upgrade 3.28.0 -> 3.28.1
Anuj Mittal [Wed, 19 Dec 2018 07:29:22 +0000 (15:29 +0800)]
gsettings-desktop-schemas: upgrade 3.28.0 -> 3.28.1

Changes from release notes:

- Set default background image for screen lock to an existing one
- Translation updates

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoeudev: upgrade 3.2.5 -> 3.2.7
Anuj Mittal [Wed, 19 Dec 2018 07:29:21 +0000 (15:29 +0800)]
eudev: upgrade 3.2.5 -> 3.2.7

For changes, see:

https://github.com/gentoo/eudev/compare/v3.2.5...v3.2.7

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoicecc: patchelf is needed by icecc-create-env
Douglas Royds [Wed, 19 Dec 2018 22:59:48 +0000 (11:59 +1300)]
icecc: patchelf is needed by icecc-create-env

Although we could potentially build patchelf and all its dependencies,
they would all have to be blacklisted to avoid trying to build them with
icecc. We use the host patchelf instead.

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoicecc: Don't generate recipe-sysroot symlinks at recipe-parsing time
Douglas Royds [Wed, 19 Dec 2018 22:59:47 +0000 (11:59 +1300)]
icecc: Don't generate recipe-sysroot symlinks at recipe-parsing time

The python function icecc_path() was being invoked inline by set_icecc_env(),
meaning that it was being invoked at recipe-parsing time.
As a side-effect, icecc_path() was creating the recipe-sysroot directory and
symlinking icecc into it. Because this was done at parsing time (rather than
configure time), we were generating otherwise-empty WORKDIRs for *all* parsed
recipes, and for all virtual classes (-native, -nativesdk).
In my build, this generated more than 800 of these otherwise-empty WORKDIRs.

I have simplified icecc_path() to return only the intended path to the icecc
symlinks in the recipe-sysroot, with no side-effect.
We then create the directory and the icecc symlinks at configure time.

Because get_cross_kernel_cc() is still invoked at parse-time,
it needs a guard-clause for the non-kernel case.
We are now finding the host icecc at do_configure time,
so icecc needs to be in the HOSTTOOLS. I have made this non-fatal,
so that we can still inherit icecc without icecc installed.

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoicecc: Syntax error meant that we weren't waiting for tarball generation
Douglas Royds [Wed, 19 Dec 2018 22:59:46 +0000 (11:59 +1300)]
icecc: Syntax error meant that we weren't waiting for tarball generation

If two bitbake processes try to generate the ICECC_VERSION tarball at the same
time, the thread that fails to get the lock will wait 30 sec for the first to
finish. A syntax error meant that this was not happening, and in particular, if
tarball generation failed (eg. for lack of patchelf), it did so silently.

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoicecc: Trivial simplification
Douglas Royds [Wed, 19 Dec 2018 22:59:45 +0000 (11:59 +1300)]
icecc: Trivial simplification

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoicecc: readlink -f on the recipe-sysroot gcc/g++
Douglas Royds [Wed, 19 Dec 2018 22:59:44 +0000 (11:59 +1300)]
icecc: readlink -f on the recipe-sysroot gcc/g++

We were accidentally doing a readlink -f on simply 'gcc', for instance

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibxcrypt: Fix nativesdk build with gcc9
Khem Raj [Wed, 19 Dec 2018 20:23:14 +0000 (12:23 -0800)]
libxcrypt: Fix nativesdk build with gcc9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogcc-runtime: Drop building libmpx
Khem Raj [Wed, 19 Dec 2018 18:25:01 +0000 (10:25 -0800)]
gcc-runtime: Drop building libmpx

libmpx is not supported any longer and infact has been removed
completely from gcc-9, see

https://github.com/gcc-mirror/gcc/commit/1e42d5c637e1b1f65dfddd0923dfb25676bb56e5

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogcc-runtime: Add missing libc dependency
Richard Purdie [Tue, 18 Dec 2018 11:52:56 +0000 (11:52 +0000)]
gcc-runtime: Add missing libc dependency

For reasons lost in the depths of time, perhaps performane related,
we only have a dependency on libc at packaging time. This is too late,
as demonstrated by a recent build failure on non-IA builds where
the glibc 2.29 upgrade had been removed from the build:

ld: recipe-sysroot/usr/lib/../lib/libstdc++.so: undefined reference to `log@GLIBC_2.29'

libstdc++ should have been rebuilt but had not as the dependency
wasn't present.

Add the missing dependency to avoid this problem (and drop the other
form of dependency which is no longer needed).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodistrodata: Remove
Richard Purdie [Mon, 17 Dec 2018 23:31:07 +0000 (23:31 +0000)]
distrodata: Remove

The code in the tasks within this class are old and there are much better
ways to do these things now such as through tinfoil rather than writing csv
files incrementally with start/stop events and lock files.

Existing users of the code (mainly the do_checkpkg task) have been ported
over to tinfoil. Drop the class, any other users should also make use
of the tinfoil functionality.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoscripts/distro: Remove as using obsolete APIs and need re-implementing sanely
Richard Purdie [Tue, 18 Dec 2018 12:02:06 +0000 (12:02 +0000)]
scripts/distro: Remove as using obsolete APIs and need re-implementing sanely

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoupstream-tracking.inc: Remove the long deprecated file
Richard Purdie [Mon, 17 Dec 2018 22:57:32 +0000 (22:57 +0000)]
upstream-tracking.inc: Remove the long deprecated file

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/distrodata: Drop now unneeded distrodata inherit
Richard Purdie [Tue, 18 Dec 2018 11:57:12 +0000 (11:57 +0000)]
oeqa/selftest/distrodata: Drop now unneeded distrodata inherit

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodefaultsetup: Include maintainers.inc by default
Richard Purdie [Mon, 17 Dec 2018 22:56:20 +0000 (22:56 +0000)]
defaultsetup: Include maintainers.inc by default

There is little harm in including this file rather than having a
rather obscure and soon to be obsolete bbclass adding this information.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibxcrypt: Upgrade to 4.4.1 release
Khem Raj [Mon, 17 Dec 2018 19:40:04 +0000 (11:40 -0800)]
libxcrypt: Upgrade to 4.4.1 release

License-Update: New files added to existing list

Add -Wno-error=missing-attributes to compiler flags, this helps in
compiling with gcc 9.0, eventually, the code should be fixed

Add a patch to fix x32 build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agokernel-devsrc: fix usrmerge install path
Allen Wild [Sat, 15 Dec 2018 19:24:45 +0000 (14:24 -0500)]
kernel-devsrc: fix usrmerge install path

Update /lib to $nonarch_base_libdir to fix package QA errors when
usermerge is enabled in DISTRO_FEATURES.

ERROR: kernel-devsrc-1.0-r0 do_package_qa: QA Issue: kernel-devsrc
package is not obeying usrmerge distro feature. /lib should be relocated
to /usr. [usrmerge]

Signed-off-by: Allen Wild <allenwild93@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosystemd: Fix memory use after free errors
Khem Raj [Mon, 17 Dec 2018 05:54:42 +0000 (21:54 -0800)]
systemd: Fix memory use after free errors

Found with gcc trunk

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogo: Upgrade 1.11.1 -> 1.11.4 minor release
Khem Raj [Mon, 17 Dec 2018 05:54:40 +0000 (21:54 -0800)]
go: Upgrade 1.11.1 -> 1.11.4 minor release

Changes: https://golang.org/doc/devel/release.html#go1.11

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto: correct qemumips64el definition
Bruce Ashfield [Mon, 17 Dec 2018 15:26:48 +0000 (10:26 -0500)]
linux-yocto: correct qemumips64el definition

The big endian mips definition was used as the basis for the little
endian machine. Unfortunatey, the KMACHINE definitions were not fully
cleared, so big endian builds will match on the 'le' variant .. and
break.

We drop the BE machine definitions from the LE variant and we are fixed.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto: configuration updates (virtio and tpm)
Bruce Ashfield [Mon, 17 Dec 2018 03:38:29 +0000 (22:38 -0500)]
linux-yocto: configuration updates (virtio and tpm)

Integrating the following configuration changes:

  1992fb4dad30 virtio.cfg: enable CONFIG_DRM_VIRTIO_GPU
  9e9ba7cb6756 features/tpm: enable tpm support

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agokern-tools: tools/kconf_check: modify grep pattern
Bruce Ashfield [Mon, 17 Dec 2018 03:38:28 +0000 (22:38 -0500)]
kern-tools: tools/kconf_check: modify grep pattern

Integrating the following kern tools patch:

    The cmd line, <grep '^[  ]*\(menu\)*config '>, can't
    match all expect config options.

    This is because that it is not always a single space after 'config'
    in kernel-source/*/.../Kconfig. e.g. "config IP_VS_IPV6" in
    net/netfilter/ipvs/Kconfig

    So we should change the cmd to grep '^[  ]*\(menu\)*config\s'.

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto/4.18: update to v4.18.21
Bruce Ashfield [Mon, 17 Dec 2018 03:38:27 +0000 (22:38 -0500)]
linux-yocto/4.18: update to v4.18.21

Integrating Paul Gortmaker's 4.18.x -stable queue that comprises the
following commits:

   7791d9ae24f8 Linux 4.18.21
   a80801badd68 libceph: fall back to sendmsg for slab pages
   fa1d15db0676 HID: Add quirk for Microsoft PIXART OEM mouse
   539bf8a221c2 HID: Add quirk for Primax PIXART OEM mice
   e5cfd0902404 HID: uhid: forbid UHID_CREATE under KERNEL_DS or elevated privileges
   c2d5a17480e1 ACPI / platform: Add SMB0001 HID to forbidden_id_list
   a6f05874e5e4 drivers/misc/sgi-gru: fix Spectre v1 vulnerability
   a2106abb1311 mtd: rawnand: atmel: fix OF child-node lookup
   852707bdc43c USB: misc: appledisplay: add 20" Apple Cinema Display
   025b1def8764 misc: atmel-ssc: Fix section annotation on atmel_ssc_get_driver_data
   9e7b23298a7e usb: quirks: Add delay-init quirk for Corsair K70 LUX RGB
   013de23dac1c USB: Wait for extra delay time after USB_PORT_FEAT_RESET for quirky hub
   3f514468061f USB: quirks: Add no-lpm quirk for Raydium touchscreens
   bbcc56d2f095 usb: cdc-acm: add entry for Hiro (Conexant) modem
   97e2f24e1a83 ALSA: hda/ca0132 - Call pci_iounmap() instead of iounmap()
   745bb5e7cfeb ALSA: hda/realtek - Add quirk entry for HP Pavilion 15
   1c6195c1d07e RISC-V: Fix raw_copy_{to,from}_user()
   58d333dec778 MIPS: OCTEON: cavium_octeon_defconfig: re-enable OCTEON USB driver
   574cddd586ad x86/ldt: Unmap PTEs for the slot before freeing LDT pages
   e5992ad333bb x86/ldt: Split out sanity check in map_ldt_struct()
   4fec0315cc99 x86/mm: Move LDT remap out of KASLR region on 5-level paging
   06e06217b513 x86/mm/doc: Enhance the x86-64 virtual memory layout descriptions
   afddf2bc08b8 x86/mm/doc: Clean up the x86-64 virtual memory layout descriptions
   251fe62f9fbd SUNRPC: drop pointless static qualifier in xdr_get_next_encode_buffer()
   39cc3a6bf7a4 kbuild: deb-pkg: fix too low build version number
   4cbf9bb5d870 net: aquantia: invalid checksumm offload implementation
   7efe7160032f net: aquantia: fixed enable unicast on 32 macvlan
   3dcebf4e0021 net: aquantia: fix potential IOMMU fault after driver unbind
   7ab68bbd45e5 net: stmmac: Fix RX packet size > 8191
   13cf931db889 qed: Fix potential memory corruption
   edc856a3748d qed: Fix SPQ entries not returned to pool in error flows
   85423a9f1925 qed: Fix blocking/unlimited SPQ entries leak
   98e7cd88b52b qed: Fix memory/entry leak in qed_init_sp_request()
   82f212b802a0 i40e: restore NETIF_F_GSO_IPXIP[46] to netdev features
   85f5e5f14d5a ice: Change req_speeds to be u16
   da1d12c17f9f ice: Fix the bytecount sent to netdev_tx_sent_queue
   2a7e71e87d96 ice: Fix dead device link issue with flow control
   14e275bde8d7 perf tools: Do not zero sample_id_all for group members
   76cc23113132 perf tools: Fix undefined symbol scnprintf in libperf-jvmti.so
   2d21e584e738 sched/core: Take the hotplug lock in sched_init_smp()
   2ada9a15c672 i2c: omap: Enable for ARCH_K3
   53d22ae3d66e nvme: make sure ns head inherits underlying device limits
   446c01fb4f92 ceph: quota: fix null pointer dereference in quota check
   9e10f7374c41 s390/perf: Change CPUM_CF return code in event init function
   9de8b1448395 drm/amd/amdgpu/dm: Fix dm_dp_create_fake_mst_encoder()
   f360a418cccb drm/amd/display: Drop reusing drm connector for MST
   7f7cef0bfc2f block: Clear kernel memory before copying to user
   f9e5bd7ff2eb drm/amd/display: Stop leaking planes
   4239764e6ba8 lib/raid6: Fix arm64 test build
   7c5fe0f1b003 mtd: nand: Fix nanddev_pos_next_page() kernel-doc header
   c3c978e03a0b clk: fixed-factor: fix of_node_get-put imbalance
   1e6a626e9a85 arm64: dts: renesas: r8a7795: add missing dma-names on hscif2
   8904df27645c Revert "drm/exynos/decon5433: implement frame counter"
   bc80947ec235 ARM: dts: fsl: Fix improperly quoted stdout-path values
   0256a4666ccc hwmon: (ibmpowernv) Remove bogus __init annotations
   7cce145bb0bc net: hns3: Fix for out-of-bounds access when setting pfc back pressure
   49ca763b85a3 s390/qeth: fix HiperSockets sniffer
   2a5adbb88317 netfilter: nft_compat: ebtables 'nat' table is normal chain type
   b1045a2ed7d0 netfilter: ipset: Fix calling ip_set() macro at dumping
   6339fe77369f netfilter: xt_IDLETIMER: add sysfs filename checking routine
   5f53cf58e657 netfilter: ipset: Correct rcu_dereference() call in ip_set_put_comment()
   ac802253a7f6 bpf: fix bpf_prog_get_info_by_fd to return 0 func_lens for unpriv
   38dd3dd00b30 s390/mm: Fix ERROR: "__node_distance" undefined!
   da97e4fe8be9 s390/mm: fix mis-accounting of pgtable_bytes
   8d30ef7ca397 netfilter: ipset: fix ip_set_list allocation failure
   61c4117c1a74 netfilter: ipset: actually allow allowable CIDR 0 in hash:net,port,net
   969721e7b329 netfilter: ipset: list:set: Decrease refcount synchronously on deletion and replace
   429746904248 Revert "netfilter: nft_numgen: add map lookups for numgen random operations"
   a5e3863ac044 netfilter: use PTR_ERR_OR_ZERO()
   0ae8e99ec8cd HID: alps: allow incoming reports when only the trackstick is opened
   15b457203750 Revert "HID: add NOGET quirk for Eaton Ellipse MAX UPS"
   b031d919f5a3 HID: i2c-hid: Add a small delay after sleep command for Raydium touchpanel
   6e7506e7ffa1 netfilter: ipv6: fix oops when defragmenting locally generated fragments
   ffe4bc3d6f34 netfilter: ipv6: nf_defrag: drop skb dst before queueing
   9b1f3e55b288 clk: ti: fix OF child-node lookup
   dd638be4185f clk: meson: clk-pll: drop CLK_GET_RATE_NOCACHE where unnecessary
   0d6b6e708bc7 arm64: percpu: Initialize ret in the default case
   bbc36472de49 platform/x86: acerhdf: Add BIOS entry for Gateway LT31 v1.3307
   1a256be39690 x86/earlyprintk: Add a force option for pciserial device
   f7554181a88f apparmor: Fix uninitialized value in aa_split_fqname
   012871d08c0d clk: samsung: exynos5420: Enable PERIS clocks for suspend
   064e571701ce fs/exofs: fix potential memory leak in mount option parsing
   831690c6459c perf symbols: Set PLT entry/header sizes properly on Sparc
   0f9ecdb3bd83 clk: fixed-rate: fix of_node_get-put imbalance
   ede1c4fcdde1 platform/x86: intel_telemetry: report debugfs failure
   ee66e4013b23 afs: Handle EIO from delivery function
   aef20e808b30 drm/edid: Add 6 bpc quirk for BOE panel.
   24bb4410cef8 um: Give start_idle_thread() a return code
   2d40d681ae35 perf unwind: Take pgoff into account when reporting elf to libdwfl
   cb3e550391e9 hfsplus: prevent btree data loss on root split
   fa5cc3040873 hfs: prevent btree data loss on root split
   ee916b4885a5 reiserfs: propagate errors from fill_with_dentries() properly
   ef40ee9ed9ae ixgbe: fix MAC anti-spoofing filter after VFLR
   c0fee8923e4f net: hns3: bugfix for the initialization of command queue's spin lock
   8d77763100a2 net: hns3: bugfix for handling mailbox while the command queue reinitialized
   2fb7315d2cf8 net: hns3: Prevent sending command during global or core reset
   ab0b26b06885 net: hns3: bugfix for rtnl_lock's range in the hclgevf_reset()
   cd72d052e2e0 block: brd: associate with queue until adding disk
   0d11623a80f2 arm64: kprobe: make page to RO mode when allocate it
   a52826b7b283 cifs: fix return value for cifs_listxattr
   875f9a25fe16 cifs: don't dereference smb_file_target before null check
   726e26c18837 usbnet: smsc95xx: disable carrier check while suspending
   1b02f8a0f99a net: smsc95xx: Fix MTU range
   43ec8ff9d9d1 mlxsw: spectrum: Fix IP2ME CPU policer configuration
   5084168f4ddb sctp: not increase stream's incnt before sending addstrm_in request
   2d3ba28f6872 net: phy: mdio-gpio: Fix working over slow can_sleep GPIOs
   fbe671bf4640 sctp: fix strchange_flags name for Stream Change Event
   1071eded0415 net: dsa: microchip: initialize mutex before use
   92df935ee5bd net: qualcomm: rmnet: Fix incorrect assignment of real_dev
   8524e5f23056 sctp: define SCTP_SS_DEFAULT for Stream schedulers
   839c08b2e53f net: phy: realtek: fix RTL8201F sysfs name
   511ac11522c8 net: dsa: mv88e6xxx: Fix clearing of stats counters
   4166d97c8114 net/mlx5e: IPoIB, Reset QP after channels are closed
   057174ecf7c3 net/mlx5: IPSec, Fix the SA context hash key
   776d3005c370 l2tp: fix a sock refcnt leak in l2tp_tunnel_register
   5b7d8593e89d inet: frags: better deal with smp races
   38cdb31946c1 net/mlx5e: Removed unnecessary warnings in FEC caps query
   0fa0336430a4 net/mlx5e: Fix selftest for small MTUs
   35f08cfda6e4 net/mlx5e: Always use the match level enum when parsing TC rule match
   81dff097d4f1 Revert "sctp: remove sctp_transport_pmtu_check"
   956f3384ec99 net/mlx5e: Adjust to max number of channles when re-attaching
   e717c85edd16 net/mlx5e: Claim TC hw offloads support only under a proper build config
   73965525b4a5 net: systemport: Protect stop from timeout
   0c6765847a3e tuntap: fix multiqueue rx
   1f1f1f9f5c04 tipc: fix lockdep warning when reinitilaizing sockets
   4882b7bfa4f4 tipc: don't assume linear buffer when reading ancillary data
   8ee89a1dba58 tg3: Add PHY reset for 5717/5719/5720 in change ring and flow control paths
   29939b28474d tcp: Fix SOF_TIMESTAMPING_RX_HARDWARE to use the latest timestamp during TCP coalescing
   2d02df9e00f6 sctp: not allow to set asoc prsctp_enable by sockopt
   f8079b5a352d net-gro: reset skb->pkt_type in napi_reuse_skb()
   893ebde4310f net: bcmgenet: protect stop from timeout
   d50e12a49aa0 ipv6: Fix PMTU updates for UDP/raw sockets in presence of VRF
   a72cc86b5f1b ipv6: fix a dst leak when removing its exception
   05b6cf8bd43b ip_tunnel: don't force DF when MTU is locked
   9de9dc5fac67 ibmvnic: fix accelerated VLAN handling
   67485ab94ea6 flow_dissector: do not dissect l4 ports for fragments

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>