Commit Graph

34564 Commits

Author SHA1 Message Date
Peter Marko 36b1e2b140 bit7z: add ptest support
Main problem with ptest for this component is that it uses cmake's
FetchContent and CPM to get dependencies.
This adds lot of ugly code to the recipe including conditional patch.

Second big problem is that tests need BIT7Z_DISABLE_USE_STD_FILESYSTEM
which uses test library. This means that when building with ptests, the
code is significantly different than when building without it.
But in production case we don't want to use testing library...
This is known at upstream and will be fixed eventually as github CI is
failing on this too when submitting unrelated patches upstream.

Other considerations:
* created patch for new cmake option to pass path to test data on target
* created patch for new cmake option to pass path to lib7zip on target
* skipped test which consumes too much RAM (it passes if machine has
  plenty of RAM)
* testdata contains files for other architectures, so INSANE_SKIP is
  needed for ptest package
* created patch for tests failing with musl

Tests usually take 9s on my build machine so added them to fast ptests.
However since the dependency 7zip recipe does not build on 64-bit
architectures, I could not add it to PTESTS_FAST_META_OE.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:23 -07:00
Peter Marko 3e7086cdde bit7z: add new recipe
bit7z is a cross-platform C++ static library that allows the
compression/extraction of archive files through a clean and simple
wrapper interface to the dynamic libraries from the 7-Zip project.
It supports compression and extraction to and from the filesystem or
the memory, reading archives metadata, updating existing ones,
creating multi-volume archives, operation progress callbacks, and many
other functionalities.

Recipe comments:
* 2 patches needed for successful build+ptest were submitted upstream
* to upstream dependency inclusion patch we'd have to completely rework
  dependency handling and would be probably against their concepts

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:23 -07:00
Peter Marko c7001b4048 7zip: install headers
This is needed for bit7z recipe.
But in general, using 7-zip as a library also requires headers.

Leave our Windows headers.

Install also readme as it contains version information and is used by
bit7z.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:22 -07:00
Changqing Li bd879c47a9 luajit: Update to latest on v2.1 branch
License-Update: copyright year updated

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:22 -07:00
Changqing Li d4e80681ac libnvme: upgrade 1.11.1 -> 1.12
Changelog:
https://github.com/linux-nvme/libnvme/releases/tag/v1.12

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:22 -07:00
mark.yang 7787e41e80 digitemp: fix build failure with gcc-15.0.1
* backport fix from:
  https://github.com/bcl/digitemp/commit/fa56b0f78d12f97ac44e0a367d413a9e88611d1c
  to fix:
   src/digitemp.c:171:6: error: conflicting types for ‘free_coupler’; have ‘void(int)’
   171 | void free_coupler( int free_only )
         |      ^~~~~~~~~~~~
   In file included from src/digitemp.c:78:
   src/digitemp.h:90:6: note: previous declaration of ‘free_coupler’ with type ‘void(void)’
      90 | void free_coupler();
         |      ^~~~~~~~~~~~

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:22 -07:00
mark.yang 8ef6332dcf libsmi: fix build failure with gcc-15.0.1
* see more details: http://errors.yoctoproject.org/Errors/Details/851179/

yang-data.c:594:9: error: too many arguments to function 'yangparse'; expected 0, have 1
  594 |         yangparse(parser);
      |         ^~~~~~~~~ ~~~~~~
In file included from scanner-yang.h:19,
                 from yang-data.c:47:
parser-yang.h:16:12: note: declared here
   16 | extern int yangparse();
      |            ^~~~~~~~~
In file included from parser-yang.c:346:
parser-yang.tab.h:170:5: error: conflicting types for 'yangparse'; have 'int(struct Parser *)'
  170 | int yangparse (struct Parser *parserPtr);
      |     ^~~~~~~~~
In file included from parser-yang.y:40:
parser-yang.h:16:12: note: previous declaration of 'yangparse' with type 'int(void)'
   16 | extern int yangparse();
      |            ^~~~~~~~~
