14654 Commits

Author SHA1 Message Date
mark.yang
f3880aa2bb
linpack: fix build with gcc-15.0.1
* fix following error:
    linpacknew.c: In function 'dgefa':
    linpacknew.c:257:9: error: conflicting types for 'idamax'; have 'int(void)'
    257 |     int idamax(),j,k,kp1,l,nm1;
        |         ^~~~~~
    linpacknew.c:63:13: note: previous declaration of 'idamax' with type 'int(int,  REAL *, int)' {aka 'int(int,  double *, int)'}
    63 | static int  idamax   (int n,REAL *dx,int incx);
        |             ^~~~~~
    linpacknew.c:272:21: error: too many arguments to function 'idamax'; expected 0, have 3
    272 |                 l = idamax(n-k,&a[lda*k+k],1) + k;
        |                     ^~~~~~ ~~~
    linpacknew.c:257:9: note: declared here
    257 |     int idamax(),j,k,kp1,l,nm1;
        |         ^~~~~~
    linpacknew.c:326:21: error: too many arguments to function 'idamax'; expected 0, have 3
    326 |                 l = idamax(n-k,&a[lda*k+k],1) + k;
        |                     ^~~~~~ ~~~
    linpacknew.c:257:9: note: declared here
    257 |     int idamax(),j,k,kp1,l,nm1;
        |         ^~~~~~

    The function was already declared as static int idamax(int n, REAL *dx, int incx);
    on line 63, but it was redeclared as int idamax() inside the dgefa function on line 257,
    causing a conflict.
    where functions are redeclared without parameters,
    causing conflicts with the original function definitions.

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-01 20:43:27 -07:00
mark.yang
0d2b2b54fc
libmcrypt: fix build with gcc-15.0.1
* see more details: http://errors.yoctoproject.org/Errors/Details/850150/
    des.c:199:9: error: too many arguments to function 'spinit'; expected 0, have 1
    199 |         spinit(key);
        |         ^~~~~~ ~~~
    des.c:38:56: note: declared here
    38 | static void permute_ip(), permute_fp(), perminit_ip(), spinit(),
        |                                                        ^~~~~~

* Move function forward declarations to .h file to fix the following errors:
    tripledes.c: In function '_mcrypt_desinit':
    tripledes.c:198:18: error: passing argument 1 of 'perminit' from incompatible pointer type [-Wincompatible-pointer-types]
    198 |         perminit(&key->iperm, ip);
        |                  ^~~~~~~~~~~
        |                  |
        |                  char (*)[16][16][8]
    In file included from tripledes.c:23:
    tripledes.h:11:27: note: expected 'char (*)[16][8]' but argument is of type 'char (*)[16][16][8]'
    11 | static void perminit(char perm[][16][8], char p[64]);
        |                      ~~~~~^~~~~~~~~~~~~
    tripledes.c:199:18: error: passing argument 1 of 'perminit' from incompatible pointer type [-Wincompatible-pointer-types]
    199 |         perminit(&key->fperm, fp);
        |                  ^~~~~~~~~~~
        |                  |
        |                  char (*)[16][16][8]
    tripledes.h:11:27: note: expected 'char (*)[16][8]' but argument is of type 'char (*)[16][16][8]'
    11 | static void perminit(char perm[][16][8], char p[64]);
        |                      ~~~~~^~~~~~~~~~~~~

	Changed parameter from &key to key
	perminit(key->iperm, ip);
	perminit(key->fperm, fp);

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-01 20:43:27 -07:00
mark.yang
31595e28fa
sqlite-orm: fix build with gcc-15.0.1
* see more details:
  http://errors.yoctoproject.org/Errors/Details/850148/
    TOPDIR/tmp/work/core2-64-oe-linux/sqlite-orm/1.5/git/examples/synchronous.cpp:7:5: error: 'uint16_t' does not name a type
        7 |     uint16_t src_port;
        |     ^~~~~~~~
    TOPDIR/tmp/work/core2-64-oe-linux/sqlite-orm/1.5/git/examples/synchronous.cpp:3:1: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
        2 | #include <sqlite_orm/sqlite_orm.h>
    +++ |+#include <cstdint>
        3 | #include <string>

