]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/log
thirdparty/openembedded/openembedded-core.git
2 years agolibslirp: add recipe to continue slirp support in qemu
Alexander Kanavin [Sat, 24 Dec 2022 16:59:42 +0000 (17:59 +0100)] 
libslirp: add recipe to continue slirp support in qemu

qemu 7.2 no longer carries libslirp in-tree, and so
it has to be provided externally.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-native: further tweak to sysconfig.py to find python includes correctly
Alexander Kanavin [Sat, 24 Dec 2022 16:59:40 +0000 (17:59 +0100)] 
python3-native: further tweak to sysconfig.py to find python includes correctly

Without this, sysconfig would report the target location, which is not
what we want in cross-builds. This is used in particular by
latest autoconf-archive m4 macros, which have migrated from
(removed in py 3.12) distutils to setuptools.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocmake: update 3.24.2 -> 3.25.1
Alexander Kanavin [Sat, 24 Dec 2022 16:59:39 +0000 (17:59 +0100)] 
cmake: update 3.24.2 -> 3.25.1

License-Update: additional contributors

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agotcmode-default.inc: set LLVMVERSION to a major version wildcard
Alexander Kanavin [Sat, 24 Dec 2022 16:59:38 +0000 (17:59 +0100)] 
tcmode-default.inc: set LLVMVERSION to a major version wildcard

There is no longer need to be specific: none of the recipes
using this variable in core need to know the particular version
of llvm exactly when using the default one set via PREFERRED_VERSION
from LLVMVERSION.

This as well enables automated version updates of llvm
for minor releases.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agollvm: update 15.0.4 -> 15.0.6
Alexander Kanavin [Sat, 24 Dec 2022 16:59:37 +0000 (17:59 +0100)] 
llvm: update 15.0.4 -> 15.0.6

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibxml2: upgrade test data from 20080827 to 20130923
Martin Jansa [Sat, 24 Dec 2022 08:30:05 +0000 (09:30 +0100)] 
libxml2: upgrade test data from 20080827 to 20130923

* and switch from tar.gz to tar, because the tar.gz archives upstream are regular tar as well now
  https://www.w3.org/XML/Test/ still has 3 separate URLs for .zip, .tar
  and .tar.gz, but both tar links return the same file:

  xmlts20130923.tar:      POSIX tar archive (GNU)
  xmlts20130923.tar.gz:   POSIX tar archive (GNU)
  xmlts20130923.zip:      Zip archive data, at least v1.0 to extract, compression method=store

  -rw-r--r--  1 martin martin 5.7M Sep 23  2013 xmlts20130923.tar
  -rw-r--r--  1 martin martin 5.7M Sep 23  2013 xmlts20130923.tar.gz
  -rw-r--r--  1 martin martin 1.6M Sep 23  2013 xmlts20130923.zip

  c6b2d42ee50b8b236e711a97d68e6c4b5c8d83e69a2be4722379f08702ea7273  xmlts20130923.tar
  c6b2d42ee50b8b236e711a97d68e6c4b5c8d83e69a2be4722379f08702ea7273  xmlts20130923.tar.gz
  f9510b3532926e1b4c2e54855b021e4b8a66ec98a5337dcf4ff07e8a41968deb  xmlts20130923.zip

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorm_work.bbclass: use HOSTTOOLS 'rm' binary exclusively
Luis [Sat, 24 Dec 2022 01:49:46 +0000 (01:49 +0000)] 
rm_work.bbclass: use HOSTTOOLS 'rm' binary exclusively

The do_rm_work() task is using the first available 'rm' binary
available in PATH to remove files and folders.
However, depending on the PATH setup and RECIPE_SYSROOT_NATIVE
contents, the function can be using the 'rm' binary available
in RECIPE_SYSROOT_NATIVE, a folder that will get removed.
This causes a sporadic race-condition when trying to access the
'rm' binary of a folder already deleted.
Solve this by exclusively using the HOSTTOOLS 'rm' binary, as
this folder will not get removed.

Signed-off-by: Luis Martins <luis.pinto.martins@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoselftest: allow '-R' and '-r' be used together
Chen Qi [Thu, 24 Nov 2022 02:55:28 +0000 (18:55 -0800)] 
selftest: allow '-R' and '-r' be used together

For now, there's no easy way to skip some specified tests when
using 'oe-selftest -r'. This is because '-R' and '-r' are in the
mutually exclusive group. Looking at the codes, the codes have already
allowed running specified tests and skipping specified tests at
the same time. So move '-R' out of the mutually exclusive group
and change its help message.

After this change, the following command could be used.
  oe-selftest -r A -R A.B.C

This does introduce a behavior regression.
Previous 'oe-selftest -R xxx' needs to now be changed to
'oe-selftest -a -R xxx'.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibstd-rs: Move source directory to library/test
Alex Kiernan [Wed, 21 Dec 2022 12:52:58 +0000 (12:52 +0000)] 
libstd-rs: Move source directory to library/test

