]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/log
thirdparty/openembedded/openembedded-core.git
8 months agoRevert "oeqa/utils/gitarchive: fix tag computation when creating archive" uninative-4.2
Richard Purdie [Wed, 16 Aug 2023 06:55:50 +0000 (07:55 +0100)] 
Revert "oeqa/utils/gitarchive: fix tag computation when creating archive"

This reverts commit 5a0a7da85a3acfd4a20a07478eabefdab60f313a.

This caused failres on the build performance tests on the autobuilder.

8 months agosystemd-boot: use MESON_TARGET
Ross Burton [Thu, 10 Aug 2023 16:24:45 +0000 (17:24 +0100)] 
systemd-boot: use MESON_TARGET

Instead of re-implementing do_compile, use MESON_TARGET.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agomeson.bbclass:: update do_write_config vardeps
Ross Burton [Thu, 10 Aug 2023 16:24:44 +0000 (17:24 +0100)] 
meson.bbclass:: update do_write_config vardeps

Add OBJCOPY and EXEWRAPPER_ENABLED, remove LD as it isn't used anymore.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agomeson.bbclass: add MESON_TARGET
Ross Burton [Thu, 10 Aug 2023 16:24:43 +0000 (17:24 +0100)] 
meson.bbclass: add MESON_TARGET

Add a variable to control what target gets built in do_compile.  By
default this value is unset so meson builds the default target, but by
setting MESON_TARGET a specific target can be built.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agokernel.bbclass: Use KERNEL_STRIP instead of STRIP
Khem Raj [Mon, 14 Aug 2023 02:25:50 +0000 (19:25 -0700)] 
kernel.bbclass: Use KERNEL_STRIP instead of STRIP

Kernel uses its own variables KERNEL_* instead of general toolchain env
variables, therefore use KERNEL_STRIP here explicitly, Problems happen
when using llvm-strip as default STRIP in distro settings, since kernel
defaults to using gcc, system does not stage llvm/clang toolchain into
kernel's staging sysroot and this function ends up with

FileNotFoundError: [Errno 2] No such file or directory: 'riscv64-yoe-linux-llvm-strip'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agogtk4: upgrade 4.10.5 -> 4.12.0
Markus Volk [Tue, 15 Aug 2023 14:52:18 +0000 (16:52 +0200)] 
gtk4: upgrade 4.10.5 -> 4.12.0

gtk.h: gtkscrollinfo.h was added, no change of license
gdk.h: gdkpixbuf.h was deprecated, no change of license

update renamed build-options

Overview of Changes in 4.12.0, 05-08-2023
=========================================

* List widgets:
 - Add scroll_to APIs

* GtkFileLauncher:
 - Add an always-ask property

* GtkTextView:
 - Make backspace behavior match GtkEntry

* gsk:
 - Fix handling of luminance in mask nodes

* Text rendering:
 - Automate the setting of gtk-hint-font-metrics from the
   scale factor. This improves font rendering in flatpaks

* Wayland:
 - Fix behavior of stylus buttons
 - Support suspended window state

* Vulkan:
 - Many improvements

* Tools:
 - Add gtk4-rendernode-tool

* Debugging:
 - Drop the GTK_DEBUG_TOUCHSCREEN flag

* Build:
 - Some build options have been renamed:
     gtk_doc -> documentation
     update_screenshots -> screenshots
   The old names still work

Overview of Changes in 4.11.4, 03-07-2023
=========================================

* GtkFileChooser:
 - Default to sorting folders first
 - Fix a crash when visiting recent files

* GtkTextView:
 - Fix corner cases in word navigation

* GtkMenuButton:
 - Normalize label layout

* GtkDropDown:
 - Add support for sections

* GtkVideo:
 - Make the overlay icon clickable

* GtkWindow:
 - Clear the resize cursors to avoid artifacts

* GtkFileDialog:
 - Always set initial-folder

* GtkDropDown:
 - Update on expression changes

* GtkMapListModel:
 - Implement GtkSectionModel

* Accessibility:
 - Improvements all over the place: GtkButton, GtkPasswordEntry,
   GtkFontChooserDialog, GtkColorChooserDialog, GtkShortcutsWindow,
   GtkMenuButton, GtkAboutDialog, GtkFileChooserDialog, GtkStackSidebar,
   GtkStackSwitcher, GtkMediaControls, GtkColorDialogButton, GtkDropDown,
   GtkInfoBar, GtkNotebook, GtkPrintUnixDialog, GtkModelButton
 - Make name computation follow the ARIA spec more closely
 - Adapt name computation for the common 'nested button' scenario
 - Change many containers to use `generic` instead of `group`
 - Use `generic` as the default role
 - Use `application` instead of `window` for windows
 - Add properties for accessible names of not directly exposed
   widgets in GtkListView, GtkGridView and GtkColumnView

* DND:
 - Fix criticals when drops are rejected

* X11:
 - Fix regressions in GLX setup

* Windows:
 - Center newly created transient windows

* Vulkan:
 - Add antialising for gradients
 - Do less work on clipped away nodes
 - Redo image uploading
 - Support different image depths and formats
 - Add a pipeline cache

* Demos:
 - gtk4-demo: Improve window sizing
 - gtk4-demo: Improve focus behavior
 - gtk4-demo: Add many missing a11y properties

* Tools:
 - gtk4-builder-tool: Make render an alias screenshot

* Inspector:
 - Show more information in the a11y tab
 - Add an accessibility overlay with warnings and recommendations
 - Limit the width of the a11y tab

* Build:
 - Require GLib 2.76
 - Make asan builds work again
 - Fix the build if ld is not ld.bdf

Overview of Changes in 4.11.3, 05-06-2023
=========================================

* GtkGridView:
 - Respect css border-spacing
 - Don't leak the factories

* GtkListView:
 - Don't leak the factories

* GtkColumnView:
 - Support displaying sections

* GtkNotebook:
 - Make the pages model implement GtkSelectionModel

* GtkScrolledWindow:
 - Propagate child measure size whenever possible

* GtkPopoverMenu:
 - Avoid unnecessary left padding

* GtkSearchEntry:
 - Improve size allocation for the clear icon

* GtkBoxLayout:
 - Fix a regression from recent baseline work

* CSS:
 - Add new binding-friendly css provider apis