While this was backported from 6a96d1cec4(Explicitly included <cstdint> in examples and unit tests),
since it was a commit made in v1.9, only synchronous.cpp was modified as other files do not exist in the current version.

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-01 09:21:23 -07:00
mark.yang
e2c8a25c1b
mcpp: Stick to C17
* Fix build error with gcc-15 by renaming goto labels
  see more details:
  http://errors.yoctoproject.org/Errors/Details/850149/
  ../../mcpp-2.7.2/src/system.c:3436:15: error: expected identifier or '*' before 'true'

  true, false are reserved keywords in gcc-15
  Rename goto 'labels' from 'ture' to 'true_label', from 'false' 'false_label' to avoid conflicts.

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-01 09:21:23 -07:00
Wang Mingyu
c20e2222aa
parallel: upgrade 20250222 -> 20250322
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 15:00:30 -07:00
Wang Mingyu
93e4103a2e
ctags: upgrade 6.1.20250316.0 -> 6.1.20250330.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 14:42:09 -07:00
Jason Schonberg
adb57d702b
c-ares: upgrade 1.33.1 -> 1.34.1
Changelog: https://github.com/c-ares/c-ares/releases/tag/v1.34.1

This release fixes a packaging issue.

Changelog: https://github.com/c-ares/c-ares/releases/tag/v1.34.0

Features:

    adig: read arguments from adigrc. PR #856
    Add new pending write callback optimization via ares_set_pending_write_cb. PR #857
    New function ares_process_fds(). PR #875
    Failed servers should be probed rather than redirecting queries which could
    cause unexpected latency. PR #877
    adig: rework command line arguments to mimic dig from bind. PR #890
    Add new method for overriding network functions
    ares_set_socket_function_ex() to properly support all new functionality. PR #894
    Fix regression with custom socket callbacks due to DNS cookie support. PR #895
    ares_socket: set IP_BIND_ADDRESS_NO_PORT on ares_set_local_ip* tcp sockets PR #887
    URI parser/writer for ares_set_servers_csv()/ares_get_servers_csv(). PR #882

Changes:

    Connection handling modularization. PR #857, PR #876
    Expose library/utility functions to tools. PR #860
    Remove ares__ prefix, just use ares_ for internal functions. PR #872

Bugfixes:

    fix: potential WIN32_LEAN_AND_MEAN redefinition. PR #869
    Fix googletest v1.15 compatibility. PR #874
    Fix pkgconfig thread dependencies. PR #884

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 14:42:08 -07:00
Niko Mauno
b0e4d2db2f
mozjs: Remove dangling patch file
Not referenced since commit 27ab1bbc95b27a72a6a8a750a7fd3e98526e2050
("mozjs-115: remove recipe").

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 14:42:07 -07:00
Niko Mauno
cdca72e7d8
luajit: Remove dangling patch file
Not referenced since commit 1a05731de484f1f97eecaeb56296f72e76ba2b32
("luajit: upgrade 2.1beta -> 2.1").

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 14:42:07 -07:00
Yi Zhao
d0edd4190f
jansson: upgrade 2.14 -> 2.14.1
ChangeLog:
https://github.com/akheron/jansson/releases/tag/v2.14.1

* Drop backport patches.

License-Update: Updated copyright years
                Add an exception for `src/dtoa.c`[1]

[1] 2297a2e320

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 14:42:07 -07:00
Yi Zhao
2f3b740b4f
tbb: upgrade 2022.0.0 -> 2022.1.0
ChangeLog:
https://github.com/uxlfoundation/oneTBB/releases/tag/v2022.1.0

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 14:42:07 -07:00
Yi Zhao
56bc501320
googlebenchmark: upgrade 1.9.1 -> 1.9.2
ChangeLog
https://github.com/google/benchmark/releases/tag/v1.9.2

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 14:42:07 -07:00
Yi Zhao
97aed429b8
nss: upgrade 3.109 -> 3.110
ChangeLog:
https://firefox-source-docs.mozilla.org/security/nss/releases/nss_3_110.html

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 14:42:06 -07:00
Yi Zhao
1fb19f9f5e
netplan: upgrade 1.1.1 -> 1.1.2
ChangeLog:
https://github.com/canonical/netplan/releases/tag/1.1.2

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 14:42:06 -07:00
Yi Zhao
7596b0e56a
debootstrap: upgrade 1.0.138 -> 1.0.140
https://salsa.debian.org/installer-team/debootstrap/-/blob/1.0.140/debian/changelog

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 14:42:06 -07:00
Yi Zhao
2047e49750
libidn: upgrade 1.42 -> 1.43
ChangeLog:
https://git.savannah.gnu.org/cgit/libidn.git/tree/NEWS?h=v1.43

