]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
3 years agolinux-yocto/5.19: update to v5.19.16
Bruce Ashfield [Fri, 18 Nov 2022 22:28:46 +0000 (17:28 -0500)] 
linux-yocto/5.19: update to v5.19.16

Updating  to the latest korg -stable release that comprises
the following commits:

    d235c2b1f470 Linux 5.19.16
    279116cb0bc5 misc: pci_endpoint_test: Fix pci_endpoint_test_{copy,write,read}() panic
    d472808756b3 misc: pci_endpoint_test: Aggregate params checking for xfer
    d0ecbd70f080 Input: xpad - fix wireless 360 controller breaking after suspend
    d1a1dbe71f73 Input: xpad - add supported devices as contributed on github
    ac719db96b23 mctp: prevent double key removal and unref
    3aecb0895aac wifi: cfg80211: update hidden BSSes to avoid WARN_ON
    fa63b5f6f885 wifi: mac80211: fix crash in beacon protection for P2P-device
    2bee6f75e3c6 wifi: mac80211_hwsim: avoid mac80211 warning on bad rate
    1d73c990e9ba wifi: cfg80211: avoid nontransmitted BSS list corruption
    46b23a955958 wifi: cfg80211: fix BSS refcounting bugs
    867184200c05 wifi: cfg80211: ensure length byte is present before access
    e6d77ac0132d wifi: mac80211: fix MBSSID parsing use-after-free
    74abb1952a03 wifi: cfg80211/mac80211: reject bad MBSSID elements
    42ea11a81ac8 wifi: cfg80211: fix u8 overflow in cfg80211_update_notlisted_nontrans()
    848bb8517e41 random: use expired timer rather than wq for mixing fast pool
    111824744645 random: avoid reading two cache lines on irq randomness
    ee42204c1cd5 Revert "crypto: qat - reduce size of mapped region"
    3a8f93f3779e Revert "powerpc/rtas: Implement reentrant rtas call"
    bd9c917efcf8 Revert "usb: dwc3: Don't switch OTG -> peripheral if extcon is present"
    d42228fc2cad Revert "USB: fixup for merge issue with "usb: dwc3: Don't switch OTG -> peripheral if extcon is present""
    5857b9cd9b91 USB: serial: qcserial: add new usb-id for Dell branded EM7455
    6ae8aa5dcf0d scsi: stex: Properly zero out the passthrough command structure
    55e19a4c111e efi: Correct Macmini DMI match in uefi cert quirk
    a0d53923bf91 ALSA: hda/realtek: Add quirk for HP Zbook Firefly 14 G9 model
    59ac9fa0e33f ALSA: hda: Fix position reporting on Poulsbo
    b42a64428abe random: clamp credited irq bits to maximum mixed
    e1f8820bf83f random: restore O_NONBLOCK support
    ae2e80078145 nvme-pci: set min_align_mask before calculating max_hw_sectors
    6c58865f1acd ceph: don't truncate file in atomic_open
    090fcfb6edeb nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure
    4755fcd84424 nilfs2: fix leak of nilfs_root in case of writer thread creation failure
    394b2571e9a7 nilfs2: fix use-after-free bug of struct nilfs_root
    caf2c6b58043 nilfs2: fix NULL pointer dereference at nilfs_bmap_lookup_at_level()
    51dd976781da Linux 5.19.15
    04bd2a779511 Revert "clk: ti: Stop using legacy clkctrl names for omap4 and 5"
    c4635cf3d845 Bluetooth: use hdev->workqueue when queuing hdev->{cmd,ncmd}_timer works
    6954cee88268 bpf: Fix resetting logic for unreferenced kptrs
    292b46c49675 net: ethernet: mtk_eth_soc: fix state in __mtk_foe_entry_clear
    9783292253fd bpf: Gate dynptr API behind CAP_BPF
    7d3f5d0353b4 rpmsg: qcom: glink: replace strncpy() with strscpy_pad()
    165ae42fc1cf mmc: core: Terminate infinite loop in SD-UHS voltage switch
    b2afdaddaa8c mmc: core: Replace with already defined values for readability
    0b0f40745ab4 gpiolib: acpi: Add a quirk for Asus UM325UAZ
    aa476c7b6375 gpiolib: acpi: Add support to ignore programming an interrupt
    a9d2ce58126c USB: serial: ftdi_sio: fix 300 bps rate for SIO
    9de74019cd44 usb: mon: make mmapped memory read only
    c2423912d5c9 i2c: davinci: fix PM disable depth imbalance in davinci_i2c_probe
    71c41e04d9d8 don't use __kernel_write() on kmap_local_page()
    5dac20360a7b perf/x86/intel: Fix unchecked MSR access error for Alder Lake N
    3682460b9327 drm/amd/display: increase dcn315 pstate change latency
    94d49c380b9a drm/amd/display: Fix DP MST timeslot issue when fallback happened
    4fb0b18590c6 drm/amd/display: skip audio setup when audio stream is enabled
    3c15b295ae2f drm/amd/display: update gamut remap if plane has changed
    89d387065803 drm/amd/display: Assume an LTTPR is always present on fixed_vs links
    d1137c3c03d8 drm/amd/display: Fix double cursor on non-video RGB MPO
    32c1dde16f0a KVM: s390: Pass initialized arg even if unused
    5b4e1c1ffba3 net: atlantic: fix potential memory leak in aq_ndev_close()
    cfaf7f090a40 arch: um: Mark the stack non-executable to fix a binutils warning
    a460f846d580 gpio: ftgpio010: Make irqchip immutable
    d71f03dbcc17 um: Cleanup compiler warning in arch/x86/um/tls_32.c
    c7105d2a77a6 um: Cleanup syscall_handler_t cast in syscalls_32.h
    9cdbc61abaa0 ALSA: hda/hdmi: Fix the converter reuse for the silent stream
    7480deff597a net: marvell: prestera: add support for for Aldrin2
    be248292a483 net/ieee802154: fix uninit value bug in dgram_sendmsg
    ce57f7b2e614 scsi: qedf: Fix a UAF bug in __qedf_probe()
    5f2f00509496 drm/amdgpu/mes: zero the sdma_hqd_mask of 2nd SDMA engine for SDMA 6.0.1
    f8895cfb48b0 ARM: dts: fix Moxa SDIO 'compatible', remove 'sdhci' misnomer
    7e834ee927a5 wifi: iwlwifi: don't spam logs with NSS>2 messages
    229769759ef8 dmaengine: xilinx_dma: Report error in case of dma_set_mask_and_coherent API failure
    e38f67582567 dmaengine: xilinx_dma: cleanup for fetching xlnx,num-fstores property
    92f8963831f1 dmaengine: xilinx_dma: Fix devm_platform_ioremap_resource error handling
    666f5be3593c arm64: dts: rockchip: fix upper usb port on BPI-R2-Pro
    edc5c66d15f9 firmware: arm_scmi: Add SCMI PM driver remove routine
    8e880f30946f firmware: arm_scmi: Harden accesses to the sensor domains
    41bf1b0ad953 firmware: arm_scmi: Improve checks in the info_get operations
    81de80330fa6 fs: fix UAF/GPF bug in nilfs_mdt_destroy
    8529dfb5ef72 xsk: Inherit need_wakeup flag for shared sockets
    7ebe331054cf docs: update mediator information in CoC docs
    3b760c94de19 hardening: Remove Clang's enable flag for -ftrivial-auto-var-init=zero
    19a4cb1c4eb8 Makefile.extrawarn: Move -Wcast-function-type-strict to W=1
    8dc610c9478c sparc: Unbreak the build

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolinux-yocto-dev: bump to v6.0+
Bruce Ashfield [Fri, 18 Nov 2022 22:28:45 +0000 (17:28 -0500)] 
linux-yocto-dev: bump to v6.0+