* Theme:
 - Show focus in the shortcuts window

* GDK:
 - Support grayscale and alpha texture formats for loading
   and saving to png and tiff, and in GL
 - Fix some regressions in GL context initialization

* GSK:
 - Support grayscale and alpha texture formats in the GL renderer
 - Support straight alpha textures in the GL renderer
 - Many improvements to the experimental Vulkan renderer

* Wayland:
 - Make exporting surface handles more flexible

* X11:
 - Trap XRandr errors
 - Stop using passive grabs during DND

* Windows:
 - Many cleanups and simplifications

* Tests:
 - Improve test coverage

* Build:
 - Some build options have been renamed:
     demos -> build-demos
     profile -> demo-profile
   The old names still work

* Deprecations:
 - gtk_css_provider_load_from_data
 - gdk_wayland_toplevel_unexport_handle
 - gdk_pixbuf_get_from_surface
 - gdk_pixbuf_get_from_texture
 - gtk_image_new_from_pixbuf
 - gtk_image_set_from_pixbuf
 - gtk_picture_new_for_pixbuf
 - gtk_picture_set_pixbuf

Overview of Changes in 4.11.2, 09-05-2023
=========================================

* GtkGLArea:
 - Add an allowed-apis property

* GtkListBox:
 - Fix a problem with gtk_list_box_remove_all

* Add the GtkSectionModel interface, and implement it in most
  of our list models

* GtkListView:
 - Support displaying sections

* GtkCenterBox:
 - Add a shrink-center-last property

* GtkButton, GtkMenuButton:
 - Add a can-shrink property

* GtkPopover:
 - Fix problems with grabs

* GtkFileChooser:
 - Fix a problem with removing files
 - Make the date, time and location columns work
 - Fix filtering in the save entry popup
 - A few memory leak fixes
 - Handle webdav in the pathbar

* GtkBox:
 - Support baselines in vertical orientation with GtkBox:baseline-child

* Dialogs:
 - Destroy windows promptly when the async callback finishes
 - Detect absence of the OpenURI portal and fall back

* Theme:
 - Add explicit style classes to a number of widgets
 - Fix some contrast issues in the dark theme

* Accessibility:
 - Fix alert dialogs in the a11y tree
 - Improve accessibility of GtkShortcutsWindow

* Layout:
 - Some fixes to baseline alignment
 - Separate GTK_ALIGN_BASELINE_CENTER and _FILL

* CSS:
 - Fix a crash with color transitions

* GSK:
 - Fix problems with negative scales
 - Improve scaling of offscreens for (cross-fades, masks, blends)

* GL:
 - Add GdkGLTextureBuilder, a more flexible api for creating textures
 - Support setting update regions for GL textures
 - Ensure that we work with GLES 2

* Vulkan:
 - More fixes to the experimental Vulkan renderer
 - Rework glyph caching

* Wayland:
 - Don't destroy wl_surfaces on hide
 - Plug leaks of compositor-side resources

* X11:
 - Fix artifacts in gnome-shell frame decorations

* Windows:
 - Fix GL context initialization

* Inspector:
 - Improve the action list
 - Improve the accessibility pane
 - Fix a crash

* Tools:
 - gtk4-node-editor: Improve scaling
 - gtk4-node-editor: Preserve aspect ratio of textures
 - gtk4-node-editor: Add some smarter editing
 - gtk4-demo: Make the stylus demo work with mice

* Deprecations:
 - gtk_widget_get_allocated_width/height/baseline
 - GTK_ALIGN_BASELINE

Overview of Changes in 4.11.1, 03-04-2023
=========================================

* GtkLabel, GtkLinkButton:
 - Make file:// uris work again

* GtkListView/GtkColumnView/GtkGridView:
 - Fix clipping issues
 - Handle focus movement better
 - Introduce ::tab-behavior properties
 - Introduce GtkListItem::focusable
 - Introduce GtkColumnViewCell
 - Introduce row factories in GtkColumnView
 - Make list grid and column views inert when not rendering

* Drag-and-Drop:
 - Support resizing drag surfaces, using the new
   GdkDragSurface::compute-size signal

* Theme:
 - Port .boxed-list style from Adwaita
 - Make insensitive pictures appear grayed out

* Accessibility:
 - Fix memory leaks
 - Fix a crash

* GDK:
 - Add gdk_surface_get_scale to get the fractional scale
 - Use fractional scales on Wayland with cairo
 - Use fractional scales on Wayland with GL if GDK_DEBUG=gl-fractional
   is set. This support is still experimental

* GSK:
 - Allow limiting texture sizes with GSK_MAX_TEXTURE_SIZE
 - Use samplers for GL texture filtering
 - Fix problems with texture slicing
 - Avoid re-uploading textures when possible
 - Use mipmaps when it is beneficial

* Wayland:
 - Fix handling of Drag hotspots
 - Fix a crash with cursor size 0
 - Support absolute paths in WAYLAND_DISPLAY
 - Use the fractional scale protocol
 - Use a viewporter to set buffer scale

* Windows:
 - Fix problems with WGL

* Vulkan:
 - Some fixes to the experimental Vulkan renderer
 - Support fractional scaling

* Debugging:
 - Show more Wayland-specific information in the inspector

* Deprecations:
 - gtk_widget_translate_coordinates
 - gdk_surface_create_similar_surface

* Documentation:
 - Add a section on coordinate systems

* Build:
 - Require wayland-protocols 1.31

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agoopenssl: Upgrade 3.1.1 -> 3.1.2
Peter Marko [Tue, 1 Aug 2023 16:36:41 +0000 (18:36 +0200)] 
openssl: Upgrade 3.1.1 -> 3.1.2

https://github.com/openssl/openssl/blob/openssl-3.1/NEWS.md#major-changes-between-openssl-311-and-openssl-312-1-aug-2023
Major changes between OpenSSL 3.1.1 and OpenSSL 3.1.2 [1 Aug 2023]
* Fix excessive time spent checking DH q parameter value (CVE-2023-3817)
* Fix DH_check() excessive time with over sized modulus (CVE-2023-3446)
* Do not ignore empty associated data entries with AES-SIV (CVE-2023-2975)
* When building with the enable-fips option and using the resulting FIPS provider, TLS 1.2 will, by default, mandate the use of an extended master secret and the Hash and HMAC DRBGs will not operate with truncated digests.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agolib/package_manager: Improve repo artefact filtering
Richard Purdie [Tue, 15 Aug 2023 15:49:24 +0000 (16:49 +0100)] 
lib/package_manager: Improve repo artefact filtering