License-Update: Move COPYINGv3 to COPYING[1]
                Updated copyright years for idn.c and idna.h[2]

[1] https://git.savannah.gnu.org/cgit/libidn.git/commit/?id=799b11bdbcca9109c812c700e082cebc9295be5c
[2] https://git.savannah.gnu.org/cgit/libidn.git/commit/?id=27314c5af11763598ce5b20fc32690a48fe782c5

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 14:42:06 -07:00
Markus Volk
619f07545c
mpv: build libmpv by default
Add libmpv to PACKAGECONFIG. It is the default setting for mpv_0.40.0
and will be a requirement for recipes like mpvpaper or celluloid

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 14:42:05 -07:00
Markus Volk
47757aab70
mpv: remove unused patch
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 07:41:47 -07:00
Khem Raj
f4a96810ba
Drop styhead from LAYERSERIES_COMPAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 07:41:47 -07:00
Peter Kjellerstedt
923a5dcee7
opencl-clhpp: Update to 2024.05.08
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-29 08:24:01 -07:00
Peter Kjellerstedt
48a37e6c3b
opencl-headers: Install development files
This installs cmake and pkgconfig files so that other recipes can find
the header files.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-29 08:24:01 -07:00
Markus Volk
a0bcaba7cd
mpv: update 0.39 -> 0.40
- license files have been updated without change
- add dependency on 'libdisplay-info'

Release 0.40.0
==============

We are excited to announce the release of mpv 0.40.0.

Key highlights:

* Console: Enhanced autocompletion and visual styling
* OSC: New selection menu accessible by right-clicking common buttons
* HDR is now natively supported when using direct rendering (DRM),
  as well as dmabuf-wayland on Linux
* Native clipboard access for scripts via new `clipboard` property
* New command menu, with common actions easily accessible
* Enhanced select.lua with new selection options for watch history, editions, DVD/Blu-Ray titles
* New positioning.lua script script for cursor-centric zooming and drag to pan
* Better stream support for Blu-ray, DVD and CDDA
* Track selection improvements and better metadata display
* Added osd-box / sub-box / box profiles to easily enable box styled OSD/OSC
* Windows support in umpv helper script

This release requires FFmpeg 6.1 or newer and libplacebo 6.338.2 or newer.

- vf_d3d11vpp: add NVIDIA RTX Video HDR support
- context_drm_gl: add support for HDR metadata
- positioning.lua: add new script for video alignment and zooming
- umpv: add Windows support
- command: add clipboard property with native backends for Windows, macOS, and Wayland
- select.lua: add watch history, edition, DVD/Blu-Ray titles and more selection options
- input.conf: add cursor-centric zoom and drag-to-pan bindings
- wayland: add support for wp-color-management-v1 protocol
- console.lua: add persistent command history
- stats.lua: add timecode display
- options: add --playlist-exts and --archive-exts
- wayland_common: support IME usage via text-input-v3
- command: add multiple track metadata and properties
- vo_gpu_next: add chroma location and HDR metadata to shader parameters
- player/screenshot: support more formats for screenshot-raw command
- demux_mkv: add `--demuxer-mkv-crop-compat` option
- misc/language: parse hi/sdh/cc tags from external subtitle tracks
- wayland: support xdg-activation
- player: add mpv:// protocol

- meson: build libmpv by default
- command: enhance track and playlist display information
- input.conf: improve numpad key bindings
- osc.lua: add custom buttons support and improved mouse bindings
- console.lua: inherit OSD styles and colors
- options: default to --prefetch-playlist=yes
- osc.lua: add slimbottombar and slimtopbar layouts
- command: improve frame-step to go through multiple frames
- wayland: use wp-presentation v2 if available
- various: reorganize options into more logical groups
- vo_gpu_next: improve target colorspace handling
- options: disable `--input-ime` by default (enabled on demand)

- sd_ass: introduce sub-ass-prune-delay
- player: add an optional mute flag when framestepping
- command: add clipboard/text-primary property
- command: add current-clipboard-backend property
- command: add notify-property command
- options: add --script-opt alias for --script-opts-append
- options: add --osd-bar-marker-{size,style} options
- options: add --input-ime for improved text input
- options: add --video-recenter
- options: add --clipboard-backends
- options: add --wayland-internal-vsync
- options: add --sub-scale-signs