Introducing the 6.0+ development kernel branches. These
have been sanity tested on all supported architectures.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoliburi-perl: upgrade 5.08 -> 5.17
Tim Orling [Fri, 18 Nov 2022 17:52:07 +0000 (09:52 -0800)] 
liburi-perl: upgrade 5.08 -> 5.17

* Author changed back from ETHER to OALDERS
* Use CPAN_MIRROR for SRC_URI
* Update HOMEPAGE
* Update RPEPENDS for -ptest
* Patch to skip TODO test cases

For changes, see:
https://metacpan.org/release/OALDERS/URI-5.17/changes

License-Update: whitespace changes

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibtest-warnings-perl: move from meta-perl
Tim Orling [Fri, 18 Nov 2022 17:52:06 +0000 (09:52 -0800)] 
libtest-warnings-perl: move from meta-perl

liburi-perl in oe-core now RDEPENDS on libtest-warnings-perl for ptest

* Update HOMEPAGE; fix syntax
* Add SUMMARY
* Add BUGTRACKER
* Use CPAN_MIRROR for SRC_URI
* Use actual LICENCE file for LIC_FILES_CHKSUM
* Add RDEPENDS
* Add RDEPENDS on perl-modules for ptest
  - Too many hidden dependencies that fail silently, but pass
    with full perl-modules
* Add self as maintainer
* Add to ptest-packagelists (fast)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibtest-fatal-perl: add recipe for 0.016
Tim Orling [Fri, 18 Nov 2022 17:52:05 +0000 (09:52 -0800)] 
libtest-fatal-perl: add recipe for 0.016

Test::Fatal - incredibly simple helpers for testing code with exceptions

https://metacpan.org/release/RJBS/Test-Fatal-0.016

* Dependency for liburi-perl ptest.
* Add self as maintainer
* Add to ptest-packages.inc (fast)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibtry-tiny-perl: add recipe for 0.31
Tim Orling [Fri, 18 Nov 2022 17:52:04 +0000 (09:52 -0800)] 
libtry-tiny-perl: add recipe for 0.31

Try::Tiny - Minimal try/catch with proper preservation of $@

https://metacpan.org/release/ETHER/Try-Tiny-0.31

* Dependency for libtest-fatal-perl
* Add self as maintainer
* Add to ptest-packagelists.inc (fast)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agomirrors.bbclass: update CPAN_MIRROR
Tim Orling [Fri, 18 Nov 2022 17:52:03 +0000 (09:52 -0800)] 
mirrors.bbclass: update CPAN_MIRROR

Both of these redirect to https://cpan.metacpan.org/:
http://cpan.metacpan.org/
http://search.cpan.org/CPAN/

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3: Fix CVE-2022-37460
Joe Slater [Fri, 18 Nov 2022 17:35:26 +0000 (09:35 -0800)] 
python3: Fix CVE-2022-37460

Apply patch created after the release of 3.11.0.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agodhcpcd: fix to work with systemd
Chen Qi [Fri, 18 Nov 2022 13:38:55 +0000 (21:38 +0800)] 
dhcpcd: fix to work with systemd

Currently, dhcpcd does not work well with systemd. When using dhcpcd
to configure network, the /etc/resolv.conf contents are not correct.
This issue could easily be reproduced by using 'qemu + slirp' to
start a systemd based image and using dhcpcd to configure network.
The expected 'nameserver 10.0.2.3' is not in /etc/resolv.conf.

The root cause of this problem is that dhcpcd assumes the resolvconf
should recognize .protocol suffix[1]. But systemd's resolvconf (which
is a symlink to resolvectl) has a limited support for traditional
resolvconf interface[2], and "may not work with all clients"[3]. This
of cource includes the clients that use the .protocol suffix.

The current situation is:
1. systemd is not going to support the .protocol suffix in the foreseeable
   near future[4].
2. dhcpcd does not want to merge systemd specific patch and insists
   systemd needs to consider the .protocol suffix[5][6].

It's a normal thing that people have different opinions. As a build system
that supports such combination, however, we do need to come up with a
solution to fix this typical integration problem, making dhcpcd and systemd
work together.

This patch solves this integration problem by relying on dhcpcd's ability
to manage its own resolv.conf contents. But instead of letting it to write
to /etc/resolv.conf directly, we supply the generated contents to resolvconf.
In this way, the resolvconf still stands in the central place and dhcpcd remains
a supplier to it. And the /etc/resolv.conf can get the correct contents.
With this patch, dhcpcd could work with both sysvinit and systemd.

[1] https://man.archlinux.org/man/resolvconf.8.en
[2] https://man.archlinux.org/man/resolvectl.1#COMPATIBILITY_WITH_RESOLVCONF(8)
[3] https://wiki.archlinux.org/title/systemd-resolved
[4] https://github.com/systemd/systemd/issues/25032
[5] https://github.com/NetworkConfiguration/dhcpcd/pull/152
[6] https://github.com/NetworkConfiguration/dhcpcd/issues/146

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agooeqa/qemurunner: implement vmdk images support
Sergei Zhmylev [Fri, 18 Nov 2022 13:30:20 +0000 (16:30 +0300)] 
oeqa/qemurunner: implement vmdk images support

Qemurunner should not pass rootfs to runqemu in case
rootfs is not a filesystem itself.  Some images could
be built into some disk format like vmdk and this
commit makes qemurunner handle such images properly.

Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolinux-firmware: add new fw file to ${PN}-qcom-adreno-a530
Dmitry Baryshkov [Fri, 18 Nov 2022 12:46:39 +0000 (15:46 +0300)] 
linux-firmware: add new fw file to ${PN}-qcom-adreno-a530

Extend the linux-firmware-qcom-adreno-a530 package with the squashed
Adreno 530 zap shader.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolinux-firmware: upgrade 20221012 -> 20221109
Dmitry Baryshkov [Fri, 18 Nov 2022 12:46:38 +0000 (15:46 +0300)] 
linux-firmware: upgrade 20221012 -> 20221109

License-Update: additional files
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoat-spi2-core: upgrade 2.44.1 -> 2.46.0
Tim Orling [Thu, 17 Nov 2022 23:15:35 +0000 (15:15 -0800)] 
at-spi2-core: upgrade 2.44.1 -> 2.46.0