If you run an arm build followed by an x86 one and then ask for a
full repo to be created, it will include all of the arm and x86 packages.
testexport will then find the arm socat package rather than the x86 one
and try and run arm binaries within an x86 qemu image with no success.

The reproducer for this was:

oe-selftest -r fitimage.FitImageTests.test_initramfs_bundle runtime_test.TestImage.test_testimage_install

This patch only symlinks in the compatible package archictures rather
than all of them which fixes the failure and the resulting autobuilder
intermittent failure too.

[YOCTO #15190]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agoglibc-tests: Add missing libgcc runtime dependency
Khem Raj [Mon, 14 Aug 2023 04:59:21 +0000 (21:59 -0700)] 
glibc-tests: Add missing libgcc runtime dependency

Some tests e.g. tst-y2039-time64 from glibc 2.38+ needs it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agoglibc: Fix SVE detection on aarch64
Khem Raj [Mon, 14 Aug 2023 04:59:20 +0000 (21:59 -0700)] 
glibc: Fix SVE detection on aarch64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agoglibc: Drop --enable-tunables
Khem Raj [Mon, 14 Aug 2023 04:59:19 +0000 (21:59 -0700)] 
glibc: Drop --enable-tunables

Its removed and is implicit default in 2.38+ [1]

[1] https://mail.gnu.org/archive/html/info-gnu/2023-07/msg00010.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agoglibc: Enable fortify sources by defaults
Khem Raj [Mon, 14 Aug 2023 04:59:18 +0000 (21:59 -0700)] 
glibc: Enable fortify sources by defaults

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agoglibc: Upgrade to 2.38 release
Khem Raj [Mon, 14 Aug 2023 04:59:17 +0000 (21:59 -0700)] 
glibc: Upgrade to 2.38 release

Announcement - https://mail.gnu.org/archive/html/info-gnu/2023-07/msg00010.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agoconf/machine: set preferred kernel to be 6.4
Bruce Ashfield [Mon, 10 Jul 2023 03:20:24 +0000 (23:20 -0400)] 
conf/machine: set preferred kernel to be 6.4

(From OE-Core rev: b544e62827d2a3606fbc886ea520256c948e197c)

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>
8 months agoqemu: Upgrade 8.0.3 -> 8.0.4
Richard Purdie [Mon, 14 Aug 2023 11:39:56 +0000 (12:39 +0100)] 
qemu: Upgrade 8.0.3 -> 8.0.4

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agoqemu: Add qemu-common package
Mingli Yu [Mon, 17 Jul 2023 07:11:14 +0000 (15:11 +0800)] 
qemu: Add qemu-common package

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

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agooeqa/runtime/parselogs: Exclude preempt-rt error for now
Richard Purdie [Sun, 13 Aug 2023 09:36:27 +0000 (10:36 +0100)] 
oeqa/runtime/parselogs: Exclude preempt-rt error for now

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agogcc: Add patch to improve testsuite failures, particularly mips
Richard Purdie [Sun, 13 Aug 2023 09:24:05 +0000 (10:24 +0100)] 
gcc: Add patch to improve testsuite failures, particularly mips

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agoarch-mips: Ensure TUNE_LDARGS is set correctly
Richard Purdie [Sun, 13 Aug 2023 09:22:17 +0000 (10:22 +0100)] 
arch-mips: Ensure TUNE_LDARGS is set correctly

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agobinutils-cross-testsuite: Pass TUNE_LDARGS to tests
Richard Purdie [Sun, 13 Aug 2023 09:20:40 +0000 (10:20 +0100)] 
binutils-cross-testsuite: Pass TUNE_LDARGS to tests

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agomips/tune-mips64r2: Set qemu cpu option correctly
Richard Purdie [Sun, 13 Aug 2023 09:19:07 +0000 (10:19 +0100)] 
mips/tune-mips64r2: Set qemu cpu option correctly

Ensure the CPU enabled in QEMU is correct for this architecture.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agogcc-testsuite: Set qemu options for mips correctly
Richard Purdie [Sun, 13 Aug 2023 09:14:51 +0000 (10:14 +0100)] 
gcc-testsuite: Set qemu options for mips correctly

MIPS sets QEMU CPU values similarly to ppc and doens't support 'max'.
Allow this to filter through correctly to the toolchain testing.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agogcc-testsuite: Fix qemu binary filtering code logic error
Richard Purdie [Sun, 13 Aug 2023 09:13:03 +0000 (10:13 +0100)] 
gcc-testsuite: Fix qemu binary filtering code logic error

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agoresulttool/report: Avoid divide by zero
Richard Purdie [Sun, 13 Aug 2023 09:09:14 +0000 (10:09 +0100)] 
resulttool/report: Avoid divide by zero

Avoid a divide by zero traceback if unfortunate test counts are encountered.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agosystemd-boot: Fix build on musl
Khem Raj [Fri, 11 Aug 2023 06:31:01 +0000 (23:31 -0700)] 
systemd-boot: Fix build on musl

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agooeqa/utils/gitarchive: fix tag computation when creating archive
Alexis Lothoré [Fri, 11 Aug 2023 12:55:32 +0000 (14:55 +0200)] 
oeqa/utils/gitarchive: fix tag computation when creating archive

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]

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agoAdd GCP fetcher to list of supported protocols
Emil Ekmečić [Wed, 2 Aug 2023 13:25:41 +0000 (06:25 -0700)] 
Add GCP fetcher to list of supported protocols

If accepted, this patch should merge with the corresponding BitBake
patch titled "fetch2: add Google Cloud Platform (GCP) fetcher".

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>
8 months agolibadwaita: upgrade 1.3.3 -> 1.3.4
Markus Volk [Fri, 11 Aug 2023 14:31:53 +0000 (16:31 +0200)] 
libadwaita: upgrade 1.3.3 -> 1.3.4