- options: rename --load-osd-console to --load-console
- player: improve track selection for multi-component languages
- options: improve frame-step command to handle multiple frames
- input.conf: make Alt+BS reset --video-align-{x,y}
- command: print track metadata when changing track
- command: print track-list with enhanced metadata

- options: deprecate `--gamma-auto` (use gamma-auto.lua script instead)
- options: deprecate undocumented --cdda-span-{a,b} options

- f_hwtransfer: ensure that we convert to full range rgb with scale_vaapi
- win32: fix window size restore after maximize state
- build: fix dynamic generation of mpv.desktop file protocols
- player/sub: avoid pointlessly redecoding subs
- x11: remove nvidia blacklist logic from --x11-present=auto
- osc.lua: seek to the nearest chapter when right clicking the seekbar
- command: fix keybind command with sequence keys
- video/out/wayland_common: fix crash with multi-seat drag and drop
- demux: reclaim demux_packets to reduce memory allocator pressure
- demux_cue: only accept TRACK with AUDIO type
- player/loadfile: strip common filename part from external track title
- build: remove unused dvdread dependency
- wayland: fix vertical resizing and scaling issues
- console.lua: improve completion and visual appearance
- sub/osd: default to a semitransparent black back color
- player: improve playlist handling with prefetch
- drm: parse EDID using libdisplay-info (which is now a required dependency)
- win32: fix window size restore after maximize state
- hwdec_d3d11va: align image mapper dimensions to a multiple of 2
- wayland: fix DnD with focus follow mouse
- player: store external filenames as normalized
- player: properly handle secondary subtitles on the terminal
- demux_mkv: add support for chroma location
- vo_dmabuf_wayland: improve and fix format selection
- player: fix combination of --loop-playlist + --shuffle + --prefetch-playlist

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-28 19:40:58 -07:00
Jason Schonberg
667286a31c
c-ares: upgrade 1.33.0 -> 1.33.1
Changelog: https://github.com/c-ares/c-ares/releases/tag/v1.33.1

Bugfixes:

    Work around systemd-resolved quirk that returns unexpected codes for single
    label names. Also adds test cases to validate the work around works and
    will continue to work in future releases. PR #863, See Also systemd/systemd#34101
    Fix sysconfig ndots default value, also adds containerized test case to
    prevent future regressions. PR #862
    Fix blank DNS name returning error code rather than valid record for
    commands like: adig -t SOA .. Also adds test case to prevent future
    regressions. 9e574af
    Fix calculation of query times > 1s. 2b2eae7
    Fix building on old Linux releases that don't have TCP_FASTOPEN_CONNECT. b7a89b9
    Fix minor Android build warnings. PR #848

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-28 19:40:58 -07:00
Khem Raj
e9567c58f8
iperf2: Add _GNU_SOURCE in checksums.c
glibc defines struct udphdr as a union where members have aliased names

uh_sport -> source
uh_dport -> uh_dport
uh_dport -> len
check -> check

But musl only defines the aliases if _GNU_SOURCE is defined, ideally
iperf2 should be using uh_* names of the members so it is portable across
musl and glibc but thats for upstream to consider.

