Commit Graph

68860 Commits

Author SHA1 Message Date
Richard Purdie
ff2d778f6d bitbake: cooker: Ensure commands clean up any parser processes
When finishing a command, we need to ensure any parsing processes that may have
been started are cleaned up before we reset the cooker state.

(Bitbake rev: 6569ab64bea35de21acc89053ba76e2828163f3f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:05:17 +00:00
Richard Purdie
4895e78234 bitbake: command: Tweak finishAsyncCommand ordering to avoid races
(Bitbake rev: 89435442946767cfe58eedde363802add8f1ab29)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:05:17 +00:00
Richard Purdie
7723baafa6 bitbake: server/process: Improve exception and idle function logging
Currently if the idle functions loop suffers a traceback, it is
silently dropped and there is no log message to say what happened.
This change at least means the traceback is in the cooker log, making
some debugging possible.

Add some logging to show when handlers are added/removed to allow
a better idea of what the server code is doing from the server log
file.

(Bitbake rev: 9cf3102dc36513124fe5ead2f1e448b51833b6ac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:05:17 +00:00
Richard Purdie
4c5d6edb0b bitbake: cooker/cookerdata: Rework the way the datastores are reset
As far as I could tell, the current code could result in some strange
situations where some data was set back to the original data store copy
but the multiconfig data was not restored. There are also some changes made
to the datastore which did not persist.

The data store was also being reset at every client reset, which seems
a little excessive if we can reset it to the original condition properly.

Move the __depends -> __base_depends rename into databuilder along with
the __bbclasstype change so these are saved in the original data.

Tweak the databuilder code to be clearer and easier to follow on which
copies are where, then save copies of all the mc datastores.

Finally, drop the cache invalidation upon reset for the base config
as we shouldn't need that now (oe-selftest -r tinfoil works with memory
resident bitbake which was the original reproducer requiring that change).

(Bitbake rev: 5f8b9b9c35b4ec0c8c539bf54ca85f068f4a5094)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:05:17 +00:00
Richard Purdie
cb8efd4d20 bitbake: event: Add enable/disable heartbeat code
Currently heartbeat events are always generated by the server whilst it is
active. Change this so they only appear when builds are running, which is
when most code would expect to be executed. This removes a number of races
around changes in the datastore which can happen outside of builds.

(Bitbake rev: 8c36c90afc392980d999a981a924dc7d22e2766e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:05:17 +00:00
Richard Purdie
2c5bc03796 bitbake: knotty: Avoid looping with tracebacks
If there are events queued and there is an exception in the main loop
of the UI code, it will print tracebacks on the console indefinitely.
Avoid that by improving the loop exit conditions.

(Bitbake rev: 2d0940b920a22b244f3ba6849c7cd019578386b4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:05:16 +00:00
Richard Purdie
42487f069b bitbake: cache: Drop reciever side counting for SiggenRecipeInfo
Joshua Watt pointed out maintaining the counting on both sides of the
connection isn't needed. Remove the receiver side counting and simplify
the code, also allowing errors if the counts do go out of sync.

(Bitbake rev: aeacfd391903fe68ae600470fc2bbad0502d401e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-30 15:07:19 +00:00
Richard Purdie
4dc7967cf9 bitbake: tinfoil: Ensure CommandExit is handled
By inspection, tinfoil handles two of the three command exit cases but
one is missing. Add the CommandExit case in case this is the cause of
one of our recipetool/devtool hangs. Regardless, the fix is necessary.

(Bitbake rev: eadddd94835b6b6a8517dfed3d29e6dbb2d35988)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-29 12:49:54 +00:00
Richard Purdie
3791d7ef60 bitbake: cooker: Ensure cache is cleared for partial resets
We're still seeing occasional SiggenRecipeInfo coherency issues, add
some further reset points into the parsing code to ensure the cache is
cleared before reparsing.

(Bitbake rev: 26ed783caf11dc9ebf53d3790681eb44c0c360f0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-29 12:47:29 +00:00
Richard Purdie
907e91796e bitbake: event: builtins fix for 'd' deletion
I've been seeing event handlers where 'd' seems to disappear half way through
event handler execution. This is problematic when multiple threads are active
since this code assumes single threading.

The easiest fix is to change the handler function calls to contain d as a
parameter as we do elsewhere for other functions. This will break any non-text
handlers but I was only able to spot one of those in runqueue. It will also
break handlers than call functions that assume 'd' is in the global namespace
but those failures should be obvious and we can fix those to pass d around.

This solution avoids manipulating builtins which was always a horrible thing
to do anyway and solves the issue without needing locking, thankfully.

(Bitbake rev: 1e12f0a4b592dacd006d370ec29cd71d2a44312e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-29 00:07:06 +00:00
Richard Purdie
6549f58cd6 bitbake: cache/siggen: Fix cache issues with signature handling
There is a bug in the current cache code where the restored data structures
were "inverted" leading to some very weird issues, not sure how anything worked
like that, this patch fixes it.

Also fix some issues with multiconfig cache ordering problems by resetting
the stream counters when appropriate.

(Bitbake rev: cd06beb948eff5eaf2d474f5b127d51a61b0b2ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-29 00:05:45 +00:00
Alex Kiernan
34fa9f0840 oeqa/runtime/rust: Add cargo test
(From OE-Core rev: f41a4e3d4c82b6332c5d52ad8fb38e32c7aee74b)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
822f0c6512 packagegroup-rust-sdk-target: Add cargo
(From OE-Core rev: ea23ff72507768e2201211e488632208b9180296)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
d2925c9c11 cargo: Drop exclude from world
On-target cargo now builds/runs.

(From OE-Core rev: eb8b8c5247a32f2bd6b680de6f1a999dc2fcbc5f)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
a5a8904f8c cargo: Include crossbeam-utils patch
We need patched crossbeam-utils in cargo as well as rust, move cargo
alongside rust so they can both use the same patch.

(From OE-Core rev: 39402790724014a39b265ee1978396a0514fdc98)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
f504a2a21c cargo: Extend DEBUG_PREFIX_MAP to cover vendor
The cargo build builds vendored libgit and curl, but these exist outside
${S} which DEBUG_PREFIX_MAP covers.

(From OE-Core rev: c874ef5eafb88d361b96e014739d7a3a640536d9)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
fd552bfcfa cargo: Merge .inc into .bb
(From OE-Core rev: 15170dbc0579f57436730b1fc1c2f471aa0dea54)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
4323ddb8a1 rust: Move musl-x86 fix for __stack_chk_fail_local to rust-source
Any consumer of rust-source (potentially) needs this, so move to
rust-source.inc

(From OE-Core rev: 3c88cf98361a8f1c6f5183cc8887cccfad9d08ba)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
510ecb586f rust: Merge .inc into .bb
(From OE-Core rev: a09bcc7db13a7308f523d985332e96461b8feeec)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
f045d37015 packagegroup-core-sdk: Add SDK toolchain language selection support
Use SDK_TOOLCHAIN_LANGS to allow different language support to be
selected within SDKs. Initially supported options are rust and go.

(From OE-Core rev: 1ad7bb050accd930c85b6c51721046867394f629)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
cf3b5adaf5 packagegroup-rust-sdk-target: Add Rust SDK target packagegroup
(From OE-Core rev: 5bfa5bfa942a29f6670213933e456ed00c43a245)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
59812918da rust-llvm: Update LLVM_VERSION to match embedded version
(From OE-Core rev: e75f16c5f0d3e70ae08efd7d61a7e7d0c9380e72)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
4c4cb30301 rust-llvm: Merge .inc into .bb
(From OE-Core rev: 5a8f72fc9ae730be21bbc577d8315ae95f771dba)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Wang Mingyu
cad78dd5bd bind: upgrade 9.18.9 -> 9.18.10
Changelog:
==========
The key file IO locks objects would never get deleted from the hashtable due to
off-by-one error.

ANY responses could sometimes have the wrong TTL.

Speed up the named shutdown time by explicitly canceling all recursing ns_client
objects for

Removing a catalog zone from catalog-zones without also removing the referenced
zone could leave a dangling pointer. [GL #3683]

nslookup and host were not honoring the selected port in TCP mode. [GL #3721]

Deprecate alt-transfer-source, alt-transfer-source-v6 and
use-alt-transfer-source. [GL #3694]

Move the "final reference detached" log message from dns_zone unit to the
DEBUG(1) log level.

Fix assertion failure in isc_http API used by statschannel if the read callback
would be called on HTTP request that has been already closed.

Deduplicate time unit conversion factors.

Copy TLS identifier when setting up primaries for catalog member zones.

Deprecate 'auto-dnssec'. [GL #3667]

The decompression implementation in dns_name_fromwire() is now smaller and
faster. [GL #3655]

Use the current domain name when checking answers from a dual-stack-server.

Ensure 'named-checkconf -z' respects the check-wildcard option when loading a
zone.  [GL #1905]

Deprecate 'coresize', 'datasize', 'files', and 'stacksize' named.conf options.

The view's zone table was not locked when it should have been leading to race
conditions when external extensions that manipulate the zone table where in use.

Some browsers (Firefox) send more than 10 HTTP headers.  Bump the number of
allowed HTTP headers to 100. [GL #3670]

NXDOMAIN cache records are no longer retained in the cache after expiry,
even when serve-stale is in use. [GL #3386]

(From OE-Core rev: 1c093c38e247b522f279f616d16373795a4cdf89)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Jose Quaresma
58e9167cc0 gstreamer1.0: Fix race conditions in gstbin tests
(From OE-Core rev: b57df3fe9c1623ba2f5a9a0e11a85dcdc77e76a5)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Jose Quaresma
92be24e5d0 Revert "gstreamer1.0: disable flaky gstbin:test_watch_for_state_change test"
This reverts commit 220a527d26.

- Drop this patch and use the upstream solution
  https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2643

(From OE-Core rev: 9660045d07a2b492ac48a1f1b08aa4288b45d64a)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alexander Kanavin
bbb4d65500 Revert "python3-native: further tweak to sysconfig.py to find python includes correctly"
Unfortunately, sysconfig is used by:
- setuptools to find out where to install new headers
- autoconf-archive to find where Python.h is

In the first case we want the target location, in the second case we want
the sysroot location. The second case is not yet used in the wild
(as projects such as gpgpme are using outdated distutils-based m4 macros),
but it will become a problem once python 3.12 is out, and
said projects are forced to migrate to sysconfig. Let's deal with it
then in a more careful manner, and hopefully convince upstream that
there is a general problem too.

(From OE-Core rev: 499b152bf63749be18fc252978a6cc632254b325)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alexander Kanavin
db604a273d vulkan: upgrade 1.3.231.1 -> 1.3.236.0
(From OE-Core rev: eb556528421e5858e900a7664008fcd946a309da)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alexander Kanavin
3667c83d2a stress-ng: upgrade 0.15.00 -> 0.15.01
libbsd is required for splay tree macros in tree.h

(From OE-Core rev: 898692284f4710c0993ba0fbf7cadba6b8ea5ca0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alexander Kanavin
c4e7162d81 libarchive: upgrade 3.6.1 -> 3.6.2
Use --without-iconv as otherwise autotools write a bogus iconv
dependency into .pc file.

(From OE-Core rev: edce1bce81fe2f47fb2c5e2b94ebda73f95cbaea)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alexander Kanavin
153ec41cdc python3-chardet: upgrade 5.0.0 -> 5.1.0
Transition to python_setuptools_build_meta.

(From OE-Core rev: 3e12b39760ec92d45241f44945c4fd1a93cd9de2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alexander Kanavin
9311fb96ae libmodule-build-perl: update 0.4231 -> 0.4232
License-Update: formatting, position of the license statement moved in the README

(From OE-Core rev: 902e05e254b633ef1e988779504f743a031b5632)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alexander Kanavin
7bdc145006 jquery: upgrade 3.6.1 -> 3.6.2
(From OE-Core rev: 4ca35599d102b6c1580bc080a0df645e7e589267)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alexander Kanavin
119f320a46 libxv: update 1.0.11 -> 1.0.12
(From OE-Core rev: 210644592255852969d02553a59459622f2f64db)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
5eab8adb7b libxscrnsaver: update 1.2.3 -> 1.2.4
(From OE-Core rev: e4925f434de7d555d41002c19c16591ea24aa987)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
db906cf988 libxres: update 1.2.1 -> 1.2.2
(From OE-Core rev: 58283fa4304ea83328126dfa5746247c5d0b4221)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
4da189a35c libxdamage: update 1.1.5 -> 1.1.6
(From OE-Core rev: 2decda05ebfbffdf5f4f056e2b50dc12c988253d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
1f9e0e53a0 libxcomposite: update 0.4.5 -> 0.4.6
(From OE-Core rev: cba167bcaedf17a06bb28a773f65dc321c72e020)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
a5671f2c3b libice: update 1.0.10 -> 1.1.1
(From OE-Core rev: e06496f9d8c6853ecd1c285935d82f6144fcaaab)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
a9445693a6 xf86-video-vesa: update 2.5.0 -> 2.6.0
(From OE-Core rev: dc9a4800470e5651e4d13110f1091a36789e3011)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
c0bfccc8ff xvinfo: update 1.1.4 -> 1.1.5
(From OE-Core rev: 1bbd3892e054e0fc43426b2c8b4c5080a81d6126)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
9554725e15 xset: update 1.2.4 -> 1.2.5
(From OE-Core rev: 5a1265a159459e21a73076bfefdfd3e7483a92e4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
e845404841 xprop: update 1.2.5 -> 1.2.6
(From OE-Core rev: 8cad13905aeb436d92919e977e0e5cea1c7b585f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
07a8dac76d xkbcomp: update 1.4.5 -> 1.4.6
(From OE-Core rev: 99921a13354a66516f8967638c34938f0082c521)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
cdd54c995a xinit: update 1.4.1 -> 1.4.2
(From OE-Core rev: 38b6d034f8d1373072c8ccb06f7bcc9c18dacc5a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
9e376d0659 xhost: update 1.0.8 -> 1.0.9
gettext-native is needed for xgettext executable.

License-Update: copyright years

(From OE-Core rev: 50d05038171f769d2b95b455eb2266d3a507db70)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
4d574ad5bf weston: update 11.0.0 -> 11.0.1
Upstream has published the tarball in a non-standard location. If
this persists, we might want to switch to git.

(From OE-Core rev: b737d41db8ec7975bd4f065cc1c023b7b3b29f46)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
715a25b1f1 python3: update 3.11.0 -> 3.11.1
Drop 0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch:
the patch has been rejected upstream (see the bug), and does quite a
bit more than just fix the mips softfloat problem. If the problem
still exists, then the fix needs to be re-done, and re-submitted.

The other two patches have been merged upstream.

License-Update: http->https

(From OE-Core rev: 9b6e8c173162798428cf8627b596ca81cd8ab855)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
e20cf21490 python3-installer: update 0.5.1 -> 0.6.0
(From OE-Core rev: b64d25d3e0e8f0b6a7e4b985d305519be4879073)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
25e2d493aa dpkg: update 1.21.9 -> 1.21.13
libmd is a new dependency.

(From OE-Core rev: 53862dd494c849db771d986752ca5dab464dc6cb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00