Building libstd-rs from library/std omits proc_macro from the sysroot.
Using library/test causes that to be installed which then allows cargo
to build (https://github.com/meta-rust/meta-rust/issues/266)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibstd-rs: Merge .inc into .bb
Alex Kiernan [Wed, 21 Dec 2022 12:52:57 +0000 (12:52 +0000)] 
libstd-rs: Merge .inc into .bb

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobase.bbclass: Fix way to check ccache path
Changqing Li [Fri, 23 Dec 2022 03:38:40 +0000 (11:38 +0800)] 
base.bbclass: Fix way to check ccache path

The previous code had 2 issues:
1. make hosttools/ccache always link to host's ccache (/usr/bin/ccache)
even we have one buildtools
2. make hosttools/gcc etc, link to host's gcc event we have one
buildtools when keyword ccache in buildtools's path, eg:
/mnt/ccache/bin/buildtools

This patch is for fix above issues.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/runtime/rust: Add basic compile/run test
Alex Kiernan [Wed, 21 Dec 2022 12:52:56 +0000 (12:52 +0000)] 
oeqa/runtime/rust: Add basic compile/run test

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-poetry-core: Fix determinism issue breaking reproducibility
Richard Purdie [Fri, 23 Dec 2022 11:12:28 +0000 (11:12 +0000)] 
python3-poetry-core: Fix determinism issue breaking reproducibility

Fix failing builds due to a reproducibility issue by adding a patch to sort
globbing, submitted upstream.

[YCOTO #14993]
[YCOTO #14994]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/concurrencytest: Add number of failures to summary output
Richard Purdie [Wed, 21 Dec 2022 23:20:23 +0000 (23:20 +0000)] 
oeqa/concurrencytest: Add number of failures to summary output

When running oe-selftest and seeing the end of a running log, it is
extremely helpful to know if there have been failures or not to save
looking at the rest of the log. Add the number of failures to the summary
line so that people monitoring builds have an easier time before the end
totals are printed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovalgrind: skip the boost_thread test on arm
Randy MacLeod [Thu, 22 Dec 2022 19:17:53 +0000 (14:17 -0500)] 
valgrind: skip the boost_thread test on arm

This test is failing on the arm workers only so skip there until the issue
can be worked on and resolved. The bug #14311 will remain open for tracking.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemu: Fix build with largefile support
Khem Raj [Wed, 21 Dec 2022 17:55:51 +0000 (09:55 -0800)] 
qemu: Fix build with largefile support

drop using lfs64 specific functions and macros

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agonumactl: Enable largefile support
Khem Raj [Wed, 21 Dec 2022 17:55:50 +0000 (09:55 -0800)] 
numactl: Enable largefile support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agostrace: Add knob to enable largefile support
Khem Raj [Wed, 21 Dec 2022 17:55:49 +0000 (09:55 -0800)] 
strace: Add knob to enable largefile support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolttng-tools: Fix build with largefile support
Khem Raj [Wed, 21 Dec 2022 17:55:48 +0000 (09:55 -0800)] 
lttng-tools: Fix build with largefile support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoalsa-utils: Replace off64_t with off_t
Khem Raj [Wed, 21 Dec 2022 17:55:47 +0000 (09:55 -0800)] 
alsa-utils: Replace off64_t with off_t

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agonfs-utils: Replace statfs64 with statfs
Khem Raj [Wed, 21 Dec 2022 17:55:46 +0000 (09:55 -0800)] 
nfs-utils: Replace statfs64 with statfs

Fixes LFS64 builds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agovirglrenderer: Replace lseek64 with lseek
Khem Raj [Wed, 21 Dec 2022 17:55:45 +0000 (09:55 -0800)] 
virglrenderer: Replace lseek64 with lseek

Fix build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogpgme: Fix with with largefile support
Khem Raj [Wed, 21 Dec 2022 17:55:44 +0000 (09:55 -0800)] 
gpgme: Fix with with largefile support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibbsd: Fix build with largefile support
Khem Raj [Wed, 21 Dec 2022 17:55:43 +0000 (09:55 -0800)] 
libbsd: Fix build with largefile support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogstreamer1.0: upgrade 1.20.4 -> 1.20.5
Wang Mingyu [Wed, 21 Dec 2022 11:05:56 +0000 (19:05 +0800)] 
gstreamer1.0: upgrade 1.20.4 -> 1.20.5

Changelog:
===========
systemclock waiting fixes for certain 32-bit platforms/libcs
alphacombine: robustness improvements for corner case scenarios
avfvideosrc: Report latency when doing screen capture
d3d11videosink: various thread-safety and stability fixes
decklink: fix performance issue when HDMI signal has been lost for a long time
flacparse: Fix handling of headers advertising 32 bits per sample
mpegts: Handle when iconv doesn't support ISO 6937 (e.g. musl libc)
opengl: fix automatic dispmanx detection for rpi4 and fix usage of eglCreate/DestroyImage
opusdec: Various channel-related fixes
textrender: event handling fixes, esp. for GAP event
subparse: Fix non-closed tag handling
videoscale: fix handling of unknown buffer metas
videosink: reverse playback handling fixes
qtmux: Prefill mode fixes, especially for raw audio
multiudpsink: allow binding to IPv6 address
rtspsrc: Fix usage of IPv6 connections in SETUP
rtspsrc: Only EOS on timeout if all streams are timed out/EOS
splitmuxsrc: fix playback stall if there are unlinked pads
v4l2: Fix SIGSEGV on state change during format changes
wavparse robustness fixes
Fix static linking on macOS (opengl, vulkan)
gstreamer-vaapi: fix headless build against mesa >= 22.3.0
GStreamer Editing Services library: Fix build with tools disabled
webrtc example/demo fixes
unit test fixes for aesdec and rtpjitterbuffer
Cerbero: Fix ios cross-compile with cmake on M1; some recipe updates and other build fixes
Binary packages: pkg-config file fixes for various recipes (ffmpeg, taglib, gstreamer)
Binary packages: Enable high bitdepth support for libvpx (VP8/VP9 encoding/decoding)
Binary packages: ship aes plugin
Miscellaneous bug fixes, memory leak fixes, and other stability and reliability improvements
Performance improvements

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoxz: upgrade 5.2.9 -> 5.4.0
Wang Mingyu [Wed, 21 Dec 2022 03:01:02 +0000 (11:01 +0800)] 
xz: upgrade 5.2.9 -> 5.4.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopsmisc: upgrade 23.5 -> 23.6
Wang Mingyu [Wed, 21 Dec 2022 03:01:01 +0000 (11:01 +0800)] 
psmisc: upgrade 23.5 -> 23.6

Changelog:
=========
* buildsys: Fix DEJAGNU work-around Debian #1015089
* killall: Use kill if pidfd_send_signal fails Debian #1015228
* fuser: Do not mention nonexistent - reset option #42
* fuser: Use modern statn where possible
* pstree: Better AppArmor support !30

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agomakedepend: upgrade 1.0.7 -> 1.0.8
Wang Mingyu [Wed, 21 Dec 2022 03:01:00 +0000 (11:01 +0800)] 
makedepend: upgrade 1.0.7 -> 1.0.8

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibmpc: upgrade 1.2.1 -> 1.3.1
Wang Mingyu [Wed, 21 Dec 2022 03:00:59 +0000 (11:00 +0800)] 
libmpc: upgrade 1.2.1 -> 1.3.1

Changelog:
============
- Bug fix: It is again possible to include mpc.h without including
  stdio.h.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoiproute2: upgrade 6.0.0 -> 6.1.0
Wang Mingyu [Wed, 21 Dec 2022 03:00:58 +0000 (11:00 +0800)] 
iproute2: upgrade 6.0.0 -> 6.1.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agohelp2man: upgrade 1.49.2 -> 1.49.3
Wang Mingyu [Wed, 21 Dec 2022 02:59:11 +0000 (10:59 +0800)] 
help2man: upgrade 1.49.2 -> 1.49.3

Changelog:
==========
  * Cleanup whitespace in po-texi/help2man-texi.pot.
  * Add Korean translation

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogit: upgrade 2.38.1 -> 2.39.0
Wang Mingyu [Wed, 21 Dec 2022 02:59:09 +0000 (10:59 +0800)] 
git: upgrade 2.38.1 -> 2.39.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoell: upgrade 0.54 -> 0.55
Wang Mingyu [Wed, 21 Dec 2022 02:59:08 +0000 (10:59 +0800)] 
ell: upgrade 0.54 -> 0.55

Changelog:
Fix issue with DHCP and blocked unicast requests.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoboost: upgrade 1.80.0 -> 1.81.0
Wang Mingyu [Wed, 21 Dec 2022 02:59:07 +0000 (10:59 +0800)] 
boost: upgrade 1.80.0 -> 1.81.0

0001-The-std-lib-unary-binary_function-base-classes-are-d.patch
removed since it's included in 1.81.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogtk+3: fix reproducible builds
Ross Burton [Tue, 20 Dec 2022 12:55:41 +0000 (12:55 +0000)] 
gtk+3: fix reproducible builds

We can't drop the missing meson.build file into the build tree via SRC_URI
as then the timestamp of that file becomes the timestamp of the build,
which results in repeated builds having different timestamps.

Instead patch the file into the build, which doesn't change the SDE
every build.

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>
2 years agorecipes: Enable nativesdk for gperf, unifdef, gi-docgen and its dependencies
Carlos Alberto Lopez Perez [Tue, 20 Dec 2022 03:56:50 +0000 (04:56 +0100)] 
recipes: Enable nativesdk for gperf, unifdef, gi-docgen and its dependencies

I'm building a SDK (bitbake task: populate_sdk) for WPE/WebKit
development [1] and I need the tools below to be extended with the class
nativesdk. They work fine on the SDK after this change.

The needs are because:

1) gperf and unifdef are required by the WebKit build system at build
   time.

2) gi-docgen is required by the WebKit build system when CMake option
   'ENABLE_DOCUMENTATION' is enabled, and gi-docgen itself depends on
   the following python modules that also need to enable nativesdk:
   python3-markdown, python3-smartypants and python3-typogrify

[1]
See:
 - https://github.com/Igalia/meta-webkit/pull/436
 - https://bugs.webkit.org/show_bug.cgi?id=249604

Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-dbusmock: allow to build native
Markus Volk [Mon, 19 Dec 2022 20:42:48 +0000 (21:42 +0100)] 
python3-dbusmock: allow to build native

This is e.g. needed by xdg-desktop-portal

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobinutils: Add patch to fix CVE-2022-4285
pgowda [Mon, 19 Dec 2022 15:31:33 +0000 (21:01 +0530)] 
binutils: Add patch to fix CVE-2022-4285

Backport a patch from upstream to address CVE-2022-4285
[https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5c831a3c7f3ca98d6aba1200353311e1a1f84c70]

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogtk4: add tracker-miners runtime dependency
Markus Volk [Mon, 19 Dec 2022 13:16:54 +0000 (14:16 +0100)] 
gtk4: add tracker-miners runtime dependency

To have gtk4 libtracker support, the target would need to run tracker-miners.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorust: Enable baremetal targets
Alejandro Hernandez Samaniego [Thu, 15 Dec 2022 07:32:24 +0000 (00:32 -0700)] 
rust: Enable baremetal targets

Allow rust to build for baremetal targets by generating the proper target
triple, follow the format specified by rusts Triple [1], that is:

<arch>-<vendor>-<os>-<abi>

This is done automatically based on both TARGET_OS and TCLIBC.

For example, a riscv64 baremetal target triple would look like this:
riscv64gc-poky-none-elf

matching rusts own target triple for riscv64 according to platform-support [2]

[1] https://docs.rs/target-lexicon/latest/target_lexicon/struct.Triple.html
[2] https://doc.rust-lang.org/stable/rustc/platform-support.html

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorust: Enable building rust from stable, beta and nightly channels
Alejandro Hernandez Samaniego [Sat, 17 Dec 2022 16:20:57 +0000 (09:20 -0700)] 
rust: Enable building rust from stable, beta and nightly channels

Rust follows the train release model via the stable, beta and nightly channels,
by default we build rust from the stable channel, however there are certain
features which are only available in the beta or nightly channels.

Make these channels available by setting a RUST_CHANNEL variable which defaults
to stable making this change transparent to the user.

The snapshot version used by rust during its compilation wont necessarily match
the version being built, specially if were building from an unstable channel,
to avoid confusion rename this to SNAPSHOT_VERSION and use RUST_VERSION for the
version to be built, which is automatically defined to PV.

Append -beta or -nightly to rusts PV for signature awareness.

It is important to note that this does not build rust from the beta/nightly
published tarball (which today build rust v1.67.0 and v1.68.0 respectively),
instead this builds rust from the current selected version (1.66.0) and enables
the beta/nightly features for that version.

Setting the variable RUST_CHANNEL=nightly results in the following:

$ rustc -Vv
rustc 1.66.0-nightly

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorunqemu: add QB_SETUP_CMD and QB_CLEANUP_CMD
Mikko Rapeli [Wed, 14 Dec 2022 08:54:25 +0000 (10:54 +0200)] 
runqemu: add QB_SETUP_CMD and QB_CLEANUP_CMD

These enable running custom shell setup and cleanup commands
before and after qemu. Enables machine configurations to for
example run qemu with swtpm to emulate TPM devices.

Example config with meta-tpm2 based swtpm in machine config:

 * image recipe depens on swtpm-native to get the native tools to PATH,
   same handling as qemu itself

do_testimage[depends] += "swtpm-native:do_populate_sysroot"

 * startup commands for swtpm daemon, note that swtpm
   socket file has 107 character limit and absolute paths to build environment
   will not work

QB_SETUP_CMD = " \
   test -d '${IMAGE_BASENAME}_swtpm' || ( mkdir -p '${IMAGE_BASENAME}_swtpm' && \
       swtpm_setup --tpmstate '${IMAGE_BASENAME}_swtpm' --tpm2 --pcr-banks sha256 ); \
   swtpm socket --tpmstate dir='${IMAGE_BASENAME}_swtpm' \
         --ctrl type=unixio,path='${IMAGE_BASENAME}_swtpm/swtpm-sock' \
         --log level=40 --tpm2 -t -d \
"

 * qemu startup command in machine config is configured enable swtpm device

QB_OPT_APPEND += "-chardev socket,id=chrtpm,path='${IMAGE_BASENAME}_swtpm/swtpm-sock' -tpmdev emulator,id=tpm0,chardev=chrtpm -device tpm-tis-device,tpmdev=tpm0"

 * in this case, swtpm daemon stops automatically with qemu machine, but
   QB_CLEANUP_CMD could be used to kill a specific process and wipe
   temporary files

Now runqemu and testimage.bbclass can be used with swtpm.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemuboot.bbclass: make sure runqemu boots bundled initramfs kernel image
Jagadeesh Krishnanjanappa [Tue, 13 Dec 2022 14:58:36 +0000 (14:58 +0000)] 
qemuboot.bbclass: make sure runqemu boots bundled initramfs kernel image

The QB_DEFAULT_KERNEL is set to pick bundled initramfs kernel image
if the Linux kernel image is generated with INITRAMFS_IMAGE_BUNDLE="1".

This makes runqemu to automatically pick bundled initramfs kernel image
instead of explicitly mentioning bundled initramfs kernel image in
runqemu.

[YOCTO #14748]

Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoe2fsprogs: Do not use 64bit functions for largefile support
Khem Raj [Thu, 15 Dec 2022 15:44:37 +0000 (07:44 -0800)] 
e2fsprogs: Do not use 64bit functions for largefile support

Using -D_FILE_OFFSET_BITS=64 already makes the normal function behave
like 64bit variants. Moreover it makes them portable across libc

Ensure that right lseek function is used with _FILE_OFFSET_BITS = 64

Refresh patches with devtool

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>
2 years agobtrfs-tools: Do not use 64bit functions for largefile support
Khem Raj [Thu, 15 Dec 2022 08:45:46 +0000 (00:45 -0800)] 
btrfs-tools: Do not use 64bit functions for largefile support

Using -D_FILE_OFFSET_BITS=64 already makes the normal function behave
like 64bit variants. Moreover it makes them portable across libc

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>
2 years agomdadm: Use _FILE_OFFSET_BITS to use largefile support
Khem Raj [Thu, 15 Dec 2022 08:45:45 +0000 (00:45 -0800)] 
mdadm: Use _FILE_OFFSET_BITS to use largefile support

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>
2 years agolibpciaccess: Do not use 64bit functions for largefile support
Khem Raj [Thu, 15 Dec 2022 08:45:44 +0000 (00:45 -0800)] 
libpciaccess: Do not use 64bit functions for largefile support

Using -D_FILE_OFFSET_BITS=64 already makes the normal function behave
like 64bit variants. Moreover it makes them portable across libc

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>
2 years agoacl: Enable largefile support by default
Khem Raj [Thu, 15 Dec 2022 08:45:42 +0000 (00:45 -0800)] 
acl: Enable largefile support by default

This ensures right flags are passed so enable it. Musl and decoupled
these APIs from _GNU_SOURCE and now are only available when
_LARGEFILE64_SOURCE macro is enabled

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>
2 years agoltp: Fix largefile support
Khem Raj [Thu, 15 Dec 2022 08:45:41 +0000 (00:45 -0800)] 
ltp: Fix largefile support

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>
2 years agoefivar: Replace off64_t with off_t
Khem Raj [Thu, 15 Dec 2022 08:45:40 +0000 (00:45 -0800)] 
efivar: Replace off64_t with off_t

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>
2 years agoacpid: Fix largefile enabled build
Khem Raj [Thu, 15 Dec 2022 08:45:39 +0000 (00:45 -0800)] 
acpid: Fix largefile enabled build

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>
2 years agounfs3: Define off64_t in terms of off_t on musl
Khem Raj [Thu, 15 Dec 2022 08:45:38 +0000 (00:45 -0800)] 
unfs3: Define off64_t in terms of off_t on musl

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>
2 years agopseudo: Remove 64bit time_t flags
Khem Raj [Thu, 15 Dec 2022 08:45:37 +0000 (00:45 -0800)] 
pseudo: Remove 64bit time_t flags

pseudo traps syscalls and has intimate knowledge of them
and does not really depend on glibc interfaces to kernel

flags are added via TARGET_CC_ARCH therefore move the remove
operation from TARGET_CPPFLAGS to TARGET_CC_ARCH

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>
2 years agoerofs-utils: Convert from off64_t to off_t
Khem Raj [Thu, 15 Dec 2022 08:45:36 +0000 (00:45 -0800)] 
erofs-utils: Convert from off64_t to off_t

Ensure largefile macros are used to determine size of off_t and not the
explict 64bit version of functions and types

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>
2 years agoat-spi2-core: disable API docs if x11 is disabled
Ross Burton [Tue, 13 Dec 2022 16:17:31 +0000 (16:17 +0000)] 
at-spi2-core: disable API docs if x11 is disabled

The gtk-doc documentation doesn't build if X11 is disabled.

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>
2 years agoat-spi2-core: clean up x11 enabling
Ross Burton [Tue, 13 Dec 2022 16:17:30 +0000 (16:17 +0000)] 
at-spi2-core: clean up x11 enabling

Use a single PACKAGECONFIG instead of a number of location conditionals.

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>
2 years agoovmf: update edk2-stable202208 -> edk2-stable202211
Alexander Kanavin [Tue, 13 Dec 2022 11:11:11 +0000 (12:11 +0100)] 
ovmf: update edk2-stable202208 -> edk2-stable202211

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoptest-packagelists.inc: correctly assign fast and slow tests
Alexander Kanavin [Tue, 13 Dec 2022 11:10:55 +0000 (12:10 +0100)] 
ptest-packagelists.inc: correctly assign fast and slow tests

The execution times were checked from
https://autobuilder.yocto.io/pub/non-release/20221127-2/testresults/qemux86-64-ptest/core-image-ptest-all/log.do_testimage.40537.20221127010849
and ptests were moved both ways according to the same criteria:
more than 30 seconds or less.

openssl is dropped from fast tests, as it is also listed in slow
tests (which is correct).

With the rearrangement fast ptests altogether take about 420 seconds
on qemux86_64 with kvm.

m4 ptest was missing a depedency.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosystemd: Make importd depend on glib-2.0 again
Marek Vasut [Sun, 18 Dec 2022 00:00:38 +0000 (01:00 +0100)] 
systemd: Make importd depend on glib-2.0 again

It seems importd still requires glib-2.0, add the missing dependency.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agognupg: upgrade 2.3.7 -> 2.3.8
Alexander Kanavin [Tue, 13 Dec 2022 11:11:18 +0000 (12:11 +0100)] 
gnupg: upgrade 2.3.7 -> 2.3.8

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agosystemtap: upgrade 4.7 -> 4.8
Alexander Kanavin [Tue, 13 Dec 2022 11:11:17 +0000 (12:11 +0100)] 
systemtap: upgrade 4.7 -> 4.8

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agotzdata: update 2022d -> 2022g
Alexander Kanavin [Tue, 13 Dec 2022 11:11:16 +0000 (12:11 +0100)] 
tzdata: update 2022d -> 2022g

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoghostscript: update 9.56.1 -> 10.0.0
Alexander Kanavin [Tue, 13 Dec 2022 11:11:15 +0000 (12:11 +0100)] 
ghostscript: update 9.56.1 -> 10.0.0

Drop --without-jbig2dec as it is now required by pdf support
and jbig2dec library is in ghostscript's source tree.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoruby: update 3.1.2 -> 3.1.3
Alexander Kanavin [Tue, 13 Dec 2022 11:11:14 +0000 (12:11 +0100)] 
ruby: update 3.1.2 -> 3.1.3

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoruby: merge .inc into .bb
Alexander Kanavin [Tue, 13 Dec 2022 11:11:13 +0000 (12:11 +0100)] 
ruby: merge .inc into .bb

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-dbusmock: update 0.28.4 -> 0.28.6
Alexander Kanavin [Tue, 13 Dec 2022 11:11:12 +0000 (12:11 +0100)] 
python3-dbusmock: update 0.28.4 -> 0.28.6

Convert to python_setuptools_build_meta.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibxcrypt: update PV to match SRCREV
Alexander Kanavin [Tue, 13 Dec 2022 11:11:10 +0000 (12:11 +0100)] 
libxcrypt: update PV to match SRCREV

When SRCREV was updated, only libxcrypt-compat was renamed to match,
but not libxcrypt proper.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobluez: update 5.65 -> 5.66
Alexander Kanavin [Tue, 13 Dec 2022 11:11:07 +0000 (12:11 +0100)] 
bluez: update 5.65 -> 5.66

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibxrandr: update 1.5.2 -> 1.5.3
Alexander Kanavin [Tue, 13 Dec 2022 11:11:06 +0000 (12:11 +0100)] 
libxrandr: update 1.5.2 -> 1.5.3

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibxpm: update 3.5.13 -> 3.5.14
Alexander Kanavin [Tue, 13 Dec 2022 11:11:05 +0000 (12:11 +0100)] 
libxpm: update 3.5.13 -> 3.5.14

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibxdmcp: update 1.1.3 -> 1.1.4
Alexander Kanavin [Tue, 13 Dec 2022 11:11:04 +0000 (12:11 +0100)] 
libxdmcp: update 1.1.3 -> 1.1.4

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibnewt: update 0.52.21 -> 0.52.23
Alexander Kanavin [Tue, 13 Dec 2022 11:11:02 +0000 (12:11 +0100)] 
libnewt: update 0.52.21 -> 0.52.23

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agotcl: update 8.6.12 -> 8.6.13
Alexander Kanavin [Tue, 13 Dec 2022 11:11:01 +0000 (12:11 +0100)] 
tcl: update 8.6.12 -> 8.6.13

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-poetry-core: update 1.3.2 -> 1.4.0
Alexander Kanavin [Tue, 13 Dec 2022 11:11:00 +0000 (12:11 +0100)] 
python3-poetry-core: update 1.3.2 -> 1.4.0

Upstream has changed the tarball and the dir inside it to poetry_core
(with underscore).

License-Update: formatting, copyright years.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-numpy: fix upstream version check
Alexander Kanavin [Tue, 13 Dec 2022 11:10:59 +0000 (12:10 +0100)] 
python3-numpy: fix upstream version check

Default regex is also considering numpy release candidates.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agodevtool/upgrade: correctly handle recipes where S is a subdir of upstream tree
Alexander Kanavin [Tue, 13 Dec 2022 11:10:56 +0000 (12:10 +0100)] 
devtool/upgrade: correctly handle recipes where S is a subdir of upstream tree

'devtool modify' writes additional settings to workspace .bbappend so that this
can be handled correctly, but 'devtool upgrade' does not. This adds the missing
settings.

In particular, local files should not anymore mysteriously disappear from
SRC_URIs on upgrades.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolinux-libc-headers: add 6.x fetch location
Bruce Ashfield [Tue, 13 Dec 2022 04:05:54 +0000 (23:05 -0500)] 
linux-libc-headers: add 6.x fetch location

The next libc-headers bumps will be in the 6.x series, so we
udpate our fetching list to handle that major version number.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agocairo: update patch for CVE-2019-6461 with upstream solution
Quentin Schulz [Tue, 13 Dec 2022 15:53:52 +0000 (16:53 +0100)] 
cairo: update patch for CVE-2019-6461 with upstream solution

Upstream went with something slightly different so let's update the
patch so we don't have to carry a patch that isn't going to be merged.

This patch is part of snapshot 1.17.6.

Cc: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibpcre2: Upgrade to 10.42
Khem Raj [Wed, 14 Dec 2022 03:20:29 +0000 (19:20 -0800)] 
libpcre2: Upgrade to 10.42

10.41 regressed apps which were using pcre2posix.h without pcre2.h
mariadb is one such application in meta-oe which broke, this immediate
upgrade helps fixing these sort of apps. See [1] and [2]

[1] https://github.com/PCRE2Project/pcre2/releases/tag/pcre2-10.42
[2] https://github.com/PCRE2Project/pcre2/commit/cd8dc40b901bdedf5bcc0b3acdd9eede16802f39

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Wang Mingyu <wangmy@fujitsu.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomeson: no need to rebuild on install
Ross Burton [Tue, 13 Dec 2022 16:14:07 +0000 (16:14 +0000)] 
meson: no need to rebuild on install

On install, Meson will rebuild targets which don't define their
dependencies, as it can't know if they need to be rebuilt or not.

This includes gtk-doc, which can be slow to run.  As we control the
execution of meson we know that a rebuild isn't required, so we can pass
--no-rebuild and speed up the install task.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoefibootmgr: update compilation with musl
Marta Rybczynska [Wed, 14 Dec 2022 18:45:19 +0000 (19:45 +0100)] 
efibootmgr: update compilation with musl

Since the commit 005b6aba89eaf1b79fdd7565dd028fdd9bbfcc7d
(efivar: add musl libc compatibility) efibootmgr compiles with
musl too. Update the variable to take that into account.

Signed-off-by: Marta Rybczynska <marta.rybczynska@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorust: update 1.65.0 -> 1.66.0
Alex Kiernan [Fri, 16 Dec 2022 12:06:32 +0000 (12:06 +0000)] 
rust: update 1.65.0 -> 1.66.0

Drop backported patch ENOTSUP constant for riscv32/musl.

Release notes:
  https://blog.rust-lang.org/2022/12/15/Rust-1.66.0.html

License-Update: Upstream has added Unicode Terms of Use license
  (Unicode-TOU).
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorust: Install target.json for target rustc
Alex Kiernan [Fri, 16 Dec 2022 12:06:31 +0000 (12:06 +0000)] 
rust: Install target.json for target rustc

As part of the merging builds, installation of target.json was lost
causing `rustc` to fail on startup with:

  error: Error loading target specification: Could not find specification for target "aarch64-poky-linux-gnu". Run `rustc --print target-list` for a list of built-in targets

We know the full target specification, so just install it directly
rather than using the glob approach from previously.

Fixes: b9b0cd99cdc7 ("rust: Enable nativesdk and target builds + replace rust-tools-cross-canadian")
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogtk+3: port to Meson
Ross Burton [Fri, 16 Dec 2022 15:58:28 +0000 (15:58 +0000)] 
gtk+3: port to Meson

GTK+ 3.24.36 will drop the autotools build, so get ahead of the curve
and switch to Meson.

The tarball is missing one meson.build file so add that explictly for
now.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocurl: Correct LICENSE from MIT-open-group to curl
Ranjitsinh Rathod [Fri, 16 Dec 2022 07:33:25 +0000 (13:03 +0530)] 
curl: Correct LICENSE from MIT-open-group to curl

LICENSE for curl is set to MIT-open-group which is wrong and proper
license is 'curl'

I check below link and the line "Curl and libcurl are licensed under
the license below, which is inspired by MIT/X, but not identical." says
that the license is identical to MIT but actual license is identical
from the file "meta/files/common-licenses/curl"
Link: https://curl.se/docs/copyright.html
Also, I do not find the MIT-open-group license text in the entire
source-code

Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopackage_rpm: Fix Linux 6.1.0 perf 1.0 version mistranslation
Marek Vasut [Sat, 17 Dec 2022 04:57:38 +0000 (05:57 +0100)] 
package_rpm: Fix Linux 6.1.0 perf 1.0 version mistranslation

With Linux 6.1.0 and perf 1.0-r9, a build which includes perf-dev fails due
to perf-dev depending on perf 6.6.1.0-r9 . This is because translate_vers()
operates on perf-dev and mangles its version. The following scenario occurs:

  ver=6.1.0-r9
  pv=1.0
  pkgv=6.1.0
  reppv=6.1.0

With Linux 6.1.0, a corner case is hit where pv is a substring of ver, which
yields this corrupted version 6.6.1.0-r9 . Example in python3:

  >>> "6.1.0-r9".replace("1.0", "6.1.0")
  '6.6.1.0-r9'
  >>> "6.0.13-r9".replace("1.0", "6.0.13")
  '6.0.13-r9'

The fix is to only replace pv with reppv in case pv is at the beginning
of ver , instead of replacing all occurences.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agotime64: Rename to a .inc file to match the others
Richard Purdie [Sat, 17 Dec 2022 11:12:02 +0000 (11:12 +0000)] 
time64: Rename to a .inc file to match the others

I meant to do this whilst merging but messed up the patches. This
file is a .inc file and should match the others.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoepiphany: use gcr3
Markus Volk [Fri, 9 Dec 2022 14:11:17 +0000 (15:11 +0100)] 
epiphany: use gcr3

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogcr: add recipe for gcr-4, needed to build with gtk4
Markus Volk [Fri, 9 Dec 2022 14:11:15 +0000 (15:11 +0100)] 
gcr: add recipe for gcr-4, needed to build with gtk4

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogcr: rename gcr -> gcr3
Markus Volk [Fri, 9 Dec 2022 14:11:14 +0000 (15:11 +0100)] 
gcr: rename gcr -> gcr3

gcr-3 recipe is still needed for gnome projects that stick to gtk+3, rename to gcr3.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogtk4: import recipe from meta-gnome
Markus Volk [Fri, 9 Dec 2022 14:11:13 +0000 (15:11 +0100)] 
gtk4: import recipe from meta-gnome

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agographene: import from meta-oe
Markus Volk [Fri, 9 Dec 2022 14:11:12 +0000 (15:11 +0100)] 
graphene: import from meta-oe

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agotime64.conf: Include to enable 64 bit time flags
Ola x Nilsson [Thu, 8 Dec 2022 07:11:36 +0000 (08:11 +0100)] 
time64.conf: Include to enable 64 bit time flags

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoinsane: Add QA check for 32 bit time and file offset functions
Ola x Nilsson [Thu, 8 Dec 2022 07:11:35 +0000 (08:11 +0100)] 
insane: Add QA check for 32 bit time and file offset functions

Check for known symbols that should have been redirected to 64bit
variants when -D_FILE_OFFSET_BITS=64 and -D_TIME_BITS=64 are set.

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobitbake.conf: Add module function vardepsexclude entries
Richard Purdie [Fri, 16 Dec 2022 11:15:26 +0000 (11:15 +0000)] 
bitbake.conf: Add module function vardepsexclude entries

Now that bitbake can look into python module code variable and function
dependencies, there are a few extra basic variables we need to exclude.
This is done per function since it keeps the main exclusion list cleaner
and is also slightly faster.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoRevert "kernel-fitimage: reduce dependency to the cpio"
Richard Purdie [Tue, 13 Dec 2022 23:49:19 +0000 (23:49 +0000)] 
Revert "kernel-fitimage: reduce dependency to the cpio"

This reverts commit ef0d0734866505c1c6e0528a0423e7248afb3ff8.

We can't do this since the initramfs needs to use DEPLOY_DIR_IMAGE which isnt
ready until do_image_complete.

2 years agokernel-fitimage: reduce dependency to the cpio
Patrick Williams [Mon, 12 Dec 2022 22:18:08 +0000 (16:18 -0600)] 
kernel-fitimage: reduce dependency to the cpio

In order to build a fitimage, we don't need the image to be "complete"
but we need the cpio portion of it built since the cpio is what ends
up inside the FIT.  By reducing the dependency to `do_image_cpio` we
are able to include an image's rootfs as the ramdisk for a FIT and
then bundle that FIT into a larger SPI flash layout.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogptfdisk: Enable largefile support functions
Khem Raj [Mon, 12 Dec 2022 21:03:03 +0000 (13:03 -0800)] 
gptfdisk: Enable largefile support functions

Ensures it builds/works fine when _LARGEFILE64_SUPPORT is disabled.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorpcsvc-proto: Use autoconf knob to enable largefile support
Khem Raj [Mon, 12 Dec 2022 21:03:02 +0000 (13:03 -0800)] 
rpcsvc-proto: Use autoconf knob to enable largefile support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogtk+3: upgrade 3.24.34 -> 3.24.35
Ross Burton [Mon, 12 Dec 2022 17:35:47 +0000 (17:35 +0000)] 
gtk+3: upgrade 3.24.34 -> 3.24.35

The gtktypefuncs.c removal is obsolete as that file isn't in the tarball
anymore, so remove it.

However the wayland-scanner files are still in the tarball despite
efforts to stop this, so generalise the removal to ensure it covers all
files which may be affected.  Further investigation will be needed to
see if this is still an issue.

Rebase 0003-Add-disable-opengl-configure-option.patch.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>