Fixes
| ../../iperf-2.2.1/src/checksums.c:175:19: error: no member named 'check' in 'struct udphdr'
|   175 |     if (!udp_hdr->check) {
|       |          ~~~~~~~  ^
| 1 error generated.
| make[2]: *** [Makefile:539: checksums.o] Error 1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Randy MacLeod <Randy.MacLeod@windriver.com>
2025-03-28 19:40:58 -07:00
Randy MacLeod
7f8c99bacf
iperf2: upgrade 2.0.13 -> 2.2.1
Release notes:
https://sourceforge.net/p/iperf2/code/ci/2-2-1/tree/NEWS.md

Drop the stdbool patch. It seems to have been fixed upstream by:
   ae0284e4   2020-10-22   Replace DAST_CHECK_BOOL with AC_HEADER_STDBOOL

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-28 10:28:13 -07:00
tho3.nguyen
8f3a0a8570
apitrace: Fix build with gcc-15
To fix errors:
In file included from TOPDIR/tmp/work/core2-64-oe-linux/apitrace/11.1+11.1+git/git/frametrim/ft_matrixstate.hpp:30,
                 from TOPDIR/tmp/work/core2-64-oe-linux/apitrace/11.1+11.1+git/git/frametrim/ft_matrixstate.cpp:28:
TOPDIR/tmp/work/core2-64-oe-linux/apitrace/11.1+11.1+git/git/frametrim/ft_dependecyobject.hpp:187:44: error: 'uint64_t' was not declared in this scope
  187 |     std::unordered_map<unsigned, std::pair<uint64_t, uint64_t>> m_buffer_mappings;
      |                                            ^~~~~~~~
...
TOPDIR/tmp/work/core2-64-oe-linux/apitrace/11.1+11.1+git/git/retrace/metric_writer.cpp:50:70: error: 'uint64_t' does not name a type
   50 |         case CNT_NUM_UINT64: std::cout << "\t" << *(reinterpret_cast<uint64_t*>(data)); break;
...

Signed-off-by: tho3.nguyen <tho3.nguyen@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-28 10:28:12 -07:00
tho3.nguyen
4541a50c56
atop: upgrade 2.4.0 -> 2.11.0
Drop patch already merged
Add patch to fix build with gcc-15

Signed-off-by: tho3.nguyen <tho3.nguyen@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-28 10:28:12 -07:00
Randy MacLeod
fee1274169
syslog-ng: upgrade 4.7.0 -> 4.8.1
Release notes:
   https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.8.1
   https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.8.0

Update the syslog-ng.conf.[systemd|sysvinit] files to align with
upstream's 4.8 version. This involved changing from stats_freq(0)
to stats(freq(0)) to avoid:
   > WARNING: Your configuration file uses an obsoleted keyword, ...
as was done in:
   2d3a8c783 packaging: Update the sample Debian config to not throw warning
The comments and the greater authentication/encryption defaults kept.
Note that the latter are comment lines.
Also kept a line from the 'Sources' section:
   file("/proc/kmsg" program_override("kernel"));
but it's not clear if that's needed. It was in the original meta-oe version of
the file from 2018, version 3.15 but not the upstream syslog-ng-3.15.1.

With systemd enabled using poky-altcfg, there's a warning:
   /etc/tmpfiles.d/syslog-ng.conf:1:
      Line references path below legacy directory /var/run/,
      updating /var/run/syslog-ng → /run/syslog-ng;
      please update the tmpfiles.d/ drop-in file accordingly.
but that was present in the previous version and I won't take time
to fix it right now since systemd + syslog-ng isn't a common combination.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-27 17:16:16 -07:00
Randy MacLeod
5756aa17e8
pv: upgrade 1.6.20 -> 1.9.31
License changed to GPL-3.0-or-later in: ??? is this right???
   e5cc71b Switched licensing to GPLv3+.
and moved doc to docs directory in:
   86feafb Rename "doc" directory to "docs" to match Debian standards.
Change the tarball suffix since the project now only provides .gz files.
Added 'inherit gettext' to fix:
   QA Issue: AM_GNU_GETTEXT used but no inherit gettext [configure-gettext]

Drop:
   0001-pv-display-handle-error-of-tcgetpgrp-in-pv_in_foregr.patch
which is covered by:
   c5cd932 pv/display: handle error of tcgetpgrp() in pv_in_foreground()

Re-write the run-ptest wrapper since upstream switched to using 'make check'.

Skip some of the tests to get the recipe update merged.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-27 17:16:16 -07:00
Thomas Perrot
3b448edbf3
jack: apply some improvements
- Remove the do_install append because jack_control no longer
  builds when the dbus pkgconfig is disabled.
- Add python3-core to the runtime dependencies when D-Bus is
  enabled, because jack_control requires /usr/bin/python3.
- Use PACKAGE_BEFORE_PN to enable additional packages.
- Remove the HTML documentation because it no longer builds.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-27 17:05:46 -07:00
Erik Schumacher
a95982edd2
image_types_verity.bbclass: Optionally create hash data in separate file
On some setups, the verity partition and the corresponding hash data are
handled separately. To account for this, a HASHDEV_SUFFIX is introduced
to divert the hash data to a separate image artifact. By default, this
suffix is equal to the image suffix, meaning that the hash data is
appended to the verity image, like before.

When the hash data is written to a separate file, the verity image is
padded with zeroes until its size is a multiple of block_size.

Signed-off-by: Erik Schumacher <erik.schumacher@iris-sensing.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-27 17:05:46 -07:00
mark.yang
70463638b5
daemonize: fix build with gcc-15
* fix build with gcc-15.0.1
  submitted to upstream: https://github.com/bmc/daemonize/pull/37

  following error:
../git/getopt.c: In function 'x_getopt':
../git/getopt.c:51:16: error: too many arguments to function 'write'; expected 0, have 3
51 | (void) write(2, argv[0], (unsigned)strlen(argv[0]));
| ^~~~~ ~
../git/getopt.c:78:17: note: in expansion of macro 'ERR'
78 | ERR(": illegal option -- ", c);
| ^~~
../git/getopt.c:48:20: note: declared here
48 | extern int write();
| ^~~~~

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-27 17:05:46 -07:00
mark.yang
cc493b34d8
poco: fix build with gcc-15.0.1
* 0001-SimpleRowFormatter.h-fix-the-build-on-gcc-15-unsatis.patch
  backport fix from:
  https://github.com/pocoproject/poco/commit/03c35cf

In file included from poco/1.13.3/git/Data/src/SimpleRowFormatter.cpp:15:
poco/1.13.3/git/Data/include/Poco/Data/SimpleRowFormatter.h:114:21: error: declaration of 'std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) noexcept [with _Tp = Poco::Data::SimpleRowFormatter; _Require<__not_<__is_tuple_like<_Tp> >, is_move_constructible<_Tp>, is_move_assignable<_Tp> > = void]' has a different exception specifier
  114 |         inline void swap<Poco::Data::SimpleRowFormatter>(Poco::Data::SimpleRowFormatter& s1,
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from poco/1.13.3/recipe-sysroot/usr/include/c++/15.0.1/bits/new_allocator.h:36,
                 from poco/1.13.3/recipe-sysroot/usr/include/c++/15.0.1/aarch64-VENDOR-linux/bits/c++allocator.h:33,
                 from poco/1.13.3/recipe-sysroot/usr/include/c++/15.0.1/bits/allocator.h:46,
                 from poco/1.13.3/recipe-sysroot/usr/include/c++/15.0.1/string:45,
                 from poco/1.13.3/git/Foundation/include/Poco/Foundation.h:94,
                 from poco/1.13.3/git/Data/include/Poco/Data/Data.h:23,
                 from poco/1.13.3/git/Data/include/Poco/Data/SimpleRowFormatter.h:21:

* 0002-fix-Foundation-Build-error-with-GCC-15-class-Poco-Pr.patch
  backport fix from:
  https://github.com/pocoproject/poco/commit/6faf907

In file included from poco/1.13.3/git/Foundation/testsuite/src/PriorityEventTest.cpp:15:
poco/1.13.3/git/Foundation/include/Poco/PriorityDelegate.h: In member function 'Poco::PriorityDelegate<TObj, void, true>& Poco::PriorityDelegate<TObj, void, true>::operator=(const Poco::PriorityDelegate<TObj, void, true>&)':
poco/1.13.3/git/Foundation/include/Poco/PriorityDelegate.h:203:31: error: 'class Poco::PriorityDelegate<TObj, void, true>' has no member named '_pTarget' [-Wtemplate-body]
  203 |                         this->_pTarget        = delegate._pTarget;
      |                               ^~~~~~~~
poco/1.13.3/git/Foundation/include/Poco/PriorityDelegate.h:203:58: error: 'const class Poco::PriorityDelegate<TObj, void, true>' has no member named '_pTarget' [-Wtemplate-body]
  203 |                         this->_pTarget        = delegate._pTarget;
      |                                                          ^~~~~~~~
poco/1.13.3/git/Foundation/include/Poco/PriorityDelegate.h: In member function 'Poco::PriorityDelegate<TObj, void, false>& Poco::PriorityDelegate<TObj, void, false>::operator=(const Poco::PriorityDelegate<TObj, void, false>&)':
poco/1.13.3/git/Foundation/include/Poco/PriorityDelegate.h:277:31: error: 'class Poco::PriorityDelegate<TObj, void, false>' has no member named '_pTarget' [-Wtemplate-body]
  277 |                         this->_pTarget        = delegate._pTarget;
      |                               ^~~~~~~~
poco/1.13.3/git/Foundation/include/Poco/PriorityDelegate.h:277:58: error: 'const class Poco::PriorityDelegate<TObj, void, false>' has no member named '_pTarget' [-Wtemplate-body]
  277 |                         this->_pTarget        = delegate._pTarget;
      |                                                          ^~~~~~~~

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-27 17:05:45 -07:00
mark.yang
df5a8eff4f
gpm: fix build with gcc-15
* fix build with gcc-15

lib/libcurses.c:46:5: error: conflicting types for 'Gpm_Wgetch'; have 'int(WINDOW *)' {aka 'int(struct _win_st *)'}
   46 | int Gpm_Wgetch(WINDOW *win)
      |     ^~~~~~~~~~
In file included from gpm/1.99.7+gite82d1a653ca94aa4ed12441424da6ce780b1e530/git/src/headers/gpmInt.h:28,
                 from lib/libcurses.c:30:
gpm/1.99.7+gite82d1a653ca94aa4ed12441424da6ce780b1e530/git/src/headers/gpm.h:271:12: note: previous declaration of 'Gpm_Wgetch' with type 'int(void)'
  271 | extern int Gpm_Wgetch();
      |            ^~~~~~~~~~

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-27 17:05:45 -07:00
Khem Raj
f15ce0904f
jq: Stick to C17 until next release
Patches are sprinkled in master branch of jq but the backports
regresses tests, so its better to keep it at C17 for now.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
2025-03-27 17:05:45 -07:00
Khem Raj
49761e984a
Revert "jq: fix build with gcc-15"
This reverts commit ec9a5598e48f1e4dad8f59e8a49bfe6657bc2284.
2025-03-27 17:05:45 -07:00
Khem Raj
deb18b33df
crash: Fix build for 32bit targets
Fixes
rame.c: In function 'CORE_ADDR frame_unwind_pc(frame_info*)':
frame.c:982:35: error: cannot convert 'CORE_ADDR*' {aka 'long long unsigned int*'} to 'ulong*' {aka 'long unsigned int*'}
  982 |           crash_decode_ptrauth_pc(&pc);
      |                                   ^~~
      |                                   |
      |                                   CORE_ADDR* {aka long long unsigned int*}

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: mark.yang <mark.yang@lge.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
2025-03-26 13:13:47 -07:00
mark.yang
604eb7dcde
crash: fix build with gcc-15
* to fix: following erros occured in gcc-15.0.1 environment.
signals.c: In function '_rl_signal_handler':
signals.c:62:36: error: 'return' with a value, in function returning void [-Wreturn-mismatch]
   62 | #  define SIGHANDLER_RETURN return (0)
      |                                    ^
signals.c:160:3: note: in expansion of macro 'SIGHANDLER_RETURN'
  160 |   SIGHANDLER_RETURN;
      |   ^~~~~~~~~~~~~~~~~
signals.c:141:1: note: declared here
  141 | _rl_signal_handler (int sig)
      | ^~~~~~~~~~~~~~~~~~
signals.c: In function 'rl_set_sighandler':
signals.c:343:18: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
  343 |   act.sa_handler = handler;
      |                  ^
In file included from signals.c:30:
recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-26 07:37:51 -07:00
mark.yang
afaa5f4737
crash: upgrade 8.0.5 -> 8.0.6
ChangeLog:
https://crash-utility.github.io/changelog/ChangeLog-8.0.6.txt

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-26 07:37:51 -07:00
mark.yang
1de4965018
cpulimit: fix build with gcc-15
* to fix: Error occurs in gcc 15.0.1 environment.
busy.c: In function 'main':
busy.c:20:58: error: passing argument 3 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types]
   20 |                 if ((ret = pthread_create(&thread, NULL, loop, NULL)) != 0)
      |                                                          ^~~~
      |                                                          |
      |                                                          void * (*)(void)
In file included from busy.c:3:
recipe-sysroot/usr/include/pthread.h:204:36: note: expected 'void * (*)(void *)' but argument is of type 'void * (*)(void)'
  204 |                            void *(*__start_routine) (void *),
      |                            ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
busy.c:6:7: note: 'loop' declared here
    6 | void *loop()
      |       ^~~~

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-26 07:37:50 -07:00
Khem Raj
950b33eebf
minifi-cpp: Fix build with clang
Disable c++11-narrowing-const-reference warning as error
Fixes
git/extensions/standard-processors/utils/JoltUtils.cpp:498:23: error: non-constant-expression cannot be narrowed from type 'unsigned long long' to 'unsigned int' in initializer list [-Wc++11-narrowing-const-reference]

return ResultT{{std::stoull(std::string{idx_begin, it}), {}}, it};
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-25 22:01:01 -07:00
Martin Siegumfeldt
b5e0a0a0a6
iperf3: upgrade 3.17.1 -> 3.18
drop backported patch

Signed-off-by: Martin Siegumfeldt <mns@gomspace.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-25 18:30:54 -07:00
Martin Jansa
ec9a5598e4
jq: fix build with gcc-15
* backport 3 commits to fix:
  http://errors.yoctoproject.org/Errors/Details/848831/

../jq-1.7.1/src/builtin.c:1705:4: error: initialization of 'jv (*)(void)' from incompatible pointer type 'jv (*)(jq_state *, jv)' [-Wincompatible-pointer-types]
 1705 |   {f_ ## name,  #name, 1},
      |    ^~

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-25 18:30:53 -07:00
Martin Jansa
04dafcf663
pidgin: upgrade to 2.14.14 to fix build with gcc-15
* http://errors.yoctoproject.org/Errors/Details/848756/

* fixed in:
  https://keep.imfreedom.org/pidgin/pidgin/rev/10ae9c0f0cbf

* drop backported patch

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-25 18:30:53 -07:00
Martin Jansa
7211d1fec1
usb-modeswitch: fix build with gcc-15
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-25 18:30:53 -07:00
Khem Raj
37cc472e44
krb5: Backport additional fixes to build on clang
Enabling additional warning tightens the function prototype checks
and clang goes a step ahead to flag void foo() as well it should be
void foo(void)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
2025-03-25 18:30:53 -07:00
Martin Jansa
f26536c2f6
krb5: fix build with gcc-15
* fixes:
  http://errors.yoctoproject.org/Errors/Details/848727/

ss_internal.h:88:6: error: conflicting types for 'ss_delete_info_dir'; have 'void(void)'
   88 | void ss_delete_info_dir();
      |      ^~~~~~~~~~~~~~~~~~
...

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-25 14:57:20 -07:00
Divya Chellam
2822175ed6
krb5: fix CVE-2025-24528
In MIT krb5 release 1.7 and later with incremental propagation
enabled, an authenticated attacker can cause kadmind to write beyond
the end of the mapped region for the iprop log file, likely causing a
process crash.

Reference:
https://security-tracker.debian.org/tracker/CVE-2025-24528

Upstream-patch:
78ceba024b

Signed-off-by: Divya Chellam <divya.chellam@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-25 14:57:20 -07:00
Wang Mingyu
c55ba7dae5
thingsboard-gateway: upgrade 3.6.3 -> 3.7.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-25 14:57:20 -07:00
Wang Mingyu
aa4c35b421
rasdaemon: upgrade 0.8.2 -> 0.8.3
Changelog:
===========
- fix checkpatch warnings
- Use the right dev_t decoding for diskerror handler
- Add new modules supported by HiSilicon common section
- Fix some static check warning
- Fix few compilation warnings in non standard hisilicon code
- Fix some compilation alarms in ras-record.h.
- ras-mc-ctl: Update logging of CXL memory module data to align with CXL spec rev 3.1
- ras-mc-ctl: Update logging of CXL DRAM event data to align with CXL spec rev 3.1
- ras-mc-ctl: Update logging of CXL general media event data to align with CXL spec rev 3.1
- ras-mc-ctl: Update logging of common event data to align with CXL spec rev 3.1
- ras-mc-ctl: Fix logging of memory event type in CXL DRAM error table
- cxl: Update memory module event to CXL spec rev 3.1
- cxl: Update CXL DRAM event to CXL spec rev 3.1
- cxl: Update CXL general media event to CXL spec rev 3.1
- cxl: Add Component Identifier formatting for CXL spec rev 3.1
- cxl: Update common event to CXL spec rev 3.1
- cxl: Add automatic indexing for storing CXL fields in SQLite database
- cxl: Fix mismatch in region field's name with kernel DRAM trace event
- cxl: Fix logging of memory event type of DRAM trace event
- Fix for parsing error when trace event's format file is larger than PAGE_SIZE
- Add page offline support for cxl memory
- for ASRock X370 Taichi
- for ASRock X570 Creator
- for ASRock X570S PG Riptide
- mce: decode io port for bus error
- arm: do not print error msg if field not found
- add DE error type for AMD
- Fix the display format of JaguarMicro vendor no standard errors

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-25 14:57:20 -07:00