Commit Graph

15191 Commits

Author SHA1 Message Date
Peter Marko
adfee75882
minifi-cpp: upgrade spdlog 1.15.1 -> 1.15.3
Fixes CVE-2025-6140 (in 1.15.2).

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-12 13:50:01 -07:00
Peter Marko
edf62865d5
spdlog: upgrade 1.15.0 -> 1.15.3
Fixes CVE-2025-6140 (in 1.15.2).

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-12 13:50:00 -07:00
Khem Raj
5901e29e37
taisei: Upgrade to 1.4.3
Drop 0001-util-consideredharmful-Use-overloadable-func-attribu.patch
which is fixed differently upstream [1]

Specify strip=false via meson cmdline and avoid patching sources

Move dependency to libsdl3 instead of libsdl2 which is required in this
version

[1] 6a0c1c8bf0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-12 13:50:00 -07:00
Alper Ak
16c482f5e6
libwebsockets: Add patch for CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-12 13:50:00 -07:00
Alper Ak
392f0f0ea7
linux-serial-test: Bump SRCREV to allow CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:4 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-11 08:35:27 -07:00
Moritz Haase
b7a6d63835
jsonrpc: Allow to build with CMake 4+
Upstream is inactive, so use the 'minimum policy version' override. An
additional patch is required to remove usage of an outdated policy that only
affects MacOS however, so we should we fine.

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-11 08:35:05 -07:00
Moritz Haase
90e240756c
vulkan-cts: upgrade 1.4.2.1 -> 1.4.3.1
New version includes support to build against CMake 4+.

Release notes are available at [0].

The SRC_URI update helper script required adaptations, as it was broken by
recent Poky changes. The SRC_URI entries were only updated manually back then
via [1].

[0]: https://github.com/KhronosGroup/VK-GL-CTS/releases
[1]: https://git.openembedded.org/meta-openembedded/commit/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc?h=master-next&id=fc78d37ff0ce9e0d60455465851dbe4e86d7a8b3

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-11 08:35:05 -07:00
Moritz Haase
6e78caafa3
synergy: Allow to build with CMake 4+
The version hasn't been updated in years, so even though there are newer
upstream releases, bumping the version is not straightforward. Thus, use the
'minimum policy version' override for now.

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-11 08:35:05 -07:00
Moritz Haase
111baaaa22
pcapplusplus: upgrade 24.09 -> 25.05
New version includes support to build against CMake 4+.

Release notes are available at [0].

[0]: https://github.com/seladb/PcapPlusPlus/releases/tag/v25.05

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-11 08:35:05 -07:00
Moritz Haase
82177b39ec
upm: Allow to build with CMake 4+
Upstream is inactive, so use the 'minimum policy version' override.

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-11 08:35:05 -07:00
Moritz Haase
c4a6ed4f44
wbxml2: upgrade 0.10.8 -> 0.11.10
The project has moved away from SourceForge to GitHub at [0] and has resumed
publishing releases. The new version includes support to build against CMake 4+.

[0]: https://github.com/libwbxml/libwbxml

License-Update: Links to project homepage have been updated
Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-11 08:35:05 -07:00
Moritz Haase
004577f53c
heaptrack: Allow to build with CMake 4+
Upstream is inactive, so use the 'minimum policy version' override.

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-11 08:35:04 -07:00
Moritz Haase
2a0b7b4aac
redis-plus-plus: upgrade 1.3.11 -> 1.3.14
Additionally backport a patch to support to build against CMake 4+ that hasn't
made it into a release yet.

Release notes are available at [0].

[0]: https://github.com/sewenew/redis-plus-plus/releases

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-11 08:35:04 -07:00
Moritz Haase
4efbdb2d27
cpputest: Backport patches to support builds with CMake 4+
There hasn't been a new upstream release yet that ships the required changes.

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-11 08:35:04 -07:00
Moritz Haase
26c61dfccd
avro-c: upgrade 1.11.3 -> 1.12.0
New version includes support to build against CMake 4+, see [0].

Release notes are available at [1].