* Both atk and at-spi2-atk are now merged into this project.
  - drop atk_2.38.0.bb
  - drop at-spi2-atk_2.38.0.bb
  - PROVIDES += "atk at-spi2-atk"
  - RPROVIDES:${PN} += "atk at-spi2-atk"
* DEPENDS on libxml2
* Ships:
  ${libdir}/gnome-settings-daemon-3.0/gtk-modules/at-spi2-atk.desktop
  ${libdir}/gtk-2.0/modules/libatk-bridge.so

What's new in at-spi2-core 2.46.0:
* Fix GetInterfaces documentation on org.a11y.atspi.Accessible
  interface.

What's new in at-spi2-core 2.45.91:
* Send device event controller events using the same signature as other
  events.
* Document the Accessible, Action, and Cache dbus interfaces.
* Fix license of atspi-gmain.c (#87).

What's new in at-spi2-core 2.45.90:
* xml: Add some documentation.
* xml: Fix event arguments.
* xml: Add some missing DeviceEventController methods.
* Bind the AT-SPI bus to the graphical session.
* Mark bus service as belonging to the session slice.
* Add ATSPI_ROLE_PUSH_BUTTON_MENU.
* Add an "announcement" event/signal to allow objects to send
  notifications (!63).
* Various code clean-ups and test improvements.

What's new in at-spi2-core 2.45.1:
* Atk and at-spi2-atk are now merged into this project.
* Now requires meson 0.56.2 and glib 2.67.4.
* at-spi2-atk: Expose the accessible hierarchy via dbus introspection.
* Properly escape the AT-SPI bus address; fixes warnings about the
  address not containing a colon (!55).
* Add a text value to AtspiValue, so that a value can expose a textual
  description, as in the new Atk value API.
* Add atspi_event_listener_register_with_app, to allow an event listener
  to be registered only for a given application (!52).

https://gitlab.gnome.org/GNOME/at-spi2-core/-/blob/main/NEWS

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agou-boot: Fix u-boot signing when building with multiple u-boot configs
David Bagonyi [Thu, 17 Nov 2022 13:46:59 +0000 (13:46 +0000)] 
u-boot: Fix u-boot signing when building with multiple u-boot configs

The prepended code with the i and j variables clash with similar code in uboot.inc, so they need to be unset once we are done using them.

This commit fixes the issue that was introduced in d6858c9 "u-boot: Rework signing to remove interdependencies".

Signed-off-by: David Bagonyi <david.bagonyi@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoresolvconf: make it work
Chen Qi [Thu, 17 Nov 2022 11:14:10 +0000 (19:14 +0800)] 
resolvconf: make it work

The current resolvconf does not work. Make it work with the
following changes.
1. Install normalize-resolvconf, which is used by resolvconf.
2. Add dependencies: sed, util-linux-flock.
   util-linux-flock is needed by our busybox does not support '-w'
   by default. sed is needed because we want to avoid package
   QA issue complaining sed is needed by no one provides it.
3. Add a patch to replace 'readlink -m' with 'readlink -l'.
   This could avoid the runtime dependency on coreutils. The replacement
   is safe as /etc always exits in OE's system.
4. Remove allarch inheritage. This is because the above RDEPENDS
   change does not allow this any more. test_sstate_allarch_samesigs
   would fail if we don't do this.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agokernel.bbclass: make KERNEL_DEBUG_TIMESTAMPS work at rebuild
Chen Qi [Thu, 17 Nov 2022 04:11:55 +0000 (12:11 +0800)] 
kernel.bbclass: make KERNEL_DEBUG_TIMESTAMPS work at rebuild

Currently, the KERNEL_DEBUG_TIMESTAMPS is not working as expected
at rebuild. That is, even if we set it to "1", the kernel build time
is not changed. The problem could be reproduced by the following steps.
  1. bitbake core-image-minimal; start image and check `uname -a` output.
  2. set in local.conf: KERNEL_DEBUG_TIMESTAMPS = "1"
  3. bitbake core-image-minimal; start image and check `uname -a` output.

It's expected that after enabling KERNEL_DEBUG_TIMESTAMPS, the kernel
build time will be set to current date. But it's not. This is because
the compile.h was not re-generated when do_compile task was re-executed.

In mkcompile_h, we have:
"""
 # Only replace the real compile.h if the new one is different,
 # in order to preserve the timestamp and avoid unnecessary
 # recompilations.
 # We don't consider the file changed if only the date/time changed,
 # unless KBUILD_BUILD_TIMESTAMP was explicitly set (e.g. for
 # reproducible builds with that value referring to a commit timestamp).
 # A kernel config change will increase the generation number, thus
 # causing compile.h to be updated (including date/time) due to the
 # changed comment in the
 # first line.
"""
It has made it very clear that it will not be re-generated unless
we have KBUILD_BUILD_TIMESTAMP set explicitly. So we set this variable
explicitly in do_compile to fix this issue.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoqemu-helper-native: Correctly pass program name as argv[0]
Joshua Watt [Wed, 16 Nov 2022 18:49:19 +0000 (12:49 -0600)] 
qemu-helper-native: Correctly pass program name as argv[0]

The previous version of this wasn't correctly passing the program name
as argv[0], and was also over-complicated anyway because argv[] is
guaranteed to be terminated with a NULL pointer, so it can be passed
directly to the execv'd process without needing to be copied.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosstatesig: emit more helpful error message when not finding sstate manifest
Enrico Jörns [Wed, 16 Nov 2022 13:53:23 +0000 (14:53 +0100)] 
sstatesig: emit more helpful error message when not finding sstate manifest

Since oe-core commit 64b89f3c8fc31842256c482a3039d90d3f12c1cc
("sstatesig.py: make it fatal error when sstate manifest isn't found")
errors like:

| Manifest [..]/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-dbus.populate_sysroot not found in imx8mm_dummy cortexa53-mx8mm cortexa53 armv8a-crc armv8a aarch64 allarch x86_64_x86_64-nativesdk (variant '')?

are fatal now and cannot be ignored but must be debugged.

Unfortunately, the currently emitted error message is a bit imprecise
with telling the reader what has actually gone wrong.

This commit:

* adds the word 'sstate' to the error message to clarify the scope we
  are dealing with ('sstate manifests', since there are other manifests,
  too)
* does not randomly print the last manifest file searched for as THE
  manifest file that could not be found
  Instead, we print the name of the task the sstate was searched for
* adds the word 'multilib' to variant to make clear which variant we are
  talking about
* adds a separate line noting the searched pkgarchs and adds explicitly
  mentions this word ('pkgarchs')
* prints a list of ALL manifest file locations attempted
* removes the '?' at the end of the message since such errors indeed
  leave the question of what is the cause but the error message itself
  is more like a statement.

The result for the exact same issue as noted above then looks as
follows:

| The sstate manifest for task 'dbus:populate_sysroot' (multilib variant '') could not be found.
| The pkgarchs considered were: imx8mm_dummy, cortexa53-mx8mm, cortexa53, armv8a-crc, armv8a, aarch64, allarch, x86_64_x86_64-nativesdk.
| But none of these manifests exists:
|     [..]/tmp/sstate-control/manifest-imx8mm_dummy-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-cortexa53-mx8mm-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-cortexa53-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-armv8a-crc-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-armv8a-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-aarch64-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-allarch-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-dbus.populate_sysroot

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibpipeline: upgrade 1.5.6 -> 1.5.7
Wang Mingyu [Wed, 16 Nov 2022 05:19:56 +0000 (13:19 +0800)] 
libpipeline: upgrade 1.5.6 -> 1.5.7

Changelog:
============
 * Add notes to libpipeline(3) of when functions were added.
 * Transferred Git repository to https://gitlab.com/libpipeline/libpipeline.
 * Make `socketpair` tests used by `./configure --enable-socketpair-pipe`
   compatible with C23.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agobtrfs-tools: upgrade 6.0 -> 6.0.1
Wang Mingyu [Wed, 16 Nov 2022 05:13:08 +0000 (13:13 +0800)] 
btrfs-tools: upgrade 6.0 -> 6.0.1

Changelog:
==========
* send: minor speed up for v2 due to increased buffer size
* resize: invalid command line options fail with error code
* quota rescan:
   * add long options --status and --wait
   * new option to wait but don't start rescan
* qgroup show: print path by default, updated format
* qgroup: new subcommand clear-stale, remove qgroups without their subvolumes
* experimental:
   * add warnings to commands that have it enabled (mkfs, image, btrfstune)
* other:
   * documentation, help text, error message updates

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-hypothesis: upgrade 6.56.4 -> 6.57.1
Tim Orling [Tue, 15 Nov 2022 16:51:34 +0000 (08:51 -0800)] 
python3-hypothesis: upgrade 6.56.4 -> 6.57.1

6.57.1 - 2022-11-14
This patch updates some internal type annotations and fixes a formatting bug
in the explain phase reporting.

6.57.0 - 2022-11-14
Hypothesis now raises an error if you passed a strategy as the alphabet=
argument to text(), and it generated something which was not a length-one
string. This has never been supported, we’re just adding explicit validation
to catch cases like this StackOverflow question.

https://hypothesis.readthedocs.io/en/latest/changes.html#v6-57-1

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agorunqemu: limit slirp host port forwarding to localhost 127.0.0.1
Mikko Rapeli [Mon, 14 Nov 2022 15:50:38 +0000 (17:50 +0200)] 
runqemu: limit slirp host port forwarding to localhost 127.0.0.1

With default slirp port forwarding config qemu listens on TCP ports
2222 and 2323 on all IP addresses available on the build host. Most
use cases with runqemu only need it for localhost and it is not
safe to run qemu images with root login without password enabled
and listening on all available, possibly Internet reachable network
interfaces. Limit qemu port forwarding to localhost 127.0.0.1 IP
address. Now qemu machine SSH and telnet ports are only
reachable from the build host machine, not full Internet.

If qemu machine needs to be reachable from network, then it can
be enabled via local.conf or machine config variable QB_SLIRP_OPT:

QB_SLIRP_OPT = "-netdev user,id=net0,hostfwd=tcp::2222-:22"

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoqemurunner.py: support setting slirp host IP address
Mikko Rapeli [Mon, 14 Nov 2022 15:50:37 +0000 (17:50 +0200)] 
qemurunner.py: support setting slirp host IP address

By default host side IP address is not set and qemu listens
on all IP addresses on the host machine which is not a good
idea when images have root login enabled without password.
It make sense to listen only on localhost IP address 127.0.0.1 using
config change like:

QB_SLIRP_OPT = "-netdev user,id=net0,hostfwd=tcp:127.0.0.1:2222-:22"

This config works for qemu itself, but breaks runqemu which tries to
parse the host side port number from qemu process command line arguments.
So change the runqemu side hostfwd parsing for port number to ignore
the host IP address field.

Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agomesa: do not rely on native llvm-config in target sysroot
Alexander Kanavin [Mon, 14 Nov 2022 19:00:56 +0000 (20:00 +0100)] 
mesa: do not rely on native llvm-config in target sysroot

Sadly the magic is not perfect: llvm-config contains a hardcoded
value for the libdir from the native configuration, and things will
break if the target build installs libraries somewhere else (e.g. lib64).

llvm-config in target bindir also needs a rpath adjustment,
otherwise it simply won't even run when e.g. building for arm on x86.

To avoid patching llvm-source let's simply add more cases to the
llvm-config wrapper script, so that falling through to llvm-config binary
is avoided. Fortunately those cases are all static in what they return,
even though llvm-config binary does poke around the file tree to arrive
at them (which is where breakage happens if native and target don't match
exactly wrt libdir).

I verified that this works by building mesa with llvm enabled for
qemuarm64 and with baselib set to 'lib64' - so that both the target
architecture and target libdir differ from native ones.

Upstream tickets:
https://github.com/llvm/llvm-project/issues/58984
https://github.com/mesonbuild/meson/issues/11043

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agobash: update 5.1.16 -> 5.2.9
Alexander Kanavin [Mon, 14 Nov 2022 19:00:55 +0000 (20:00 +0100)] 
bash: update 5.1.16 -> 5.2.9

Remove patches:
execute_cmd.patch
(purpose of patch unclear)
makerace.patch/makerace2.patch
(merged upstream)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agomake: update 4.3 -> 4.4
Alexander Kanavin [Mon, 14 Nov 2022 19:00:54 +0000 (20:00 +0100)] 
make: update 4.3 -> 4.4

Deleted patches:
make/0001-makeinst-Do-not-undef-POSIX-on-clang-arm.patch
(modified bit removed upstream)
make/0001-src-dir.c-fix-buffer-overflow-warning.patch
make/0002-w32-compat-dirent.c-follow-header.patch
make/0003-posixfcn-fcntl-gnulib-make-emulated.patch
(fixed upstream)
make/0002-modules-fcntl-allow-being-detected-by-importing-proj.patch
(code removed upstream)

License-update: formatting

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agollvm: update 15.0.1 -> 15.0.4
Alexander Kanavin [Mon, 14 Nov 2022 19:00:53 +0000 (20:00 +0100)] 
llvm: update 15.0.1 -> 15.0.4

zstd is a new compression option in addition to zlib.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoreadline: update 8.1.2 -> 8.2
Alexander Kanavin [Mon, 14 Nov 2022 19:00:52 +0000 (20:00 +0100)] 
readline: update 8.1.2 -> 8.2

Replace configure-fix.patch with --with-shared-termcap-library

Backport a compatibility fix for gdb.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoglib-networking: update 2.72.2 -> 2.74.0
Alexander Kanavin [Mon, 14 Nov 2022 19:00:51 +0000 (20:00 +0100)] 
glib-networking: update 2.72.2 -> 2.74.0

glib-2.0-native is needed for gio-querymodules executable

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoglib-2.0: update 2.72.3 -> 2.74.1
Alexander Kanavin [Mon, 14 Nov 2022 19:00:50 +0000 (20:00 +0100)] 
glib-2.0: update 2.72.3 -> 2.74.1

Patches:
0001-Do-not-ignore-return-value-of-write.patch
merged upstream

Enable-more-tests-while-cross-compiling.patch
replaced with a request to upstream to solve
this correctly with meson's exe_wrapper:
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3067
https://github.com/mesonbuild/meson/issues/11029

License-update: formatting

Make needed adjustments to ptests.

Backport a couple of patches to address musl failures.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogettext: update 0.21 -> 0.21.1
Alexander Kanavin [Mon, 14 Nov 2022 19:00:49 +0000 (20:00 +0100)] 
gettext: update 0.21 -> 0.21.1

License-update: formatting

Refresh gettext-minimal files from the 0.21.1 install tree.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoxwayland: upgrade 22.1.4 -> 22.1.5
Wang Mingyu [Mon, 14 Nov 2022 03:26:30 +0000 (11:26 +0800)] 
xwayland: upgrade 22.1.4 -> 22.1.5

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agowayland-protocols: upgrade 1.27 -> 1.28
Wang Mingyu [Mon, 14 Nov 2022 03:25:17 +0000 (11:25 +0800)] 
wayland-protocols: upgrade 1.27 -> 1.28

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibsoup: upgrade 3.2.1 -> 3.2.2
Wang Mingyu [Mon, 14 Nov 2022 03:20:38 +0000 (11:20 +0800)] 
libsoup: upgrade 3.2.1 -> 3.2.2

Changelog:
==========
* Various HTTP/2 Fixes:
    * Fix `content-sniffed` not being emitted for resources without content
    * Fix leak of SoupServerConnection when stolen

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoiso-codes: upgrade 4.11.0 -> 4.12.0
Wang Mingyu [Mon, 14 Nov 2022 03:19:33 +0000 (11:19 +0800)] 
iso-codes: upgrade 4.11.0 -> 4.12.0

Changelog:
=========
- ISO 3166-1: Update name for TR. Fixes #38
- Translation updates for ISO 3166-1
- Translation updates for ISO 3166-2. Closes: #1020633
- Translation updates for ISO 3166-3
- Translation updates for ISO 639-2
- Translation updates for ISO 639-3
- Translation updates for ISO 639-5
- Translation updates for ISO 4217
- Translation updates for ISO 15924

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agobabeltrace: upgrade 1.5.8 -> 1.5.11
Wang Mingyu [Mon, 14 Nov 2022 03:18:54 +0000 (11:18 +0800)] 
babeltrace: upgrade 1.5.8 -> 1.5.11

Changelog:
===========
* Fix: distutils removed in python 3.12
* Fix: use-after-free with popt 1.19
* configure.ac: Basic fixes for autoconf 2.70
* Add gerrit config for stable-1.5
* port: disable debug-info by default on FreeBSD
* port: add missing includes for FreeBSD compat
* bindings: try importing collections.abc first for forward compatibility
* man: fix typo in babeltrace.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agometa-selftest/staticids: add render group for systemd
Peter Marko [Sun, 13 Nov 2022 14:33:06 +0000 (15:33 +0100)] 
meta-selftest/staticids: add render group for systemd

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosystemd: add group render to udev package
Peter Marko [Sun, 13 Nov 2022 14:33:05 +0000 (15:33 +0100)] 
systemd: add group render to udev package

From NEWS for v236:
* The "uaccess" udev tag has been dropped from /dev/kvm and
  /dev/dri/renderD*.  These devices now have the 0666 permissions by
  default (but this may be changed at build-time). /dev/dri/renderD*
  will now be owned by the "render" group along with /dev/kfd.

Without the group systemd-udevd startup logs:
  /lib/udev/rules.d/50-udev-default.rules:39 Unknown group 'render', ignoring
  /lib/udev/rules.d/50-udev-default.rules:40 Unknown group 'render', ignoring

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosysstat: upgrade 12.6.0 -> 12.6.1
Wang Mingyu [Sun, 13 Nov 2022 03:12:17 +0000 (11:12 +0800)] 
sysstat: upgrade 12.6.0 -> 12.6.1

Changelog:
==========
* Fix possible overflow in sa_common.c (GHSL-2022-074).
* sa_conv.c: Make size of statistics structures from older sysstat
  versions immutable.
* Declare sadc dependency on libsyscom.a.
* Fix gcc v11.2 warnings.
* Various cosmetic fixes.
* sar: Remove `-I int_list` from man-page and help.
* Consolidate systemctl commands in README file.
* Remove whitespace characters at the end of lines.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosudo: upgrade 1.9.12 -> 1.9.12p1
Wang Mingyu [Sun, 13 Nov 2022 03:11:37 +0000 (11:11 +0800)] 
sudo: upgrade 1.9.12 -> 1.9.12p1

mips-fix.patch
removed since it's included in 1.9.12p1

Changelog:
=========
 *Sudo's configure script now does a better job of detecting when the
 -fstack-clash-protection compiler option does not work. GitHub issue #191.
 *Fixed CVE-2022-43995, a potential out-of-bounds write for passwords smaller
  than 8 characters when passwd authentication is enabled. This does not affect
  configurations that use other authentication methods such as PAM, AIX
  authentication or BSD authentication.
 *Fixed a build error with some configurations compiling host_port.c.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosed: update 4.8 -> 4.9
Wang Mingyu [Sun, 13 Nov 2022 03:10:29 +0000 (11:10 +0800)] 
sed: update 4.8 -> 4.9

License-Update:
-URL of license changed from
 https://www.gnu.org/philosophy/why-not-lgpl.html
 to https://www.gnu.org/licenses/why-not-lgpl.htm
-Copyright year updated to 2022

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-wheel: upgrade 0.38.0 -> 0.38.4
Wang Mingyu [Sun, 13 Nov 2022 03:08:10 +0000 (11:08 +0800)] 
python3-wheel: upgrade 0.38.0 -> 0.38.4

Changelog:
===========
-Fixed PKG-INFO conversion in bdist_wheel mangling UTF-8 header values in METADATA
-Fixed install failure when used with --no-binary, reported on Ubuntu 20.04,
 by removing setup_requires from setup.cfg
-Fixed regression introduced in v0.38.1 which broke parsing of wheel file names
 with multiple platform tags
-Removed install dependency on setuptools
-The future-proof fix in 0.36.0 for converting PyPy's SOABI into a abi tag was
 faulty. Fixed so that future changes in the SOABI will not change the tag.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-subunit: upgrade 1.4.0 -> 1.4.1
Wang Mingyu [Sun, 13 Nov 2022 03:06:02 +0000 (11:06 +0800)] 
python3-subunit: upgrade 1.4.0 -> 1.4.1

Changelog:
=========
IMPROVEMENTS
-------------
* Add support for Python 3.9
* Add support for Python 3.10
* Drop support for Python 2.7, 3.4, and 3.5
* Convert python scripts to entry_points.
* Migrate CI from travis to GitHub actions.
* Add options to output filter to set timestamps.
* Remove dependency on unittest2.

BUGFIXES
----------
* Fix tests with testtools >= 2.5.0.
* Mark rawstrings as such, fixing warnings.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-sphinx-rtd-theme: upgrade 1.1.0 -> 1.1.1
Wang Mingyu [Sun, 13 Nov 2022 03:05:18 +0000 (11:05 +0800)] 
python3-sphinx-rtd-theme: upgrade 1.1.0 -> 1.1.1

Changelog:
Fixes wrapping bug on cross references (#1368)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-setuptools: upgrade 65.5.0 -> 65.5.1
Wang Mingyu [Sun, 13 Nov 2022 03:03:57 +0000 (11:03 +0800)] 
python3-setuptools: upgrade 65.5.0 -> 65.5.1

Changelog:
-----
    #3638: Drop a test dependency on the mock package, always use unittest.mock
    #3659: Fixed REDoS vector in package_index.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-psutil: upgrade 5.9.3 -> 5.9.4
Wang Mingyu [Sun, 13 Nov 2022 03:02:58 +0000 (11:02 +0800)] 
python3-psutil: upgrade 5.9.3 -> 5.9.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-pip: update 22.3 -> 22.3.1
Wang Mingyu [Sun, 13 Nov 2022 03:02:06 +0000 (11:02 +0800)] 
python3-pip: update 22.3 -> 22.3.1

Bug Fixes
-----------
 Fix entry point generation of pip.X, pipX.Y, and easy_install-X.Y to correctly
 account for multi-digit Python version segments (e.g. the "11" part of 3.11). (#11547)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-flit-core: upgrade 3.7.1 -> 3.8.0
Wang Mingyu [Sun, 13 Nov 2022 03:01:18 +0000 (11:01 +0800)] 
python3-flit-core: upgrade 3.7.1 -> 3.8.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-dtschema: upgrade 2022.9 -> 2022.11
Wang Mingyu [Sun, 13 Nov 2022 03:00:40 +0000 (11:00 +0800)] 
python3-dtschema: upgrade 2022.9 -> 2022.11

Changelog:
============
- Rework exception handling to better handle Ctrl-C exits

- Various updates to README.md including examples on running different
  commands

- Allow using schemas for validation which fail meta-schema checks. This
  will allow using schemas which have failures due to new meta-schema
  checks.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agomesa: upgrade 22.2.2 -> 22.2.3
Wang Mingyu [Sun, 13 Nov 2022 02:59:53 +0000 (10:59 +0800)] 
mesa: upgrade 22.2.2 -> 22.2.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibsdl2: upgrade 2.24.1 -> 2.24.2
Wang Mingyu [Sun, 13 Nov 2022 02:59:08 +0000 (10:59 +0800)] 
libsdl2: upgrade 2.24.1 -> 2.24.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agomobile-broadband-provider-info: upgrade 20220725 -> 20221107
Wang Mingyu [Sun, 13 Nov 2022 02:58:26 +0000 (10:58 +0800)] 
mobile-broadband-provider-info: upgrade 20220725 -> 20221107

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agommc-utils: upgrade to latest revision
Wang Mingyu [Sun, 13 Nov 2022 02:57:24 +0000 (10:57 +0800)] 
mmc-utils: upgrade to latest revision

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibdrm: upgrade 2.4.113 -> 2.4.114
Wang Mingyu [Sun, 13 Nov 2022 02:56:50 +0000 (10:56 +0800)] 
libdrm: upgrade 2.4.113 -> 2.4.114

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogi-docgen: upgrade 2022.1 -> 2022.2
Wang Mingyu [Sun, 13 Nov 2022 02:56:04 +0000 (10:56 +0800)] 
gi-docgen: upgrade 2022.1 -> 2022.2

Changes since 2022.1
--------------------
* Use const.*.html instead of constant.*.html for search index links [!146]
* Remove "terms" from index.json, rewrite commandline search to work without it [!148]
* Add interface type description [!149]
* Fix failure to generate link to error domain [!151]
* Make log.log() thread safe [#129]
* Quote string constant values [#128]
* Set the license of the generated documentation [#133]
* Support (scope forever) [!155]
* Add a way to frame images [!156]
* Use the appropriate namespace for indices [#137]
* Fix type annotations for Repository packages and c_includes [!160]
* Add py.typed to comply with PEP561 [!159]
* Add links to external classes in the hierarchy [#132]
* Use definition lists for callable arguments [#123]
* Improve styles [!165]
* Use definition lists for callable arguments
* Clarify generated description for GError arguments
* Clarify generated description for nullable in/out arguments
* Add emblems for versions and stability
* Require a sufficient minimum dependency of markdown [!166]
* Add a "serve" command

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agovulkan-loader: Allow headless targets to build the loader
Jordan Crouse [Fri, 11 Nov 2022 21:47:13 +0000 (21:47 +0000)] 
vulkan-loader: Allow headless targets to build the loader

vulkan-loader can build and work on headless targets without display
engines so there isn't any need for the ANY_OF_DISTRO_FEATURES restriction.

Signed-off-by: Jordan Crouse <jorcrous@amazon.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agospirv-tools: Correctly set the prefix in exported cmake packages
Jordan Crouse [Fri, 11 Nov 2022 21:47:12 +0000 (21:47 +0000)] 
spirv-tools: Correctly set the prefix in exported cmake packages

spirv-tools exports Cmake packages.  When they are installed the
INTERFACE_LINK_LIBRARIES variable is not correctly updated to use
_IMPORT_PREFIX like the other variables. This may have something to do with
the path to the sysroot being different than the source path.

The existing recipe recognizes that the sysroot path made it through to the
install and tries to get rid of it, but this just ends up with dependent
tools looking in vain for /usr/lib/librt.so.

Replace the INTERFACE_LINK_LIBRARIES value in SPIRV-ToolsTarget.cmake with
"${IMPORT_PREFIX}/lib".

Signed-off-by: Jordan Crouse <jorcrous@amazon.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agorepo: upgrade 2.29.5 -> 2.29.9
Changhyeok Bae [Sat, 12 Nov 2022 14:52:26 +0000 (14:52 +0000)] 
repo: upgrade 2.29.5 -> 2.29.9

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosanity: Drop data finalize call
Richard Purdie [Fri, 11 Nov 2022 22:58:27 +0000 (22:58 +0000)] 
sanity: Drop data finalize call

This call was effectively like update_data and no longer did anything
in bitbake. Drop it as it is obsolete.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosstate: Allow optimisation of do_deploy_archives task dependencies
Jose Quaresma [Fri, 11 Nov 2022 18:06:25 +0000 (18:06 +0000)] 
sstate: Allow optimisation of do_deploy_archives task dependencies

do_deploy_archives tasks don't need their dependencies so we can optimistion
this as we do for some other tasks.

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agorm_work: exclude the SSTATETASKS from the rm_work tasks sinature
Jose Quaresma [Fri, 11 Nov 2022 18:05:46 +0000 (18:05 +0000)] 
rm_work: exclude the SSTATETASKS from the rm_work tasks sinature

We can exclude the SSTATETASKS from the rm_work task signature
to avoid running the task when we remove some setscene tasks
from the dependencie chain.

The inject_rm_work handler on the rm_work bbclass triggers the
rm_work task running for any signature change in the dependencie
chain of the task do_build of each recipe.

i.e INHERIT:remove = "create-spdx" will trigger the do_rm_work
when we collect the sstate cache with INHERIT = "create-spdx"

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosstatesig: skip the rm_work task signature
Jose Quaresma [Fri, 11 Nov 2022 18:05:45 +0000 (18:05 +0000)] 
sstatesig: skip the rm_work task signature

We can skip the rm_work task signature to avoid running the task
when we remove some tasks from the dependencie chain.

The inject_rm_work handler on the rm_work bbclass triggers the
rm_work task running for any signature change in the dependencie
chain of the task do_build of each recipe.

i.e INHERIT:remove = "create-spdx" will trigger the do_rm_work
when we collect the sstate cache with INHERIT = "create-spdx"

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogpgme: Allow setuptools3-base to be excluded from the inherit list
David Bagonyi [Fri, 11 Nov 2022 15:39:57 +0000 (15:39 +0000)] 
gpgme: Allow setuptools3-base to be excluded from the inherit list

Inheriting setuptools3-base adds a runtime dependency on Python.

This change makes inheriting setuptools3-base optional. If one does not want
a runtime dependency on Python, they can remove python from LANGUAGES.

Additionally, as Python 2 has been EOL for nearly 3 years now, all Python 2 related parts have been taken out.

Signed-off-by: David Bagonyi <david.bagonyi@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoscripts: convert-overrides: Allow command-line customizations
Joshua Watt [Fri, 11 Nov 2022 14:55:51 +0000 (08:55 -0600)] 
scripts: convert-overrides: Allow command-line customizations

Adds argument parsing to the conversion script so that the fields that
the script uses to do conversions can be customized on the command line.
The intention is to allows easier customization without having to fork
the script, and allow automated checking on 3rd party layers via CI
without false positives

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibxext: update 1.3.4 -> 1.3.5
Alexander Kanavin [Fri, 11 Nov 2022 14:33:49 +0000 (15:33 +0100)] 
libxext: update 1.3.4 -> 1.3.5

License-Update: copyright holders

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: update 251.4 -> 251.8
Alexander Kanavin [Thu, 10 Nov 2022 18:12:49 +0000 (19:12 +0100)] 
systemd: update 251.4 -> 251.8

This resolves systemd-boot fails with latest meson,
while systemd -> 252 is being prepared.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agomeson: update 0.63.3 -> 0.64.0
Alexander Kanavin [Thu, 10 Nov 2022 18:12:48 +0000 (19:12 +0100)] 
meson: update 0.63.3 -> 0.64.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agorgb: update 1.0.6 -> 1.1.0
Alexander Kanavin [Thu, 10 Nov 2022 18:12:47 +0000 (19:12 +0100)] 
rgb: update 1.0.6 -> 1.1.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibepoxy: update 1.5.9 -> 1.5.10
Alexander Kanavin [Thu, 10 Nov 2022 18:12:46 +0000 (19:12 +0100)] 
libepoxy: update 1.5.9 -> 1.5.10

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibepoxy: convert to git
Alexander Kanavin [Thu, 10 Nov 2022 18:12:45 +0000 (19:12 +0100)] 
libepoxy: convert to git

Latest version doesn't come with stable tarballs.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoadwaita-icon-theme: update 42.0 -> 43
Alexander Kanavin [Thu, 10 Nov 2022 18:12:44 +0000 (19:12 +0100)] 
adwaita-icon-theme: update 42.0 -> 43

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agognomebase.bbclass: return the whole version for tarball directory if it is a number
Alexander Kanavin [Thu, 10 Nov 2022 18:12:43 +0000 (19:12 +0100)] 
gnomebase.bbclass: return the whole version for tarball directory if it is a number

E.g. if version is '43' without any dots, existing code would return ''.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoxf86-input-vmmouse: update 13.1.0 -> 13.2.0
Alexander Kanavin [Thu, 10 Nov 2022 18:12:42 +0000 (19:12 +0100)] 
xf86-input-vmmouse: update 13.1.0 -> 13.2.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoxcb-util: update to latest revisions
Alexander Kanavin [Thu, 10 Nov 2022 18:12:41 +0000 (19:12 +0100)] 
xcb-util: update to latest revisions

Also, default to tar.xz, as the majority of tarballs
are now using that.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibxxf86vm: update 1.1.4 -> 1.1.5
Alexander Kanavin [Thu, 10 Nov 2022 18:12:39 +0000 (19:12 +0100)] 
libxxf86vm: update 1.1.4 -> 1.1.5

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibxtst: update 1.2.3 -> 1.2.4
Alexander Kanavin [Thu, 10 Nov 2022 18:12:38 +0000 (19:12 +0100)] 
libxtst: update 1.2.3 -> 1.2.4

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibxshmfence: update 1.3 -> 1.3.1
Alexander Kanavin [Thu, 10 Nov 2022 18:12:37 +0000 (19:12 +0100)] 
libxshmfence: update 1.3 -> 1.3.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibxrender: update 0.9.10 -> 0.9.11
Alexander Kanavin [Thu, 10 Nov 2022 18:12:36 +0000 (19:12 +0100)] 
libxrender: update 0.9.10 -> 0.9.11

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibxmu: update 1.1.3 -> 1.1.4
Alexander Kanavin [Thu, 10 Nov 2022 18:12:35 +0000 (19:12 +0100)] 
libxmu: update 1.1.3 -> 1.1.4

Drop ipv6 option as no longer supported.

License-Update: additional files, path corrections

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibxkbfile: update 1.1.0 -> 1.1.1
Alexander Kanavin [Thu, 10 Nov 2022 18:12:34 +0000 (19:12 +0100)] 
libxkbfile: update 1.1.0 -> 1.1.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibxinerama: update 1.1.4 -> 1.1.5
Alexander Kanavin [Thu, 10 Nov 2022 18:12:33 +0000 (19:12 +0100)] 
libxinerama: update 1.1.4 -> 1.1.5

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibpciaccess: update 0.16 -> 0.17
Alexander Kanavin [Thu, 10 Nov 2022 18:12:32 +0000 (19:12 +0100)] 
libpciaccess: update 0.16 -> 0.17

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopango: replace a recipe fix with an upstream submitted patch
Alexander Kanavin [Thu, 10 Nov 2022 18:12:31 +0000 (19:12 +0100)] 
pango: replace a recipe fix with an upstream submitted patch

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosanity.bbclass: do not check for presence of distutils
Alexander Kanavin [Wed, 9 Nov 2022 20:21:12 +0000 (21:21 +0100)] 
sanity.bbclass: do not check for presence of distutils

This will be removed in 3.12 and has been deprecated for a while.

If anything breaks because of its absence on the host, this would
expose the breakage so it can be fixed.

icu source specifically does not refer to distutils anywhere.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agovala: install vapigen-wrapper into /usr/bin/crosscripts and stage only that
Alexander Kanavin [Wed, 9 Nov 2022 20:21:11 +0000 (21:21 +0100)] 
vala: install vapigen-wrapper into /usr/bin/crosscripts and stage only that

Staging the whole /usr/bin is not correct, as it pulls in also
all the vala's cross binaries, which may be discovered by other recipes
and things will go wrong then.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoclasses/testexport: move to classes-recipe
Ross Burton [Wed, 9 Nov 2022 19:31:35 +0000 (19:31 +0000)] 
classes/testexport: move to classes-recipe

This class should be in classes-recipe as, like testimage, it is specific
to image recipes.

This also solves a regression where simply IMAGE_CLASSES += "testexport"
doesn't work if testimage isn't already in IMAGE_CLASSES. The testexport
class adds testimage to IMAGE_CLASSES, but by this point it's too late.
Now that the class can only be inherited via IMAGE_CLASSES, we can
simply inherit testimage directly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agooeqa/selftest/wic: use skipIfNotArch instead of custom decorator
Ross Burton [Wed, 9 Nov 2022 19:31:34 +0000 (19:31 +0000)] 
oeqa/selftest/wic: use skipIfNotArch instead of custom decorator

There's now a shared decorator for architecture skipping, so use that.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agooeqa/selftest/wic: skip more tests on aarch64
Ross Burton [Wed, 9 Nov 2022 19:31:33 +0000 (19:31 +0000)] 
oeqa/selftest/wic: skip more tests on aarch64

test_rawcopy_plugin_qemu and test_wic_image_type are x86-specific
currently as the .wks uses x86-specific bootloaders.

This can be fixed, but that can come later.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agooeqa/selftest/runtime_test: only run the virgl tests on qemux86-64
Ross Burton [Wed, 9 Nov 2022 19:31:32 +0000 (19:31 +0000)] 
oeqa/selftest/runtime_test: only run the virgl tests on qemux86-64

These tests should be able to work on qemuarm64, but this is untested
and the runners will need configuration.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agooeqa/selftest/runqemu: don't hardcode qemux86-64
Ross Burton [Wed, 9 Nov 2022 19:31:31 +0000 (19:31 +0000)] 
oeqa/selftest/runqemu: don't hardcode qemux86-64

Don't hardcode qemux86-64. This has some complications: the
IMAGE_FSTYPES needs to be constructed to reflect what the machine can
do (only x86 machines can build ISO images), and several tests which need
a wic file are currently limited to qemux86-64.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agooeqa/selftest/package: improve test_preserve_ownership
Ross Burton [Wed, 9 Nov 2022 19:31:30 +0000 (19:31 +0000)] 
oeqa/selftest/package: improve test_preserve_ownership

This test was failing very oddly in qemuarm64 runs. Rewriting the test
to be clearer and less fragile fixed it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agooeqa/selftest/package: generalise test_gdb_hardlink_debug()
Ross Burton [Wed, 9 Nov 2022 19:31:29 +0000 (19:31 +0000)] 
oeqa/selftest/package: generalise test_gdb_hardlink_debug()

When the trivial test binary, which just calls printf(), is compiled for
aarch64 with -O2 -D_FORTIFY=2 (as is the default configuration), gdb
resolves main() to the inlined printf() wrapper in stdio2.h instead of
main.c, so the test fails.

Presumably, this is due to debugging being unreliable with -O2. Solve
this problem by not caring where the main() breakpoint resolves to, just
check that it was resolved at all.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agooeqa/selftest/overlayfs: overlayfs: skip x86-specific tests
Ross Burton [Wed, 9 Nov 2022 19:31:28 +0000 (19:31 +0000)] 
oeqa/selftest/overlayfs: overlayfs: skip x86-specific tests

For now, not all machines have a default wks file, so mark the tests
which need a wks as being specific to qemux86-64.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agooeqa/selftest/imagefeatures: set a .wks in test_fs_types
Ross Burton [Wed, 9 Nov 2022 19:31:27 +0000 (19:31 +0000)] 
oeqa/selftest/imagefeatures: set a .wks in test_fs_types

Set WKS_FILE to wictestdisk.wks, which is a very simple Wic file that
simply contains the root filesystem.  It may not actually boot but this
test doesn't care, and it does exercise the wic image construction on
all machines.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agooeqa/selftest/imagefeatures: don't use wic images in test_hypervisor_fmts
Ross Burton [Wed, 9 Nov 2022 19:31:26 +0000 (19:31 +0000)] 
oeqa/selftest/imagefeatures: don't use wic images in test_hypervisor_fmts

There's no need to build a wic image in this test as not all machines
(such as qemuarm64 currently) have wic images out of the box.

We can simply build ext4 images to work on more machines and save some time.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agooeqa/selftest/imagefeatures: remove hardcoded MACHINE in test_image_gen_debugfs
Ross Burton [Wed, 9 Nov 2022 19:31:25 +0000 (19:31 +0000)] 
oeqa/selftest/imagefeatures: remove hardcoded MACHINE in test_image_gen_debugfs

There's no need for this to be built for genericx86-64, we want to test
the current MACHINE.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agooeqa/selftest/efibootpartition: improve test
Ross Burton [Wed, 9 Nov 2022 19:31:24 +0000 (19:31 +0000)] 
oeqa/selftest/efibootpartition: improve test

This test was overly complex with a setUp() method for a single test case,
which was marked as a class function for no good reason.

Generalise the test so that it has the possibility of working on more
machines in the future, add a decorator so that it only runs on
qemux86-64, and respect QEMU_USE_KVM to speed up test execution.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agooeqa/selftest/buildoptions: skip test_read_only_image on qemuarm64
Ross Burton [Wed, 9 Nov 2022 19:31:23 +0000 (19:31 +0000)] 
oeqa/selftest/buildoptions: skip test_read_only_image on qemuarm64

qemuarm64 currently uses SERIAL_CONSOLES_CHECK but this is incompatible
with read-only rootfs under sysvinit.  Until qemuarm64 doesn't use this,
skip the test on qemuarm64.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agooeqa/core/decorator: add decorators to skip based on HOST_ARCH
Ross Burton [Wed, 9 Nov 2022 19:31:22 +0000 (19:31 +0000)] 
oeqa/core/decorator: add decorators to skip based on HOST_ARCH

There are already decorators to skip on the value of MACHINE, but for
flexibility it's better to skip based on the target architecture. This
means, for example, the ISO image tests could skip if the architecture
isn't x86.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agooeqa/qemurunner: update exception class for QMP API changes
Ross Burton [Wed, 9 Nov 2022 19:31:21 +0000 (19:31 +0000)] 
oeqa/qemurunner: update exception class for QMP API changes

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>