]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
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.

(From OE-Core rev: e2f863e13d33b193b1b5b1ba08f574776a210ac1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 30a9dbc8a13928541ce6ff270801b8fd1c8af37e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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].

(From OE-Core rev: c4e0034cd1f020cfb074c7c80af281683752afeb)

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

(From OE-Core rev: fb79b109a9562a31faf42a62fd161e63ec43a231)

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

(From OE-Core rev: ccb638d4463caffb4319910f24acb9843ab751c6)

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

(From OE-Core rev: cb38ff242cf3e1a9cda726703bd12778bde38f93)

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

(From OE-Core rev: e0e6b80d76efbe044ce9b8923897195b28c2680c)

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

(From OE-Core rev: c5351163578a888270b08eec775e123c030dd7e5)

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

(From OE-Core rev: f8e109308ff964a8b2faaeabbc3cb9a581ff23c6)

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

(From OE-Core rev: 50691151e916b1cdb9291f0f0bd913f2f79acfcd)

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.

(From OE-Core rev: 27642449f95e38598f9c83948ce109c5891e5877)

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: cooker: fix indirect multiconfig dependencies
Alejandro Enedino Hernandez Samaniego [Fri, 28 Dec 2018 20:47:46 +0000 (12:47 -0800)] 
bitbake: cooker: fix indirect multiconfig dependencies

When an indirect multiconfig dependency exists, such as:

A depends on B, B has a multiconfig dependency to C,and our build
target is A, the multiconfig dependency to C is not processed on
time, hence no providers are added for it, causing an exception in
the runqueue because the dependency does exist in it.

Call add_unresolved() for all available multiconfigs before processing
providers for multiconfig dependencies, detecting mcdepends on time so
providers for them can be added correctly.

(Bitbake rev: 8a6bc7584ad61b4de98af92a86066602006262f9)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: bitbake-diffsigs: Support recursive deps with signature files
Peter Kjellerstedt [Fri, 28 Dec 2018 17:30:40 +0000 (18:30 +0100)] 
bitbake: bitbake-diffsigs: Support recursive deps with signature files

Follow dependent hash changes recursively also when specifying two
signature files explicitly. Previously this was only done when using the
--task option.

(Bitbake rev: 353f0f3c77c3cdd75c1be2a565234a5e53dba3ef)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: bitbake-diffsigs: Merge with bitbake-dumpsig
Peter Kjellerstedt [Fri, 28 Dec 2018 17:30:39 +0000 (18:30 +0100)] 
bitbake: bitbake-diffsigs: Merge with bitbake-dumpsig

The functionalities of bitbake-diffsigs and bitbake-dumpsig are so
similar that they can be merged into one. Add an option --dump to make
bitbake-diffsigs dump the last signature data instead of comparing it.
Keep bitbake-dumpsig as a symbolic link to bitbake-diffsigs. When it is
called as bitbake-dumpsig, it behaves as if --dump was specified.

Also make -D the short option for --debug again (the way it used to be,
and still was for bitbake-dumpsig), so that -d can be used as the short
option for --dump.

(Bitbake rev: 3635b829e4eb940ada2b52bfb5b5e5be93a3b0aa)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto: introduce 4.19 bbappend for genericx86 BSPs
Naveen Saini [Mon, 31 Dec 2018 01:33:10 +0000 (09:33 +0800)] 
linux-yocto: introduce 4.19 bbappend for genericx86 BSPs

And bump the kernel version to v4.19.8.

(From meta-yocto rev: 19f5a52f102f61dadb55a19f4643ba7da5e678c8)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto: update genericx86* SRCREV for 4.18
Naveen Saini [Mon, 31 Dec 2018 01:32:53 +0000 (09:32 +0800)] 
linux-yocto: update genericx86* SRCREV for 4.18

Bump kernel version to v4.18.21.

(From meta-yocto rev: 3e977e47d77d5b70ff9a918b1c3503ba2b03eeff)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
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)

(From OE-Core rev: e0db1beb6db624b3b743e780c298c63a1e177cfb)

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

(From OE-Core rev: 66ed6cd7e7bcce439f449c495a1ad25b1b0442d5)

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.

(From OE-Core rev: e7dc5963adbacc091fe8943119262166977623ad)

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

(From OE-Core rev: 2837266edbe097dcd9ff5fcdf29bb56f38bf564d)

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.)

(From OE-Core rev: 100d0d0f24cabedd1a89b69ac8ffb05d85663761)

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

(From OE-Core rev: 81ecfbb19ccb5b5241cfdd871d41459bda3dba4d)

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