[0]: https://github.com/apache/avro/pull/2796
[1]: https://github.com/apache/avro/releases/tag/release-1.12.0

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-11 08:35:04 -07:00
Moritz Haase
1911d0d2fc
zeromq: Backport patches to support builds with CMake 4+
There hasn't been a new upstream release yet that ships the required changes.

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-11 08:35:04 -07:00
Hongxu Jia
08c7985bba
opencv: revert disable sse4.1 and sse4.2 on x86
Due to upstream has fixed the issue [1], revert [3f26c46cbd opencv:
disable sse4.1 and sse4.2 on x86]

[1] https://github.com/opencv/opencv/pull/21628

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-11 08:35:04 -07:00
Hongxu Jia
03445131f3
opencv: use CPU_DISPATCH to instead of ENABLE_XXX
$ bitbake opencv
$ vim tmp/work/core2-64-wrs-linux/opencv/4.11.0/temp/log.do_configure
...
-- WARNING: Option ENABLE_SSE='1' is deprecated and should not be used anymore
--          Behaviour of this option is not backward compatible
--          Refer to 'CPU_BASELINE'/'CPU_DISPATCH' CMake options documentation
-- WARNING: Option ENABLE_SSE2='1' is deprecated and should not be used anymore
--          Behaviour of this option is not backward compatible
--          Refer to 'CPU_BASELINE'/'CPU_DISPATCH' CMake options documentation
-- WARNING: Option ENABLE_SSE3='1' is deprecated and should not be used anymore
--          Behaviour of this option is not backward compatible
--          Refer to 'CPU_BASELINE'/'CPU_DISPATCH' CMake options documentation
-- WARNING: Option ENABLE_SSSE3='1' is deprecated and should not be used anymore
--          Behaviour of this option is not backward compatible
--          Refer to 'CPU_BASELINE'/'CPU_DISPATCH' CMake options documentation
...

According to [1], flags ENABLE_AVX/ENABLE_AVX2/ENABLE_POPCNT/etc should not be used
anymore. Use options CPU_DISPATCH instead.

[1] https://github.com/opencv/opencv/wiki/CPU-optimizations-build-options#customizing-cmake-options

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-11 08:35:03 -07:00
Alper Ak
2c09dcbb17
ade: Upgrade 0.1.2 -> 0.1.2e to allow CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:7 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-10 21:08:44 -07:00
Alper Ak
a67964c575
sqlite-orm: Upgrade 1.5 -> 1.9.1 to allow CMake 4+ compatibility
- Dropped the patch as the issue is already fixed in the newer version.
- The LICENSE file has changed so updated LIC_FILES_CHKSUM to match the new md5sum.
- Updated CMake flag to disable tests according to the new version.

Changelog:

https://github.com/fnc12/sqlite_orm/compare/v1.5...v1.9.1
https://github.com/fnc12/sqlite_orm/releases

Fix:

| CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-10 10:46:24 -07:00
Alper Ak
1109cc27a5
cmatrix: Add patch for CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-10 10:46:24 -07:00
Markus Volk
ad358c31a4
opencl-icd-loader: allow to build with cmake 4
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-10 10:46:23 -07:00
Markus Volk
0f4926c4b4
freeglut: allow to build with cmake 4
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-10 10:46:23 -07:00
Markus Volk
222064c3ad
glm: allow to build wih cmake 4
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-10 10:46:23 -07:00
Denis OSTERLAND-HEIM
0d88de194a
libp11: version bump 0.4.13 -> 0.4.16
This version comes with a pkcs11 provider called 'pkcs11prov'.
Configure modules directory for native build for the provider.
Install provider to target.

Signed-off-by: Denis OSTERLAND-HEIM <denis.osterland@diehl.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-10 10:46:23 -07:00
Markus Volk
b3d6175ea4
p8platform: allow to build with cmake 4
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-10 10:46:22 -07:00
Mikko Rapeli
48bef05c83
fwupd: add conditional runtime dependency to udisks2
fwupdtool uses udisks2 to setup access to ESP partition.
udisks2 depends on polkit feature so make the dependency
conditional in fwupd too. The dependency is not needed
for all usecases.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-10 10:46:22 -07:00
Mikko Rapeli
738d27a759
fwupd: update to 2.0.12
New major version release which drops many configure
options, changes from libgusb to libusb etc.

