summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-08-15qemu: Add qemu-common packageMingli Yu
We split the qemu package [1] to add support to make user can install one qemu arch emulation rpm to ease the concerns who care much about the rpm size in embedded device. But for the user who only install the qemu-*.rpm can't do anything except they install the qemu emulation rpm like qemu-system-x86-64-*.rpm explicitly. So add qemu-common package to package all thing into qemu-common when not split the package, and package only the basic into qemu-common and other arch related to each qemu arch emulation rpm when split the package to fix the backward compatibility. qenu-*.rpm which is meta package rdepends on qemu-common and the available qemu arch emulation rpm like qemu-system-x86-64-*.rpm and etc. [1] https://git.openembedded.org/openembedded-core/commit/?id=893846ead7ee54d53e9076150cd655e0c8bca5db (From OE-Core rev: 91c47aa06170081b64500471a39999b42cb1f400) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15oeqa/runtime/parselogs: Exclude preempt-rt error for nowRichard Purdie
With the new 6.4 kernel we see this preempt-rt error. It is blocking changing to the new kernel and has sat on mailing lists unresolved for a long time. Ignore it in testing for now and allow upgrading until we can better understand the issues. (From OE-Core rev: 1451df346a0e2433714774421ce8f339a37a844a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15gcc: Add patch to improve testsuite failures, particularly mipsRichard Purdie
Disable loongson-mmi runtine, qemu doesn't appear to fully support them even if some of the instruction decoding is there. Also disable MSA mips runtime extensions. For some reason qemu appears to accept the test code when it shouldn't. Our selected MIPS cpu for QEMU doesn't support them. MIPS is unusual in the gcc testsuite as it uses EFFECTIVE_TARGETS and loops multiple times through the vector testsuite. In the case of the two above, we can compile/link them but not run them. Even with the runtime disabled, if the code marks it as a runtime test, it will elevate itself to that. Setting the default target to compile therefore isn't enough. Therefore add code to downgrade runtime tests to link tests if the hardware support isn't there to run them. This avoids thousands of test failures. To do this we have to hook downgrade code into the main test runner. Enable that downgrading for other cases where hardware to run vector extensions is unavailable to remove test failures on other architectures too. Also, for gcc.target tests, add checks on wheter loongson or msa code can be run before trying that, allowing downgrading of tests there to work too. Parts of the patch may be able to be split off and acceptable to upstream with discussion. Need to investigate why qemu-user passes the 'bad' instructions'. For now, this should at least remove hundreds of test failures and improve test failures on non-mips too now a root cause of some was identified. (From OE-Core rev: bdb744edfec77d3fb000da0fe432689089b20d02) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15arch-mips: Ensure TUNE_LDARGS is set correctlyRichard Purdie
Similarly to x86, ensure we have the flags to the linker operating correctly (it defaults to 32 bit). Normally it is driven by gcc so this hasn't shown up but it does lead to hundreds of binutils test failures. (From OE-Core rev: 2cf9013fd8df2bb67f93ffd44ccc23453cedf42a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15binutils-cross-testsuite: Pass TUNE_LDARGS to testsRichard Purdie
In some cases we need to pass the linker arguments to the linker, particularly when the default in LD differs to that which gcc and our compiler flags are using (mips defaults to 32 bit). Ensure these are passed in. (From OE-Core rev: 0243af31f404f0b9187cebef192e626e290ead49) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15mips/tune-mips64r2: Set qemu cpu option correctlyRichard Purdie
Ensure the CPU enabled in QEMU is correct for this architecture. (From OE-Core rev: 6e0d176c4ce2bbbd975b74e41f63e60df7e3a554) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15gcc-testsuite: Set qemu options for mips correctlyRichard Purdie
MIPS sets QEMU CPU values similarly to ppc and doens't support 'max'. Allow this to filter through correctly to the toolchain testing. (From OE-Core rev: 8c939780228d1440190a87cc24abd72d26aade74) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15gcc-testsuite: Fix qemu binary filtering code logic errorRichard Purdie
This code doesn't do what it first might appear to, it would for example remove 'm' characters from the left side of qemu-mips leaving 'ips'. Fix it to stop anyone else being confused by the subtle logic error. (From OE-Core rev: 888a7edf1c611eaf99eaf10a072ecc82cb386735) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15resulttool/report: Avoid divide by zeroRichard Purdie
Avoid a divide by zero traceback if unfortunate test counts are encountered. (From OE-Core rev: c5aeea53dfacb53dedb8445cb3523dc3a8cb6dca) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15systemd-boot: Fix build on muslKhem Raj
systemd efi.h defines wchar_t from compiler provided __WCHAR_TYPE__ therefore we do not want it to come from alltypes.h in musl case which otherwise will end up with conflicting definitions of wchar_t, defining __DEFINED_wchar_t ensures that alltypes.h does not provide it (From OE-Core rev: 7b84fe344a2067b63d0c222fbc68d5916fa7903f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-15oeqa/utils/gitarchive: fix tag computation when creating archiveAlexis Lothoré
Sporadic errors have been observed in autobuilder when trying to store new tests results: error: failed to push some refs to 'push.yoctoproject.org:yocto-testresults' hint: Updates were rejected because the tag already exists in the remote. The new tag name is generated by gitarchive based on known tags from the repository (learnt with git tag). In autobuilder case, this repository is a shallow clone, so git tag only returns most recent tags, which mean we could miss some older tags which exist in remote but not locally. In this case, gitarchive will likely create a tag which already exists in remote, and so will fail to push Fix this tag duplication by using git ls-remote to learn about existing tags instead of git tag. Two places which wrongly read only local tags has been identified in gitarchive: expand_tag_strings and get_test_runs Fixes [YOCTO #15140] (From OE-Core rev: 5a0a7da85a3acfd4a20a07478eabefdab60f313a) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14Add GCP fetcher to list of supported protocolsEmil Ekmečić
If accepted, this patch should merge with the corresponding BitBake patch titled "fetch2: add Google Cloud Platform (GCP) fetcher". (From OE-Core rev: 1e2e596bcdff031d7d7dc1d6f6adbb03d9ec2995) Signed-off-by: Emil Ekmečić <eekmecic@snap.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14libadwaita: upgrade 1.3.3 -> 1.3.4Markus Volk
============= Version 1.3.4 ============= - AdwAboutWindow - Fix :translator-credits property - AdwComboRow - Fix accessible role on the dropdown arrow - AdwEntryRow - Fix accessibility - AdwLeaflet - Fix back/forward mouse button handling - AdwTabBar - Fix accessibility - AdwTabThumbnail - Fix duplicate thumbnail during transitions - Fix the transition curve - AdwViewSwitcher - Set correct accessible role for icons - AdwWindowTitle - Fix initial title visibility - Stylesheet - Fix .card buttons within .osd - Fix single-item menu height (From OE-Core rev: 1b4cb7c52f0bfc14af09904b0ca9b37ecd6fd1f1) 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>
2023-08-14gtk4: upgrade 4.10.4 -> 4.10.5Markus Volk
Overview of Changes in 4.10.5, 05-08-2023 ========================================= * Fix ordering problems with filter model signals * Avoid lingering resize cursors * Fix alignment issues on sparc * Fix a problem with CSS corner values * Translation updates Brazilian Portuguese Czech Greek Spanish Vietnamese (From OE-Core rev: 99deaf528acdd8ef7031e251a821721191968644) 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>
2023-08-14sudo: upgrade 1.9.14p2 -> 1.9.14p3Wang Mingyu
Changelog: =========== * Fixed a crash with Python 3.12 when the sudo Python python is unloaded. This only affects "make check" for the Python plugin. * Adapted the sudo Python plugin test output to match Python 3.12. (From OE-Core rev: 63859b9e402e88ab704abef3060d66c8221a944e) 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>
2023-08-14shaderc: upgrade 2023.4 -> 2023.5Wang Mingyu
Changelog: ========== - Update dependencies - Update to Android NDK r25c - Update Android API level for test project (#1333) - For testing, add a dependency on Abseil's C++ library - Fix MSVC runtime library linking in CMake (#1339) (From OE-Core rev: a0f25ae7751cd5b6d622cef78e93eb5b25d998cf) 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>
2023-08-14re2c: upgrade 3.0 -> 3.1Wang Mingyu
Changelog: ========== - Added capturing groups with leftmost greedy semantics: - Added non-capturing groups: - Regenerated Unicode include header to support a newer standard - Published TDFA paper: https://arxiv.org/abs/2206.01398, co-authored with Angelo Borsotti - Removed experimental algorithms that are superseded by TDFA(1) and generally less efficient: - Fixed parsing of raw UTF-8 characters in Flex compatibility mode - Added header file to the dependencies generated with "--depfile" option - Fixed stack overflow on large regular expressions by rewriting recursive functions in iterative form and limited stack to 256K on GithubActions CI - Added minimal http://bazel.build integration - Added configure option "--enable-parsers" that regenerates bison parsers - Added CMake option "RE2C_REBUILD_PARSERS" - Moved the entire codebase to C++11. - Added uniform error handling (return codes are now properly checked and returned to the caller). - Reorganized codegen subsystem in four well-defined phases (analyze, generate, fixup, render) and separated codegen from parsing phase. - Improved memory allocation by using slab allocators instead of global free lists. - Moved to pure API for bison parsers. - Unified code style. - Added "--verbose" flag to run_tests.py and suppressed verbose output by default. - Multiple improvements of continuous testing with GithubActions. (From OE-Core rev: 43e646a99f8be07fd410fd4af19a31fc98508a76) 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>
2023-08-14python3-pyparsing: upgrade 3.1.0 -> 3.1.1Wang Mingyu
Changelog: ============ - Fixed regression in Word(min) - Fixed bug in bad exception messages raised by Forward expressions. - Fixed regression in SkipTo, where ignored expressions were not checked when looking for the target expression. - Fixed type annotation for enable_packrat - Some general internal code cleanup. (From OE-Core rev: 6671d50bb053060813d34692d50a9360da767dcc) 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>
2023-08-14python3-pip: upgrade 23.2 -> 23.2.1Wang Mingyu
Changelog: Disable PEP 658 metadata fetching with the legacy resolver. (From OE-Core rev: 38d6687b9ca10aeea6167067d3c80827be98e4de) 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>
2023-08-14python3-pathspec: upgrade 0.11.1 -> 0.11.2Wang Mingyu
Changelog: ========= - Issue #80: match_files with negated path spec. pathspec.PathSpec.match_*() now have a negate parameter to make using .gitignore logic easier and more efficient. - Pull #76: Add edge case: patterns that end with an escaped space - Issue #77/Pull #78: Negate with caret symbol as with the exclamation mark. (From OE-Core rev: 2b36eb04ad71f01da5a8495a6e00fcb2bc89fa3b) 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>
2023-08-14python3-markdown: upgrade 3.4.3 -> 3.4.4Wang Mingyu
Changelog: ========== Add a special case for initial 's to smarty extension (#1305). Unescape any backslash escaped inline raw HTML (#1358). Unescape backslash escaped TOC token names (#1360). (From OE-Core rev: cd32e3cfbfc95cf34b29c44f1b7bcbadcda56c92) 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>
2023-08-14python3-editables: upgrade 0.4 -> 0.5Wang Mingyu
Changelog: Fix a bug that broke importlib.invalidate_caches (From OE-Core rev: 22b19db8011c73793a07c4f2ca677a0bfcaa02d1) 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>
2023-08-14xxhash: upgrade 0.8.1 -> 0.8.2Wang Mingyu
Changelog: ========== - fix : XXH3 S390x vector implementation - fix : PowerPC vector compilation with IBM XL compiler - perf : improved WASM speed by x2/x3 using SIMD128 - perf : improved speed (+20%) for XXH3 on ARM NEON - cli : Fix filename contain /LF character - cli : Support # comment lines in --check files - cli : Support commands --binary and --ignore-missing - build: fix -Og compilation - build: fix pkgconfig generation with cmake - build: fix icc compilation - build: fix cmake install directories - build: new build options XXH_NO_XXH3, XXH_SIZE_OPT and XXH_NO_STREAM to reduce binary size - build: dedicated install targets - build: support DISPATCH mode in cmake - portability: fix x86dispatch when building with Visual + clang-cl - portability: SVE vector implementation of XXH3 - portability: compatibility with freestanding environments, using XXH_NO_STDLIB - portability: can build on Haiku - portability: validated on m68k and risc-v - doc : XXH3 specification - doc : improved doxygen documentation - misc : dedicated sanity test binary License-Update: Copyright year updated to 2021 (From OE-Core rev: e3286a35139b22e0744ff9a98021de1ec4598d12) 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>
2023-08-14gmp: upgrade 6.2.1 -> 6.3.0Wang Mingyu
cve-2021-43618.patch removed since it's included in 6.3.0 Changelog: ============ BUGS FIXED * A possible overflow of type int is avoided for mpz_cmp on huge operands. * A possible error condition when a malformed file is read with mpz_inp_raw is now correctly handled. FEATURES * New public function mpz_prevprime, companion of the existing mpz_nextprime. * New documented pointer types mpz_ptr, mpz_srcptr, and similar for other GMP types. Refer to the manual for full list and suggested usage. These types have been present in gmp.h at least since GMP-4.0, but previously not advertised to users. * Support for 64-bit Arm under Macos. * Support for the loongarch64 CPU family. * Support for building with LTO, link-time optimisations. SPEEDUPS * New special code for base = 2 in mpz_powm reduces the average time for the functions that test primality. * Speedup for the function mpz_nextprime on large operands. * Speedup for multiplications (some sizes only) thanks to new internal functions to compute small negacyclic products. * Special assembly code for IBM z13 and later "mainframe" CPUs, resulting in a huge speedup. * Improved assembly for several 64-bit x86 CPUs, Risc-V, 64-bit Arm. (From OE-Core rev: 49b625116b67a19abfd17670431ba3f96031b86e) 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>
2023-08-14file: upgrade 5.44 -> 5.45Wang Mingyu
Changelog: ========== -PR/465: psrok1: Avoid muslc asctime_r crash -add SIMH tape format support -bump the max size of the elf section notes to be read to 128K and make it configurable -PR/415: Fix decompression with program returning empty -PR/408: fix -p with seccomp -PR/412: fix MinGW compilation (From OE-Core rev: facef006da35e22394a4cbb13243769586d10f31) 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>
2023-08-14curl: upgrade 8.2.0 -> 8.2.1Wang Mingyu
Changelog: ========= amigaos: fix sys/mbuf.h m_len macro clash amissl: add missing signal.h include amissl: fix AmiSSL v5 detection cfilters: rename close/connect functions to avoid clashes ciphers.d: put URL in first column cmake: add `libcurlu`/`libcurltool` for unit tests cmake: update ngtcp2 detection configure: check for nghttp2_session_get_stream_local_window_size CONTRIBUTE: drop mention of copyright year ranges CONTRIBUTE: fix syntax in commit message description curl_multi_wait.3: fix arg quoting to doc macro .BR docs: mark two TLS options for TLS, not SSL docs: provide more see also for cipher options hostip: return IPv6 first for localhost resolves http2: fix regression on upload EOF handling http: VLH, very large header test and fixes libcurl-errors.3: add CURLUE_OK os400: correct EXPECTED_STRING_LASTZEROTERMINATED quiche: fix lookup of transfer at multi quiche: fix segfault and other things rustls: update rustls-ffi 0.10.0 socks: print ipv6 address within brackets src/mkhelp: strip off escape sequences tool: fix tool_seek_cb build when SIZEOF_CURL_OFF_T > SIZEOF_OFF_T transfer: do not clear the credentials on redirect to absolute URL unittest: remove unneeded *_LDADD websocket: rename arguments/variables to match docs (From OE-Core rev: bc868329c4bac1d5d3831a7d86b561849ca533a3) 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>
2023-08-14btrfs-tools: upgrade 6.3.1 -> 6.3.3Wang Mingyu
Changelog: =========== * mkfs: option -R deprecated, options unified in -O (-R still works) * mkfs: fix potential race with udev leading to EBUSY due to repeatedly opened file descriptors * block-group-tree is out of experimental mode * available as 'mkfs.btrfs -O block-group-tree' * btrfstune can do in-place conversion to/from (use with care) * balance: fix recognizing old and new syntax * subvol snapshot: specific error if a failure is caused by an active swapfile * tree-stats: rephrase warning when run on a mounted filesystem * completion: 'filesystem du' also completes files * check: fix docs, help text and warning that --force + --repair works on a mounted filesystem * build: fix static build when static libudev is available * documentation: * more updates from wiki, developer docs, changelogs * reformatting * updates and fixes * other: * test updates and fixes * CI cleanups and old files removed * integration with Github actions (From OE-Core rev: bda3ba69154ac8eb58e60da09ecfee20f72253d4) 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>
2023-08-14kea: upgrade to v2.4.0Sudip Mukherjee
Changes: Update license checksum: change in copyright year. Update sha256sum for new version. An additinal patch to fix the reproducible build failure which is still under discussion with upstream. (From OE-Core rev: 99f61d952467076abb68bf50f9220e422ed98e60) Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14gnu-efi: Fix build on muslKhem Raj
Build with musl emits extra warnings about pointer incompatibility due to different type of wchar_t than glibc which turns to be error in the end, disable -Werror for musl. (From OE-Core rev: 645d2bd6dee1d33a722e962d9f916540c2ef68a4) 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>
2023-08-14connman-conf: don't take over any ethernet devices, not just eth0Ross Burton
The goal of connman-conf in qemu environments is to stop connman from trying to control the network device, because runqemu will set it up appropriately. It currently hardcodes eth0, but 6.2 kernels onwards will rename eth0 to en* even when the interface is already up[1]. So that this recipe continues to work as intended, expand the list to "eth,en" so that connman ignores _all_ ethernet devices with either the new or old names. [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit?id=bd039b5ea2a91ea707ee8539df26456bd5be80af (From OE-Core rev: 56baa430f8a577ff280676dc2e8a2debbc85bc21) 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>
2023-08-14rust-target-config: fix target_features for vfpv3d16Benjamin Bara
A build with vfpv3d16 (armv7at2hf-vfpv3d16) tune currently warns: '+d16' is not a recognized feature for this target (ignoring feature) This correlates with the supported target_features for arm[1]. With the now enabled features, rustc might use vdiv.f64 with register d17, which leads to an illegal instruction on the given platform. Therefore, adapt the features s.t. they correspond to the armv7_unknown_linux_gnueabihf target[2]. Additionally, only set the latest supported version of VFP. [1] https://github.com/rust-lang/rust/blob/1.70.0/compiler/rustc_codegen_ssa/src/target_features.rs#L32 [2] https://github.com/rust-lang/rust/blob/1.70.0/compiler/rustc_target/src/spec/armv7_unknown_linux_gnueabihf.rs#L15 (From OE-Core rev: d79f0a0702b667625e12c9e131932e02cb08bada) Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14systemd: fix efi dependencyJose Quaresma
Last version of systemd dpends now on pyelftools to build the efi support but the required tool is the native ones and not the target. The systemd-boot has the corrected dependencie so fix this in the main recipe. | Program python3 (jinja2) found: YES (/build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/recipe-sysroot-native/usr/bin/python3-native/python3) modules: jinja2 | Checking if "32bit build possible" : links: NO | Program python3 (elftools) found: NO | | ../git/meson.build:2147:8: ERROR: Problem encountered: EFI bootloader support requires pyelftools. | | A full log can be found at /build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/build/meson-logs/meson-log.txt (From OE-Core rev: 69d37620a7a0626eaee1c0b37057be2ac2687290) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-14scripts/create-pull-request: update URLs to git repositoriesMichael Opdenacker
Also remove the git.pokylinux.org URL, no longer used. (From OE-Core rev: 47b88d143c2fc61ce0e03b7eb3a9dbcffadbf5b1) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-13bitbake: siggen: Update debugRichard Purdie
The debug in the comments was out of date. It is still useful so update the code sample to the new code needed. (Bitbake rev: fa2724069ea7028939d816cb5ccd0e7c1bed09a1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-13bitbake: siggen: Fix indentationRichard Purdie
(Bitbake rev: 9a98851ef86adea3b05c4eb7c44e7ea3fbbb4420) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11bitbake: runqueue.py: fix PSI check logicChen Qi
The current calculation is not correct because if tdiff is less than 1.0, it's not taken into consideration when calculating the current pressure. Also, make it clear that the 1.0s is the psi accumulation cycle, which might be changed in the future. We have this cycle because it could largely avoid the 0 result issue, that is, if the interval between checks are too small, the result might be 0. With this accumulation logic, which has been there but let's make it clear, this 0 result problem could be mitigated. (Bitbake rev: 95fa8fb5fb4d5a72e79b11d69792613bfd494e72) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11bitbake: fetch2: add Google Cloud Platform (GCP) fetcherEmil Ekmečić
This fetcher allows BitBake to fetch from a Google Cloud Storage bucket. The fetcher expects a gs:// URI of the following form: SSTATE_MIRRORS = "file://.* gs://<bucket name>/PATH" The fetcher uses the Google Cloud Storage Python Client, and expects it to be installed, configured, and authenticated prior to use. If accepted, this patch should merge in with the corresponding oe-core patch titled "Add GCP fetcher to list of supported protocols". Some comments on the patch: There is also documentation for the fetcher added to the User Manual. I'm still not completely sure about the recommends_checksum() being set to True. As I've noted in the mailing list, it will throw warnings if the fetcher is used in recipes without specifying a checksum. Please let me know if this is intended behavior or if it should be modified. Here is how this fetcher conforms to the fetcher expectations described at this link: https://git.yoctoproject.org/poky/tree/bitbake/lib/bb/fetch2/README a) Yes, network fetching only happens in the fetcher b) The fetcher has nothing to do with the unpack phase so there is no network access there c) This change doesn't affect the behavior of DL_DIR. The GCP fetcher only downloads to the DL_DIR in the same way that other fetchers, namely the S3 and Azure fetchers do. d) The fetcher is identical to the S3 and Azure fetchers in this context e) Yes, the fetcher output is deterministic because it is downloading tarballs from a bucket and not modifying them in any way. f) I set up a local proxy using tinyproxy and set the http_proxy variable to test whether the Python API respected the proxy. It appears that it did as I could see traffic passing through the proxy. I also did some searching online and found posts indicating that the Google Cloud Python APIs supported the classic Linux proxy variables, namely: - https://github.com/googleapis/google-api-python-client/issues/1260 g) Access is minimal, only checking if the file exists and downloading it if it does. h) Not applicable, BitBake already knows which version it wants and the version infomation is encoded in the filename. The fetcher has no concept of versions. i) Not applicable j) Not applicable k) No tests were added as part of this change. I didn't see any tests for the S3 or Azure changes either, is that OK? l) I'm not 100% familiar but I don't believe this fetcher is using any tools during parse time. Please correct me if I'm wrong. (Bitbake rev: 8e7e5719c1de79eb488732818871add3a6fc238b) Signed-off-by: Emil Ekmečić <eekmecic@snap.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11qemuboot: Update hardcoded path to match new layoutRichard Purdie
Obviously this code is horrible and shouldn't hardcode it. Update it to match the WORKDIR change to drop PE/PR for now. (From OE-Core rev: 05095c116602d1a8c388cc02afffcc36230138f7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11bitbake.conf: Drop PE and PR from WORKDIR and STAMPRichard Purdie
Once, we relied upon stamps changing to rebuild. PE and PR are packaging variables and are reflected in the taskhashes when/where they're used so they do not need to be in STAMP. Similarly, once, multiple versions were something which was useful in WORKDIR but this is really just noise causing long pathnames now. Drop PR and PE from these variables to clean up the paths a bit. This may break some tool assumptions about paths but those are probably things we need to fix. (From OE-Core rev: cc83e45484656a6b577ff84817131735023daad4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11systemd: add usrmerge to REQUIRED_DISTRO_FEATURESLuca Boccassi
Support for unmerged-usr is deprecated upstream, taints the system and has been removed for v255 (next release). Enforce building merged-usr images when using systemd. This allows one release cycle where it can be tested for any remaining issue, and can still be overridden, before it stops working completely. (From OE-Core rev: 802e853eeddf16d73db1900546cc5f045d1fb7ed) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11conf/init-mamager-systemd: Add usrmerge to DISTRO_FEATURESRichard Purdie
usrmerge is now required by systemd, ensure this is also added to DISTRO_FEATURES when systemd is selected. (From OE-Core rev: fa8c59c49940af4cb03df49f5b6a2a53d50fbefb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11selftest: Ensure usrmerge is enabled with systemdRichard Purdie
systemd now requires usrmerge, ensure this is always the case in our test cases. (From OE-Core rev: 465bf84c523403ccc7dc6ed8c2a9c32d85929e8c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11externalsrc: fix dependency chain issuesPeter Suti
Instead of deleting setscene tasks, now SSTATE_SKIP_CREATION is set instead. This seems to fix the compile issues where the populate_sysroot task was not run when an externalsrc recipe was built as a dependency. [YOCTO #15164] [RP addition: The deltask was added by me in 2012 when the class was created. The trouble is bitbake assumes 'sstate' tasks have a setscene task and by deleting the setscene task, bitbake stops thinking the task can be accelerated. There is other code in the sysroot code which assumes some tasks are always sstate tasks. We cannot delete the task without changes to the way bitbake learns about 'setscene' tasks so the patch is correct, avoiding creating files is the better approach given the way the world works now. There would be concerns about exisitng sstate reuse however this shouldn't occur since SRC_URI changes and that will change the underlying hashes. Hash equivalency could potentially cause issues by joining hashes together again however if the output matches, that shouldn't in theory cause any issue.] (From OE-Core rev: ee4667a24ccdd8c9d547e73aecf661e6a1283890) Signed-off-by: Peter Suti <peter.suti@streamunlimited.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11gnupg: Fix reproducibility failureRichard Purdie
yat2m can be found within the build or from the recipe-sysroot-native if runtime dependencies are present. The sysroot version has version differences to the in tree copy. Specify the one we want to make the build determinstic. (From OE-Core rev: 1feb5274db6e985e10f58359b148dabb4076917a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11selftest/reproducible: Update config to match ongoing changesRichard Purdie
We can't have systemd here any longer without usrmerge. We don't really want to enable the latter since having separate usr will likely result in a class of reproducibility and host contamination issues that enabling it might hide. Also drop INHIBIT_PACKAGE_STRIP since we generally don't build with that and the debug binaries should be generated regardless. I suspect this is legacy from older issues. (From OE-Core rev: 7b7411788e805fa067dd672c9771dcaf2af918a0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11yocto-uninative: Update hashes for uninative 4.1Michael Halstead
This version includes fixes to patchelf. (From OE-Core rev: 1c5c8ff97ba0a7f9adc592d702b865b3d166a24b) Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-11bitbake: server/process: fix sig handleYang Xu
process.signal_received is a list for signum and not iterable, change a suitable method to handle sig. (Bitbake rev: bfc53b190bd2530c2bfcea0690127d7eff620f45) Signed-off-by: Yang Xu <yang.xu@mediatek.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10Revert "kea: upgrade to v2.5.0"Richard Purdie
This reverts commit 4048ddf7fdd6859c43aeb82d85ee0851b3a9177b. 2.5.0 is a development series and the upgrade should have been to 2.4.x. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10kea: upgrade to v2.5.0Sudip Mukherjee
Changes: Update license checksum: change in copyright year. Update sha256sum for new version. An additinal patch to fix the reproducible build failure. (From OE-Core rev: 4048ddf7fdd6859c43aeb82d85ee0851b3a9177b) Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-10linux-yocto-tiny/6.4: fix HID configuration warningBruce Ashfield
Integrating the following commit(s): 88ed9ec4909 qemuarm(a15): fix HID warnings in -tiny During the update to 6.4, qemuarm was missed when updating the HID configuration to avoid the following warning: WARNING: linux-yocto-tiny-6.4.9+gitAUTOINC+8dc4f68eb8_72bad8cd75-r0 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration: [NOTE]: 'CONFIG_USB_HID' last val (y) and .config val (n) do not match [INFO]: CONFIG_USB_HID : n [INFO]: raw config text: config USB_HID tristate "USB HID transport layer" default y select HID depends on USB && INPUT && USB && HID_SUPPORT help Say Y here if you want to connect USB keyboards, mice, joysticks, graphic tablets, or any other HID based devices to your computer via USB, as well as Uninterruptible Power Supply (UPS) and monitor control devices. You can't use this driver and the HIDBP (Boot Protocol) keyboard and mouse drivers at the same time. More information is available: <file:Documentation/input/input.rst>. If unsure, say Y. To compile this driver as a module, choose M here: the module will be called usbhid. Config 'USB_HID' has the following Direct dependencies (USB_HID=n): USB(=y) && INPUT(=y) && HID_SUPPORT(=n) Parent dependencies are: USB [y] HID_SUPPORT [n] INPUT [y] [INFO]: config 'CONFIG_USB_HID' was set, but it wasn't assignable, check (parent) dependencies (From OE-Core rev: caa6df71a56ef56710c5c62f3e647322b42efd99) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>