=============
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

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>
8 months agogtk4: upgrade 4.10.4 -> 4.10.5
Markus Volk [Fri, 11 Aug 2023 14:11:22 +0000 (16:11 +0200)] 
gtk4: upgrade 4.10.4 -> 4.10.5

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

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>
8 months agosudo: upgrade 1.9.14p2 -> 1.9.14p3
Wang Mingyu [Tue, 1 Aug 2023 07:41:27 +0000 (15:41 +0800)] 
sudo: upgrade 1.9.14p2 -> 1.9.14p3

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.

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>
8 months agoshaderc: upgrade 2023.4 -> 2023.5
Wang Mingyu [Tue, 1 Aug 2023 07:41:26 +0000 (15:41 +0800)] 
shaderc: upgrade 2023.4 -> 2023.5

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)

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>
8 months agore2c: upgrade 3.0 -> 3.1
Wang Mingyu [Tue, 1 Aug 2023 07:41:25 +0000 (15:41 +0800)] 
re2c: upgrade 3.0 -> 3.1

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.

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>
8 months agopython3-pyparsing: upgrade 3.1.0 -> 3.1.1
Wang Mingyu [Tue, 1 Aug 2023 07:41:24 +0000 (15:41 +0800)] 
python3-pyparsing: upgrade 3.1.0 -> 3.1.1

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.

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>
8 months agopython3-pip: upgrade 23.2 -> 23.2.1
Wang Mingyu [Tue, 1 Aug 2023 07:41:23 +0000 (15:41 +0800)] 
python3-pip: upgrade 23.2 -> 23.2.1

Changelog:
 Disable PEP 658 metadata fetching with the legacy resolver.

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>
8 months agopython3-pathspec: upgrade 0.11.1 -> 0.11.2
Wang Mingyu [Tue, 1 Aug 2023 07:41:22 +0000 (15:41 +0800)] 
python3-pathspec: upgrade 0.11.1 -> 0.11.2

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.

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>
8 months agopython3-markdown: upgrade 3.4.3 -> 3.4.4
Wang Mingyu [Tue, 1 Aug 2023 07:41:21 +0000 (15:41 +0800)] 
python3-markdown: upgrade 3.4.3 -> 3.4.4

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).

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>
8 months agopython3-editables: upgrade 0.4 -> 0.5
Wang Mingyu [Tue, 1 Aug 2023 07:41:20 +0000 (15:41 +0800)] 
python3-editables: upgrade 0.4 -> 0.5

Changelog:
 Fix a bug that broke importlib.invalidate_caches

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>
8 months agoxxhash: upgrade 0.8.1 -> 0.8.2
Wang Mingyu [Tue, 1 Aug 2023 07:41:19 +0000 (15:41 +0800)] 
xxhash: upgrade 0.8.1 -> 0.8.2

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

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>
8 months agogmp: upgrade 6.2.1 -> 6.3.0
Wang Mingyu [Tue, 1 Aug 2023 07:41:14 +0000 (15:41 +0800)] 
gmp: upgrade 6.2.1 -> 6.3.0

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.

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>
8 months agofile: upgrade 5.44 -> 5.45
Wang Mingyu [Tue, 1 Aug 2023 07:41:13 +0000 (15:41 +0800)] 
file: upgrade 5.44 -> 5.45

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

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>
8 months agocurl: upgrade 8.2.0 -> 8.2.1
Wang Mingyu [Tue, 1 Aug 2023 07:41:12 +0000 (15:41 +0800)] 
curl: upgrade 8.2.0 -> 8.2.1

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

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>
8 months agobtrfs-tools: upgrade 6.3.1 -> 6.3.3
Wang Mingyu [Tue, 1 Aug 2023 07:41:11 +0000 (15:41 +0800)] 
btrfs-tools: upgrade 6.3.1 -> 6.3.3

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

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>
8 months agokea: upgrade to v2.4.0
Sudip Mukherjee [Thu, 10 Aug 2023 09:17:21 +0000 (10:17 +0100)] 
kea: upgrade to v2.4.0

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.

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>
8 months agognu-efi: Fix build on musl
Khem Raj [Wed, 9 Aug 2023 20:56:30 +0000 (13:56 -0700)] 
gnu-efi: Fix build on musl

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.

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>
8 months agoconnman-conf: don't take over any ethernet devices, not just eth0
Ross Burton [Wed, 9 Aug 2023 14:08:15 +0000 (15:08 +0100)] 
connman-conf: don't take over any ethernet devices, not just eth0

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

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>
8 months agorust-target-config: fix target_features for vfpv3d16
Benjamin Bara [Wed, 9 Aug 2023 13:11:32 +0000 (15:11 +0200)] 
rust-target-config: fix target_features for vfpv3d16

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

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>
8 months agosystemd: fix efi dependency
Jose Quaresma [Mon, 7 Aug 2023 14:26:06 +0000 (14:26 +0000)] 
systemd: fix efi dependency

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

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>
8 months agoscripts/create-pull-request: update URLs to git repositories
Michael Opdenacker [Thu, 10 Aug 2023 14:25:06 +0000 (16:25 +0200)] 
scripts/create-pull-request: update URLs to git repositories

Also remove the git.pokylinux.org URL, no longer used.

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>
8 months agoqemuboot: Update hardcoded path to match new layout
Richard Purdie [Fri, 11 Aug 2023 08:14:10 +0000 (09:14 +0100)] 
qemuboot: Update hardcoded path to match new layout

Obviously this code is horrible and shouldn't hardcode it. Update it to match
the WORKDIR change to drop PE/PR for now.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agobitbake.conf: Drop PE and PR from WORKDIR and STAMP
Richard Purdie [Thu, 10 Aug 2023 16:26:28 +0000 (17:26 +0100)] 
bitbake.conf: Drop PE and PR from WORKDIR and STAMP

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agosystemd: add usrmerge to REQUIRED_DISTRO_FEATURES
Luca Boccassi [Sat, 5 Aug 2023 21:35:51 +0000 (22:35 +0100)] 
systemd: add usrmerge to REQUIRED_DISTRO_FEATURES

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.

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agoconf/init-mamager-systemd: Add usrmerge to DISTRO_FEATURES
Richard Purdie [Fri, 11 Aug 2023 10:42:53 +0000 (11:42 +0100)] 
conf/init-mamager-systemd: Add usrmerge to DISTRO_FEATURES