Upstream changelogs:

https://github.com/fwupd/fwupd/releases/tag/2.0.0
https://github.com/fwupd/fwupd/releases/tag/2.0.1
https://github.com/fwupd/fwupd/releases/tag/2.0.2
https://github.com/fwupd/fwupd/releases/tag/2.0.3
https://github.com/fwupd/fwupd/releases/tag/2.0.4
https://github.com/fwupd/fwupd/releases/tag/2.0.5
https://github.com/fwupd/fwupd/releases/tag/2.0.6
https://github.com/fwupd/fwupd/releases/tag/2.0.7
https://github.com/fwupd/fwupd/releases/tag/2.0.8
https://github.com/fwupd/fwupd/releases/tag/2.0.9
https://github.com/fwupd/fwupd/releases/tag/2.0.10
https://github.com/fwupd/fwupd/releases/tag/2.0.11
https://github.com/fwupd/fwupd/releases/tag/2.0.12

Tested with genericarm64 machine on qemu with ptests and
manually on AMD KV260.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-10 10:46:22 -07:00
Mikko Rapeli
b572fdf8e1
fwupd-efi: update from 1.6 to 1.7
Remove upstreamed patch.

https://github.com/fwupd/fwupd-efi/releases/tag/1.7

This release fixes the following bugs:

    Fix compilation with GNU-EFI 4.0

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-10 10:46:22 -07:00
Mikko Rapeli
9e810fbaeb
fwupd: update from 1.9.25 to 1.9.30
Changes:

https://github.com/fwupd/fwupd/releases/tag/1.9.30

This release fixes the following bugs:

    Add several devices with broken firmware to the UEFI dbx blocklist
    Add /sys/firmware/efi/efivars to ReadWritePaths
    Do not export Redfish backup partitions as devices
    Do not show messages or prompt for answers in fwupdtool --json mode
    Fix a crash when installing some Wacom firmware types
    Fix deploying RMM updates on the Dell Kestrel dock
    Fix SMBIOS parsing for SPI ROM size >= 16MiB
    Never allow updating updatable-hidden devices with fwupdtool
    Recognize a very old dbx hash to allow upgrades to continue
    Reduce the Dell dock HID timeout, as retries already cover it

https://github.com/fwupd/fwupd/releases/tag/1.9.29

This release adds the following features:

    Prepend the missing capsule header also when using CoD
    Support cabinet archives greater in size than 2GB

This release fixes the following bugs:

    Do not add a Redfish release date if set to 00:00:00Z
    Do not add invalid CoSWID entities
    Fix creating the Redfish user when the ETAG is set
    Fix dbx deployment by ignoring missing PE/COFF sections
    Fix writing EFI variables on new kernel versions
    Include a SHA-256 checksum when using fwupdtool self-sign
    Include the length in Wacom USB scaler update for future hardware support
    Increase the timeout for RMM ack when updating Dell Kestrel docks
    Mark the Redfish progress as finished even if the update never got to 100%
    Set the Redfish MIME form-data filename correctly
    Use the metadata version format to set the lowest possible version

This release adds support for the following hardware:

    Lenovo USB-C Dual Display Travel Dock

https://github.com/fwupd/fwupd/releases/tag/1.9.28

Released: 2025-01-28

This release adds the following features:

    Add support for intel-csme19 version format

This release fixes the following bugs:

    Avoid downstream port resets of Parade USB hubs
    Cleanup Dell dock devices when disconnected
    Correctly parse PE files with zero sized sections
    Correctly set the package version of the Dell dock
    Run the FwupdClient::changed callback in the correct thread
    Run the UEFI capsule reboot cleanup action when required
    Split up the AMD GPU VBIOS P/N for the version
    Use the ISO date as a dbx version number

This release adds support for the following hardware:

    HP 400/405
    More ELAN fingerprint readers

https://github.com/fwupd/fwupd/releases/tag/1.9.27