(From OE-Core rev: 135e3ea7f8d4450daae933df907aa981d425fb9d)

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

(From OE-Core rev: dcdf62115c0e4baa5c12d6cd847163c884f9b97f)

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

(From OE-Core rev: 962fd61845f32a71319b351053896b79971c67b8)

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

(From OE-Core rev: 544af1339ed3b76d80450fc78aebac009648b389)

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

(From OE-Core rev: 894d2867275e72caac9181ea3b859d7595268f7f)

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

(From OE-Core rev: 2f34de99030ebf872e442cdbdb99f07617d8d45a)

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

(From OE-Core rev: 3dd19e9826c9844192127e2c35c3790e08a8bb40)

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.

(From OE-Core rev: c9447be6efc89b2d6259bcd4237af482d47b389f)

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

(From OE-Core rev: b7492f256cf755fbe76b4602b613311038bd56ee)

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

(From OE-Core rev: 7629e643ddec315e2312fdffcb730db69b9ee49a)

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.

(From OE-Core rev: 6cc5c57c38d2da37b4f15dea6e1fb97e3a0bae73)

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

(From OE-Core rev: 4ab782521e7e0a4dca0efd89679c89dc7e4165f6)

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]

(From OE-Core rev: 446e7da7e56f9de3602498b5ef40e9e0f8f71837)

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]

(From OE-Core rev: bb269bc8e507639dac5a90cce0d71c45216de5e4)

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

(From OE-Core rev: 5cb2b165cf89a307531e199248bc98fb51541521)

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.

(From OE-Core rev: 713d6978894269e5b463c3731c03da7e83956743)

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.

(From OE-Core rev: b0021e3d33ba0fb60a340d4553267b18d296b2be)

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

(From OE-Core rev: 05aeb9de239beff4bfdb3cd7dc39d484ecb69190)

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)

(From OE-Core rev: 870ba5d80e76e0f989971532fc2adc0ebe811ab6)

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

(From OE-Core rev: 503b977acf6984120818cbc5cfd35ff2cffb39cd)

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

(From OE-Core rev: badbeb01dd642d9d647d3760a3ce2aa39c3567da)

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.

(From OE-Core rev: a7fb921e16e2eb4fa5a799b556d23d79801720b0)

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomega-manual: Updates to support BitBake User Manual
Scott Rifenbark [Thu, 27 Dec 2018 00:07:14 +0000 (16:07 -0800)] 
mega-manual: Updates to support BitBake User Manual