usrmerge is now required by systemd, ensure this is also added to DISTRO_FEATURES
when systemd is selected.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agoselftest: Ensure usrmerge is enabled with systemd
Richard Purdie [Thu, 10 Aug 2023 19:23:22 +0000 (20:23 +0100)] 
selftest: Ensure usrmerge is enabled with systemd

systemd now requires usrmerge, ensure this is always the case in
our test cases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agoexternalsrc: fix dependency chain issues
Peter Suti [Mon, 31 Jul 2023 09:34:15 +0000 (11:34 +0200)] 
externalsrc: fix dependency chain issues

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.]

Signed-off-by: Peter Suti <peter.suti@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agognupg: Fix reproducibility failure
Richard Purdie [Thu, 10 Aug 2023 19:37:23 +0000 (20:37 +0100)] 
gnupg: Fix reproducibility failure

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agoselftest/reproducible: Update config to match ongoing changes
Richard Purdie [Thu, 10 Aug 2023 13:32:57 +0000 (14:32 +0100)] 
selftest/reproducible: Update config to match ongoing changes

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 months agoyocto-uninative: Update hashes for uninative 4.1
Michael Halstead [Tue, 8 Aug 2023 21:03:12 +0000 (14:03 -0700)] 
yocto-uninative: Update hashes for uninative 4.1

This version includes fixes to patchelf.

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 months agoRevert "kea: upgrade to v2.5.0"
Richard Purdie [Thu, 10 Aug 2023 08:30:28 +0000 (09:30 +0100)] 
Revert "kea: upgrade to v2.5.0"

This reverts commit 4048ddf7fdd6859c43aeb82d85ee0851b3a9177b.

2.5.0 is a development series and the upgrade should have been to 2.4.x.

9 months agokea: upgrade to v2.5.0
Sudip Mukherjee [Wed, 9 Aug 2023 08:45:50 +0000 (09:45 +0100)] 
kea: upgrade to v2.5.0

Changes:
Update license checksum: change in copyright year.
Update sha256sum for new version.

An additinal patch to fix the reproducible build failure.

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agolinux-yocto-tiny/6.4: fix HID configuration warning
Bruce Ashfield [Wed, 9 Aug 2023 14:24:10 +0000 (10:24 -0400)] 
linux-yocto-tiny/6.4: fix HID configuration warning

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

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agopm-utils: Do not require GNU grep at runtime
Khem Raj [Wed, 9 Aug 2023 00:18:34 +0000 (17:18 -0700)] 
pm-utils: Do not require GNU grep at runtime

This was added to fix bug reported here [1]

back then busybox grep applet did not implement -x option
and it would fail as reported in the bug, in due course
busybox now has implemented -x option [2] and the expression

using grep -x in /usr/lib/pm-utils/functions:219 works fine

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=1887
[2] https://git.busybox.net/busybox/commit/?id=cd09e81520b7917adebcffd7c361671f913325eb

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agolinux-firmware: Fix mediatek mt7601u firmware path
Marek Vasut [Wed, 9 Aug 2023 00:05:24 +0000 (02:05 +0200)] 
linux-firmware: Fix mediatek mt7601u firmware path

The following linux-firmware commit moved the mt7601u firmware blob
into a mediatek/ subdirectory, update the path accordingly.
8451c2b1 ("mt76xx: Move the old Mediatek WiFi firmware to mediatek")

Fixes: 64603f602d ("linux-firmware: upgrade 20230404 -> 20230515")
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agotcf-agent: Update to 1.8.0 release
Mark Hatle [Mon, 7 Aug 2023 21:06:47 +0000 (15:06 -0600)] 
tcf-agent: Update to 1.8.0 release

New 1.8 release of tcf-agent.  Implements DWARF 5 support and various
bug fixes.

Changelog since last SRCREV:
   Releng: Upversion TCF to 1.8
   Fixed possible SEGFAULT after error message queue overflow
   Fixed misspelling in a comment
   TCF Agent: update breakpoint error message
   Fixed regression: possible segfault in run_safe_events()
   Bug 581978 - TCF agent wrong handle the call frame debug info generated by LLVM 16 for RISC-V
   DWARF: a bit faster implementation of dio_ReadAddressX()
   Bug 581971 - Failed to handle loclist for DWARF 5
   Fixed handling of situation when a context resumed or exited during breakpoint evaluation
   Bug 581799 - when loads .debug_info section from dwarf 5 file, the content of some part are zero
   Updated examples/daytime/readme.txt

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agolibexif: add ptest support
Julien Stephan [Thu, 3 Aug 2023 13:29:08 +0000 (15:29 +0200)] 
libexif: add ptest support

adds ptest support for libexif

Ptest was executed on a core-image-minimal:
root@qemux86-64:~# ptest-runner libexif
START: ptest-runner
2023-07-12T15:45
BEGIN: /usr/lib/libexif/ptest
[...]
i====================
All 13 tests passed
(1 test was not run)
====================
[...]
DURATION: 35
END: /usr/lib/libexif/ptest
2023-07-12T15:45
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agobind: upgrade to v9.18.17
Sudip Mukherjee [Sun, 6 Aug 2023 10:46:16 +0000 (11:46 +0100)] 
bind: upgrade to v9.18.17

Changes:
Update license checksum: only whitespace change.
Update sha256sum for new version.

Additional change:
Do not use version with the foldername, which will result in less diffstat
with future upgrades.

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agogo: upgrade 1.20.6 -> 1.20.7
Sakib Sajal [Fri, 4 Aug 2023 21:30:20 +0000 (14:30 -0700)] 
go: upgrade 1.20.6 -> 1.20.7

Upgrade to latest 1.20.x release [1]:

$ git log --oneline go1.20.6..go1.20.7 origin/release-branch.go1.20
adb775e309 (tag: go1.20.7, origin/release-branch.go1.20) [release-branch.go1.20] go1.20.7
659f2a2207 [release-branch.go1.20] crypto/tls: restrict RSA keys in certificates to <= 8192 bits
10d85fa0f6 [release-branch.go1.20] cmd/asm, cmd/internal/obj: generate proper atomic ops for riscv64
bd3a1f24e7 [release-branch.go1.20] net: tolerate permission errors in interface tests
6211a024b4 [release-branch.go1.20] cmd/compile: on PPC64, fix sign/zero extension when masking

