Pavel Zhukov [Thu, 10 Oct 2024 17:45:45 +0000 (19:45 +0200)]
package_rpm: Check if file exists before open()
Exception handler tries to read() /etc/passwd file in sysroot
and if file doesn't exist for any reason then it raises FileNotFoundError
exception which mask the original source of the problem and makes
debugging of the issue more difficult.
Fixes:
Exception: FileNotFoundError: [Errno 2] No such file or directory:
'/codebuild/output/src1899304708/src/build/tmp-container/work/core2-64-oe-linux/emqx-bin/4.3.12/recipe-sysroot/etc/passwd'
Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Thu, 10 Oct 2024 16:06:22 +0000 (17:06 +0100)]
insane: use oe.cachedpath.CachedPath instead of os.path
The insane QAPATHTESTs make many os.stat() calls, the majority of which
are redundant with caching as the initial sweep does a stat() on every
entry to determine if it is a file or a directory, and from then on each
test that does further stat()s is redundant as the tree doesn't change.
Switch os.stat() and friends (os.path.isfile(), etc) to use a common
oe.cachedpath.CachedPath() instance that is shared between all of the
functions, meaning only one stat is done.
In my test case of ltp:do_package_qa, this reduces the time taken from
44s to 37s.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Thu, 10 Oct 2024 16:06:20 +0000 (17:06 +0100)]
insane: micro-optimise the sweep of pkgfiles
Don't actively do more work:
- Exit early if there are no packages being generated
- Don't iterate repeatedly when removing CONTROL and DEBIAN
- Extend a list with another list instead of appending item by item
- Remove unused variables
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Thu, 10 Oct 2024 16:06:17 +0000 (17:06 +0100)]
insane: only parse ELFs if they're files, not symlinks
This reduces the number of files that need to be swept by not scanning
eg the library symlinks, and means we can remove the explicit islink()
checks in many of the tests.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Thu, 10 Oct 2024 16:06:16 +0000 (17:06 +0100)]
oe/elf: don't regenerate machine data on every call
Every time oe.elf.machine_dict() is called a large dictionary is created
and returned. However, the "arch" package_qa test will call this method
for every binary in a package, which results in a lot of dictionary
creation.
Concrete exmaple: in running ltp:do_package_qa, the arch test takes 25%
of the runtime, and opitimising the machine_dict() call to cache the
generated dictionary reduces the runtime from 57s to 44s.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Tue, 8 Oct 2024 15:47:27 +0000 (08:47 -0700)]
cml1.bbclass: do_diffconfig: Don't override .config with .config.orig
Fixed:
1) $ bitbake virtual/kernel -cmenuconfig
Do some changes and save the new config to default .config.
2) $ bitbake virtual/kernel -cdiffconfig
The config fragment is dumped into ${WORKDIR}/fragment.cfg.
But the .config which was saved by step #1 is overridden by .config.orig, so
the changes will be lost if run 'bitbake virtual/kernel'
And the following comment is for subprocess.call(), not for shutil.copy(),
so move subprocess.call() to the correct location.
# No need to check the exit code as we know it's going to be
# non-zero, but that's what we expect.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Tue, 8 Oct 2024 19:30:56 +0000 (20:30 +0100)]
libjpeg-turbo: remove redundant RUNPATH entries
Our RPATH sanity checks currently don't check RUNPATH (patch incoming),
but the libjpeg objects are built with a RUNPATH set to ${libdir}.
RUNPATH is less of a problem than RPATH (because it is used after the
standard search), but redundant entries are still redundant so lets
remove them anyway.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 10 Oct 2024 09:32:06 +0000 (10:32 +0100)]
oeqa/runtime/ssh: Rework ssh timeout
After the changes to improve this test, we keep seeing image testing ssh
failures, particularly on mips.
It looks like part of the problem is that on a loaded system, 5s is too short
for mips to reliably establish an ssh connection. I've seen logs where it keeps
timing out and fails to work, then the debug code successfully uses ssh later after
everything else fails.
Change the timings/retries to give slow platforms enough time to respond.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 9 Oct 2024 05:49:11 +0000 (13:49 +0800)]
ttyrun: upgrade 2.34.0 -> 2.35.0
Changelog:
=============
Changes of existing tools:
- cpacfstats: Add support for FULL XTS (MSA 10) and HMAC (MSA 11) PAI counter
- cpuplugd: Make cpuplugd compatible with hiperdispatch
- dbginfo.sh: Add network sockstat info
- pvapconfig: s390x exclusive build
- zdev: Add option to select IPL device
- zdump/dfo_s390: Support s390 DFO for vr-kernel dumps
- zipl: Add support of mirror devices
Bug Fixes:
- (genprotimg|zipl)/boot: discard .note.package ELF section to save memory
- netboot/mk-s390image: Fix size when argument is a symlink
- ziorep_config: Fix warning message when multipath device is not there.
- zipl: Fix problems when target parameters are specified by user
- zipl: Fix segfault when creating device-based dumps with '--dry-run'
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 9 Oct 2024 05:49:10 +0000 (13:49 +0800)]
shaderc: upgrade 2024.2 -> 2024.3
Changelog:
===========
- Update dependencies: Glslang, SPRIV-Tools, SPIRV-Headers
- SPIRV-Tools is at v2024.4.rc1
- This incorporates a SPIRV-Tools fix which was limiting parallelism.
Validator friendly name generation was serializing on a mutex
protecting the locale object.
- During HLSL compilation or any optimizing compile, don't tell the
validator to use "friendly names". This should save time spent in the
initial validation step of the optimization recipe.
- Adapt test golden results to Glslang changes which reorder
decorations by object enum value.
- Fix ndk-build library dependencies: libshaderc_util depends on glslang
- Use Python 3.12 on Linux CI bots
- Fix Python 3.12 warnings for string escapes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 9 Oct 2024 05:49:09 +0000 (13:49 +0800)]
python3-sphinx-rtd-theme: upgrade 2.0.0 -> 3.0.0
Changelog:
===========
- Trigger search modal on "Search docs" input focus
- Show hidden version in selector if it's the current active version
- Show version/language selectors below the title
- Docs: do not sign Git tag
- Docs: update the installation note
- Theme option flyout to enable/disable theme's flyout
- Populate html_context with READTHEDOCS_* environment variables
- Tests: sphinxdev tox environment installs Sphinx from master
- Docs: update releasing
- Adjust the expected test_basic output to match Sphinx 7.3+
- Addons: integrate with new beta addons flyout
- Remove html5shiv
- Remove Sphinx<5 compatibility leftovers
- Remove pytest warnings
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 9 Oct 2024 05:49:08 +0000 (13:49 +0800)]
python3-spdx-tools: upgrade 0.8.2 -> 0.8.3
Changelog:
==============
- fix license expression error handling in tag-value parser
- spdx3: software_purpose: add REQUIREMENT type
- fix tag-value parser: parse Tool or Organization as annotator
- shorten output of FileNotFoundError when called via the CLI
- fix tag-value output when related_spdx_element_id is "NONE" or "NOASSERTION"
- catch decoding errors while parsing using the cli tool
- replace Licensing() with spdx_licensing
- spdx3: element_writer: switch from tab characters to two spaces
- fix tag-value parser to allow NONE and NOASSERTION for package source info as they are valid strings
- update changelog for 0.8.3 release
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 9 Oct 2024 05:49:05 +0000 (13:49 +0800)]
python3-pefile: upgrade 2023.2.7 -> 2024.8.26
License-Update: Copyright year updated to 2024
Changelog:
===========
- Close the data attribute before reassigning it
- Floor division (//) does mathematical division with the floor function applied to the result.
- Update new dvrt type and Load Config filed adapt to Windows11
- fix PE.get_data
- Fix ambiguous string syntax for PEid parsing regexp
- fixed a memory leak that caused the pe file to be access locked.
- Exphash from sha256 to md5 to match imphash
- More readable calls to superclass
- Fix cache_adjust_FileAlignment to work with files not aligned to 0x200
- [StepSecurity] Apply security best practices
- Create sets using curly brackets
- Change IOError to OSError
- Apply isort to sort all imports
- Remove "OC Patch" comments
- Update tox.ini Python versions
- Use with statement to write to file
- Remove distutils use
- Use chaining comparison operators
- Replace list comprehension with set comprehension
- Use not in operator
- Replace base class name with super()
- Increase readability and consistency
- Tiny comment improvements
- Update oleaut32.py from oleaut32.dll
- Improve parse_rich_header
- Include ordinals for wsock32.dll
- Update ws2_32.py from ws2_32.dll
- Update pefile.py for typo
- Add parsing for IMAGE_DEBUG_TYPE_EX_DLLCHARACTERISTICS
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 9 Oct 2024 05:49:04 +0000 (13:49 +0800)]
python3-hypothesis: upgrade 6.112.1 -> 6.112.4
Changelog:
===========
- tweak the paths in @example(...) patches, so that both git apply and patch will work by default.
- refactor internals of hypothesis.stateful.Bundle to have a more consistent representation internally.
- fixe an internal error when the __context__ attribute of a raised exception leads to a cycle
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 9 Oct 2024 05:49:03 +0000 (13:49 +0800)]
python3-dbusmock: upgrade 0.32.1 -> 0.32.2
Changelog:
==============
- all templates: Drop wrong variant wrapping from all properties
- tests: Skip TestNetworkManager::test_one_wifi_with_accesspoints with NM >= 1.49.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 9 Oct 2024 05:48:59 +0000 (13:48 +0800)]
libuv: upgrade 1.48.0 -> 1.49.0
Changes since version 1.48.0:
==============================
* test: fix -Wpointer-to-int-cast on 32 bits systems
* build: add alias for libuv to CMakeLists.txt
* linux: create io_uring sqpoll ring lazily
* misc: run sample CI when code changes
* linux: fix uv_available_parallelism using cgroup
* doc: fix tty example segfault
* udp,unix: fix sendmsg use-after-free
* cygwin: implement uv_resident_set_memory
* win: almost fix race detecting ESRCH in uv_kill
* test: disable env var test under win32+asan
* unix,fs: fix realpath calls that use the system allocator
* linux: fix /proc/self/stat executable name parsing
* test,ci: fix [AM]San, disable ASLR
* win: remove _alloca usage
* unix: reinstate preadv/pwritev fallback code
* linux: don't delay EPOLL_CTL_DEL operations
* doc: fix typos in ChangeLog
* unix,win: error on zero delay tcp keepalive
* win: simplify uv_once implementation
* doc: correct udp socket options documentation
* linux: don't use sendmmsg() for single datagrams
* unix: fix fd leaks in SCM_RIGHTS error path
* win: robustify uv_os_getenv() error checking
* test: use newer ASSERT_MEM_EQ macro
* unix: de-duplicate conditions for using kqueue
* darwin: simplify uv_hrtime
* mailmap: update saghul's main email address
* win: remove no longer needed define
* doc: fix some typos
* linux,darwin: make `uv_fs_copyfile` behaves like `cp -r`
* dragonfly: disable SO_REUSEPORT for UDP socket bindings
* test: remove the obsolete HAVE_KQUEUE macro
* unix: use the presence of SOCK_* instead of OS macros for socketpair
* bsd: support pipe2() on *BSD
* unix: support SO_REUSEPORT with load balancing for TCP
* doc: add entries for extended getpw
* test: fix the flaky test-tcp-reuseport
* aix,ibmi: fix compilation errors in fs_copyfile
* unix: support SO_REUSEPORT with load balancing for UDP
* tcpkeepalive: distinguish OS versions and use proper time units
* win: map ERROR_BAD_EXE_FORMAT to UV_EFTYPE
* doc: add instruction how to install with Conan
* unix,win: remove unused req parameter from macros
* build: fix android ci build
* unix,win: export wtf8 functions properly
* hurd: add includes and macro prerequisites
* hurd: stub uv_thread_setpriority()
* ci: use macOS 12 for macOS and iOS builds
* darwin: fix crash on iOS(arm64)
* Create dependabot.yml for updating github-actions
* doc: correct names of Win32 APIs in fs.rst
* ci: bump upload and download-artifact versions
* ci: bump actions/setup-python from 4 to 5
* ci: bump KyleMayes/install-llvm-action from 1 to 2
* win,error: remap ERROR_NO_DATA to EAGAIN
* test: handle zero-length udp datagram
* misc: remove splay trees macros
* test,openbsd: remove superfluous ifdef guard
* win,fs: use posix delete semantics, if supported
* win: fix env var in uv_os_homedir and uv_os_tmpdir
* fsevents: detect watched directory removal
* ci: bump actions/checkout to 4
* linux: eliminate a read on eventfd per wakeup
* test: pipe_overlong_path handle ENAMETOOLONG
* win,fs: use the new Windows fast stat API
* win,pipe: fix race with concurrent readers
* win,signal: fix data race dispatching SIGWINCH
* build: ubsan fixes
* linux: disable SQPOLL io_uring by default
* win: fix fs.c ubsan failure
* test: rmdir can return `EEXIST` or `ENOTEMPTY`
* test: check for `UV_CHANGE` or `UV_RENAME` event
* unix,fs: silence -Wunused-result warning
* linux: support abstract unix socket autobinding
* kqueue: use EVFILT_USER for async if available
* win: remove deprecated GetVersionExW call
* doc: document uv_loop_option
* doc: fix the `uv_*_set_data` series of functions
* doc: properly label enumerations and types
* doc: document specific macOS fs_event behavior
* win,pipe: restore fallback handling for blocking pipes
* unix,win: remove unused rb-tree macro parameters
* win: compute parallelism from process cpu affinity
* win: use NtQueryInformationProcess in uv_os_getppid
* win,pipe: fix missing assignment to success
* win: fix uv_available_parallelism on win32
* win,pipe: fix another missing assignment to success
* kqueue: disallow ill-suited file descriptor kinds
* unix: restore tty attributes on handle close
* test: delete test with invalid assumption
* dragonflybsd: fix compilation failure
* test: run android tests on ci
* darwin: add udp mmsg support
* unix: work around arm-linux-gnueabihf-gcc bug
* unix: expand uv_available_parallelism() to support more platforms
* doc: add known issue in armv7
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 9 Oct 2024 05:48:58 +0000 (13:48 +0800)]
libsdl2: upgrade 2.30.7 -> 2.30.8
Changelog:
=========
- Fixed a crash in XInput code at startup
- Fixed flooding the OS with I/O when a PS4/PS5 controller is disconnected
- Added SDL_VIDEO_DOUBLE_BUFFER support to the Wayland backend
- SDL_WINDOWEVENT_EXPOSED is sent appropriately when using Wayland
- Fixed hang at startup in audio code when the application has large stack usage on Linux
- Fixed initializing KMSDRM on older Linux systems
- The pre-built SDL2.dll no longer depends on ucrtbase.dll
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 9 Oct 2024 05:48:56 +0000 (13:48 +0800)]
harfbuzz: upgrade 9.0.0 -> 10.0.1
Changelog:
============
- Relax sanitization checks for "morx"subtables to fix broken AAT shaping of
macOS 15.0 version of GeezaPro.
- Unicode 16.0.0 support.
- Various documentation fixes.
- Various build fixes.
- Add API to allow HarfBuzz client to set what glyph to use when a Unicode
Variation Selector is not supported by the font, which would allow the client
to customize what happens in this case, by using a different font for example.
- Add a callback to for "hb_face_t"for getting the list of table tags. This is
now used to make calling "hb_face_get_table_tags()"work on a faces created by
"hb_face_create_for_tables()"(e.g. faces returned by "hb_subset_or_fail()").
- CGJ and Mongolian Variation Selectors are now ignored during glyph
positioning, previously they would block both glyph substitution and
positioning across them.
- Support cairo script as an output format for "hb-view"command line tool.
- Drop an optimization that would cause HarfBuzz not apply pair positioning
lookup subtables under certain circumstances, for compatibility with other
implementations that do apply these subtables.
- Subsetting will now fail if source font has no glyphs, so feeding the subsetter
invalid data will not silently return an empty face.
- If after partially instancing a font no variation data is left (the instance
is fully static), don't consider this a failure.
- Workaround a Firefox bug in displaying SVGs generated be "hb-view"command
line tool under certain circumstances.
- Fix bug in macroman mapping for "cmap"table.
- Fix difference shaping output when HarfBuzz is built with with
"HB_NO_OT_RULESETS_FAST_PATH"enabled.
- Various subsetting and instancing fixes.
- Various fuzzing fixes.
- Add "with_libstdcxx"meson build option.
- New API:
HB_SCRIPT_GARAY
HB_SCRIPT_GURUNG_KHEMA
HB_SCRIPT_KIRAT_RAI
HB_SCRIPT_OL_ONAL
HB_SCRIPT_SUNUWAR
HB_SCRIPT_TODHRI
HB_SCRIPT_TULU_TIGALARI
hb_buffer_set_not_found_variation_selector_glyph()
hb_buffer_get_not_found_variation_selector_glyph()
hb_get_table_tags_func_t
hb_face_set_get_table_tags_func()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Chen Qi [Wed, 9 Oct 2024 08:56:47 +0000 (01:56 -0700)]
toolchain-shar-extract.sh: exit when post-relocate-setup.sh fails
When LD_LIBRARY_PATH is set, post-relocate-setup.sh will fail and
exit properly. But such failure is ignored and the SDK installation
will continue and tell user that things succeed. This is misleading.
So exit immediately if post-relocate-setup.sh fails.
Fixes [Yocto #15586]
Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Wayland:
- Improve settings portal handling
- Improve fallback for cursor themes
- Sync default values for settings with schema defaults
* Translation updates:
Brazilian Portuguese
Galician
Swedish
Overview of Changes in 4.16.2, 25-09-2024
=========================================
* GtkLabel:
- Fix centered text in RTL
* Gsk:
- Speed up some Vulkan operations
- Improve startup speed by avoiding initialization
of GL and Vulkan in most cases
- Reduce critials at startup to warnings
- Fix a crash on startup with some Vulkan drivers
- Fix a big texture leak in NGL
* Gdk:
- Speed up memory format conversions
* Wayland:
- Be more careful with mimetypes during DND or copy-paste
* Tools:
- builder-tool: Improve conversion of boxes
* Translation updates:
Brazilian Portuguese
Bulgarian
Catalan
Chinese (China)
Georgian
German
Hebrew
Indonesian
Persian
Polish
Portuguese
Slovenian
Spanish
Turkish
Ukrainian
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 10 Oct 2024 09:02:42 +0000 (10:02 +0100)]
efi-bootdisk.wks: Increase overhead-factor to avoid test failures
After commit d74bfb2d5c9e6247e4c0a3c2fdba0cc4a7585395:
"linux-yocto: Enable l2tp drivers when ptest featuee is on"
was merged, oe-selftest efibootpartition.GenericEFITest.test_boot_efi
breaks due to space issues.
Increase the disk space available to avoid this and allow functional
automated testing again.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 2 Oct 2024 23:12:52 +0000 (00:12 +0100)]
pseudo: Fix envp bug and add posix_spawn wrapper
Fix pseudo with python 3.13 by adding a wrapper for posix_spawn and
fixing a NULL pointer dereference in envp handling it uncovered. This
fixes issues on Fedora 41.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Thu, 3 Oct 2024 19:50:05 +0000 (20:50 +0100)]
strace: download release tarballs from GitHub
Switch to downloading the release tarballs from GitHub. Their CDN is
rock solid, and strace.io is hosted inside Russia which some networks
are blocking.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Deepthi Hemraj [Tue, 1 Oct 2024 12:01:07 +0000 (05:01 -0700)]
gdb: Upgrade 15.1 -> 15.2
GDB 15.2 brings the following fixes:
* PR gdb/31727 (-exec-next fails in mingw (infrun.c:2794: internal-error: resume_1: Assertion `pc_in_thread_step_range (pc, tp)' failed))
* PR c++/31900 (libstdc++-prettyprinters/debug.cc print redirected fails since gdb-14-branchpoint-2123-g4e417d7bb1c)
* PR python/31946 (sys.exit from Python no longer exits the GDB process)
* PR record/31971 (Loading a saved record file asserts if we try to execute the inferior)
* PR gdb/32005 (frv_current_sos doesn't set solib::lm_info)
* PR exp/32015 (GDB crashes while printing large D array)
* PR gdb/32025 (Fatal error when the disassemble command is interrupted with SIGINT)
* PR gdb/32143 ([15 Regression] arch/amd64.c:71: internal-error: amd64_create_target_description: Assertion `!is_x32' failed)
* PR symtab/32158 ([gdb/symtab] enum class enumerator has incorrect parent in cooked index)
* PR symtab/32160 ([gdb/symtab] Parent map: die parent or scope parent?)
Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jon Mason [Tue, 1 Oct 2024 13:43:22 +0000 (09:43 -0400)]
default-distrovars: Have KERNEL_CONSOLE reference SERIAL_CONSOLES
Currently, KERNEL_CONSOLE has a default value of "ttyS0". However, Arm
machines and those using virtio serial prefer to use "ttyAMA0" or "hvc0"
(or something else). These are usually defined by the machine config
file as SERIAL_CONSOLES, which has one or more entries. Take the first
one of those instead of ttyS0, but default back to ttyS0 if nothing is
set.
Also, use this variable in the efi wic file instead of "ttyS0".
Of note, this changes the default speed of the default kernel console
from undefined (9600) to 115200. This allows for users of the
mkefidisk.wks to work as before but any users of this variable could see
changed behavior and would now need to define this as:
KERNEL_CONSOLE ?= "ttyS0,9600"
This includes revisions suggested by Quentin Schulz and Ross Burton.
Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 30 Sep 2024 16:07:24 +0000 (17:07 +0100)]
python3-pyproject-hooks: upgrade 1.0.0 -> 1.2.0
- Improve interoperability with importlib.metadata, fixing a regression
in setuptools compatibility in 1.1 (#199).
- Clean up the _in_process directory inside the package from sys.path
before imporing the backend (#193).
- Add type annotations to the public API.
- More careful handling of the backend-path key from pyproject.toml.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Peter Marko [Sat, 28 Sep 2024 15:43:48 +0000 (17:43 +0200)]
wpa-supplicant: Ignore CVE-2024-5290
NVD CVE report [1] links Ubuntu bug [2] which has a very good
description/discussion about this issue.
It applies only to distros patching wpa-supplicant to allow non-root
users (e.g. via netdev group) to load modules.
This is not the case of Yocto.
Quote:
So upstream isn't vulnerable as they only expose the dbus interface to
root. Downstreams like Ubuntu and Chromium added a patch that grants
access to the netdev group. The patch is the problem, not the upstream
code IMHO.
There is also a commit [3] associated with this CVE, however that only
provides build-time configuration to limit paths which can be accessed
but it acts only as a mitigation for distros which allow non-root users
to load crafted modules.
The patch is included in version 2.11, however NVD has this CVE
version-less, so explicit ignore is necessary.
while runnig oe-selftest for gcc, some of the testcases that need to be run on qemu
are not running due to below failures:
- kex_exchange_identification: read: Connection reset by peer^M
Connection reset by 192.168.7.2 port 22^M
ERROR: Couldn't create remote directory /tmp/runtest.3549814 on ssh
To resolve kex exchange identification error increased the MaxStartups.
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrades the SPDX 3.0 implementation from 3.0.0 -> 3.0.1. This version
introduced some breaking changes. Effectively, 3.0.0 was a pre-release
version that we do not need to support any longer.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"gitsm" is not a recognized URI protocol (outside of bitbake), so map it
to "git" when writing. This should be OK since we report all of the
submodule source code (if enabled), and it's still possible for 3rd
party analyzers to determine that submodules are in use by looking at
.gitmodules.
The code to do the mapping is moved to a common location so it covers
SPDX 2.2 also
[YOCTO #15582]
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jonas Gorski [Thu, 26 Sep 2024 15:41:35 +0000 (17:41 +0200)]
rootfs-postcommands.bbclass: make opkg status reproducible
opkg stores the current time as Installed-Time in its status file when
installing packages to the rootfs. Make this reproducible by replacing
Installed-Time with ${REPRODUCIBLE_TIMESTAMP_ROOTFS}, which then also
matches the files' datestamps.
image.bbclass: Drop support for ImageQAFailed exceptions in image_qa
After commit 905e224849fbbed1719e0add231b00e2d570b3b4 (image_qa: fix
error handling), any unexpected exceptions in do_image_qa() would result
in a variable being set, but never used, effectively hiding the error.
Since image_qa now calls oe.qa.exit_if_errors(), remove the support for
oe.utils.ImageQAFailed and instead rely on the called functions to call
oe.qa.handle_error() themselves. This matches what do_package_qa() does.
Also update the description of do_image_qa() to explain that the called
functions are expected to call oe.qa.handle_error() themselves.
[ YOCTO #15601 ]
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 25 Sep 2024 06:49:20 +0000 (14:49 +0800)]
xcb-util-cursor: upgrade 0.1.4 -> 0.1.5
Changelog:
===========
- cppcheck style-fixes in _XcursorThemeInherits
- Insufficient memory for terminating null of string in _XcursorThemeInherits
- Set close-on-exec when opening files
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 25 Sep 2024 06:49:19 +0000 (14:49 +0800)]
wpebackend-fdo: upgrade 1.14.2 -> 1.14.3
Changelog:
===========
- Fix build issues in some configurations that require en explicit cast
to EGLNativeWindowType.
- Fix memory leak when the view backend wl_resource is destroyed.
- Fix wpe_dmabuf_pool object leak.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 25 Sep 2024 06:49:16 +0000 (14:49 +0800)]
sysklogd: upgrade 2.6.1 -> 2.6.2
Changes
=========
- 'syslog.conf': misplaced continuation character in example
- Adapt facilities for RFC5424 compliance.
- Add support for IPv6 addresses in 'listen' directive, issue #90
Fixes
=======
- Fix #85: logging to remote IPv6 address does not work.
- Fix #88: initial delay for unresolvable remote target.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 25 Sep 2024 06:49:15 +0000 (14:49 +0800)]
strace: upgrade 6.10 -> 6.11
Makefile-ptest.patch
refreshed for 6.11
Improvements
=============
* Implemented decoding of uretprobe syscall.
* Implemented decoding of WDIOC_GETSUPPORT and WDIOC_SETOPTIONS ioctl
commands.
* Enhanced decoding of unknown ioctl commands in non-abbreviated mode
by printing the contents of the ioctl argument buffer in hexadecimal format.
* Updated decoding of listmount, statmount, and statx syscalls.
* Updated lists of ETHTOOL_*, IORING_*, IPPROTO_*, RWF_*, STATX_*, and V4L2_*
constants.
* Updated lists of ioctl commands from Linux 6.11.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 25 Sep 2024 06:49:14 +0000 (14:49 +0800)]
shaderc: upgrade 2024.1 -> 2024.2
Changelog:
==========
- Update dependencies:
Glslang: top of tree 2024-06-21
SPIRV-Header: top of tree 2024-06-21
SPIRV-Tools: v2024.3.rc1
- Build:
Remove support for VS2017
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 25 Sep 2024 06:49:12 +0000 (14:49 +0800)]
repo: upgrade 2.46 -> 2.47
Changelog:
==========
- sync: include TARGET_RELEASE when constructing smart sync target.
- color: fix have_fg not re assign to true
- tox.ini: Make the lint and format environments run black for all code
- tox.ini, constraints.txt: Lock the version of black to <24
- project: run fetch --refetch onacould not parse commit
- Add a --rebase option to sync command
- sync: Fix git command for aborting rebase being called incorrectly.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 30 Sep 2024 14:54:28 +0000 (15:54 +0100)]
python3-pygobject: upgrade 3.48.2 -> 3.50.0
Add RDEPENDS on asyncio as per changelog.
Changelog:
===========
* tests: Fix event test errors when GTK is not installed :mr:'347'
* Rename master branch to main
* Drop support for Python 3.8 :mr:'300'
* Add Override for Gio.DataInputStream :mr:'293'
* Treat GParamSpec as any other fundamental type :mr:'268'
* override connection.register_object to prevent an invocation object from
leaking :mr:'219'
* Various PyPy related fixes :mr:'299'
* bind_property: Accept keyword arguments :mr:'309'
* Various documentation improvements :mr:'342' :mr:'343' :mr:'338'
:mr:'336' :mr:'335' :mr:'328' :mr:'329' :mr:'330' :mr:'325' :mr:'322' :mr:'312'
* Python2 / GTK2 cleanups :mr:'338' :mr:'331'
* asyncio integration with support to await Gio async functions :mr:'189'
* meson: move from .egg-info to .dist-info/METADATA :mr:'306'
* build: fixes for building with gobject-introspection 1.81 :mr:'344'
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 25 Sep 2024 06:49:11 +0000 (14:49 +0800)]
python3-zipp: upgrade 3.20.1 -> 3.20.2
Changelog:
===========
- Make no assertions about the number. It could be negative.
- Make zipp.compat.overlay.zipfile hashable.
- Merge https://github.com/jaraco/skeleton
- Add Python 3.13 and 3.14 into the matrix. (jaraco/skeleton#146)
- Fix an incompatibility (and source of merge conflicts) with projects using Ruff/isort.
- Merge pull request #125 from saschanaz/patch-1
- Suppress F821
- Allow the workflow to be triggered manually.
- Remove workaround for sphinx-contrib/sphinx-lint#83
- Include the trailing slash in disable_error_code(overload-overlap), also required for clean diffs.
- Add support for linking usernames.
- Add a degenerate nitpick_ignore for downstream consumers. Add a 'local' comment to delineate where the skeleton ends and the downstream begins.
- Expand docs and tests for overlay.
- Remove unexpected character \ufeff
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 25 Sep 2024 06:49:10 +0000 (14:49 +0800)]
python3-websockets: upgrade 13.0.1 -> 13.1
Changelog:
==========
- Clarify comment.
- Wait until state is CLOSED to acces close_exc.
- Improve exception handling during handshake.
- Standard spelling on "an HTTP".
- Run handler only when opening handshake succeeds.
- Run spellcheck.
- Add dedicated ConcurrencyError exception.
- Improve isolation of tests of sync implementation.
- Fix typo in convenience imports.
- Add changelog for previous commits.
- Improve error messages on HTTP parsing errors.
- Log error when server receives bad request.
- Close connection when client receives bad response.
- Simplify handling of connection close during handshake.
- Proof-read upgrade guide.
- The new asyncio implementation has reached parity.
- Follow redirects in the new asyncio implementation.
- Switch from black to ruff for code formatting.
- Prevent false positives with latest ruff.
- Update FAQ after implementing reconnection.
- Make make build the C extension by default.
- Prevent a warning in twine upload.
- Add automatic reconnection to the new asyncio implementation.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 25 Sep 2024 06:49:08 +0000 (14:49 +0800)]
python3-scons: upgrade 4.8.0 -> 4.8.1
Changelog:
==========
- env.Dump() previously accepted a single optional "key" argument.
- SCons 4.8.0 added an __all__ specifier at the top of the Variables
module (Variables/__init__.py) to control what is made available in
a star import.
- Fix a problem with AppendUnique and PrependUnique where a value could
be erroneously removed due to a substring match.
- Fix handling of ListVariable when supplying a quoted choice containing
a space character
- On win32 platform, SCons 4.7.0 modified the determination
of the output encoding of piped processes.
- Improve wording of manpage "Functions and Environment Methods" section.
- Make doc function signature style more consistent - tweaks to AddOption,
DefaultEnvironment and Tool,.
- sctypes is_* functions given explicit return types.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 25 Sep 2024 06:49:07 +0000 (14:49 +0800)]
python3-pytz: upgrade 2024.1 -> 2024.2
Changelog:
==========
- IANA 2024b
- Squashed 'tz/' changes from 380c07cef..923e54bae
- Stop testing unavailable and EOL Python 3.5
- Add support for Python 3.13
- Run other jobs if one fails
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 25 Sep 2024 06:49:04 +0000 (14:49 +0800)]
python3-pycairo: upgrade 1.26.1 -> 1.27.0
Changelog:
==========
- Drop support for Python 3.8
- Add Windows wheels for Python 3.13
- Updated cairo in Windows wheels from 1.18.0 to 1.18.2
- Port PEP517/wheel build from setuptools to meson-python. This means setup.py is gone.
System packagers should not switch to wheel builds and continue using meson directly.
- meson: install the package metadata to .dist-info/METADATA instead of .egg-info
- Drop arm64 Windows wheels again. pypa/cibuildwheel does not support cross
compiling with meson-python. They might be added back in the future if GitHub
Actions gains a native Windows runner with arm64 support.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 25 Sep 2024 06:48:59 +0000 (14:48 +0800)]
python3-dtschema: upgrade 2024.5 -> 2024.9
Changelog:
=============
- Use type information for decoding DTB properties to their defined
type. With this many of the fixups in the schema processing are
dropped.
- Restore prior behavior of matching schemas to fallback compatible
strings.
- Fix support for filtering with multiple patterns on dt-validate.
- Clean-ups for I2C schemas.
- Add an "assigned-clock-rates-u64" property to support frequencies
above 4GHz
- Add a 'test,' vendor prefix to exclude from undocumented compatible
checks. This removes the documentation requirement for test cases.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 25 Sep 2024 06:48:58 +0000 (14:48 +0800)]
python3-cffi: upgrade 1.17.0 -> 1.17.1
Changelog:
===========
- Fix failing distutils.msvc9compiler imports under Windows
- ffibuilder.emit_python_code() and ffibuiler.emit_c_code() accept file-like objects
- ffiplatform calls are bypassed by ffibuilder.emit_python_code() and ffibuilder.emit_c_code()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 25 Sep 2024 06:48:57 +0000 (14:48 +0800)]
python3-build: upgrade 1.2.1 -> 1.2.2
Changelog:
===========
- Add editable to builder.get_requries_for_build's static types
- Include artifact attestations in our release
- Fix typing compatibility with typed pyproject-hooks
- Mark more tests with network
- Add more intersphinx links to docs
- Make uv optional for tests
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 25 Sep 2024 06:48:56 +0000 (14:48 +0800)]
orc: upgrade 0.4.39 -> 0.4.40
Changelog:
===========
- Security: Minor follow-up fixes for CVE-2024-40897
- powerpc: fix div255w which still used the inexact substitution
- x86: work around old GCC versions (pre 9.0) having broken xgetbv
implementations
- x86: consider MSYS2/Cygwin as Windows for ABI purposes only
- x86: handle unnatural and misaligned array pointers
- orccodemem: Assorted memory mapping fixes
- Fix include header use from C++
- Some compatibility fixes for Musl
- ppc: Disable VSX and ISA 2.07 for Apple targets
- ppc: Allow detection of ppc64 in Mac OS
- x86: Fix non-C11 typedefs
- meson: Fix detecting XSAVE on older AppleClang
- x86: try fixing AVX detection again by adding check for XSAVE
- Check return values of malloc() and realloc()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 25 Sep 2024 06:48:54 +0000 (14:48 +0800)]
meson: upgrade 1.5.1 -> 1.5.2
0001-Make-CPU-family-warnings-fatal.patch
refreshed for 1.5.2
Changelog:
============
- nasm: Use different test sources for x86 and x86_64
- mdist: correctly detect dirty hg repos with non-English locale, redux
- backend/ninja: Generate sysroot in rust-project.json
- mdist: detect pathological git repo cases and show a slightly better error
- compilers: Pass mode to determine_args, not its string value
- CI: mark arch as skipping frameworks/libgcrypt
- When configuring fails in Github Actions, print folded logs
- Prevent raw exception during project()
- compilers: avoid -Wunused-value compiler warning in CLikeCompiler.has_type()
- compilers: avoid -Wunused-value compiler warning in CLikeCompiler.has_members()
- mformat: better handling of continuation lines
- mformat: detect invalid config
- tests: handle uncommon architecture format for nm
- mformat: regenerate long lines even if they're already multiline
- Add support for LLVM 19 in Debian.
- mformat: provide nice error message instead of backtrace for invalid value
- mformat: A triple string with a ' in it cannot be simplified
- tests/format: Make the compare script more useful
- linkers: skip -export_dynamic flag before MacOS 10.7
- format: fix indentation of comments
- mformat: correctly handle editorconfig files without the root setting
- cargo: Ignore Cargo.lock if toml implementation is missing
- compilers: do not strip '-isystem' from C build arguments
- Fix compiling ObjC/ObjC++ on Windows/MinGW
- mformat: fix formatting of empty build file
- tests: nasm: make it easier to debug generator() style build
- mdist: correctly detect dirty hg repos with non-English locale
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 25 Sep 2024 06:48:52 +0000 (14:48 +0800)]
libxi: upgrade 1.8.1 -> 1.8.2
Changelog:
============
- XGetFeedbackControl: skip over unknown feedback controls
- wireTo*Event: check for malloc() failure
- fixed wrong type in man page
- Allow XIFreeDeviceInfo on a null pointer
- gitlab CI: Update to latest CI templates
- Fix double alignment on 32bits machines with strict constraints
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 25 Sep 2024 06:48:50 +0000 (14:48 +0800)]
libpng: upgrade 1.6.43 -> 1.6.44
Changelog:
===========
- Hardened calculations in chroma handling to prevent overflows, and
relaxed a constraint in cHRM validation to accomodate the standard
ACES AP1 set of color primaries.
- Removed the ASM implementation of ARM Neon optimizations and updated
the build accordingly. Only the remaining C implementation shall be
used from now on, thus ensuring the support of the PAC/BTI security
features on ARM64.
- Fixed the pickup of the PNG_HARDWARE_OPTIMIZATIONS option in the
CMake build on FreeBSD/amd64. This is an important performance fix
on this platform.
- Applied various fixes and improvements to the CMake build.
- Added fuzzing targets for the simplified read API.
- Fixed a build error involving pngtest.c under a custom config.
- Fixed and improved the config files for AppVeyor CI and Travis CI.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 25 Sep 2024 06:48:49 +0000 (14:48 +0800)]
libjitterentropy: upgrade 3.5.0 -> 3.6.0
Changelog:
===========
* Remove bi-modal behavior of conditioning function
* Make jent_read_entropy_safe safer by retrying the health test
* Move the version information to make them available at compile time
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>