Fixes [YOCTO #12399]

Fixes made to have the BitBake User Manual included in the build
of the mega-manual.  I placed this manual at the end of the
mega-manual.  Following changes made:

 * Makefile - Modified to include two PNG files.  All PNG files
              in a given manual are listed in the area that makes
              the mega-manual so that the tarfile is complete.

 * mega-manual.xml - Updated the front wording to tell the user
              that the BitBake User Manual is included in the
              Mega-Manual.  Also, added a last section to actually
              include the bitbake-title.png file and the *.xml
              files.  Note that I could not add the title figure
              from the same figures folder of the local "bitbake"
              folder.  Would not include in the build.  So, I
              pulled the file from the figures folder of the
              mega-manual, which is what I do for all the other
              book titles used in the mega-manual.

 * mega-manual.sed - Modified to clean out the old stuff that
              had been carried along for older books not
              supported for the release.  Modified to include
              link processing for the newly included BitBake
              User Manual.

 * New Figures - Moved copies of the "bb_multiconfig_files.png"
              and "bitbake-title.png" figures into the
              figures folder of the mega-manual.

(From yocto-docs rev: 78a1ae0ca92bb7f8a9d3a32a320299371d0ed361)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual, overview-manual: Fixed BitBake User Manual links
Scott Rifenbark [Thu, 27 Dec 2018 00:02:44 +0000 (16:02 -0800)] 
ref-manual, overview-manual: Fixed BitBake User Manual links

Some occurrences of links to the BitBake User Manual were using
a target (i.e. &YOCTO_DOCS_BB_URL;#bitbake-user-manual).  Using
this form causes the mega-manual.sed file to not process the link
correctly for the mega-manual.  These are subtle errors and have
probably existed for some time.  I removed the target ID to fix
the problem.

(From yocto-docs rev: 701f61fd80e5103ee02efbe5eed9a8607ac9a336)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.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.

(From OE-Core rev: caa776bdcf8ea34c857f45970370bf771075f4bc)

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

(From OE-Core rev: 550085bc092d773c8c481e238d0d3210466166dc)

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

(From OE-Core rev: 545b58b9169aad38ad6c180b1fa690f878d6781a)

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

(From OE-Core rev: d6fd2a4a0fb437c4752091edefd080efe5399ea9)

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

(From OE-Core rev: 389d956bdacee92125c0112a58991516b866a39b)

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

(From OE-Core rev: 2eae2d53df739acc2f89599a9296ccacbafebb60)

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

(From OE-Core rev: 7e1bb5822fc71bd040739aa0c6c6f3f3c5a1f60a)

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

(From OE-Core rev: 42176d26e5c893e86ab5d8a2e5b8a3d021e03a69)

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

(From OE-Core rev: ee23aa985f72932330b6cbee3693611d98ee325a)

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

(From OE-Core rev: af3e1bbcc615adfc1f915448afe9c794ad938522)

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

(From OE-Core rev: 93419fb569b827056a422614d3dc29cd41b2b6bb)

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.

(From OE-Core rev: b288f4e825a036b9cc15b27301d264fe695dba65)

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.

(From OE-Core rev: 19ac60adbfc9c3ea1896e7e0d83f3b33438c092b)

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

(From OE-Core rev: 74d3b4a199bfeae99dfbe6f23f1c3cb4bf76abff)

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.

(From OE-Core rev: da527d73f5eeae0f29b5f99aab757491d3f87ec7)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: bitbake-user-manual: Created unique tags for glossary variables.
Scott Rifenbark [Thu, 27 Dec 2018 00:22:32 +0000 (16:22 -0800)] 
bitbake: bitbake-user-manual: Created unique tags for glossary variables.

Fixes [YOCTO #12399]

The bug was to get the BitBake User Manual into the YP Mega-manual.
All the changes here create unique tags used with variables in the
BitBake Manual.  Prior to the fix, tags were identical between like
variables in the YP reference manual and the BitBake User Manual.
The reason for this is because when I created the BitBake manual's
glossary, it was a cut-and-paste operation to get the bulk of
the work started.  At the time, the BitBake User Manual was not
a part of the Mega-manual.  Once we decided to include the
BitBake User Manual as part of the Mega-Manual, building the
mega-manual produced warnings for all these duplicate links.

To fix, I have updated the variable tags in the BitBake User
Manual to use the following form:

   'var-bb-<variable_name>'

The tags used in the YP ref-manual follow this form (original):

   'var-<variable_name>'

(Bitbake rev: fb6de2057aae3fbdf37f007d2e47794b332020e1)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.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

(From OE-Core rev: 7bbc453ac2b8d63680855789948a145fc448017f)

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

(From OE-Core rev: 5d0307fbefbc8e6667edfa93d527166059a30100)

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

(From OE-Core rev: 5b2fd1c72407d3024512982685d8b1227c2631af)

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

(From OE-Core rev: fa47e2e65488dd03f94b1fefdeeb09f5e4a26373)

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

(From OE-Core rev: 9dc6fcd492d41d6a65a8f5ab562830ba9372937a)

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

(From OE-Core rev: 44539118ce29ba4fa916ab28ebf66e6fd5819738)

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.

(From OE-Core rev: 122217b421f749b5fef52bea44ad6e04bc8f8d3a)

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.

(From OE-Core rev: d84971928b68efddbdb6344b1021d998c9e26adb)

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.

(From OE-Core rev: 62b7308b8c4d2b439a15a4f7cbc6f823077bb0be)

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.

(From OE-Core rev: c5df105e7583e43da9b682f739bebaf873dcd2f4)

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

(From OE-Core rev: 94bece16c23c9ec8850fd497aea37e6a265da30a)

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.

(From OE-Core rev: 56d2493a9adfcc47ae7e265439e05ff42cdbbbbf)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: process: Rewrite multiple connection handling
Richard Purdie [Mon, 24 Dec 2018 16:34:32 +0000 (16:34 +0000)] 
bitbake: process: Rewrite multiple connection handling

If the bitbake server recieved multiple connections, it currently closes
ones it can't handle (while its dealing with another). This is rather
antisocial behaviour which causes clients to quickly run through their
retries and abort.

Instead, queue any other connections until the current one is closed. This
way the client can decide when it wants to stop waiting for the server. If the
client is gone by the time we handle it, we handle that gracefully.

This also fixes a number of bugs in the connection handling where connections
which did drop early were badly handled causing tracebacks in the logs.

Also, handle queue incomming connections in a loop to ensure that the main
client handling doesn't starve that piece of the system.

This code was stress tested by running 50 connection attempts in parallel at
once, ensuring the code correctly handled them.

(Bitbake rev: 02845a561b38658ac3edf5cc9c34625ed860d34f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: process: Handle EWOULDBLOCK in socket connect
Richard Purdie [Mon, 24 Dec 2018 16:32:18 +0000 (16:32 +0000)] 
bitbake: process: Handle EWOULDBLOCK in socket connect

Now that we set a timeout for the socket, it can return EWOULDBLOCK
if a signal or other event happens to wake up even if we don't timeout.

If this happens, retry the connection, else we simply see it quickly
loop through the retries and abort the connection in a very short
interval.

(Bitbake rev: d5b0a9a302ac0eafa4f797ac15ea77db87e82b3c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: main: When retrying the connection, show the attempt number
Richard Purdie [Mon, 24 Dec 2018 16:30:01 +0000 (16:30 +0000)] 
bitbake: main: When retrying the connection, show the attempt number

The current bitbake output makes it hard to know which retry is being
attempted. Add this information to the output to make it clearer.

(Bitbake rev: 0774e6e03d27adb7aca6fa9c47ab6ad426c937de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: process.py: Set socket timeout to 10 seconds
Richard Purdie [Mon, 24 Dec 2018 16:27:44 +0000 (16:27 +0000)] 
bitbake: process.py: Set socket timeout to 10 seconds

The current value of 2 seconds has shown to be short in
wider testing.

(Bitbake rev: 8a1f2fcf35d61d83bbafa8fa3ae215fd5f51728b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: tests/persist_data: Add tests
Joshua Watt [Wed, 19 Dec 2018 03:10:26 +0000 (21:10 -0600)] 
bitbake: tests/persist_data: Add tests

Adds a test suite for testing the persistent data cache

[YOCTO #13030]

(Bitbake rev: 96a4155049e834af17069d981cc2215e50d18c1a)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.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

(From OE-Core rev: 95659bed3f6f3216b346f70cfc9ffae9788c0fc1)

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

(From OE-Core rev: 085530e8fff016d7cadcae4a769a82cddf9e6695)

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/

(From OE-Core rev: 673c2dcf1045f7264570f81e2880d7a03befd2af)

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.

(From OE-Core rev: 099aecfaa3baf6b24c2b751da92d7d2fa0266bf9)

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.

(From OE-Core rev: 6574bb752335ce48b873d17b24496bfb669bfefe)

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

(From OE-Core rev: 8286e9d79dde1c951e92ac1c55bbf0b9798d9dbf)

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.

(From OE-Core rev: a33170ff9a7abc5689e266e093069fd716c62622)

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

(From OE-Core rev: 6a10ff0bcd6e00660a419ca535239af55e30d5aa)

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

(From OE-Core rev: dd2c4d9d85e70abacfa70fbe9281f393452875ea)

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.

(From OE-Core rev: 0860216a81092fba084d29696db6d0c65a226c85)

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.

(From OE-Core rev: d2fcaeb153fdc3f8d7143ea823139f1537055ff1)

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.

(From OE-Core rev: 4455c46bf7f49c2b44f250aa89b63b342368e2e3)

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

(From OE-Core rev: fa6bae80bc3392bf99ce53bbe19a0e05dbd0c4ee)

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

(From OE-Core rev: 6d6788a3ea45d9693743d9b3319fb0368a4d5d33)

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

(From OE-Core rev: 1ee90ec89a8c2d0b639f76090c5f3da0c420d3a7)

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

(From OE-Core rev: 547174fc834273af67a2f7e50a3cf6c8e3b900f4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto-4.14: Drop bbappend
Richard Purdie [Mon, 17 Dec 2018 09:15:34 +0000 (09:15 +0000)] 
linux-yocto-4.14: Drop bbappend

(From meta-yocto rev: 5ec7bf02e21fd4137721184af41e1836b4a883ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopoky-lsb: bump preferred kernel to 4.19
Bruce Ashfield [Mon, 17 Dec 2018 03:41:50 +0000 (22:41 -0500)] 
poky-lsb: bump preferred kernel to 4.19

(From meta-yocto rev: a612e5de9a6dbe08bb48ed5bd0cc3aa60a1954e7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.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).

(From OE-Core rev: 14c291e1fb6324da46885b69fbd7f01b3c6b053e)

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.

(From OE-Core rev: 6e2a488f01e5e8bc6f06b6fac1d336bf5372a82b)

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

(From OE-Core rev: 83d0049bb406e09251b368dba9478be71fe2b0a8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>