[1] https://github.com/golang/go/compare/go1.20.6...go1.20.7

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agokernel: don't fail if Modules.symvers doesn't exist
Joel Stanley [Fri, 4 Aug 2023 17:06:10 +0000 (12:06 -0500)] 
kernel: don't fail if Modules.symvers doesn't exist

Kernels that do not use modules do not have the Modules.symvers file,
which causes the previous one-liner to fail.  Invert the logic so that
the absence of the Modules.symvers is a passing situation but we still
get failure checking on the install operation.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agomdadm: save ptest logs
Ovidiu Panait [Fri, 4 Aug 2023 16:12:53 +0000 (19:12 +0300)] 
mdadm: save ptest logs

Run test script with --save-logs and --logdir parameters, so the log files can
be retrieved in case of failure.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agoopenssh: sync with upstream's default
Chen Qi [Thu, 3 Aug 2023 07:58:37 +0000 (00:58 -0700)] 
openssh: sync with upstream's default

This change sync the contents of this file with upstream's
ssh_config except for the locally added line
'Include /etc/ssh/ssh_config.d/*.conf'.

More specifically the ForwardXXX options are disabled by default,
this sync with what ssh_config(5) says about these two items.

In addition, the RSAAuthentication items are removed as they are v1 protocol.
See the contents of Changelog file in openssh project as below:
"""
commit bfe19197a92b7916f64a121fbd3c179abf15e218
Author: Darren Tucker <dtucker@dtucker.net>
Date:   Fri Jul 2 15:43:28 2021 +1000

    Remove now-unused SSHv1 enums.

    sRhostsRSAAuthentication and sRSAAuthentication are protocol 1 options
    and are no longer used.
"""

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agogcc-crosssdk: ignore MULTILIB_VARIANTS in signature computation
Chen Qi [Tue, 1 Aug 2023 02:03:36 +0000 (10:03 +0800)] 
gcc-crosssdk: ignore MULTILIB_VARIANTS in signature computation

The gcc_multilib_setup function is a function that is run at the
do_configure step, so it's counted into the signature computation.
The MULTILIB_VARIANTS this function uses is also extracted to be
taken into consideration. After the change of setting MULTILIB_VARIANTS
explictly vardeps on MULTILIBS, the change of MULTILIBS changes the
signature, thus causing rebuilding. However, in case of gcc-crosssdk,
the setting of multilib should have no effect on it, as it's used
to build nativesdk packages, not the target packages. So ignore
MULTILIB_VARIANTS in signature computation. This fixes oe-selftest
case sstatetests.SStateHashSameSigs2.test_sstate_nativesdk_samesigs_multilib.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agomultilib.conf: explicitly make MULTILIB_VARIANTS vardeps on MULTILIBS
Chen Qi [Tue, 1 Aug 2023 02:03:35 +0000 (10:03 +0800)] 
multilib.conf: explicitly make MULTILIB_VARIANTS vardeps on MULTILIBS

This patch is to ensure recipes get rebuilt correctly and avoid
incorrect sstate cache reuse when toggling multilib.

The following steps show one example of such incorrect sstate cache reuse.
1. enable multilib && bitbake <some_image> -c populate_sdk
2. disable multilib && bitbake <some_image> -c populate_sdk

The error message is as below:
Error:
 Problem: conflicting requests
   - nothing provides binutils-cross-canadian-i686 needed by packagegroup-cross-canadian-intel-x86-64-1.0-r0.x86_64_nativesdk
   - nothing provides gcc-cross-canadian-i686 needed by packagegroup-cross-canadian-intel-x86-64-1.0-r0.x86_64_nativesdk
   - nothing provides gdb-cross-canadian-i686 needed by packagegroup-cross-canadian-intel-x86-64-1.0-r0.x86_64_nativesdk
 (try to add '--skip-broken' to skip uninstallable packages)

We get this error because packagegroup-cross-canadian recipe is
not rebuilt when it should be.

Current codes have tracked the dependency to MULTILIB_VARIANTS, as
shown in the following chain:
RDEPENDS:packagegroup-cross-canadian-intel-x86-64 ->
all_multilib_tune_values -> MULTILIB_VARIANTS.

However, MULTILIB_VARIANTS cannot automatically depend on MULTILIBS.
See some results from 'bitbake-dumpsigs' below:
List of dependencies for variable MULTILIB_VARIANTS is ['extend_variants']
Variable MULTILIB_VARIANTS value is ${@extend_variants(d,'MULTILIBS','multilib')}

It's obvious that the value of MULTILIB_VARIANTS depend on the
value of MULTILIBS, so let's set this dependency manually.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agolibgit2: upgrade to v1.7.0
Sudip Mukherjee [Thu, 3 Aug 2023 06:27:21 +0000 (07:27 +0100)] 
libgit2: upgrade to v1.7.0

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agopython3-cryptography{-vectors}: upgrade -> 41.0.3
Tim Orling [Thu, 3 Aug 2023 19:48:03 +0000 (12:48 -0700)] 
python3-cryptography{-vectors}: upgrade -> 41.0.3

https://cryptography.io/en/latest/changelog/#v41-0-3

* Fixed performance regression loading DH public keys.
* Fixed a memory leak when using ChaCha20Poly1305.
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.1.2.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agopython3-chardet: upgrade 5.1.0 -> 5.2.0
Tim Orling [Thu, 3 Aug 2023 19:01:40 +0000 (12:01 -0700)] 
python3-chardet: upgrade 5.1.0 -> 5.2.0

https://github.com/chardet/chardet/compare/5.1.0...5.2.0

* Adds support for running chardet CLI via python -m chardet
  (0e9b7bc, @dan-blanchard)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agopython3: add additional timing-related test skips
Trevor Gamblin [Thu, 3 Aug 2023 17:47:24 +0000 (13:47 -0400)] 
python3: add additional timing-related test skips

The following tests have been seen failing intermittently on the
autobuilder:

test.test_multiprocessing_forkserver.WithManagerTestBarrier.test_timeout
test.test_time.TimeTestCase.test_thread_time

Since these could be affected by AB systems under heavy load, disable
them. New test outputs:

test_timeout (test.test_multiprocessing_fork.WithProcessesTestBarrier.test_timeout)
SKIP: Test wait(timeout) 'timing related test, dependent on load'
...
SKIP: test_thread_time (test.test_time.TimeTestCase.test_thread_time) 'timing related test, dependent on load'