This release fixes the following bugs:

    Add a power quirk for Framework systems
    Allow cros-ec repair the device after flush failure
    Check the VLI USB3 firmware size before erasing
    Disallow DBX updates on the Samsung Galaxy Book2 360
    Do not show 'Device has been removed' as a dock error
    Do not use a CMSE11 function when using CSME18
    Fix an unlikely memory leak when using ModemManger Sahara devices
    Fix a tiny memory leak in algoltek-usb when checking status
    Mark UEFI dbx updates as affecting full disk encryption
    Parse FDTs with missing END tokens
    Rename the dell-k2 plugin to dell-kestrel and rework the update flow

This release adds support for the following hardware:

    Google GID8 Headset
    Parade PS188
    Primax Ryder Mouse

https://github.com/fwupd/fwupd/releases/tag/1.9.26

This release fixes the following bugs:

    Add HSI tests for Arrow and Meteor Lake CSME
    Allow UEFI capsule config values to be set with fwupdmgr modify-config
    Check for the logitech-bulkcontroller response packet length correctly
    Fix using ID_LIKE for fallback when ESP isn't mounted
    Fix various Coverity-reported overflowed constants
    Only compare the first 10 characters of the AMD GPU part number

This release adds support for the following hardware:

    Jabra PanaCast
    Some Lenovo Legion HID devices

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-10 10:46:22 -07:00
Khem Raj
237e8ffa3d
ne10: Use CMAKE_POLICY_VERSION_MINIMUM=3.5
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-10 00:05:58 -07:00
Alper Ak
ba1117fe79
konkretcmpi: Remove ancient/unmaintained recipe
Remove the konkretcmpi recipe, as the upstream has been inactive for over 8 years.
No new releases, bug fixes or security updates.

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-10 00:05:58 -07:00
Alper Ak
2254a213b8
properties-cpp: Remove ancient/unmaintained recipe
Remove the properties-cpp recipe, as the upstream has been inactive for over 10 years.
No new releases, bug fixes or security updates are expected.

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-10 00:05:57 -07:00
Liu Yiding
2181c17f8e
dialog: Fix install conflict when enable multilib
fix issue that:
file /usr/bin/dialog conflicts between attempted installs of dialog-1.3+20250116-r0.cortexa57 and lib32-dialog-1.3+20250116-r0.armv7at2hf_neon

To be noticed that dialog itself is already symlink now
xxx/image/usr/bin$ ls -l -t
total 888
lrwxrwxrwx 1 userland userland     45 Jul 10 02:15 dialog -> /usr/bin/arm-pokymllib32-linux-gnueabi-dialog
-rwxr-xr-x 1 userland userland 907748 Jul 10 02:15 arm-pokymllib32-linux-gnueabi-dialog

xxx/image/usr/bin$ ls -l -t
total 988
lrwxrwxrwx 1 userland userland      34 Jul 10 02:15 dialog -> /usr/bin/aarch64-poky-linux-dialog
-rwxr-xr-x 1 userland userland 1037624 Jul 10 02:15 aarch64-poky-linux-dialog

after this commit:
xxx/tmp/work/qemuarm64-poky-linux/core-image-minimal/1.0/rootfs/usr/bin$ ls -l -t dialog*
lrwxrwxrwx 1 userland userland 21 Mar  9  2018 dialog -> /usr/bin/dialog-lib64
lrwxrwxrwx 1 userland userland 45 Mar  9  2018 dialog-lib -> /usr/bin/arm-pokymllib32-linux-gnueabi-dialog
lrwxrwxrwx 1 userland userland 34 Mar  9  2018 dialog-lib64 -> /usr/bin/aarch64-poky-linux-dialog

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-10 00:05:57 -07:00
Khem Raj
03c66e2ba3
pstack: Ignore on musl and arm systems
It does not build on these systems

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 20:17:47 -07:00
Alper Ak
1758d5589f
uchardet: Add patch for CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 19:36:11 -07:00
Alper Ak
40dd3e9cc1
yajl: Add patch for CMake 4+ compatibility and fix build issue
- CMake 3.0 and newer disallow reading the LOCATION property of targets directly.
Instead, use the recommended $<TARGET_FILE:target> generator expression when
referencing the output binary in add_custom_command.

Fixes:

| CMake Error at CMakeLists.txt:15 (CMAKE_MINIMUM_REQUIRED):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

-----

