Commit Graph

27379 Commits

Author SHA1 Message Date
Wang Mingyu
abb9805e9d fmt: upgrade 10.1.0 -> 10.1.1
Changelog:
==========
Added formatters for std::atomic and atomic_flag (#3574, #3594).
Fixed an error about partial specialization of formatter<string> after instantiation when compiled with gcc and C++20 (#3584).
Fixed compilation as a C++20 module with gcc and clang (#3587, #3597, #3605).
Made fmt::to_string work with types that have format_as overloads (#3575).
Made formatted_size work with integral format specifiers at compile time (#3591).
Fixed a warning about the no_unique_address attribute on clang-cl (#3599).
Improved compatibility with the legacy GBK encoding (#3598, #3599).
Added OpenSSF Scorecard analysis (#3530, #3571).
Updated CI dependencies

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Wang Mingyu
f392e0ce11 dialog: upgrade 1.3-20210509 -> 1.3-20230209
Changelog:
==========
 + update test-package for Debian to use debhelper.
 + adjust character-offset in editbox.c in case it is past the end of
   the string after trimming (Debian #1003185).
 + updated ro.po from
         http://translationproject.org/latest/dialog/
 + fix some inconsistent #if vs #ifdef.
 + correct off-by-one limit for month when validating parameters of the
   calendar widget
 + modify dlg_yes_labels to not switch to ok/cancel labels if the
   extra button is used
 + move leak-checking definitions from dialog.h to dlg_internals.h
 + use mktemp utility rather than tempfile for temporary filename in
   the sample scripts
 + updated id.po, lt.po from
         http://translationproject.org/latest/dialog/
 + update config.guess, config.sub
 + directly include stddef.h for systems which need it for offsetof().
 + modify gauge's handle_input function to use the file pointer in the
   object in preference to the global dialog_state.
 + correct height-computation for fselect and timebox, broken by fixes
   for auto-layout (Debian #990043, cf: 2019/11/10).
 + improve configure --with-no-leaks option
 + amend adjustment to inputbox height so the autosized dimensions match
   older versions
 + improve configure checks, to reduce warnings during those checks
 + updated fr.po from
         http://translationproject.org/latest/dialog/
 + update config.guess, config.sub
 + change shared-library configuration in test-packages to use the
   ABI version in the library filename to match its SONAME.
 + add sample scripts to test-packages, using new makefile rule
   "install-examples".
 + corrected cdialog*.install helper scripts in test-package for Debian
 + change ftp URLs in test-packages to https
 + updated configure script, e.g., for compiler-warning fixes.
 + updated fur.po, zh_TW.po from
         http://translationproject.org/latest/dialog/
 + modify slackware.rc to match dialog's output from "make check" using
   this configuration file (FreeBSD #267777).
 + fix shellcheck warnings in helper-scripts for building/installing.
 + updated configure script, e.g., for compiler-warning fixes.
 + updated hu.po from
         http://translationproject.org/latest/dialog/
 + update config.guess, config.sub, install-sh
 + initialize color-settings before --create-rc option is processed.
 + add "use_scrollbar" setting in rc-file to use in whiptail.rc
 + improve manual page discussion of "--" token.
 + updated configure macro for math-library functions.
 + updated ca.po from
         http://translationproject.org/latest/dialog/
 + update config.guess
 + fix links in manpages (FreeBSD #264660).
 + document the built-in key bindings which are not part of widgets.
 + updated da.po fa.po is.po, added ka.po from
         http://translationproject.org/latest/dialog/
 + update config.sub
 + adjust fallback bindings for backspace/delete to match the curses
   library's sense of backspace (Arch #74379).
 + amend limit-checks to make --max-input work for sizes greater than
   2048 (Debian #1004874).
 + corrected limit-checks in checklist.c, menubox.c, and treeview.c when
   resizing while the data is scrolled (Debian #1004868).
 + improve logic for updating form-height after screen-resizing.
 + move most of the non-API definitions from dialog.h to dlg_internals.h
 + updated configure macros.
 + update config.guess, config.sub
 + updated es.po, tr.po from
         http://translationproject.org/latest/dialog/
 + install ".pc" files in the test-packages.
 + add pkg-config ".pc" file, for use with the development library.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Wang Mingyu
12094dd818 debootstrap: upgrade 1.0.131 -> 1.0.132
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Wang Mingyu
4025736ffd ctags: upgrade 6.0.20230820.0 -> 6.0.20230827.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Wang Mingyu
76b0666014 adw-gtk3: upgrade 4.8 -> 4.9
Changelog:
===========
Radio buttons in Firefox
Make highlight more similar to Libadwaita
Icons in Budgie Panel are cutoff at sides
Add sidebar colors
Custom tab color fix

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Wang Mingyu
5480dfef23 wireshark: upgrade 4.0.7 -> 4.0.8
Changelog:
============
The following vulnerabilities have been fixed:
    wnpa-sec-2023-23 CBOR dissector crash. Issue 19144.
    wnpa-sec-2023-24 BT SDP dissector infinite loop. Issue 19258.
    wnpa-sec-2023-25 BT SDP dissector memory leak. Issue 19259.
    wnpa-sec-2023-26 CP2179 dissector crash. Issue 19229.

The following bugs have been fixed:
    TShark cannot capture to pipe on Windows correctly. Issue 17900.
    Wireshark wrongly blames group membership when pcap capabilities are removed. Issue 18279.
    Packet bytes window broken layout. Issue 18326.
    RTP Player only shows waveform until sequence rollover. Issue 18829.
    Valid Ethernet CFM DMM packets are shown as malformed. Issue 19198.
    Crash on DICOM Export Objects window close. Issue 19207.
    The QUIC dissector is reporting the quic_transport_parameters max_ack_delay with the title \"GREASE\" Issue 19209.
    Preferences: Folder name editing behaves weirdly, cursor jumps. Issue 19213.
    DHCPFO: Expert info list does not show all expert infos. Issue 19216.
    Websocket packets not decoded and displayed for Field type=Custom and Field name websocket.payload.text. Issue 19220.
    Cannot read pcapng file captured on OpenBSD and read on FreeBSD. Issue 19230.
    UI: While capturing the Wireshark icon changes from green to blue when new file is created. Issue 19252.
    Conversation: heap-use-after-free after wmem_leave_file_scope. Issue 19265.
    IP Packets with DSCP 44 does not indicate "Voice-Admit" Issue 19270.
    NAS 5GS Malformed Packet Decoding SOR transparent container PLMN ID and access technology list. Issue 19273.
    UI: Auto scroll button in the toolbar is turned on when manually scrolling to the end of packet list. Issue 19274.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Wang Mingyu
a2d749df14 traceroute: upgrade 2.1.2 -> 2.1.3
Changelog:
 Fix command line parsing in wrappers.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Yi Zhao
241dbe5428 ntp: add missing runtime dependencies
Some perl modules are required by ntptrace:

$ ntptrace
Can't locate lib.pm in @INC (you may need to install the lib module)
(@INC contains: /usr/lib/perl5/site_perl/5.36.0/x86_64-linux
 /usr/lib/perl5/site_perl/5.36.0
 /usr/lib/perl5/vendor_perl/5.36.0/x86_64-linux
 /usr/lib/perl5/vendor_perl/5.36.0 /usr/lib/perl5/5.36.0/x86_64-linux
 /usr/lib/perl5/5.36.0) at /usr/sbin/ntptrace line 10.
BEGIN failed--compilation aborted at /usr/sbin/ntptrace line 10.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Martin Jansa
9b092d6b3e webkitgtk: explicitly disable JIT for armv7* with softfp
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Βούλγαρη Αικατερίνη
b479a6face collectd: build with rrdcached plugin
rrdcached package is provided by rrdtool recipe. The build dependency in PACKAGECONFIG is changed to rrdtool.
    The error was:
     Nothing PROVIDES 'rrdcached' but ../collectd_5.12.0.bb DEPENDS on or otherwise requires it). Close matches:
      rrdtool RPROVIDES rrdcached
    ERROR: Required build target 'collectd' has no buildable providers.
    Missing or unbuildable dependency chain was: ['collectd', 'rrdcached']

    With the patch, collectd builds with no errors and the final image I tested includes collectd with rrdcached plugin.
    Tested on custom image with collectd_5.12.0.

Signed-off-by: Βούλγαρη Αικατερίνη <aikaterini.voulgari@softcom-int.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Yi Zhao
59e296dc30 vsomeip: add recipe
The vsomeip stack implements the http://some-ip.com/ (Scalable
service-Oriented MiddlewarE over IP (SOME/IP)) protocol.
The stack consists out of:
  a shared library for SOME/IP (libvsomeip3.so)
  a shared library for SOME/IP's configuration module
  (libvsomeip3-cfg.so)
  a shared library for SOME/IP's service discovery
  (libvsomeip3-sd.so)
  a shared library for SOME/IP's E2E protection module
  (libvsomeip3-e2e.so)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Ross Burton
6ce4546d84 Revert "protobuf: stage protoc binary to sysroot"
Putting the _target_ protoc into the sysroot for executation at _build_
time isn't useful because even if it has the right architecture, the
tune might be incompatible.  Recipes which want protoc should just depend
on protobuf-native.

This reverts commit d7f46fa816.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Sourav Kumar Pramanik
3da59b8a8a meta-oe-components: Avoid usage of nobranch=1
The usage of nobranch=1 in SRC_URI allows using unprotected branches.

This change updates the real branch name in place of nobranch=1 for these components.

Signed-off-by: Sourav Kumar Pramanik <pramanik.souravkumar@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Martin Jansa
c902a85099 libiio: use main branch instead of master
* the branch was renamed upstream

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Chen Qi
a9cdbbd4c5 python3-blivetgui: switch from master to main
Switch to main branch to avoid do_fetch failure.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Robert Yang
3ed51f2d3b frr: Fix CVE-2023-41358 and CVE-2023-41360
Backport patches to fix CVE-2023-41358 and CVE-2023-41360.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-41358
https://nvd.nist.gov/vuln/detail/CVE-2023-41360

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Markus Volk
c061390201 gnome-boxes: remove dependency on ovmf
This is not a required build dependency and including it limits the build
to x86.

Add runtime dependency on genisoimage

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Denys Zagorui
0bcfd6291f bpftool: add native and nativesdk support
There are issues with nativesdk variant
...
ERROR: nativesdk-bpftool-1.0-r0 do_package: QA Issue:
nativesdk-bpftool: Files/directories were installed but not shipped in any package:
  /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-xesdk-linux/usr/sbin/bpftool
  /usr/share/bash-completion/completions/bpftool
...

nativesdk.bbclass sets sbindir = "${bindir}" but bpftool is installed under sbin
to fix that add sbin to FILES

for bpftool completions {prefix} is not used but it seems that bitbake expects that
installed files should be perfixed with "${SDKPATHNATIVE}${prefix_nativesdk}"
to fix that override bash_compdir

Signed-off-by: Denys Zagorui <dzagorui@cisco.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Soumya Sambu
10e2559081 krb5: Upgrade 1.20.1 -> 1.20.2
Release Notes:
https://web.mit.edu/kerberos/krb5-1.20/krb5-1.20.2.html
- Fix potential uninitialized pointer free in kadm5 XDR parsing [CVE-2023-36054].
- Fix read overruns in SPNEGO parsing.
- Compatibility fix for autoconf 2.72.

License-Update: Update copyright years to 2023
[a273d4d198]

Removed patch - 0001-Fix-aclocal.m4-syntax-error-for-autoconf-2.72.patch as it is fixed in upgraded version.

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Yogita Urade
d14a600a3a hwloc: fix CVE-2022-47022
An issue was discovered in open-mpi hwloc 2.1.0 allows attackers to cause
a denial of service or other unspecified impacts via glibc-cpuset in topology-linux.c.

References:
https://nvd.nist.gov/vuln/detail/CVE-2022-47022
https://github.com/open-mpi/hwloc/issues/544

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Joe Slater
0efa5c872f python3-inotify: fix tests
Some tests in test-inotify.py assume values for watch
descriptors.  This is not safe, so we retrieve the
assigned values to compare with event information generated.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
Martin Jansa
b74b10e316 tcpreplay: fix pcap detection with /usr/lib32 multilib
* use BPN, BP where useful
* use prefix instead of hardcoding /usr
* add patch to search also in lib32 subdir of --with-libpcap value
  to fix:
  checking for libpcap... configure: error: "Unable to find matching library for header file in TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-tcpreplay/4.4.4-r0/lib32-recipe-sysroot/usr"

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-03 09:04:57 -07:00
Martin Jansa
e98e9141f8 libcyusbserial: fix installed-vs-shipped QA issue with multilib
* testing ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR} existence
  doesn't really work in cross compilation and on some hosts was causing:

  ERROR: QA Issue: libcyusbserial: Files/directories were installed but not shipped in any package:
    /usr/lib/libcyusbserial.so.1
    /usr/lib/libcyusbserial.so
  Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
  libcyusbserial: 2 installed and not shipped files. [installed-vs-shipped]

  with multilib using /usr/lib32 or /usr/lib64 when the same didn't
  exist on host.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-03 09:04:57 -07:00
Martin Jansa
0262013e03 khronos-cts.inc: respect MLPREFIX when appending DEPENDS with anonymous python
* this causes 2 issues:
  lib32-opengl-es-cts depending on 64bit wayland and wayland-protocols:

  $ bitbake-getvar -r lib32-opengl-es-cts DEPENDS
  #
  # $DEPENDS [14 operations]
  #   set /OE/build/oe-core/openembedded-core/meta/conf/bitbake.conf:309
  #     ""
  #   set /OE/build/oe-core/openembedded-core/meta/conf/documentation.conf:137
  #     [doc] "Lists a recipe's build-time dependencies (i.e. other recipe files)."
  #   :prepend /OE/build/oe-core/openembedded-core/meta/classes-global/base.bbclass:57
  #     "${BASEDEPENDS} "
  #   :prepend /OE/build/oe-core/openembedded-core/meta/classes-recipe/pkgconfig.bbclass:7
  #     "pkgconfig-native "
  #   :prepend /OE/build/oe-core/openembedded-core/meta/classes-recipe/cmake.bbclass:10
  #     "cmake-native "
  #   :append /OE/build/oe-core/openembedded-core/meta/classes-recipe/python3native.bbclass:11
  #     " python3-native "
  #   append /OE/build/oe-core/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc:28
  #     "python3-lxml-native libpng zlib virtual/libgles2 qemu-native"
  #   :append[libc-musl] /OE/build/oe-core/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc:38
  #     " libexecinfo"
  #   rename (to) classextend.py:108 [map_depends_variable]
  #     "DEPENDS_NONML"
  #   set classextend.py:109 [map_depends_variable]
  #     "${@oe.classextend.get_depends('DEPENDS', d)}"
  #   append classextend.py:110 [map_depends_variable]
  #     [vardeps] " DEPENDS_NONML"
  #   append cmake.bbclass:25 [__anon_30__OE_build_oe_core_openembedded_core_meta_classes_recipe_cmake_bbclass]
  #     " ninja-native"
  #   append khronos-cts.inc:77 [__anon_80__OE_build_oe_core_meta_openembedded_meta_oe_recipes_graphics_vk_gl_cts_khronos_cts_inc]
  #     " wayland-native wayland wayland-protocols"
  #   append khronos-cts.inc:79 [__anon_80__OE_build_oe_core_meta_openembedded_meta_oe_recipes_graphics_vk_gl_cts_khronos_cts_inc]
  #     " virtual/libx11 virtual/egl "
  # pre-expansion value:
  #   "${@oe.classextend.get_depends('DEPENDS', d)} ninja-native wayland-native wayland wayland-protocols virtual/libx11 virtual/egl "
  DEPENDS="cmake-native lib32-libpng pkgconfig-native python3-lxml-native python3-native qemu-native virtual/lib32-arm-oemllib32-linux-gnueabi-compilerlibs virtual/arm-oemllib32-linux-gnueabi-gcc virtual/lib32-libc virtual/lib32-libgles2 lib32-zlib ninja-native wayland-native wayland wayland-protocols virtual/libx11 virtual/egl "

* lib32-opengl-es-cts-dev runtime depending on 64bit wayland-dev wayland-protocols-dev
  as caught by multilib QA check:

  ERROR: QA Issue: lib32-opengl-es-cts package lib32-opengl-es-cts-dev - suspicious values 'wayland-dev wayland-protocols-dev' in RRECOMMENDS [multilib]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-03 09:04:57 -07:00
Martin Jansa
b3f923e741 mongodb: enable hardware crc32 only with crc in TUNE_FEATURES
* see https://jira.mongodb.org/browse/SERVER-30893

* fixes:
  aarch64-oe-linux-gcc -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Werror=return-type --sysroot=TOPDIR/BUILD/work/mach-oe-linux/mongodb/4.4.13-r0/recipe-sysroot -o build/opt/third_party/wiredtiger/src/checksum/arm64/crc32-arm64.o -c -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -Wno-exceptions -fstack-protector-strong -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=5 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_ARM_NEON_INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Isrc/third_party/zstandard-1.4.3/zstd/lib -Isrc/third_party/snappy-1.1.7 -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/checksum/arm64/crc32-arm64.c
  cc1: warning: command-line option '-Wno-exceptions' is valid for C++/ObjC++ but not for C
  /tmp/ccGvwFgu.s: Assembler messages:
  /tmp/ccGvwFgu.s:45: Error: selected processor does not support `crc32cb w2,w2,w3'
  /tmp/ccGvwFgu.s:77: Error: selected processor does not support `crc32cx w2,w2,x4'
  /tmp/ccGvwFgu.s:103: Error: selected processor does not support `crc32cb w2,w2,w0'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-03 09:04:57 -07:00
Khem Raj
f709cb0424 networkmanager-openvpn: Fix build with lld on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-03 09:04:09 -07:00
Khem Raj
c466cb9b20 network-manager-applet: Fix build with musl/lld linker
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-03 09:04:09 -07:00
Kai Kang
ea21dd17d2 libmcrypt: fix multilib conflict
It fails to install libmcrypt-dev and lib32-libmcrypt-dev at same time:

Error: Transaction test error:
  file /usr/bin/libmcrypt-config conflicts between attempted installs of
  libmcrypt-dev-2.5.8-r0.core2_64 and lib32-libmcrypt-dev-2.5.8-r0.i586

Use MULTILIB_SCRIPTS from multilib_script.bbclass to handle them.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-31 22:37:31 -07:00
Khem Raj
87ae6f0c22 networkmanager: Fix build on musl
musl does not need _IO_stdin_used, since its not provided by toolchain
runtime ( crt files ) lld linker complains about undefined global symbol
on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-31 22:37:05 -07:00
Benjamin Bara
05e32934d0 openh264: make neon optional and disable if not supported
openh264 currently enforces neon on armv7, although it has fallbacks
implemented in C/C++ and it is mentioned in the README that it is
optional[1].

Therefore, make neon optional and disable it if the machine does not
support it.

[1] https://github.com/cisco/openh264/blob/v2.3.1/README.md?plain=1#L54

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-31 07:43:23 -07:00
Martin Jansa
57b37873c5 sysbench: avoid -L/usr/lib32 and configure-unsafe QA issue
* when libdir isn't /usr/lib (e.g. /usr/lib32 with multilib), then
  m4/lib-prefix.m4 can add additional_libdir=\"$libdir\":

    dnl Potentially add $additional_libdir to $LDFLAGS.
    dnl But don't add it
    dnl   1. if it's the standard /usr/lib,
    dnl   2. if it's already present in $LDFLAGS,
    dnl   3. if it's /usr/local/lib and we are using GCC on Linux,
    dnl   4. if it doesn't exist as a directory.
    if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then

  this doesn't happen in regular builds because of condion 1. above

* fixes:
  ERROR: QA Issue: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
  Rerun configure task after fixing this. [configure-unsafe]

* drop libaio from DEPENDS as it's added by PACKAGECONFIG when enabled

* I've also tried to drop brokensep as it was added in:
  https://git.openembedded.org/meta-openembedded/commit/?id=bb31da87599853b2e5d4d4adc641a93edb22cd16
  d2265dbacd

  without any explation why brokensep was needed for 1.0.20 (while it wasn't used in 0.4.12 version)

  and it looks like luajit detection fails without broken sep and build with internal luajit then fails with:
  ./lua/internal/sysbench.lua.h:1:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '/' token
    1 | unsigned char __/__/__/__/git/src/lua/internal/sysbench_lua[] =
      |                 ^

  but I'll leave this to someone actually using sysbench

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-30 17:09:52 -07:00
Stanislav Angelovic
d88ac90b62 feat: bump sdbus-c++ up to v1.3.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-30 16:06:29 -07:00
Danik
c38239b3d9 python3-piccata: piccata - a simple CoAP toolkit added
python3-piccata: piccata - a simple CoAP toolkit added

piccata is a simple CoAP (RFC7252) toolkit compatible with Python 2.7.

The toolkit provides basic building blocks for using CoAP in an
application. piccata handles messaging between endpoints
(retransmission, deduplication) and request/response matching.

Handling and matching resources, blockwise transfers, etc. is left to
the application but functions to faciliate this are provided.

piccata uses a transport abstraction to faciliate using the toolkit for
communication over different link types. Transport for a UDP socket is
provided.

Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-30 14:45:47 -07:00
Danik
f4a4dbfb6c python3-gspread: interface for google spreadsheet
python3-gspread: interface for google spreadsheet

Simple interface for working with Google Sheets.

Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-30 14:45:47 -07:00
Martin Jansa
aecd7f7f4a phodav: make sure systemd files are packaged correctly
* fixes installed-vs-shipped QA issue with multilib:

ERROR: lib32-phodav-3.0-r0 do_package: QA Issue: lib32-phodav: Files/directories were installed but not shipped in any package:
  /usr/lib/systemd
  /usr/lib/systemd/system
  /usr/lib/systemd/system/spice-webdavd.service
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
lib32-phodav: 3 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-30 14:45:47 -07:00
Martin Jansa
9b37c1cc88 json-schema-validator: restore 0004-cmake-Use-GNUInstallDirs.patch
* it was removed in:
  https://git.openembedded.org/meta-openembedded/commit/?id=0697d52777cd530dc59bb05a506327c365bc78a2

* but the patch wasn't applied upstream yet
  and now fails in multilib builds with:
ERROR: lib32-json-schema-validator-2.2.0-r0 do_package: QA Issue: lib32-json-schema-validator: Files/directories were installed but not shipped in any package:
  /usr/lib/libnlohmann_json_schema_validator.so.2
  /usr/lib/libnlohmann_json_schema_validator.so.2.2.0
  /usr/lib/libnlohmann_json_schema_validator.so
  /usr/lib/cmake
  /usr/lib/cmake/nlohmann_json_schema_validator
  /usr/lib/cmake/nlohmann_json_schema_validator/nlohmann_json_schema_validatorConfig.cmake
  /usr/lib/cmake/nlohmann_json_schema_validator/nlohmann_json_schema_validatorConfigVersion.cmake
  /usr/lib/cmake/nlohmann_json_schema_validator/nlohmann_json_schema_validatorTargets.cmake
  /usr/lib/cmake/nlohmann_json_schema_validator/nlohmann_json_schema_validatorTargets-noconfig.cmake
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
lib32-json-schema-validator: 9 installed and not shipped files. [installed-vs-shipped]

https://github.com/pboettch/json-schema-validator/pull/197 was closed due to branch rename, but I don't see this change applied in:
https://github.com/pboettch/json-schema-validator/commits/main/CMakeLists.txt
so I guess the .patch is still needed.

* adjust the patch to apply on new version and restore it

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-30 14:45:47 -07:00
Markus Volk
b0c46ce73a libosinfo: build vapi only if gobject-introspection is enabled
this fixes:
meson.build:40:8: ERROR: Problem encountered: vala support was requested, but introspection support is mandatory.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-30 14:45:47 -07:00
Martin Jansa
5c5994a3d5 libfaketime: simplify packaging
* avoid dev-so QA issue

* avoid separate package for the library, because the current "lib${PN}"
  has a bit ridiculous name in mulilib builds:
  lib32-liblib32-libfaketime

* fixes:
  ERROR: lib32-libfaketime-0.9.10-r0 do_package_qa: QA Issue: non -dev/-dbg/nativesdk- package lib32-liblib32-libfaketime contains symlink .so '/usr/lib32/faketime/libfaketime.so' [dev-so]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-30 14:45:47 -07:00
Markus Volk
00f8179720 spice-guest-vdagent: add missing dependencies
add x11 to REQUIRED_DISTRO_FEATURES

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-30 14:45:47 -07:00
Markus Volk
1bc98e3643 spice: add missing dependency on orc
this fixes:
meson.build:139:23: ERROR: Dependency "orc-0.4" not found, tried pkgconfig

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-30 14:45:47 -07:00
Alejandro Hernandez Samaniego
1cfd2bcc84 emacs: update to 29.1
- Rebase (and rename) use-emacs-native-tools-for-cross-compiling.patch
- Build bootstrap-emacs for emacs-native
- Use bootstrap-emacs (native) for cross compiling.
  - We need to pass EMACSLOADPATH and EMACSDATA so we can control the
  directories being used by bootstrap-emacs.
- Create avoid-running-host-binaries-for-sanity.patch to avoid running
  the newly integrated santity-check by emacs since it tries to run target
  binaries on the host.
- Fix emacs-minimal packaging for new version.

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-30 00:20:59 -07:00
Markus Volk
f9afd63370 pipewire: upgrade 0.3.78 -> 0.3.79
This is a quick bugfix release that is API and ABI compatible with previous
0.3.x releases.

  - Fix a regression in suspend that could cause silence.
  - Fix a regression in JACK port registration that could cause all kinds of
    JACK problems. (#3485)
  - Fix a typo in the neon sample conversion functions that could cause
    distortion.
  - Add BAP broadcast source and sink support.
  - pw-top now has a batch mode to dump the output to stdout.
  - Many more bugfixes and improvements.

  - Fix a regression in shutdown where a node might not first suspend
    properly. This cause loss of sound in some cases. (#3378)
  - Failure to compile a regular expression in the config file will now
    be reported and ! can be used to negate the match. (#3460)
  - Fix a regression where some nodes might not set running in some
    cases.
  - Nodes are now suspended before the format is cleared, which might
    fix some crashes.

  - pw-top now has a batch mode to dump the output to stdout.

  - The queued samples in audioconvert are now correctly reported in the
    delay. (#3454)
  - Make it easier to add a custom profile in ACP.
  - Fix a typo in the neon sample conversion functions that could cause
    distortion. (#3463)
  - device.profile.pro=true is added for pro audio nodes.
  - An xrun counter was added to spa_io_clock to detect and track skipped
    data because of xruns.

  - Add alsa-sink and alsa-source modules. (#3456)

  - Fix a regression where only the BAP off profile is shown.
  - Add BAP broadcast source and sink support.

  - Also emit a latency notify when the buffer size changes.
  - Fix a regression in JACK port registration. (#3485)
  - jack_port_tie() is now supported.

  - Improve property handling, support lists and ranges in addition to
    fixed values. (#3451)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-30 00:20:59 -07:00
Mingli Yu
24b89b9ccc thrift: Remove buildpaths
Fixes:
  WARNING: thrift-0.18.1-r0 do_package_qa: QA Issue: File /usr/lib64/cmake/thrift/thriftnbTargets.cmake in package thrift-dev contains reference to TMPDIR
  File /usr/lib64/cmake/thrift/thrift_c_glibTargets.cmake in package thrift-dev contains reference to TMPDIR
  File /usr/lib64/cmake/thrift/thrift_c_glib_zlibTargets.cmake in package thrift-dev contains reference to TMPDIR [buildpaths]
  WARNING: thrift-0.18.1-r0 do_package_qa: QA Issue: File /usr/src/debug/thrift/0.18.1-r0/compiler/cpp/thrift/thrifty.hh in package thrift-src contains reference to TMPDIR
  File /usr/src/debug/thrift/0.18.1-r0/compiler/cpp/thrift/thrifty.cc in package thrift-src contains reference to TMPDIR
  File /usr/src/debug/thrift/0.18.1-r0/compiler/cpp/thrift/thriftl.cc in package thrift-src contains reference to TMPDIR [buildpaths]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-29 08:08:10 -07:00
Benjamin Bara
9156898cc5 ne10: set incompatible for armv7 without neon
ne10 requires NEON[1], therefore set incompatible for incompatible
machines. In this case, don't depend on it in libopus, as it is optional
anyways.

[1] https://github.com/projectNe10/Ne10/blob/v1.2.1/CMakeLists.txt#L139

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-29 00:04:04 -07:00
Yi Zhao
ee1026ab77 frr: Security fix CVE-2023-3748
CVE-2023-3748:
A flaw was found in FRRouting when parsing certain babeld unicast hello
messages that are intended to be ignored. This issue may allow an
attacker to send specially crafted hello messages with the unicast flag
set, the interval field set to 0, or any TLV that contains a sub-TLV
with the Mandatory flag set to enter an infinite loop and cause a denial
of service.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2023-3748

Patch from:
ae1e0e1fed

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-28 08:55:26 -07:00
Chen Qi
f74d5dfd69 spice-protocol: fix populate_sdk error when spice is installed
spice depends on spice-protocol, when IMAGE_INSTALL contains spice,
do_populate_sdk fails with the following error:

  Error:
  Problem: package libspice-server-dev-0.14.2+git0+7cbd70b931_4fc4c2db36-r0.core2_64 requires spice-protocol-dev, but none of the providers can be installed
  - conflicting requests
  - nothing provides spice-protocol = 0.14.4-r0 needed by spice-protocol-dev-0.14.4-r0.core2_64
  (try to add '--skip-broken' to skip uninstallable packages)

For spice-protocol, it's a development package and all things are in
the dev package, so set ALLOW_EMPTY to fix the above error.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-28 08:55:26 -07:00
Archana Polampalli
77efa60d5b nodejs: upgrade 18.17.0 -> 18.17.1
This is a security release.
The following CVEs are fixed in this release:
    CVE-2023-32002
    CVE-2023-32006
    CVE-2023-32559

https://github.com/nodejs/node/releases/tag/v18.17.1

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-28 08:55:26 -07:00
Khem Raj
d81f23fc23 python3-m2crypto: Append architecture to SWIG_FEATURES instead of overriding
For x86/x32 it was overwriting SWIG_FEATURES, its better to append it
like for other arches, in addition it brings essential options to remove
buildpaths from .so files.

Use OPENSSL_NO_FILENAMES define instead of overrding OPENSSL_FILE for
achieving reproducibility. Takes care of line numbers too.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-27 13:50:00 -07:00
Petr Gotthard
0c0e5e215d python3-sdbus: add recipe
sdbus is a modern Python library for the systemd D-Bus
https://github.com/python-sdbus/python-sdbus
https://python-sdbus.readthedocs.io/en/latest/index.html

Signed-off-by: Petr Gotthard <petr.gotthard@advantech.cz>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-27 09:21:22 -07:00
Khem Raj
1de29b487b rsyslog: Skip failing omfile-outchannel test on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-27 00:11:43 -07:00