make[2]: *** [Makefile:573: yang-data.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
smi-data.c: In function 'loadModule':
smi-data.c:4658:9: error: too many arguments to function 'smiparse'; expected 0, have 1
 4658 |         smiparse((void *)&parser);
      |         ^~~~~~~~ ~~~~~~~~~~~~~~~
smi-data.c:42:12: note: declared here
   42 | extern int smiparse();
      |            ^~~~~~~~
parser-smi.c:1515:5: error: conflicting types for 'smiparse'; have 'int(struct Parser *)'
 1515 | int smiparse (struct Parser *parserPtr);
      |     ^~~~~~~~
In file included from parser-smi.y:37:
parser-smi.h:27:12: note: previous declaration of 'smiparse' with type 'int(void)'
   27 | extern int smiparse();
      |            ^~~~~~~~
parser-smi.c:63:25: error: conflicting types for 'smiparse'; have 'int(struct Parser *)'
   63 | #define yyparse         smiparse
      |                         ^~~~~~~~
parser-smi.c:3207:1: note: in expansion of macro 'yyparse'
 3207 | yyparse (struct Parser *parserPtr)
      | ^~~~~~~
parser-smi.h:27:12: note: previous declaration of 'smiparse' with type 'int(void)'
   27 | extern int smiparse();
      |            ^~~~~~~~
parser-yang.c:68:25: error: conflicting types for 'yangparse'; have 'int(struct Parser *)'
   68 | #define yyparse         yangparse
      |                         ^~~~~~~~~
parser-yang.c:2312:1: note: in expansion of macro 'yyparse'
 2312 | yyparse (struct Parser *parserPtr)
      | ^~~~~~~
parser-yang.h:16:12: note: previous declaration of 'yangparse' with type 'int(void)'
   16 | extern int yangparse();
      |            ^~~~~~~~~
In file included from scanner-yang.l:31:
parser-yang.tab.h:170:5: error: conflicting types for 'yangparse'; have 'int(struct Parser *)'
  170 | int yangparse (struct Parser *parserPtr);
      |     ^~~~~~~~~
In file included from scanner-yang.l:30:
parser-yang.h:16:12: note: previous declaration of 'yangparse' with type 'int(void)'
   16 | extern int yangparse();
      |            ^~~~~~~~~
scanner-yang.l: In function 'yangEnterLexRecursion':
scanner-yang.l:79:1: warning: old-style function definition [-Wold-style-definition]
   79 |
      | ^
make[2]: *** [Makefile:573: smi-data.lo] Error 1
In file included from parser-smi.y:36:
parser-smi.c: In function 'smiparse':
parser-smi.c:10265:29: warning: passing argument 1 of 'smiyyerror' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
10265 |         yyerror (parserPtr, yymsgp);
      |                             ^~~~~~
error.h:25:44: note: in definition of macro 'yyerror'
   25 | #define yyerror(parserPtr, msg) smiyyerror(msg, parserPtr)
      |                                            ^~~
In file included from parser-smi.y:40:
smi-check.h:71:30: note: expected 'char *' but argument is of type 'const char *'
   71 | extern void smiyyerror(char *msg, Parser *parserPtr);
      |                        ~~~~~~^~~
make[2]: *** [Makefile:573: parser-yang.lo] Error 1
make[2]: *** [Makefile:573: parser-smi.lo] Error 1
make[2]: *** [Makefile:573: scanner-yang.lo] Error 1
In file included from scanner-smi.l:34:
parser-smi.tab.h:192:5: error: conflicting types for 'smiparse'; have 'int(struct Parser *)'
  192 | int smiparse (struct Parser *parserPtr);
      |     ^~~~~~~~
In file included from util.h:22,
                 from scanner-smi.l:32:
parser-smi.h:27:12: note: previous declaration of 'smiparse' with type 'int(void)'
   27 | extern int smiparse();
      |            ^~~~~~~~
scanner-smi.l: In function 'smiEnterLexRecursion':
scanner-smi.l:76:1: warning: old-style function definition [-Wold-style-definition]
   76 | smiEnterLexRecursion(file)
      | ^~~~~~~~~~~~~~~~~~~~

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:22 -07:00
Wang Mingyu 7f41319477 webkitgtk3: upgrade 2.48.0 -> 2.48.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:22 -07:00
Wang Mingyu 42364e574b python3-zeroconf: upgrade 0.146.1 -> 0.146.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:22 -07:00
Wang Mingyu 07f555e114 python3-virtualenv: upgrade 20.29.3 -> 20.30.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:21 -07:00
Wang Mingyu f28564870a python3-termcolor: upgrade 2.5.0 -> 3.0.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:21 -07:00
Wang Mingyu 4916f4b939 python3-snagboot: upgrade 2.2 -> 2.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:21 -07:00
Wang Mingyu 7aeb49e0ef python3-rich: upgrade 13.9.4 -> 14.0.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:21 -07:00
Wang Mingyu ff7445e016 python3-qrcode: upgrade 8.0 -> 8.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:21 -07:00
Wang Mingyu 62b2e5b3ef python3-pyroute2: upgrade 0.8.1 -> 0.9.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:21 -07:00
Wang Mingyu 83f5355a3d python3-pymisp: upgrade 2.5.9 -> 2.5.10
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:20 -07:00
Wang Mingyu d09dcce7da python3-pyflakes: upgrade 3.3.1 -> 3.3.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:20 -07:00
Wang Mingyu 9c60097176 python3-pycares: upgrade 4.5.0 -> 4.6.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:20 -07:00
Wang Mingyu 318b1313fe python3-pdm: upgrade 2.22.4 -> 2.23.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:20 -07:00
Wang Mingyu a599093e79 python3-multidict: upgrade 6.2.0 -> 6.3.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:20 -07:00
Wang Mingyu eff048d951 python3-moteus: upgrade 0.3.78 -> 0.3.79
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:20 -07:00
Wang Mingyu e0810c5d20 python3-lz4: upgrade 4.4.3 -> 4.4.4
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:19 -07:00
Wang Mingyu db0e44cfb2 python3-inline-snapshot: upgrade 0.21.1 -> 0.22.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:19 -07:00
Wang Mingyu cc88be734b python3-fsspec: upgrade 2025.3.0 -> 2025.3.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:19 -07:00
Wang Mingyu b8705f119f python3-dbus-fast: upgrade 2.43.0 -> 2.44.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:19 -07:00
Wang Mingyu b0e9c1a2fd python3-coverage: upgrade 7.7.1 -> 7.8.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:19 -07:00
Wang Mingyu 4c93b86576 python3-bitarray: upgrade 3.2.0 -> 3.3.1
License-Update: License changed from PSF to PSF-2.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:19 -07:00
Wang Mingyu bccf9eed76 python3-argcomplete: upgrade 3.6.1 -> 3.6.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:19 -07:00
Wang Mingyu 03efb8bf8c openvpn: upgrade 2.6.13 -> 2.6.14
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:18 -07:00
Wang Mingyu 36ac04456d libtest-deep-perl: upgrade 1.204 -> 1.205
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:18 -07:00
Wang Mingyu 94ae4a5ba9 libsdl3: upgrade 3.2.8 -> 3.2.10
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 07:39:11 -07:00
Wang Mingyu 03a6b48459 libei: upgrade 1.4.0 -> 1.4.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 07:39:11 -07:00
Wang Mingyu d7c24ad898 libcgi-perl: upgrade 4.67 -> 4.68
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 07:39:10 -07:00
Wang Mingyu 5e09099328 icewm: upgrade 3.7.2 -> 3.7.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 07:39:10 -07:00
Wang Mingyu 1716a571f9 boost-sml: upgrade 1.1.11 -> 1.1.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 07:39:10 -07:00
mark.yang 0f221af63e srecord: fix build failure with gcc-15
srecord/input/file/hp64k.h:82:21: error: ‘uint16_t’ has not been declared
   82 |     bool read_u16be(uint16_t *dest);
      |                     ^~~~~~~~
/home/abuild/rpmbuild/BUILD/srecord-1.65.0-build/srecord-1.65.0-Source/./srecord/input/file/hp64k.h:1:1: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
  +++ |+#include <cstdint>
    1 | //
make[2]: *** [srecord/CMakeFiles/lib_srecord.dir/build.make:222: srecord/CMakeFiles/lib_srecord.dir/arglex/tool/input.cc.o] Error 1

    * From gcc 13, cstdint header must be explicitly included for uint_X data types.
    * See also: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 07:39:10 -07:00
mark.yang 5cf1a10405 rocksdb: fix build with gcc-13
* From gcc 13, cstdint header must be explicitly included for uint_X data types.
* See also: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 07:39:10 -07:00
Yoann Congal 1c848d99c9 gimp: Remove default dependency to libheif from meta-multimedia
meta-gnome does not currently depend on meta-multimedia.
When "commercial" is in LICENSE_FLAGS_ACCEPTED, gimp depends on libheif
by default but libheif is in meta-multimedia. That leads to build
failures, for example, in the reproducible-meta-oe AB build[0].

To fix this, remove the default "heif" PACKAGECONFIG.

To enable heif support in gimp, users can add "commercial" in
LICENSE_FLAGS_ACCEPTED and add meta-multimedia to their build.

[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/39/steps/16/logs/stdio

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-06 22:22:22 -07:00
Khem Raj 63eb38b430 python3-greenlet: Fix build on RISCV32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-06 21:15:01 -07:00
Khem Raj 62012af133 deqp-runner: Use linux_raw for getrandom backend on riscv32
Fixes
| error[E0425]: cannot find function `getrandom` in crate `libc`
|   --> /usr/src/debug/deqp-runner/0.20.3/sources-unpack/cargo_home/bitbake/getrandom-0.3.2/src/backends/getrandom.rs:29:15
|    |
| 29 |         libc::getrandom(buf.as_mut_ptr().cast(), buf.len(), 0)
|    |               ^^^^^^^^^ not found in `libc`
|
|     Building [===============>          ] 77/121: thiserror-impl, indexmap,...
|     Building [===============>          ] 78/121: thiserror-impl, indexmap,...
| For more information about this error, try `rustc --explain E0425`.
| error: could not compile `getrandom` (lib) due to 1 previous error
|

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-06 21:15:00 -07:00
Khem Raj dde0b11a53 deqp-runner: Fix build on riscv32
Update dependency on tempfile crate to 3.x so it can
pick 3.19 which brings latest rustix and latest libc
which has support for riscv32 + 1 patch which is submitted

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-06 21:15:00 -07:00
Khem Raj 67d9edf991 python3-lief: Skip to build on riscv32
It needs pydantic during build

   | ERROR Missing dependencies:
   |   pydantic>=2.8.2
   |   pydantic-core==2.33.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-06 21:15:00 -07:00
Khem Raj 6a3128f17b pydantic: Mark host incompatible on RISCV32
pydantic-core needs to be ported to work on rv32

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-06 18:46:25 -07:00
Khem Raj ed91d5280b python3-pydantic: Upgrade to 2.11.2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-06 18:46:25 -07:00
Khem Raj 2b6f2c163b python3-pydantic-core: Upgrade to 2.33.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-06 17:43:18 -07:00
Khem Raj 82056b9245 thin-provisioning-tools: Fix build on riscv32
Rustix crate needs libc crate to be patched

Fix build on 32-bit hosts without 64bit atomics

Use portable-atomic crate for 64bit atomics, helps 32bit arches without
64bit atomic intrinsics.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-06 11:06:42 -07:00
Khem Raj 8bca12516c cbindgen: Fix build on riscv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-06 10:57:39 -07:00
Khem Raj 830535e5b6 unicode-ucd: Rename the license.txt in DL_DIR to avoid conflicts
Since this file is downloaded and upstream does not version it on changes
we have to ensure that we store the versions in DL_DIR and also ensure they
do not step on each other

Fixes
stdio: WARNING: unicode-ucd-14.0.0-r0 do_fetch: Checksum mismatch for local file /srv/autobuilder/valkyrie.yocto.io/current_sources/license.txt
stdio: WARNING: unicode-ucd-14.0.0-r0 do_fetch: Renaming /srv/autobuilder/valkyrie.yocto.io/current_sources/license.txt to /srv/autobuilder/valkyrie.yocto.io/current_sources/license.txt_bad-checksum_f7830d126f59d83842565d3dddedc79db4ca978ed52aee0ebcc040ea76a85519

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-06 08:53:11 -07:00
Khem Raj 6121f2907a unicode-ucd: Updates due to license.txt updates
This is downloaded and does not have version, so we have to
update it whenever upstream update it. The copyright year
is changed this time.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-06 08:47:57 -07:00
Khem Raj 9761486f22 system-config-keyboard: Drop recipe
This package is dead and tarballs are also gone. 1.4.0 release
was in 2013

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-06 08:47:57 -07:00