| CMake Error at reformatter/CMakeLists.txt:38 (GET_TARGET_PROPERTY):
|   The LOCATION property may not be read from target "json_reformat".  Use the
|   target name directly with add_custom_command, or use the generator
|   expression $<TARGET_FILE>, as appropriate.
|
|
|
| CMake Error at verify/CMakeLists.txt:32 (GET_TARGET_PROPERTY):
|   The LOCATION property may not be read from target "json_verify".  Use the
|   target name directly with add_custom_command, or use the generator
|   expression $<TARGET_FILE>, as appropriate.

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 14:12:53 -07:00
Khem Raj
ef64c35092
apitrace: Link in libatomic for 64bit atomic builtins
Fixes errors e.g.
riscv32-yoe-linux-musl-ld.lld: error: undefined symbol: __atomic_store_8
   >>> referenced by unique_lock.h:0 (/usr/include/c++/v1/__mutex/unique_lock.h:0)
   >>>               retrace/eglretrace.lto.libretrace_common.a(retrace_main.cpp.o at 399912).o:(retrace::RelayRunner::runRace())
   >>> referenced by retrace_main.cpp:1218 (retrace/retrace_main.cpp:1218)
   >>>               retrace/eglretrace.lto.libretrace_common.a(retrace_main.cpp.o at 399912).o:(main)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 13:57:04 -07:00
Alper Ak
1414f174a9
microsoft-gsl: Upgrade 4.0.0 -> 4.2.0 to allow CMake 4+ compatibility
- Drop patches because already fixed in newer version

- Fix compile error when compiled with Clang:

assertion_tests.cpp:40:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
   40 | TEST(assertion_tests, expects)
      | ^

According to the upstream recommendation, passing the -DGSL_CXX_STANDARD=17 flag to CMake resolves the problem.
This patch applies the suggested workaround until a more permanent solution is provided from upstream.

Upstream discussion -> https://github.com/microsoft/GSL/issues/1178

Changelog:

https://github.com/microsoft/GSL/compare/v4.0.0...v4.2.0
https://github.com/microsoft/GSL/releases/tag/v4.2.0
https://github.com/microsoft/GSL/releases/tag/v4.1.0

Fix:

| CMake Error at tests/CMakeLists.txt:1 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 13:57:04 -07:00
Alper Ak
d88665da77
libcyusbserial: Add patch for CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 13:35:20 -07:00
Alper Ak
77069ed2cf
serial: Add patch for CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 13:35:20 -07:00
Alper Ak
5bae735e8d
msgpack-cpp: Upgrade 6.1.1 -> 7.0.0 to allow CMake 4+ compatibility
Changelog:

https://github.com/msgpack/msgpack-c/blob/cpp-7.0.0/CHANGELOG.md

Fix:

| CMake Error at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 13:35:19 -07:00
Alper Ak
fea7800935
dlt-daemon: Add patch for CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:17 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 13:35:19 -07:00
Alper Ak
95b7e24f9e
read-edid: Add patch for CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 13:35:19 -07:00
Alper Ak
f508c885b8
cppgenerate: Add patch for CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:6 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 13:35:19 -07:00
Alper Ak
a26e19f191
flatcc: Add patch for CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 13:35:18 -07:00
Alper Ak
f5b8dae3da
libsimplelog: Add patch for CMake 4+ compatibility
Fix:

| CMake Error in CMakeLists.txt:
|   No cmake_minimum_required command is present.  A line of code such as
|
|     cmake_minimum_required(VERSION 4.0)
|
|   should be added at the top of the file.  The version specified may be lower
|   if you wish to support older CMake versions for this project.  For more
|   information run "cmake --help-policy CMP0000".
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 13:35:18 -07:00
Alper Ak
882e039c19
libcbor: Add patch for CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 13:35:18 -07:00
Alper Ak
ad2a75a0ac
mraa: Add patch for CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 13:35:17 -07:00
Alper Ak
a7da38be52
msgpack-c: Upgrade 6.0.0 -> 6.1.0 to allow CMake 4+ compatibility
Changelog:

https://github.com/msgpack/msgpack-c/blob/c-6.1.0/CHANGELOG.md

Fix:

| CMake Error at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 13:35:17 -07:00