The code fragment used to detect readline in cross builds doesn't compile
cleanly with GCC 14.1, so readline is never enabled.
Add missing includes so the test works, and readline can be enabled.
(From OE-Core rev: b97aa1c3488b8f6aeb8e25f4ce810babc46a3ce5)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a6e7c3ce700b82c57f1102187fea6b387339eca3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
GCC 14 implicitly turns a warning into a compiler error:
| ../../git/src/lib/packlib.c: In function ‘PWClose’:
| ../../git/src/lib/packlib.c:554:40: error: passing argument 1 of ‘HwmsHostToBigEndian’ from incompatible pointer type [-Wincompatible-pointer-types]
| 554 | HwmsHostToBigEndian(tmp_pwp.hwms, sizeof(tmp_pwp.hwms), en_is32);
| | ~~~~~~~^~~~~
| | |
| | uint32_t * {aka unsigned int *}
| ../../git/src/lib/packlib.c:142:27: note: expected ‘char *’ but argument is of type ‘uint32_t *’ {aka ‘unsigned int *’}
| 142 | HwmsHostToBigEndian(char *pHwms, int nLen,int nBitType)
| | ~~~~~~^~~~~
Add the cast to (char *) to silence it.
(From OE-Core rev: 50b9126cd8668d8c039e9bd61eaba458f7a22014)
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 914128f6bd988cde278e087fb9457a0c70c7e5ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The iputils merged the ping4 and ping6 command into the ping since the
commit ebad35fe[1], currently, iputils ping support being called using
"ping -6" or "ping6" symlinks.
In oe-core, there are two packages provide ipv6 ping, inetutils and iputils,
the inetutils-ping6 doesn't support "-I" option to bind the interface, that
cause some of scripts(e.g. LTP test[2]) which was based on iputils-ping6 fails.
If someone or a package needs iputils-ping6, they can enable it in local.conf
or add it into rdepends directly.
Ref:
[1] https://github.com/iputils/iputils/commit/e3de851b809c7b72ccc654a72b6af61d
[2] https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/ \
containers/netns/netns_comm.sh#L25
(From OE-Core rev: 964bdb0f8877a229ea34ab1d95dc5dabc564af51)
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 0b89bc2041f670af625829d061ce79e0840ac116)
Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
If you're building procps with a newer glibc (with pidfd_open()) but
older kernel headers (say 4.x, before __NR_pidfd_open) then procps will
fail to build because of a typo in configure.ac.
(From OE-Core rev: aaced482585fa32d2eadeeb3eb692b3c55666a2a)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Changelog:
============
*Revert setting the return path to <>. It is not RFC compliant.
*Inherit MAILFROM from the crond process environment.
(From OE-Core rev: c33261bbf0193f7f73c57ec8c463ecc36799991e)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e93d7ba7ea3718e396510b12726a232edaecf976)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Changlog:
========
rar: Fix OOB in rar e8 filter
zip: Fix out of boundary access
7zip: Limit amount of properties
bsdtar: Fix error handling around strtol() usages
passphrase: Improve newline handling on Windows
passphrase: Never allow empty passwords
rar: Fix "File CRC Error" when extracting specific rar4 archives
xar: Avoid infinite link loop
zip: Update AppleDouble support for directories
zstd: Implement core detection
PCRE2 support
add trailing letter b to bsdtar(1) substitute pattern
add support for long options "--group" and "--owner" to tar(1)
Fix possible vulnerability in tar error reporting introduced in f27c173
ISO9660: preserve the natural order of links
rar5: fix decoding unicode filenames on Windows
rar5: fix infinite loop if during rar5 decompression the last block produced no data
xz filter: fix incorrect eof at the end of an lzip member
zip: fix end-of-data marker processing when decompressing zip archives
multiple bsdunzip(1) fixes
filetime truncation fix on Windows
Adjusted configurehack.patch to align with upgraded version.
(From OE-Core rev: 1c789d692e0bbea4c26cfad8c36abf051f54a444)
Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This is part of a patch that's been upstream for a while but hasn't yet
been released. The bug is causing some downstream difficulties, so a
local patch to tide us over until the next release makes things a bit
easier.
(From OE-Core rev: 6a81ccc68f8389ca1c9c8eed009388045beea9e4)
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit bf384d6618780dea2df24adac88ba4364cb65b9b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
There is absolute path in zgrep binary. It is related to the changes that fix an
issue with zgrep on Solaris and other platforms with 'grep -e'. We don't have people
building on Solaris.
Original change:
git.savannah.gnu.org/cgit/gzip.git/commit?id=60b3f4eb672a85de28ecaad47ed426f8c8fe6c32
[RP: Tweak commit message]
(From OE-Core rev: fc18ff491111c22c3372c6de21d37945906d2287)
Signed-off-by: Oleh Matiusha <omatiush@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update acpica to the latest version, comprised of the following commits:
170fc3076a86 Update changes.txt for new ACPICA release 20240322
718374cd1bc2 Update acpixf.h for new ACPICA release 20240322
d0349632b625 Update osunixxf.c license header from 2023 to 2024
c929bc0d5028 Update osunixmap.c license header from 2023 to 2024
78c34e3738bd Update osunixdir.c license header from 2023 to 2024
193a3dda90e2 Update oslinuxtbl.c license header from 2023 to 2024
edaf61c8a97d Update oszephyr.c license header from 2023 to 2024
1c5331ede7ec Update osgendbg.c license header from 2015 to 2024
ab10380db037 Update osbsdtbl.c license header from 2023 to 2024
815db2de4317 Update osefixf.c license header from 2023 to 2024
a4dab90c90a4 Update osefitbl.c license header from 2023 to 2024
4f9205ae4283 Update oseficlib.c license header from 2023 to 2024
68bc01cec3b9 Update efihello.c license header from 2023 to 2024
f71b9942deeb Update acdragonfly.h license header from 2003 to 2024
74fb08369867 Update acgetline.c license header from 2023 to 2024
c18edfb1abfb Update the copyright year in the license header from 2023 to 2024
d58f24933d2f Get rid of MSVC warnings that arise actually due to GCC's new dangling pointer warning and also tGCC's blindspot to work with nested named structs/unions resulting in breaking of ACPI event-handling
ba8a36b5c734 events/evgpeinit: don't forget to increment registered GPE count
8affc87afd28 events/evxfgpe: correctly clear GPE_AUTO_ENABLED in AcpiSetupGpeForWake
69f81815f830 Fix Capabilities[1024] mess
3e89d40e19fc Update actbl2.h to get rid of the MSVC error C2233
a0ad1ed5105f Fix CXL 3.0 structure (RDPAS) in the CEDT table
9061cd9aa131 ACPICA: debugger: check status of AcpiEvaluateObject in AcpiDbWalkForFields
b9423c1d35b0 SRAT: Add dump and compiler support for RINTC affinity structure
93caddbf2f62 SRAT: Add RISC-V RINTC affinity structure
9788e0dc955b Modify ACPI_OBJECT_COMMON_HEADER
a6a236c44c7d Fix spelling and typos: Clean up the fix for Issue #900
b6b38edb0c18 Clean up the fix for Issue #900
8f789f356fb5 tests/common: use CopyObject instead of Store for NRMT
bce7c55e99a0 acgcc: Fix C++ issue with ACPI_FLEX_ARRAY
e3afd8e17bc8 MADT: Add new MADT GICC/GICR/ITS non-coherent flags handling
453a5f675677 MADT: Add GICC online capable bit handling
6cd47047aca6 Fix various spelling mistakes in text files and code comments
31a16a32e7f3 acpisrc: Add identifiers for the NHLT table
32260f5ce519 NHLT: Reintroduce types the table consists of
6ab5a3bb1608 AdDisassemblerHeader: omit timestamp for deterministic output
471de8b63a98 Fix build indeterminism for asm compiler header.
50aec3ad9364 os_specific: zephyr: update AcpiOsGetTimer with arch specific timer
10ae1038e51e osal: zephyr: Fix write access for mapped memory
3944ce4dd104 osal: zephyr: Fix AcpiOsPrintf implementation
a97db76b5f1c Fix issue #896
f5910dd1ab60 Attempt 1 to fix issue #900
c581606cf49b ACPI 6.5: RAS2: Add support for RAS2 table
673fc21311ff Add port definitions for CDAT SSLBIS
9c5649bd2c65 dmtbdump2: remove redundant failure check on Status
544938c98a7a dmtbdump: remove duplicated code for both paths of an if statement
0c7379eae2a0 NHLT: Drop preliminary support
7b10fafca61f Revert "NHLT: Declare device configuration types"
0333c2af1317 os_specific: zephyr: add generic platform support
2872257aab53 Fix segfault when error-checking mixed table types
c7171588a9f6 actbl1.h: Add EINJ CXL error types
da740d8d27ff Get rid of // style comments
75635cb363c6 NHLT: Declare device configuration types
bbd7aee285ca dmtbinfo2.c: RISC-V: Remove redundant Flags print
License-Update: copyright years
(From OE-Core rev: 6059f8eb8097079142bb35fe46c55f3b6e68d1fc)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Github is now the location of the ACPICA source code, per
https://www.intel.com/content/www/us/en/developer/topic-technology/open/acpica/download.html
Update to this location. Also, this allows for devtool check for new
versions (in theory), and allows for an easier collection of the
changelog when updating versions.
Using the SRCREV SHA that matches the tarball release. So, this should
match what is currently being used.
(From OE-Core rev: 7122db6d368170a6a428f3028a221e4036114d68)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes the following issue:
install: cannot stat '.../recipe-sysroot-native/usr/lib/libattr.so.*': No such file or directory
...
ERROR: Task (virtual:native:.../shadow_4.14.2.bb:do_install) failed with exit code '1'
(From OE-Core rev: b3afb80d07d97aaa786b6921fb6f61e316201367)
Signed-off-by: Sam Van Den Berge <sam.van.den.berge@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream moved the connectors tests to kernel_misc group but didn't
update the group index, this cause test kernel by group report error.
(From OE-Core rev: 360c6230f8466975b2907d23c056110296c4e68d)
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Calling 'useradd' through pseudo on (at least) Ubuntu 20 creates
filesystem objects (.bashrc, .profile) with invalid attributes. It
manifests as
| tar: ./home/.../.bashrc: Unknown file type; file ignored
or
| Copying files into the device: __populate_fs: ignoring entry ".bashrc"
| .bashrc: File not found by ext2_lookup while looking up ".bashrc"
when building the image.
This happens due to a bug in shadow which is caused by clobbering
fstatat() results.
(From OE-Core rev: 991f880e5cb3d30a1197711d44af2fdb1719ce82)
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ptest packages were leaking BUILD_LDFLAGS into the Makefile used
on target. Remove these values instead.
(From OE-Core rev: 599132c7794a1192ddd257669798a3ec6d1191bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the outcome of investigating the selftest-armhost fail:
https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/3028/steps/15/logs/stdio
When man-pages recipe builds on ubuntu 18.04, /usr/bin/env on that is too
old to support -S option, and the outcome is that man-pages quietly
installs nothing, and no packages get created, and the test
that expects the package to exist fails.
(From OE-Core rev: 7bfbaaf2baa54f0abff231cfc263d4d8bc7f732b)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adjust selftest to git-add the directory with newly added patches,
as the new minicom recipe has no default patches, and thus no directory
with them (and the selftest assumed it does).
(From OE-Core rev: 1fb2aa3f242ef20f8edfb518164b629258a04dd4)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Convert from handcrafted makefiles to autotools (added in 4.97.0).
(From OE-Core rev: c86b575446699864c102dd0408ebe58b5729881c)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set CVE_STATUS as none of the issues apply against the versions
used in the recipes.
(From OE-Core rev: cea8c8bf73e84133f566d1c2ca0637494f2d7afe)
Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE_STATUS was set for those components, but meanwhile databases are updated
with corrected information, so setting the CVE_STATUS is not needed anymore.
(From OE-Core rev: 5ec6057cfa66ceeb33bec013e320f8e3fa7d7ecf)
Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fix commit oe-core: 1b69769b -- bash: changes to SIGINT handler while waiting for a child
Due to the patch adjust and drop some codes to be applicable the tree,
the line number has been changed, that cause test case "run-type" fail.
(From OE-Core rev: ecb698ca5b4f76937dd3bee927465b17866d50be)
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Project has made changes to the site structure: https://tukaani.org/
| The XZ projects were moved to their own website on xz.tukaani.org in
| January 2024. The old links will be kept working via redirections.
While old release tarballs are still being accesible on the site via
redirects, new releases are no longer hosted on the site and point
directly to github - update SRC_URI.
The website change was mentioned in the COPYING file, changing its hash.
Full Changelog:
https://github.com/tukaani-project/xz/releases/tag/v5.4.6
License-Update: new URL due to website restructure
(From OE-Core rev: 9cc6c809c154019afe3bf6e6d617eab640faa4d0)
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package nativesdk-sdk-provides-dummy already provides /bin/sh and /bin/bash and
nativesdk-bash does not provide them, it provides them in ${nativesdk_bindir}. Tweak
the definition to class-target only to avoid this.
[RP: Tweaked wording to clarify]
(From OE-Core rev: 4362867cc21a0b8ec6a780258859ce8b7c13ae02)
Signed-off-by: Maanya Goenka <maanyagoenka@microsoft.com>
Signed-off-by : Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Localized HTML templates in /usr/share/cups/templates are now part of
locale packages.
(From OE-Core rev: beb21ac92e95b6f4bf64e4932b154f78e2c6c2ef)
Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_install_ptest is only called if ptest is enabled, so don't guard it
again.
(From OE-Core rev: 7f9d0f331ce5b5292117b3d8c23f747a369cfde6)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to conditionally include run-ptest in the SRC_URI.
(From OE-Core rev: 74bd5ea29c8e2c607e9b982028c103abebcd0b27)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was causing host contamination in particular, where
libsystemd was installed on the host.
(From OE-Core rev: fda06b441655cfa4e5f93e8f5587f27aa3610bb8)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed for rpm reproducibility, as otherwise libmagic
will call an external lzip executable, which is both
non-threadsafe, and non-deterministic w.r.t sysroot presence.
(From OE-Core rev: 0e4bde86e1aa499274fc85d01d36a74c3401762e)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The proc01 test used to hang when reading /proc/kmsg. This issue could
have been a number of issues which were fixed in the meantime. Try
re-enabling the test to see if the issue is still present.
(From OE-Core rev: 8832ff65ba91587fbe739173bb2d33119a1c6f1b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed patch accepted upstream as
8c53cc947 ("testcases/kernel/syscalls/fcntl: define _LARGEFILE64_SOURCE")
Rebase runtest/mm patch.
[RP:
Drop connectors group since dropped upstream:
9b642d89c0
Drop fsx too:
fb2b6a0b3c
]
(From OE-Core rev: b2867cac5ac58862469f0c6c056607abeca0b0d0)
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
-Really include tests/standalone.sh in tarball.
-Bump libtool version numbers to reflect API/ABI addition.
-Include tests/standalone.sh in tarball.
License-Update: Copyright year updated to 2024.
(From OE-Core rev: 009c7a1fed30bcb78d5fa90bbb9e38a7604cd0a5)
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>