[YOCTO # 15131]
[YOCTO # 15177]

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agoepiphany: upgrade 44.5 -> 44.6
Markus Volk [Wed, 2 Aug 2023 15:08:01 +0000 (17:08 +0200)] 
epiphany: upgrade 44.5 -> 44.6

44.6 - July 28, 2023
====================

 * Hide "Search the Web for" context menu item in web app mode (#2097, Cleo Menezes Jr.)
 * Fix Save Password? permission requests, broken since 44.4 (#2113)
 * Fix unencoded % characters in URLs causing session to fail to save (#2128, Vanadiae)
 * Fix web views not being destroyed when window is closed (#2130)
 * Hopefully fix crash in ephy_sqlite_connection_create_statement (#2132)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agowebkitgtk: upgrade 2.40.2 -> 2.40.5
Markus Volk [Wed, 2 Aug 2023 15:08:00 +0000 (17:08 +0200)] 
webkitgtk: upgrade 2.40.2 -> 2.40.5

- Remove unneeded patches

    What’s new in the WebKitGTK 2.40.5 release?
    - Fix several crashes and rendering issues.

    What’s new in the WebKitGTK 2.40.4 release?
    - Fix a bug in JavaScript reading variable arguments in a call.

    What’s new in the WebKitGTK 2.40.3 release?
    - Make memory pressure monitor honor memory.memsw.usage_in_bytes if exists.
    - Include key modifiers in wheel events.
    - Apply cookie blocking policy to WebSocket handshakes.
    - Remove accidental dependency on GLib 2.70.
    - Fix the build with BUBBLEWRAP_SANDBOX disabled.
    - Fix several crashes and rendering issues.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agorecipes: remove unused AUTHOR variable
Michael Opdenacker [Thu, 3 Aug 2023 08:27:18 +0000 (10:27 +0200)] 
recipes: remove unused AUTHOR variable

No longer used in generating packages
Also creates a possible confusion with the recipe maintainer
name.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
9 months agolinux-yocto: extract generic kernel CVE_STATUS
Ross Burton [Mon, 7 Aug 2023 14:45:17 +0000 (15:45 +0100)] 
linux-yocto: extract generic kernel CVE_STATUS

Some of the CVE_STATUS assignments are not specific to the version, so
move them to an unversioned file and include it in the recipes.

For example: some CVEs are disputed, or are specific to other
distributions.

Signed-off-by: Ross Burton <ross.burton@arm.com>
9 months agolibrsvg: upgrade to 2.56.3
Ross Burton [Mon, 7 Aug 2023 17:14:14 +0000 (18:14 +0100)] 
librsvg: upgrade to 2.56.3

This includes the fix for CVE-2023-38633.

Signed-off-by: Ross Burton <ross.burton@arm.com>
9 months agoopenssh: upgrade to 9.3p2
Ross Burton [Mon, 7 Aug 2023 17:00:17 +0000 (18:00 +0100)] 
openssh: upgrade to 9.3p2

9795c401 (tag: V_9_3_P2) OpenSSH 9.3p2
bde3635f update version in README
f673f2f3 update RPM spec versions
d7790cdc disallow remote addition of FIDO/PKCS11 keys
b23fe83f terminate pkcs11 process for bad libraries

This includes the fix for CVE-2023-38408.

Signed-off-by: Ross Burton <ross.burton@arm.com>
9 months agoghostscript: ignore CVE-2023-38560
Ross Burton [Mon, 7 Aug 2023 16:56:56 +0000 (17:56 +0100)] 
ghostscript: ignore CVE-2023-38560

The ghostscript recipe isn't vulnerable to CVE-2023-38560, as this is an
issue in the GhostPCL release, whereas this recipe is the Ghostscript
release.

Signed-off-by: Ross Burton <ross.burton@arm.com>
9 months agoghostscript: backport fix for CVE-2023-38559
Ross Burton [Mon, 7 Aug 2023 16:56:44 +0000 (17:56 +0100)] 
ghostscript: backport fix for CVE-2023-38559

Signed-off-by: Ross Burton <ross.burton@arm.com>
9 months agolinux-yocto: add script to generate kernel CVE_STATUS entries
Ross Burton [Mon, 7 Aug 2023 14:45:29 +0000 (15:45 +0100)] 
linux-yocto: add script to generate kernel CVE_STATUS entries

Instead of manually looking up new CVEs and determining what point
releases the fixes are incorporated into, add a script to generate the
CVE_STATUS data automatically.

First, note that this is very much an interim solution until the
cve-check class fetches data from www.linuxkernelcves.com directly.

The script should be passed the path to a local clone of the
linuxkernelcves repository[1] and the kernel version number. It will
then write to standard output the CVE_STATUS entries for every known
kernel CVE.

The script should be periodically reran as CVEs are backported and
kernels upgraded frequently.

[1] https://github.com/nluedtke/linux_kernel_cves

Signed-off-by: Ross Burton <ross.burton@arm.com>
9 months agowic: bootimg-efi: Stop hardcoding VMA offsets
Alexandre Belloni [Tue, 8 Aug 2023 22:17:43 +0000 (00:17 +0200)] 
wic: bootimg-efi: Stop hardcoding VMA offsets

Section VMA's are currently hardcoded. This doesn't work anymore starting
with systemd-boot v254.

Follow the actually solution to this which is documented here:
https://wiki.archlinux.org/title/Unified_kernel_image#Manually

This is also used by dracut. Later on, we may want to switch to ukify
instead but this is not ready yet.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 months agosystemd: add a packageconfig to support colored logs
Markus Volk [Sun, 6 Aug 2023 06:11:34 +0000 (08:11 +0200)] 
systemd: add a packageconfig to support colored logs

journald uses less to display logs. less.busybox can do the
job, but it rips out support for color/highlighting.

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>
9 months agosystemd-boot: Ensure EFI_LD is also passed to compiler driver
Khem Raj [Sat, 5 Aug 2023 15:26:20 +0000 (08:26 -0700)] 
systemd-boot: Ensure EFI_LD is also passed to compiler driver

Where compiler driver is used for linking ensure bfd linker is used as
well so its consistent when called directly or via compiler

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>
9 months agosystemd: fix efi stubs
Jose Quaresma [Tue, 8 Aug 2023 16:08:28 +0000 (16:08 +0000)] 
systemd: fix efi stubs

Before the patch:

| $ objdump -h deploy/images/intel-corei7-64/linuxx64.efi.stub
| objdump: deploy/images/intel-corei7-64/linuxx64.efi.stub (.reloc): section flag STYP_GROUP (0x4) ignored
| objdump: deploy/images/intel-corei7-64/linuxx64.efi.stub (.reloc): section flag STYP_GROUP (0x4) ignored
| objdump: deploy/images/intel-corei7-64/linuxx64.efi.stub: file format not recognized

After the patch:

| $objdump -h deploy/images/intel-corei7-64/linuxx64.efi.stub
|
| deploy/images/intel-corei7-64/linuxx64.efi.stub:     file format pei-x86-64
|
| Sections:
| Idx Name          Size      VMA               LMA               File off  Algn
|   0 .text         0000f99f  000000014df91000  000000014df91000  00000400  2**4
|                   CONTENTS, ALLOC, LOAD, READONLY, CODE
|   1 .rodata       00002c40  000000014dfa1000  000000014dfa1000  0000fe00  2**2
|                   CONTENTS, ALLOC, LOAD, READONLY, DATA
|   2 .data         000002d8  000000014dfa4000  000000014dfa4000  00012c00  2**4
|                   CONTENTS, ALLOC, LOAD, DATA
|   3 .sdmagic      00000032  000000014dfa5000  000000014dfa5000  00013000  2**2
|                   CONTENTS, ALLOC, LOAD, READONLY, DATA
|   4 .reloc        00000080  000000014dfa6000  000000014dfa6000  00013200  2**2
|                   CONTENTS, ALLOC, LOAD, READONLY, DATA

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>
9 months agooeqa/selftest/ssate: Add test for find_siginfo
Yang Xu [Sat, 5 Aug 2023 12:50:41 +0000 (13:50 +0100)] 
oeqa/selftest/ssate: Add test for find_siginfo

Previously some dependencies couldn't be followed through their siginfo
files. This has been fixed, add a test to ensure this doesn't regress.

Signed-off-by: Yang Xu <yang.xu@mediatek.com>
9 months agosstatesig: Update to match bitbake changes to runtaskdeps
Richard Purdie [Sat, 5 Aug 2023 10:04:47 +0000 (11:04 +0100)] 
sstatesig: Update to match bitbake changes to runtaskdeps

Bitbake has changes to runtaskdeps in siginfo files to fix bugs in being
able to locate them for sstate and hash debugging purposes.

This patch updates to match the changes to the format.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 months agoqemuboot/runqemu: Fix 6.2 and later kernel network device naming
Richard Purdie [Tue, 8 Aug 2023 16:55:56 +0000 (17:55 +0100)] 
qemuboot/runqemu: Fix 6.2 and later kernel network device naming

With kernel 6.2 and later network devices are renamed by systemd. This does not
match with the current network device naming assumed in our configuration.

We may or may not change that naming but for now, pass the right kernel commandline
so things work as expected with newer kernels and removing a blocker on upgrading
to the 6.4 kernel by default.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 months agorust-hello-world: Drop recipe
Frederic Martinsons [Wed, 2 Aug 2023 13:16:05 +0000 (15:16 +0200)] 
rust-hello-world: Drop recipe

we now have more rust/cargo recipes and tests that cover various use cases
so this is no longer needed.

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 months agocargo_common.bbclass: Handle Cargo.lock modifications for git dependencies
Frederic Martinsons [Wed, 2 Aug 2023 13:16:04 +0000 (15:16 +0200)] 
cargo_common.bbclass: Handle Cargo.lock modifications for git dependencies

Now we use --frozen, Cargo.lock cannot be modified by cargo build.
These patched git dependencies requires that the git url is removed
from Cargo.lock.

Fixes #15104

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 months agocargo.bbclass: Use --frozen flag for cargo operations
Frederic Martinsons [Wed, 2 Aug 2023 13:16:03 +0000 (15:16 +0200)] 
cargo.bbclass: Use --frozen flag for cargo operations

It supersed the --offline flag and guarantee that Cargo.lock
file will not be modified during the build.

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 months agocurl: ensure all ptest failures are caught
Alexander Kanavin [Wed, 2 Aug 2023 18:02:30 +0000 (20:02 +0200)] 
curl: ensure all ptest failures are caught

Piping results through sed is masking failures that aren't
picked up by sed expressions.

One such failure probes the source tree, and so isn't
relevant for target testing, and can be disabled.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 months agobase-files: bump PR because conf files are now sorted
Alexandre Belloni [Fri, 4 Aug 2023 21:17:22 +0000 (23:17 +0200)] 
base-files: bump PR because conf files are now sorted

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 months agopackage: always sort the conffiles
Jean-Marie Lemetayer [Tue, 1 Aug 2023 07:56:08 +0000 (09:56 +0200)] 
package: always sort the conffiles

To improve package reproducibility, the conffiles order should not be
directly linked to the file system.

Sorting the conffiles solves this issue.

Signed-off-by: Jean-Marie Lemetayer <j.lemetayer@kerlink.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 months agosystemd: depend on util-linux's swapon/off
Ross Burton [Fri, 4 Aug 2023 15:59:48 +0000 (16:59 +0100)] 
systemd: depend on util-linux's swapon/off

systemd brings up swap partitions with swapon --fixpgsz, which busybox's
implementation doesn't support.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 months agosystemd: set correct paths for kdb binaries
Ross Burton [Fri, 4 Aug 2023 15:29:36 +0000 (16:29 +0100)] 
systemd: set correct paths for kdb binaries

The kbd binaries (loadkeys and setfont) are installed to bindir, not
base_bindir.

Fixes: 94ccc7acc4a871f5bb7ab8e135e70b5519eff6ad
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 months agolinux-yocto/6.4: fix qemuarm boot failure
Bruce Ashfield [Wed, 9 Aug 2023 03:31:56 +0000 (23:31 -0400)] 
linux-yocto/6.4: fix qemuarm boot failure

Integrating the following commit(s) to linux-yocto/6.4:

    72bad8cd7540 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>