Commit Graph

62679 Commits

Author SHA1 Message Date
Ross Burton
e15e97bdcf tcl: detect tests that error as well as fail
The grep was only looking for tests which explicitly fail, and wasn't
catching tests that error.

(From OE-Core rev: 25f198e03e2cc3e969d704b7a56e207933fc0ffc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
34d9ae6d3e tcl: remove redundant file creation
The creation of compat/fixstrtod.c was done back in 2005[1] with no
explanation and has persisted since.  I can't seem to break the build
without this, so it is presumably long obsolete.

[1] https://git.openembedded.org/openembedded/commit/?id=68d6601e8f93243347b58324ce3d4f02eb3a84a9

(From OE-Core rev: ebd76c5d2afdf2da2d2b35946069122545b69ed3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
49474b8edd tcl: use AUTOTOOLS_SCRIPT_PATH
Inside tcl the configure.ac is inside a unix/ directory.  Instead of
setting S to BPNPV/unix and having to use ../ to reach files outside of
unix, simply set S as usual and use AUTOTOOLS_SCRIPT_PATH to run the
correct configure script.

(From OE-Core rev: 40516f7db7c29d956038fc74dc7d8c3a7b62325a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
4b016a2d47 tcl: use tcl-core instead of patching out packages
Instead of patching out the build of optional packages, we can just use
the tcl-core tarball which is identical except it doesn't include the
packages.

(From OE-Core rev: fed52484e60cbaaa19c30959bdbf70c9bdd4d39b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
21833194c9 tcl: mark a patch as upstreamable
No reason this shouldn't be fixed upstream.

(From OE-Core rev: 9fff7f5fdd4189fb977ea4e299d8bd5c42e5ba02)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
67fc565899 tcl: EXTRA_OECONF already passes --libdir, don't do it again
(From OE-Core rev: 1547358bad580dbb3ad4aec9311eccc1eab87f2e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
d611f59732 tcl: suffix all Tcl man pages instead of using alternatives
Both Perl and Tcl want to install Thread.3.  Alternatives is a terrible
idea for manpages that don't correspond to binaries, instead just tell
Tcl to suffix the manpages so this is Thread.3tcl.

(From OE-Core rev: 78e9e7c48e673cab8580f00efb08f5d8783b5927)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Adam Romanek
5dce2f3da2 bitbake: fetch2/s3: allow to use credentials from environment variables
Previously access to AWS S3 was expected to be preconfigured and
credentials to be stored in ~/.aws/credentials. With this change
one can use Bitbake s3 fetcher without AWS credentials stored
permanently as above, just with them exported as the following
environment variables:
 - AWS_ACCESS_KEY_ID,
 - AWS_SECRET_ACCESS_KEY.
 - AWS_DEFAULT_REGION.

(Bitbake rev: 01825699044c42e87e485e6c64cc1dd9b6f87f48)

Signed-off-by: Adam Romanek <romanek.adam@gmail.com>
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-11 23:01:25 +01:00
Richard Purdie
9b4c0035d4 oeqa/qemurunner: Handle files no longer existing gracefully
Files in /proc/xxx/map_files/ may no longer exist, just ignore this rather than
raising an exception.

(From OE-Core rev: fb1027896a263cd91e2378a4e97dbdf0807b306b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-11 23:00:52 +01:00
Richard Purdie
7f9f9a0c37 sstate: Drop pseudo exclusion
Now that pseudo-native always includes statx support and we have sanity
checks on pseudo-native to ensure it always contains a minimum feature set,
we no longer need to mark pseudo-native as distro specific. This fixes
eSDK build problems.

[YOCTO #14428]

(From OE-Core rev: 3279e43fcb469edb63c7c4eb60fdc565d5751f9d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-11 23:00:52 +01:00
Richard Purdie
fcc5db6991 pseudo: Update to latest version including statx fix
This updates to the latest pseudo version which includes:

 Revert "client: Fix some compiler warnings"
 ports/linux: Always build statx support
 makewrappers: Handle parameters marked as nonnull
 client: Fix some compiler warnings
 wrappers: Avoid -Wcast-function-type warning

In particular, this pseudo version always has statx enabled which means
we can then remove the need to make pseudo-native host distro specific
which fixes an eSDK issue.

(From OE-Core rev: 58cc70940ff998be49a9b89e1ad0538242cb7998)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-11 23:00:52 +01:00
Richard Purdie
54e8f89ef0 pseudo: Add uninative configuration sanity check
When building pseudo-native to work with uninative, we need to ensure the
configuration will work on all supported target systems. This means
"new clone" semantics, xattr and statvfs support in particular. It is
extremely unlikely we'd run on a system without any of these but add
a check just to be sure when uninative is enabled.

(From OE-Core rev: ea5b208ee25752bea6037cd0f3b28da7d2c9905e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-11 23:00:52 +01:00
Patrick Williams
aa26842ec3 docs: remove image-mklibs references
The image-mklibs bbclass was removed from OE-Core with
commit 908df863b419d1cad7317153101fc827e7e3a354 and
corresponding changes to local.conf.sample were made
in meta-yocto with c8c8f284eb2abe7e1352850a885454487cc01986.

Remove all references to image-mklibs from the documentation
as it is no longer supported.

(From yocto-docs rev: f45b378eb2cb08c173620cffb17cbcc8b402da0d)

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 23:39:18 +01:00
Denys Dmytriyenko
6b25d75ca8 bitbake: providers: replace newly added logger.warn() with logger.warning()
Commits https://git.openembedded.org/bitbake/commit/?id=78cd63285713fde59506eb2e71a7b7ee59a594ff
and https://git.openembedded.org/bitbake/commit/?id=5cbf6d95fc1009e78e7d0745a49e0bf418b37abb
added few calls to logger.warn(), which is deprecated and instead
should use logger.warning():

https://lists.openembedded.org/g/bitbake-devel/topic/82742194#12377

(Bitbake rev: a28ba2d31cd3aa557d4977e9376c5d01cd863e9a)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 23:11:33 +01:00
Richard Purdie
0c39b42cb1 report-error: Drop pointless inherit
The base class is always inherited, drop the unneeded inherit.

(From OE-Core rev: 837d62c066589e5a12a0bf894ae7b24e8b048665)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:43:41 +01:00
Adam Romanek
6cd8032e35 bitbake: fetch/git: run gc in foreground to avoid race with tar
It looks like git gc can interrupts the package creation when
BB_GENERATE_MIRRORS_TARBALL is in use.

Log excerpts:

tar -czf TOPDIR/../downloads/git2_bitbucket.name-hidden.git.tar.gz . failed with exit code 1, output:
tar: ./objects/pack/pack-89a1d76f6c08f53172ef1d02ff851d90564362c4.pack: file changed as we read it
tar: ./objects/pack/pack-b4a48ada355d333630fdf6b4f67205b7c264dc2c.idx: File removed before we read it

Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.

(Bitbake rev: a8d8cb847063862d1a7998963dd8b767ff73d877)

Signed-off-by: Adam Romanek <romanek.adam@gmail.com>
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:43:41 +01:00
Tim Orling
7c1d50772d at-spi2-core: upgrade 2.40.2 -> 2.40.3
What's new in at-spi2-core 2.40.3:

* Use abstract sockets if libdbus is older than 1.12.0 (#37).

References:
https://gitlab.gnome.org/GNOME/at-spi2-core/-/issues/37

(From OE-Core rev: 8e8cc9fa09b3ee1faed19d18ecf61dd06ae8c620)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:42:22 +01:00
Sakib Sajal
7c5fd8006f oe-time-dd-test.sh: add options and refactor
Options:
-c | --count <amount>           dd (transfer) <amount> KiB of data within specified timeout to detect latency.
                                Must enable -t option.
-t | --timeout <time>           timeout in seconds for the <count> amount of data to be transferred.
-l | --log-only                 run the commands without performing the data transfer.
-h | --help                     show help

(From OE-Core rev: 302bc6c99226a4d050e4e454afc461a25e127632)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:42:22 +01:00
Sakib Sajal
8ce9e8b268 buildstats.bbclass: log host data on failure to task specific file
host data, for both interval and failure, was previously
logged into the same file which was difficult to read
as the files file were usually large.

host data is now logged into separate files, for each
type of logging (failure and interval) and also for each
failed task making it easier to read/parse.

(From OE-Core rev: 1a0fb3c0794f4e66086e567a297b4d9379c6b8f3)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:42:22 +01:00
Marek Vasut
4044633351 update-rc.d: update SRCREV to pull in fix for non-bash shell support
This pulls in non-bash shell fix for enable/disable command, upstream
commit 8636cf4 ("update-rc.d: Fix enable/disable command"). This way
update-rc.d works with e.g. dash shell again.

(From OE-Core rev: f697332a3a753898183d7c5d2965dd75db9b0a24)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Changqing Li <changqing.li@windriver.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:42:22 +01:00
Ross Burton
1d452b2c09 parted: improve ptest execution
Delete the right log files in run-ptest so the tests can be executed
more than once.

Install config.h so the tests which examine the build configuration will
do the right thing, specifically this causes the tests using libblkid to
execute instead of skip.

Add missing RDEPENDS: mkswap and tune2fs binaries, loop and vfat kernel
modules.

(From OE-Core rev: 43bd50cbf902ce92ea613d142fae2524011b8f55)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:42:22 +01:00
Khem Raj
e81bef685f util-linux: Disable chfn-chsh on non-target builds
They are also provided by shadow-native e.g. when building native
recipes and packages where they depend on both shadow-native and
util-linux-native, this can conflict

Enable it only when pam is enabled in distro

Fixes
ERROR: systemd-1_248.3-r0 do_prepare_recipe_sysroot: The file /usr/bin/chsh is installed by both util-linux-native and shadow-native, aborting

(From OE-Core rev: 336625fe433100fb57ea0dda4d9ff5fcb835dc95)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:42:22 +01:00
Khem Raj
8c2ac7f984 gnome-desktop-testing: Fix non-literal format string warning
This fixes build with clang

(From OE-Core rev: 2b931f8539f73b35d879e3b5993b813394d80d74)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:42:22 +01:00
Khem Raj
fb1758abef glib-2.0: Fix signature of close_range
glibc 2.34 provides this function which exposes a latest issue w.r.t.
function parameters

(From OE-Core rev: 534287a00b7e4d74f0dbab0524738a77801682ee)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:42:22 +01:00
Marek Vasut
d35902dda4 pulseaudio: Drop pulseaudio-conf
The pulseaudio.inc currently contains these two assignments:
  FILES_${PN}-conf = "${sysconfdir}"
  FILES_${PN}-server = "... ${sysconfdir} ..."
This results in pulseaudio-server shipping the configuration
in /etc/pulse/ , and based on CONFFILES_${PN}-server and co.,
this is how it was intended to work.

However, that also means FILES_${PN}-conf is not useful. In fact,
FILES_${PN}-conf is likely meant for MACHINE specific configuration,
which would better be packaged in separate recipe like e.g. systemd
does in systemd-conf_%.bb . Better yet, such pulseaudio-conf_%.bb
could ship MACHINE specific configuration overrides, which according
to pulse-daemon.conf(5) are picked from /etc/pulse/daemon.conf.d ,
while pulseaudio-server would ship the default configuration files.

Remove FILES_${PN}-conf .

(From OE-Core rev: a83aac8b7717aac48dbb8f6803a015c0098e6d31)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tanu Kaskinen <tanuk@iki.fi>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-09 23:44:53 +01:00
Changqing Li
fc4ddb28fd boost-build-native: workaround one rarely hang problem on fedora34
Reproduce scenes:
* On fedora34
* autofs.service is started
* test is nis user, which mounted at /nis by autofs
* under /nis/test, there are symlinks point to another nis mount point /nis/yan

Result:
task boost-build-native:do_install hang forever

NOTE: recipe ovmf-edk2-stable202102-r0: task do_package_write_rpm: Succeeded
NOTE: Running noexec task 8124 of 8152 (/layers/oe-core/meta/recipes-core/ovmf/ovmf_git.bb:do_build)
Bitbake still alive (5000s)
Bitbake still alive (10000s)
Bitbake still alive (15000s)
Bitbake still alive (20000s)
Bitbake still alive (25000s)
Bitbake still alive (30000s)
Bitbake still alive (35000s)
Bitbake still alive (40000s)
Bitbake still alive (45000s)
Bitbake still alive (50000s)

$ps aux | grep b2
test 2773444 0.0 0.0 13532 2748 ? D Jul01 0:00 ./b2 install --prefix=/build/tmp-glibc/work/x86_64-linux/boost-build-native/4.4.1-r0/recipe-sysroot-native/usr staging-prefix=/build/tmp-glibc/work/x86_64-linux/boost-build-native/4.4.1-r0/image/build/tmp-glibc/work/x86_64-linux/boost-build-native/4.4.1-r0/recipe-sysroot-native/usr

$ sudo cat /proc/2773444/stack
[<0>] autofs_wait+0x257/0x720
[<0>] autofs_mount_wait+0x49/0xf0
[<0>] autofs_d_manage+0x76/0x1a0
[<0>] __traverse_mounts+0xd9/0x220
[<0>] step_into+0x3ad/0x6d0
[<0>] walk_component+0x62/0x190
[<0>] link_path_walk.part.0.constprop.0+0x20d/0x350
[<0>] path_lookupat+0x3a/0x1b0
[<0>] filename_lookup+0x9b/0x180
[<0>] vfs_statx+0x64/0x100
[<0>] __do_sys_newfstatat+0x1e/0x40
[<0>] do_syscall_64+0x33/0x40
[<0>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

$ dmesg
[1559743.424610] autofs4:pid:2773444:autofs_mount_wait: waiting for mount name=yan
[1559743.424621] autofs4:pid:2773444:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1
[1560001.400440] autofs4:pid:2774530:autofs_mount_wait: waiting for mount name=yan
[1560001.400452] autofs4:pid:2774530:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1
[1560022.493282] autofs4:pid:2774537:autofs_mount_wait: waiting for mount name=yan
[1560022.493292] autofs4:pid:2774537:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1
[1560122.076589] autofs4:pid:3979116:autofs_mount_wait: mount wait done status=-4
[1560162.222374] autofs4:pid:2774530:autofs_mount_wait: mount wait done status=-4
[1560167.116188] autofs4:pid:2774537:autofs_mount_wait: mount wait done status=-4
[1560188.140532] autofs4:pid:2774671:autofs_mount_wait: waiting for mount name=yan
[1560188.140540] autofs4:pid:2774671:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1
[1560189.651905] autofs4:pid:2774671:autofs_mount_wait: mount wait done status=-4

Analyzation:
b2 will walk the HOME dir, when access the symlink point to /nis/yan,
autofs hang at autofs_wait.  the process stay at D stat forever. This
maybe caused by abnormal status of autofs.service. The problem cannot
reproduce after restart autofs.service. There should be an autofs bug.
and there is an autofs hang problem bug on fedora34 on it's bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1953390

Workaround:
Since b2 don't actually write something to HOME dir, change HOME dir to
/var/run, a dir not mounted by autofs.

(From OE-Core rev: 7ff692d2e9787bb5b36929a208597595473db0c7)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-09 23:44:53 +01:00
zhengruoqin
1d51d764ff python3-pathlib2: upgrade 2.3.5 -> 2.3.6
License-Update: file format changed from "ASCII text" to
"ASCII text, with CRLF line terminators"

Version 2.3.6
^^^^^^^^^^^^^

- Fix minor unicode bugs in with_name and with_suffix. Many thanks to
  ppentchev for reporting and for providing a fix.

- Fix a few minor bugs.

- Allow unicode file paths on systems that support it
  (note: unicode file paths will not work on Windows
  due a broken filesystem encoder on Windows on Python 2).

- Remove travis and add github actions for regression testing.

- Fix mypy warnings.

(From OE-Core rev: 8d04a6c01bf367eb1cb88fd34768a024c369216a)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-09 23:44:53 +01:00
wangmy
a8c9c74e7c u-boot: upgrade 2021.04 -> 2021.07
(Changes of v2021.07)

Processed 1730 csets from 187 developers
29 employers found
A total of 402449 lines added, 82710 removed (delta 319739)

(From OE-Core rev: df987d673c933c1040a86a863d00387df7c550cc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-09 23:44:53 +01:00
Richard Purdie
6491203eba license: Drop adding RRECOMMENDS for license packages
This changes behaviour when LICENSE_CREATE_PACKAGE is in use. Packages
no longer have RRECOMMENDS adding to them.

It was highlighted that this doesn't apply to PACKAGES_DYNAMIC, nor can
it easily be made to do so. There is also a much easier way to handle this
which is:

IMAGE_INSTALL_COMPLEMENTARY += "*-lic"

which works on a per image basis and doesn't change the underlying
package dependencies. I propose we switch to this instead.

(From OE-Core rev: 5348ffce46d6706b7bb10e41a59e0f6cf16c62b0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-09 23:44:53 +01:00
Ross Burton
5e6b411198 oeqa/selftest/recipetool: update socat version to fix failing download
If the recipetool tests are run with an empty DL_DIR the fetch of
socat 1.7.3.0 fails as that URL doesn't exist anymore.

Update the version to 1.7.4.1 to fix the test.

(From OE-Core rev: 42ebda0c85f14f9f8a508f59115b141d645d4c77)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
wangmy
942da997e8 python3-importlib-metadata: upgrade 4.6.0 -> 4.6.1
v4.6.1
======

* #327: Deprecation warnings now honor call stack variance
  on PyPy.

(From OE-Core rev: 5a09610d7b7a631f4cac41ab4325f3ed77c68a50)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
wangmy
3db268aab0 gnome-desktop-testing: upgrade 2018.1 -> 2021.1
(From OE-Core rev: 4956b802f528713c2e59139b27b5baffde2a344d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
wangmy
bc863f9396 vulkan-tools: upgrade 1.2.176 -> 1.2.182
build: Update to header 1.2.182
- Update known-good
- Add support for printing `int64_t` in `scripts/vulkaninfo_generator.py`
- Disable codegen for VK_HUAWEI_subpass_shading
  KhronosGroup/Vulkan-Docs#1564
- Generate source

(From OE-Core rev: 2c6888550112341346e160a61bf0392ce95b1f2e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
wangmy
8dfb92a328 vulkan-loader: upgrade 1.2.176 -> 1.2.182
build: Update to header 1.2.182
- Update known-good
- Disable codegen for VK_HUAWEI_subpass_shading
  KhronosGroup/Vulkan-Docs#1564
- Generate source

(From OE-Core rev: 446e2698f5f9c8a652f94b8cc4942ef76edc8d71)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
wangmy
c68319121c vulkan-headers: upgrade 1.2.176 -> 1.2.182
Add reference to multiple Hpp headers added to this repository

(From OE-Core rev: 1255290a8091e7a1127787e58d129d53d54b4862)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
Alexander Kanavin
08b30a33bd xwayland: exclude development snapshots from upstream version checks
(From OE-Core rev: d31fa2a23997f656cd7459d682df8ab82f549267)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
Alexander Kanavin
a0b78a6d4d xserver-xorg: exclude development snapshots from upstream version checks
Standalone X is still winding down; there's no commitment or plan for a proper release.
https://lists.freedesktop.org/archives/xorg/2021-July/060726.html

(From OE-Core rev: e510fbd61648bd6083e4ff009b3983014cfc0aba)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
Ross Burton
486a35a674 glib-2.0: fix g-file-into modification time test
The GFileInfo modification time test assumed that the difference between
a modification timestamp in seconds and in microseconds must be greater
than 0.

Mathmatically, there's a one-in-a-million chance that it will be 0.  It
turns out that one-in-a-million chances happen approximately once every
fortnight on the autobuilder.

[ YOCTO 14373 ]

(From OE-Core rev: 7d2bd897fdbcf5215bf2287cb96eb6b58803f08c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
Richard Purdie
287745a09d glibc-testsuite: Fix build failures when directly running recipe
If you try and run the glibc-testsuite's build task, you see failures
as do_populate_sysroot can't work. We don't have a do_install, get
rid of do_populate_sysroot as well.

The recipe is not included in world builds by default which is why
we don't see the issue more widely.

(From OE-Core rev: f7de32dfcc2e6b1872fbd5ea61dcba944d5553a8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
Richard Purdie
a16d7d2ec6 runqemu: Remove potential lock races around tap device handling
The qemu tap device handling is potentially race ridden. We pass the
fd to the main qemu subprocess which is good as it means the lock is held
as long as the qemu process exists. This means we shouldn't unlock it
ourselves though, only close the file. We also can't delete the file
as we have no idea if qemu is still using it. We could try and obtain
an exclusive new lock, then the file would be safe to unlink but it
doesn't seem worth it.

Also fix the same issue in the port lock code.

(From OE-Core rev: 2a87bddabf816d09ec801e33972879e6983627eb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
Andreas Müller
bdc5f4e892 pango: upgrade 1.48.5 -> 1.48.7
Overview of changes in 1.48.7
=============================
- Fix a thread-safety issue in fontmap initialization
- Small documentation improvements

Overview of changes in 1.48.6
=============================
- Avoid attribute index overflow
- Add a new pango-segmentation utility
- Documentation cleanups and fixes
- Update script property data for gravity
- Bring back careful glyph position rounding
- Add a few missing bidi types
- Add more tests

(From OE-Core rev: 2abb5fd026bb6f1df504a025702c32eefb13b8bb)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Andreas Müller
ffb71c8f69 mesa: upgrade 21.1.3 -> 21.1.4
Bug fixes
    * [anv] GravityMark (benchmark) crashes on ANV
    * [opengl] We happy few not being rendered correctly
    * Factorio: GPU hang when opening machine inventory
    * RuneScape on Mesa 21.1.1 (VEGA10) has bad performance and leaks memory
    * Supraland: flickering black bars on ground
    * radv: GPU hang in Cyberpunk 2077 on Big Navi
    * [amdgpu][renoir][rx5500m]: [drm:0xffffffff8198ad5e] *ERROR* ring gfx timeout, signaled seq=10952, emitted seq=10954
    * [spirv-fuzz] SPIR-V parsing FAILED: Invalid back or cross-edge in the CFG
    * panfrost Mount and Blade: Warband (glitches)
    * anv: dEQP-VK.robustness.robustness2*no_fmt_qual.null_descriptor.samples* fail

Changes
    * util/fossilize_db: Pull seek into lock.
    * util/fossilize_db: Split out reading the index.
    * util/fossilize_db: Do not lock the fossilize db permanently.
    * spirv: Fix handling of OpBranchConditional with same THEN and ELSE
    * nir/opt_if: Don’t split ALU for single block infinite loops
    * llvmpipe: Add handle export for resource_get_param
    * i965: fix regression in pipe control on g45
    * pick_status.json: Update to 977355c6e5efd781dde85d834172dd23cd4852f1
    * pick_status.json: Update to 40b67a292297606f0a7576e3ef4087028d5edd17
    * zink: do not unmap dt-buffers twice
    * zink: drop repeated usage-bit
    * zink: do not check buffer-format for usage-bits
    * zink: remove unused moltenvk functions
    * libgl-gdi: add missing include
    * aux/trace: fix bool argument
    * ci/windows: work around meson encoding issues
    * intel/fs: Teach IR about EOT instruction writing the accumulator implicitly on TGL+.
    * intel/fs: Fix synchronization of accumulator-clearing W/A move on TGL+.
    * pan/mdg: Add a bundle ID to instructions
    * pan/mdg: Reorder some code in mir_spill_register
    * pan/mdg: Fill from TLS before spilling non-SSA nodes
    * pan/mdg: Fix reading a spilt register in the bundle it’s written
    * pan/mdg: Add 16 bytes of padding to the end of shaders
    * intel/nir: Fix txs for null surfaces
    * spirv: Create acceleration structure and shader record variables
    * nv50/ir: fix surface lowering when values get shared accross operations
    * anv: Fix dynamic primitive topology for tess on Gfx7.x too
    * anv: allocate bigger batches as we grow command buffers
    * mesa: unreference zombie buffers when creating buffers to lower memory usage
    * compiler/glsl: Use mutex lock while freeing up mem_ctx
    * anv: fix dynamic primitive topology for tess
    * zink: handle custom border color without matching wrap mode case
    * radeonsi: skip instance_count==0 draws on <= GFX9
    * radeonsi: disable ngg culling on llvm < 12
    * radv: reject binding buffer/image when the device memory is too small
    * radv: always decompress both aspects of a depth/stencil image
    * amd/addrlib: remove Meson debug message()
    * radeon/vcn/enc: Add missing line to HEVC SPS header code
    * util: add work around for the game We Happy Few
    * ac/nir: Update TCS output barriers with nir_var_mem_shared.
    * radv/llvm: Emit s_barrier at the beginning of NGG non-GS shaders.
    * aco/gfx10: NGG zero output workaround for conservative rasterization.
    * aco/gfx10: Emit barrier at the start of NGG VS and TES.

(From OE-Core rev: b6fbe138f4d359fb5ed5fb0968f6be8f04f8eca6)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Andreas Müller
e1eb2da668 libdrm: upgrade 2.4.106 -> 2.4.107
(From OE-Core rev: 0f913cd6bf8cab67e55cd17c5998bc2459abea30)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Ross Burton
493d1abff7 util-linux: rewrite the ptest integration
Instead of duplicating logic, we can use the run.sh that the test suite
installs.

Unless told otherwise, the util-linux test suite assumes that it is
running in a build tree and looks for binaries to run, but we're on
target so pass --use-system-commands (drops ~180 skips to tens).

Add --show-diff so that debugging can be done from the logs alone.

Remove redundant path manipulation that is now done upstream.

If PAM is disabled, delete the chfn test: it will run the chfn from
shadow which has different output, and the test will fail.

[ YOCTO #14244 ]

(From OE-Core rev: 720660b936b5523ec48a7c04712d10c88198e12c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Ross Burton
c1fea579f0 util-linux: backport test suite fixes
Backport a number of fixes so the test suite passes.

(From OE-Core rev: 398b9dab8675829f3428a4f00bffcf84525e0a46)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Ross Burton
ebaf733a70 util-linux: add missing ptest dependencies
The kernel modules loop and sd-mod are needed for the block device tests.

GNU find is used in some tests.

(From OE-Core rev: 9350c391f11bf7587fe46a54c93dc6e4bf3b51db)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Ross Burton
31d2e2ef9f util-linux: build chfn and chsh
As we now split util-linux per-binary there's no disadvantage to not
building chfn and chsh.

This also means that the tests pass instead of failing when the test
uses the binaries from shadow.

(From OE-Core rev: 804c6b5bd3d398d5ea2a45d6bcc23c76e328ea3f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Ross Burton
1ffaa2533e shadow: generate alternative links for chfn and chsh
These can be provided by util-linux, so add alternative links for them.

(From OE-Core rev: 953a91bd258dcb825df3837635ce7561331c049e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Mingli Yu
eefa206741 perl: correct libpth and glibpth
Previouly there is a logic as below used to set libpth in config.sh.
libpth='@LIBDIR@ @BASELIBDIR@'

But after the below commits introduced, the above logic is dropped.
52f2828314 perl: add a version that builds the recipe using perl-cross, and update to 5.28.1
68552c3532 perl: remove the previous version of the recipe

So correct the value of libpth and glibpth to add the dropped logic
back to avoid confusing.

Before the patch(on 64bits system):
 # perl -V:libpth
 libpth='/usr/lib /lib';

After the patch(on 64bits system):
 # perl -V:libpth
 libpth='/usr/lib64 /lib64';

(From OE-Core rev: a494de43c3ccdcf7af988765ae5c3a95bc20c567)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Tim Orling
6c3048f4ac python3-zipp: upgrade 3.4.1 -> 3.5.0
v3.5.0
Issue 74 and bpo-44095: Added .suffix, .suffixes, and .stem properties.

References:
https://github.com/jaraco/zipp/issues/74
https://bugs.python.org/issue44095
https://github.com/python/cpython/pull/26129

(From OE-Core rev: 4978f40eb91ec6d76c61d5e0d1e4a98d0d5bb2f7)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00