[oe] coreutils over uutils-coreutils when selinux in DISTRO_FEATURES

2023-12-30 Thread Vincent Davis Jr
Hello all,

Currently using coreutils over busybox and systemd over sysvinit via:

> 
> 
> 
> 
> SKIP_RECIPE[busybox] = "Don't build this"
> DISTRO_FEATURES_BACKFILL_CONSIDERED:append = " sysvinit"
> VIRTUAL-RUNTIME_syslog = ""
> VIRTUAL-RUNTIME_initscripts = ""
> VIRTUAL-RUNTIME_init_manager = "systemd"
> VIRTUAL-RUNTIME_dev_manager = "udev"
> VIRTUAL-RUNTIME_login_manager = "shadow-base"
> VIRTUAL-RUNTIME_base-utils = "packagegroup-core-base-utils"
> VIRTUAL-RUNTIME_base-utils-hwclock = "util-linux-hwclock"
> VIRTUAL-RUNTIME_base-utils-syslog = ""
> VIRTUAL-RUNTIME_vim = "vim"
> PREFERRED_PROVIDER_udev = "systemd"
> PREFERRED_PROVIDER_udev-utils = "systemd"
> PREFERRED_PROVIDER_virtual/base-utils = "packagegroup-core-base-utils"
> PREFERRED_PROVIDER_coreutils = "coreutils"
> 
> 

Need help determining how to use coreutils over uutils-coreutils?
uutils-coreutils only gets built when I include "selinux" in *DISTRO_FEATURES.
* Thus it leads me to

ERROR: Nothing PROVIDES 'clang-native'
ERROR: Nothing RPROVIDES 'uutils-coreutils'

Of course happens because I'm not including meta-clang.

I've bypassed error by including:

SKIP_RECIPE[uutils-coreutils] = "Don't build this"
BBMASK += "/meta-oe/recipes-core/uutils-coreutils"

Which builds, but doesn't include required tools into target system image
sed,which.

I have tried removing SKIP_RECIPE,BBMASK and set

PREFERRED_PROVIDER_coreutils = "coreutils"

Still wants to build uutils-coreutils over coreutils.

I would like to not include meta-clang and of course not use uutils-coreutils 
over coreutils.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107949): 
https://lists.openembedded.org/g/openembedded-devel/message/107949
Mute This Topic: https://lists.openembedded.org/mt/103440861/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-filesystems][PATCH] zfs: update to 2.2.2

2023-12-30 Thread Khem Raj

On Fri, 29 Dec 2023 22:15:57 -0500, bruce.ashfi...@gmail.com wrote:
> In addition to the zfs upstream commits:
> 
>   - This fixes the build against libc-headers/kernel 6.6+
>   - adds bash-completion packaging, as 2.2.2 has support
> 
> Bumping zfs to version zfs-2.2.2, which comprises the following commits:
> 
> [...]

Applied, thanks!

[1/1] zfs: update to 2.2.2
  commit: 639d7378ce5a049e3e035e77162cc9b1013d4980

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107948): 
https://lists.openembedded.org/g/openembedded-devel/message/107948
Mute This Topic: https://lists.openembedded.org/mt/103427794/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python][PATCH] python3-dominate: update to version 2.9.1

2023-12-30 Thread Khem Raj

On Fri, 29 Dec 2023 17:12:35 +, Derek Straka wrote:
> 


Applied, thanks!

[1/1] python3-dominate: update to version 2.9.1
  commit: 2f4372ed707f281ee1d0f95ca1dc553de3ff619e

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107947): 
https://lists.openembedded.org/g/openembedded-devel/message/107947
Mute This Topic: https://lists.openembedded.org/mt/103419821/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python][PATCH] python3-argh: update to version 0.30.5

2023-12-30 Thread Khem Raj

On Fri, 29 Dec 2023 17:14:54 +, Derek Straka wrote:
> 


Applied, thanks!

[1/1] python3-argh: update to version 0.30.5
  commit: ebea0db450872e38450b259b949aabdbc2c9c491

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107946): 
https://lists.openembedded.org/g/openembedded-devel/message/107946
Mute This Topic: https://lists.openembedded.org/mt/103419854/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python][PATCH 1/5] python3-kmod: add comment about update to version 0.9.2

2023-12-30 Thread Khem Raj

On Fri, 29 Dec 2023 19:24:03 +, Derek Straka wrote:
> 


Applied, thanks!

[1/5] python3-kmod: add comment about update to version 0.9.2
  commit: 844635d0c20def5dfe8eac67434f88b3fc842bdd
[2/5] python3-engineio: update to version 4.8.1
  commit: 4a1abfaa6d6cea1e91f9c1635abbd560d78c046f
[3/5] python3-sqlalchemy: update to version 2.0.24
  commit: 7b757a77d12dbebdeec2d3a1d686983dfb1b59dd
[4/5] python3-pdm-backend: update to version 2.1.8
  commit: 304034bec199404135feaf5bebfedcbda8349ad9
[5/5] python3-cantools: update to version 39.4.1
  commit: 8fe935960010678c741c73fc3f2b76b90d226482

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107945): 
https://lists.openembedded.org/g/openembedded-devel/message/107945
Mute This Topic: https://lists.openembedded.org/mt/103421827/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH] driverctl: fix installed-vs-shipped

2023-12-30 Thread Khem Raj

On Fri, 29 Dec 2023 11:40:05 +0100, Martin Jansa wrote:
> * introduced in upgrade to 0.115 version:
>   
> https://git.openembedded.org/meta-openembedded/commit/?id=1f2c2ebcbcf5944225462f530e0d56b20f1b4630
> 
> * fixes:
> ERROR: driverctl-0.115-r0 do_package: QA Issue: driverctl: Files/directories 
> were installed but not shipped in any package:
>   /usr/lib/systemd
>   /usr/lib/systemd/system
>   /usr/lib/systemd/system/driverctl@.service
> Please set FILES such that these items are packaged. Alternatively if they 
> are unneeded, avoid installing them or delete them within do_install.
> driverctl: 3 installed and not shipped files. [installed-vs-shipped]
> 
> [...]

Applied, thanks!

[1/1] driverctl: fix installed-vs-shipped
  commit: 079cd908fcaad88440f293a13e4917e4e64c42b5

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107944): 
https://lists.openembedded.org/g/openembedded-devel/message/107944
Mute This Topic: https://lists.openembedded.org/mt/103415285/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH] i2cdev: New recipe with i2c tools

2023-12-30 Thread Khem Raj

On Wed, 27 Dec 2023 17:58:35 +0100, joerg.som...@navimatix.de wrote:
> The main part is the tool lsi2c to scan the i2c bus, like lspci and lsusb
> do.
> 
> This recipe also ships a static library *libi2cdev.a*. Because this library
> contains the file *smbus.c* which is *GPL v2+,* and a static library can't
> be linked dynamically to satisfy the LGPL, the whole recipe is marked
> as *GPL-2.0-or-later.*
> 
> [...]

Applied, thanks!

[1/1] i2cdev: New recipe with i2c tools
  commit: 813fb0def8a8bca81706496dd6f106692616a11f

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107943): 
https://lists.openembedded.org/g/openembedded-devel/message/107943
Mute This Topic: https://lists.openembedded.org/mt/103387468/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-networking][PATCH] networkmanager: drop libnewt dependency

2023-12-30 Thread Khem Raj

On Wed, 27 Dec 2023 15:15:13 +0200, Dmitry Baryshkov wrote:
> With the nmtui being now handled via tha PACKAGECONFIG, there is no need
> for the global libnewt dependency, PACKAGECONFIG["nmtui"] handles it
> correctrly. Drop the libnewt from DEPENDS list.
> 
> 

Applied, thanks!

[1/1] networkmanager: drop libnewt dependency
  commit: 4c8c1443776fe32305660541565cf3054c74a9c7

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107941): 
https://lists.openembedded.org/g/openembedded-devel/message/107941
Mute This Topic: https://lists.openembedded.org/mt/103384165/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-networking][PATCH] samba: upgrade 4.18.8 -> 4.18.9

2023-12-30 Thread Khem Raj

On Wed, 27 Dec 2023 23:39:38 +0800, Yi Zhao wrote:
> This is the latest stable release of the Samba 4.18 release series.
> It contains the security-relevant bugfix CVE-2018-14628:
> 
> Wrong ntSecurityDescriptor values for "CN=Deleted Objects"
> allow read of object tombstones over LDAP
> (Administrator action required!)
> https://www.samba.org/samba/security/CVE-2018-14628.html
> 
> [...]

Applied, thanks!

[1/1] samba: upgrade 4.18.8 -> 4.18.9
  commit: f4c3c747d6df6015eb1231f2867ffe43ddb9620e

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107942): 
https://lists.openembedded.org/g/openembedded-devel/message/107942
Mute This Topic: https://lists.openembedded.org/mt/103386139/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [PATCH][meta-oe] redis: upgrade 6.2.13 -> 6.2.14

2023-12-30 Thread Khem Raj

On Wed, 27 Dec 2023 10:55:57 +0800, changqing...@windriver.com wrote:
> Upgrade urgency SECURITY: See security fixes below.
> 
> Security fixes:
> (CVE-2023-45145) The wrong order of listen(2) and chmod(2) calls creates a
> race condition that can be used by another process to bypass desired Unix
> socket permissions on startup.
> 
> [...]

Applied, thanks!

[1/1] redis: upgrade 6.2.13 -> 6.2.14
  commit: 5b34766daadf8f1e8ef3d55b24e0037c4d0727f5

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107940): 
https://lists.openembedded.org/g/openembedded-devel/message/107940
Mute This Topic: https://lists.openembedded.org/mt/103379806/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [PATCH][meta-oe] postgresql: upgrade 15.4 -> 15.5

2023-12-30 Thread Khem Raj

On Wed, 27 Dec 2023 10:54:34 +0800, changqing...@windriver.com wrote:
> Refer https://www.postgresql.org/docs/release/15.5/
> 
> 

Applied, thanks!

[1/1] postgresql: upgrade 15.4 -> 15.5
  commit: bcedf9f99ca683764ef19ab008e042c82da616ff

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107939): 
https://lists.openembedded.org/g/openembedded-devel/message/107939
Mute This Topic: https://lists.openembedded.org/mt/103379802/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python] [PATCH] python3-distro: upgrade 1.8.0 -> 1.9.0

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 16:40:28 +0800, wan...@fujitsu.com wrote:
> Changelog:
> ==
> -Refactor distro.info() method to return an InfoDict
> -Ignore the file '/etc/board-release'
> -Ignore the file '/etc/ec2_version'
> -Run Python 3.6 on Ubuntu 20.04 for CI and bump isort
> -Test on modern versions of CPython and PyPy and macOS
> -Add support for ALT Linux Server 10.1 distribution
> -Add Debian Testing to the tests
> -Update archlinux resource for tests
> 
> [...]

Applied, thanks!

[1/1] python3-distro: upgrade 1.8.0 -> 1.9.0
  commit: 8c2c816bc45543697f25dc6386ec79989f01cc52

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107937): 
https://lists.openembedded.org/g/openembedded-devel/message/107937
Mute This Topic: https://lists.openembedded.org/mt/103367663/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe] [PATCH] zchunk: upgrade 1.3.2 -> 1.4.0

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 16:41:09 +0800, wan...@fujitsu.com wrote:
> 


Applied, thanks!

[1/1] zchunk: upgrade 1.3.2 -> 1.4.0
  commit: c0de3223bed81f9c0d2c5e11931091b72357957f

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107938): 
https://lists.openembedded.org/g/openembedded-devel/message/107938
Mute This Topic: https://lists.openembedded.org/mt/103367664/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe][meta-oe][PATCH 1/1] cjson: upgrade 1.7.16 -> 1.7.17

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 08:22:37 +, archana.polampa...@windriver.com wrote:
> The following CVEs are addressed in this release.
> CVE-2023-50471
> CVE-2023-50472
> 
> https://github.com/DaveGamble/cJSON/releases/tag/v1.7.17
> 
> 
> [...]

Applied, thanks!

[1/1] cjson: upgrade 1.7.16 -> 1.7.17
  commit: 884dca3f269cbd7d72c09317107fd0a4fc951a7c

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107935): 
https://lists.openembedded.org/g/openembedded-devel/message/107935
Mute This Topic: https://lists.openembedded.org/mt/103367622/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe] [PATCH] opencl-icd-loader: upgrade 2023.04.17 -> 2023.12.14

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 15:52:11 +0800, wan...@fujitsu.com wrote:
> Changelog:
> Synchronize with OpenCL v3.0.15 specification release.
> 
> 

Applied, thanks!

[1/1] opencl-icd-loader: upgrade 2023.04.17 -> 2023.12.14
  commit: 0fdda9232f61755318da961104a7077f7bff49dd

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107936): 
https://lists.openembedded.org/g/openembedded-devel/message/107936
Mute This Topic: https://lists.openembedded.org/mt/103367662/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python] [PATCH] python3-regex: upgrade 2023.10.3 -> 2023.12.25

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 15:37:21 +0800, wan...@fujitsu.com wrote:
> Changelog:
> =
> -Cannot get release notification action in main.yml to work. Commenting it 
> out for now.
> -Fixed invalid main.yml.
> -The escape function no longer escapes \x00. It's not necessary.
> -Inline flags can now be turned off and apply to what follows.
> -Added \R to match line endings.
> 
> [...]

Applied, thanks!

[1/1] python3-regex: upgrade 2023.10.3 -> 2023.12.25
  commit: 57d796d6304923548e5f16d16cbae9b7ed537b67

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107934): 
https://lists.openembedded.org/g/openembedded-devel/message/107934
Mute This Topic: https://lists.openembedded.org/mt/103367443/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python] [PATCH] python3-ipython: upgrade 8.18.1 -> 8.19.0

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 15:31:42 +0800, wan...@fujitsu.com wrote:
> Changelog:
> https://github.com/ipython/ipython/blob/8.19.0/docs/source/whatsnew/version8.rst
> 
> 

Applied, thanks!

[1/1] python3-ipython: upgrade 8.18.1 -> 8.19.0
  commit: 3225a285e91d93f0dfc354ed3e040621fe8b7397

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107932): 
https://lists.openembedded.org/g/openembedded-devel/message/107932
Mute This Topic: https://lists.openembedded.org/mt/103367414/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python] [PATCH] python3-pydantic: upgrade 2.5.2 -> 2.5.3

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 15:36:49 +0800, wan...@fujitsu.com wrote:
> Changelog:
> 
> -uprev pydantic-core to 2.14.6
> -Fix memory leak with recursive definitions creating reference cycles
> 
> 

Applied, thanks!

[1/1] python3-pydantic: upgrade 2.5.2 -> 2.5.3
  commit: d9ace19a213517aa3fbf4153837e8c89d53cf747

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107933): 
https://lists.openembedded.org/g/openembedded-devel/message/107933
Mute This Topic: https://lists.openembedded.org/mt/103367418/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python] [PATCH] python3-cassandra-driver: upgrade 3.28.0 -> 3.29.0

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 15:28:31 +0800, wan...@fujitsu.com wrote:
> Changelog:
> 
> -Add support for Python 3.9 through 3.12, drop support for 3.7
> -Removal of dependency on six module
> -Raise explicit exception when deserializing a vector with a subtype that
>  isn’t a constant size
> -Remove outdated Python pre-3.7 references
> -Remove backup(.bak) files
> -Fix doc typo in add_callbacks
> 
> [...]

Applied, thanks!

[1/1] python3-cassandra-driver: upgrade 3.28.0 -> 3.29.0
  commit: 7ede8295ef5016778db39350e4f0cf33527d9c8e

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107931): 
https://lists.openembedded.org/g/openembedded-devel/message/107931
Mute This Topic: https://lists.openembedded.org/mt/103367376/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python] [PATCH] python3-bitarray: upgrade 2.9.0 -> 2.9.1

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 15:21:41 +0800, wan...@fujitsu.com wrote:
> Changelog:
> ==
> -* avoid buffer being unnecessarily initialized with 0s in several
>functions of the 'bitarray.util' module
> -* fix '.count()' type hint in pyi-file
> -* improve testing
> 
> [...]

Applied, thanks!

[1/1] python3-bitarray: upgrade 2.9.0 -> 2.9.1
  commit: d9d42f84d73e9b4b37d8771fef5b876088c15e88

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107930): 
https://lists.openembedded.org/g/openembedded-devel/message/107930
Mute This Topic: https://lists.openembedded.org/mt/103367347/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python] [PATCH] python3-asyncinotify: upgrade 4.0.4 -> 4.0.5

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 15:09:19 +0800, wan...@fujitsu.com wrote:
> 


Applied, thanks!

[1/1] python3-asyncinotify: upgrade 4.0.4 -> 4.0.5
  commit: 47829c75bb56c9d4f424ffa46fa567428035556e

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107929): 
https://lists.openembedded.org/g/openembedded-devel/message/107929
Mute This Topic: https://lists.openembedded.org/mt/103367331/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python] [PATCH] python3-apispec: upgrade 6.3.0 -> 6.3.1

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 15:08:19 +0800, wan...@fujitsu.com wrote:
> Changelog:
> - Fix conversion of deprecated flag on parameters
> 
> 

Applied, thanks!

[1/1] python3-apispec: upgrade 6.3.0 -> 6.3.1
  commit: 054e5ea2c2db18294a099870833e7b161967640a

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107928): 
https://lists.openembedded.org/g/openembedded-devel/message/107928
Mute This Topic: https://lists.openembedded.org/mt/103367251/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe] [PATCH] opencl-headers: upgrade 2023.04.17 -> 2023.12.14

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 15:06:05 +0800, wan...@fujitsu.com wrote:
> 


Applied, thanks!

[1/1] opencl-headers: upgrade 2023.04.17 -> 2023.12.14
  commit: fb8f7ffddfcb3edc815a75b70a3c26c39f40e31f

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107926): 
https://lists.openembedded.org/g/openembedded-devel/message/107926
Mute This Topic: https://lists.openembedded.org/mt/103367244/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe] [PATCH] valijson: upgrade 1.0.1 -> 1.0.2

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 15:06:44 +0800, wan...@fujitsu.com wrote:
> 


Applied, thanks!

[1/1] valijson: upgrade 1.0.1 -> 1.0.2
  commit: bd86be802a4947266f04e014344f41853493c15d

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107927): 
https://lists.openembedded.org/g/openembedded-devel/message/107927
Mute This Topic: https://lists.openembedded.org/mt/103367247/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe] [PATCH] libqmi: upgrade 1.34.0 -> 1.35.1

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 15:04:59 +0800, wan...@fujitsu.com wrote:
> 


Applied, thanks!

[1/1] libqmi: upgrade 1.34.0 -> 1.35.1
  commit: f690ea9e33d9ff80bb3e7434a5ce428c7a4a0c6c

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107925): 
https://lists.openembedded.org/g/openembedded-devel/message/107925
Mute This Topic: https://lists.openembedded.org/mt/103367240/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe] [PATCH] libmbim: upgrade 1.31.1 -> 1.31.2

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 15:03:39 +0800, wan...@fujitsu.com wrote:
> 


Applied, thanks!

[1/1] libmbim: upgrade 1.31.1 -> 1.31.2
  commit: dd093656b9cc2def64307387ba45da61451d5397

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107924): 
https://lists.openembedded.org/g/openembedded-devel/message/107924
Mute This Topic: https://lists.openembedded.org/mt/103367236/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe] [PATCH] jq: upgrade 1.7 -> 1.7.1

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 15:01:07 +0800, wan...@fujitsu.com wrote:
> Changelog:
> ==
> - CVE-2023-50246: Fix heap buffer overflow in jvp\_literal\_number\_literal
> - CVE-2023-50268: fix stack-buffer-overflow if comparing nan with payload
> 
> 

Applied, thanks!

[1/1] jq: upgrade 1.7 -> 1.7.1
  commit: bef4681e41882684022a4d95036aab8f2632ed15

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107923): 
https://lists.openembedded.org/g/openembedded-devel/message/107923
Mute This Topic: https://lists.openembedded.org/mt/103367230/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe] [PATCH] jasper: Fix install conflict when enable multilib.

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 15:00:33 +0800, wan...@fujitsu.com wrote:
> Error: Transaction test error:
>   file /usr/include/jasper/jas_config.h conflicts between attempted installs 
> of lib32-jasper-dev-4.1.1-r0.armv7ahf_neon and jasper-dev-4.1.1-r0.cortexa57
> 
> The differences between the two files are as follows:
> @@ -44,10 +44,10 @@
>  /* #undef JAS_HAVE_INT128_T */
> 
> [...]

Applied, thanks!

[1/1] jasper: Fix install conflict when enable multilib.
  commit: 85360acc4d93e135a647bf4819b9ba524df3cdf0

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107922): 
https://lists.openembedded.org/g/openembedded-devel/message/107922
Mute This Topic: https://lists.openembedded.org/mt/103367220/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe] [PATCH] exiftool: upgrade 12.70 -> 12.71

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 14:56:14 +0800, wan...@fujitsu.com wrote:
> Changelog:
> 
> - Added a warning if there was an error reading an alternate file with the
>   -fileNUM option
> - Added the ability to write QuickTime Keys:Encoder
> - Added a few new Canon LensType values
> - Added a new, obscure EXIF tag
> - Decode real-time metadata from Ricoh Theta videos
> - Decode SpecularWhiteLevel for more Canon models (github #232)
> - Decode Canon DualPixelRaw tag
> - Decode a few new Nikon tags
> - Decode more FujiFilm M-RAW tags
> - Improved generation of tag names for some JSON tag ID's containing colons
> - Fixed "Undefined subroutine" error when writing makernotes as a block
> - Fixed missing ID in family 7 group name for ID3 tags which are not valid for
>   the specified ID3 version
> - Fixed bug where some tags from alternate files (with the -fileNUM option)
>   could show up as "not defined" when used in expressions even though they did
>   exist
> - API Changes:
> - Added NoMandatory option
> 
> [...]

Applied, thanks!

[1/1] exiftool: upgrade 12.70 -> 12.71
  commit: 327a0f0e613e7df6906a14b9cc85ee15820726d6

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107919): 
https://lists.openembedded.org/g/openembedded-devel/message/107919
Mute This Topic: https://lists.openembedded.org/mt/103367200/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe] [PATCH] ctags: upgrade 6.0.20231210.0 -> 6.0.20231224.0

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 14:59:55 +0800, wan...@fujitsu.com wrote:
> 


Applied, thanks!

[1/1] ctags: upgrade 6.0.20231210.0 -> 6.0.20231224.0
  commit: 51648324086a34abe212c659ce3e6b70edd0e210

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107921): 
https://lists.openembedded.org/g/openembedded-devel/message/107921
Mute This Topic: https://lists.openembedded.org/mt/103367217/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-networking] [PATCH] uftp: upgrade 5.0.2 -> 5.0.3

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 14:59:02 +0800, wan...@fujitsu.com wrote:
> Changelog:
> ===
> -A memory leak fix in the prior version wasn't applied correctly, resulting
>  in an invalid memory access causing a crash.
> 
> 

Applied, thanks!

[1/1] uftp: upgrade 5.0.2 -> 5.0.3
  commit: 5d050f078afcb24d0532367592b074ae0787b06f

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107920): 
https://lists.openembedded.org/g/openembedded-devel/message/107920
Mute This Topic: https://lists.openembedded.org/mt/103367203/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe] [PATCH] dbus-cxx: upgrade 2.4.0 -> 2.5.0

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 14:55:41 +0800, wan...@fujitsu.com wrote:
> 


Applied, thanks!

[1/1] dbus-cxx: upgrade 2.4.0 -> 2.5.0
  commit: 0739cb15d5133ab1576ebb197edacc222a14e737

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107918): 
https://lists.openembedded.org/g/openembedded-devel/message/107918
Mute This Topic: https://lists.openembedded.org/mt/103367186/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH] libharu: upgrade 2.3.0 -> 2.4.4

2023-12-30 Thread Khem Raj

On Tue, 26 Dec 2023 09:32:50 +0300, alperak wrote:
> * Dropped patches because fixed in the new version.
> 
> Changelog:
> 
> * Add copy hpdf_namedict.h at install
> * Added page boundary support.
> * fixed glyph index to be 16 bit unsigned instead of signed
> * Bug fixes
> * Shared library has an SOVERSION now
> * Fixed HPDF_FToA for small values
> * Add static hpdf_version.h header
> * hpdf_version.h included again
> * File attachment issue resolved
> * Renamed *_LIBZ defines to _*ZLIB, enables compression of PDF files again.
> * Reinstated hpdf_version.h
> * Fixed library name
> * Set correct version number
> * Add support for free-form triangle shading objects.
> * Fix config constant to match use in hpdf_mmgr.c
> * Improve small number writing in HPDF_FToA.
> * Fix missing /CapHeight key in font definition
> * Change HPDF_Page_CreateXObjectFromImage zoom parameter type to HPDF
> * Fix another case of png files with background mask save uncompressed
> * Avoid issue with libtiff duplicate symbols
> * Reajust bit_depth of png image after striping depth from 16 to 8.
> * Fixed typo in Japanese font name: Mincyo -> Mincho
> * Fix various typos
> * hpdf.h: add missing HPDF_Boolean typedef
> * Moved to a CMake only build environment.
> * Fix bad unicode in comment
> * Fix various typos
> 
> [...]

Applied, thanks!

[1/1] libharu: upgrade 2.3.0 -> 2.4.4
  commit: b9b9a9578b484741edfe451cac324c2761c07454

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107917): 
https://lists.openembedded.org/g/openembedded-devel/message/107917
Mute This Topic: https://lists.openembedded.org/mt/103367119/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH] hstr: upgrade 2.5.0 -> 3.1.0

2023-12-30 Thread Khem Raj

On Sun, 24 Dec 2023 12:01:36 +0300, alperak wrote:
> Changelog:
> 
> * Released v3.1.0 - Minor release fixing a Bash function that is used
>   when ioctl/TIOCSTI is not available.
> 
> * Released v3.0.0 - major release which adds ability of HSTR to work
>   on operating systems and Linux kernels without ioctl/TIOCSTI support.
> 
> [...]

Applied, thanks!

[1/1] hstr: upgrade 2.5.0 -> 3.1.0
  commit: aebb88b41f3c22ba737ad570d6cf44812f8f63c7

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107915): 
https://lists.openembedded.org/g/openembedded-devel/message/107915
Mute This Topic: https://lists.openembedded.org/mt/103345360/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH v3] bearssl: Upgrade to latest

2023-12-30 Thread Khem Raj

On Sun, 24 Dec 2023 15:44:58 +, Alex Kiernan wrote:
> Install headers so that dependencies can use this to build against. Make
> `brssl` executable, fixup library soname. Drop patches which change
> build flags in favour of command line overrides. Add support for static
> build.
> 
> Changes:
> 
> [...]

Applied, thanks!

[1/1] bearssl: Upgrade to latest
  commit: bf4d7f62840ceef1f6319f161a40c4cdc8b2338a

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107916): 
https://lists.openembedded.org/g/openembedded-devel/message/107916
Mute This Topic: https://lists.openembedded.org/mt/103348705/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-networking][PATCH V3] open-vm-tools: upgrade 12.1.5 -> 12.3.5

2023-12-30 Thread Khem Raj

On Sun, 24 Dec 2023 15:36:47 +0800, Yi Zhao wrote:
> Release Notes:
> https://github.com/vmware/open-vm-tools/blob/stable-12.3.5/ReleaseNotes.md
> ChangeLog:
> https://github.com/vmware/open-vm-tools/blob/stable-12.3.5/open-vm-tools/ChangeLog
> 
> 

Applied, thanks!

[1/1] open-vm-tools: upgrade 12.1.5 -> 12.3.5
  commit: ffd3a042d9c8dd55b993eafee72bcd48edcce361

Best regards,
-- 
Khem Raj 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107914): 
https://lists.openembedded.org/g/openembedded-devel/message/107914
Mute This Topic: https://lists.openembedded.org/mt/103344905/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-multimedia][PATCH 2/2] libcamera: Fix build with python 3.12

2023-12-30 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 .../0001-mojom-Drop-using-imp-module.patch| 176 ++
 .../libcamera/libcamera_0.1.0.bb  |   1 +
 2 files changed, 177 insertions(+)
 create mode 100644 
meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-mojom-Drop-using-imp-module.patch

diff --git 
a/meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-mojom-Drop-using-imp-module.patch
 
b/meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-mojom-Drop-using-imp-module.patch
new file mode 100644
index 00..b07a790596
--- /dev/null
+++ 
b/meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-mojom-Drop-using-imp-module.patch
@@ -0,0 +1,176 @@
+From 23a9bbb9ab380344c5daf5bc0109fab249e41afd Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Sat, 30 Dec 2023 10:55:44 -0800
+Subject: [PATCH] mojom: Drop using imp module.
+
+This module is gone in python 3.12 onwards, in most places it is unused
+so remove from those places, in some places where its still is needed
+replace it with importlib.util
+
+Fixes [1]
+
+[1] https://bugs.libcamera.org/show_bug.cgi?id=206
+
+Upstream-Status: Submitted 
[https://lists.libcamera.org/pipermail/libcamera-devel/2023-December/039986.html]
+Signed-off-by: Khem Raj 
+---
+ utils/ipc/mojo/public/tools/mojom/mojom/fileutil.py| 1 -
+ .../ipc/mojo/public/tools/mojom/mojom/fileutil_unittest.py | 1 -
+ .../tools/mojom/mojom/generate/generator_unittest.py   | 7 ++-
+ .../tools/mojom/mojom/generate/translate_unittest.py   | 1 -
+ .../mojo/public/tools/mojom/mojom/parse/ast_unittest.py| 1 -
+ .../mojom/mojom/parse/conditional_features_unittest.py | 7 ++-
+ utils/ipc/mojo/public/tools/mojom/mojom/parse/lexer.py | 1 -
+ .../mojo/public/tools/mojom/mojom/parse/lexer_unittest.py  | 6 ++
+ .../mojo/public/tools/mojom/mojom/parse/parser_unittest.py | 1 -
+ 9 files changed, 6 insertions(+), 20 deletions(-)
+
+diff --git a/utils/ipc/mojo/public/tools/mojom/mojom/fileutil.py 
b/utils/ipc/mojo/public/tools/mojom/mojom/fileutil.py
+index bf626f54..e1c823da 100644
+--- a/utils/ipc/mojo/public/tools/mojom/mojom/fileutil.py
 b/utils/ipc/mojo/public/tools/mojom/mojom/fileutil.py
+@@ -3,7 +3,6 @@
+ # found in the LICENSE file.
+ 
+ import errno
+-import imp
+ import os.path
+ import sys
+ 
+diff --git a/utils/ipc/mojo/public/tools/mojom/mojom/fileutil_unittest.py 
b/utils/ipc/mojo/public/tools/mojom/mojom/fileutil_unittest.py
+index ff5753a2..e754151f 100644
+--- a/utils/ipc/mojo/public/tools/mojom/mojom/fileutil_unittest.py
 b/utils/ipc/mojo/public/tools/mojom/mojom/fileutil_unittest.py
+@@ -2,7 +2,6 @@
+ # Use of this source code is governed by a BSD-style license that can be
+ # found in the LICENSE file.
+ 
+-import imp
+ import os.path
+ import shutil
+ import sys
+diff --git 
a/utils/ipc/mojo/public/tools/mojom/mojom/generate/generator_unittest.py 
b/utils/ipc/mojo/public/tools/mojom/mojom/generate/generator_unittest.py
+index 32c884a8..6cae6092 100644
+--- a/utils/ipc/mojo/public/tools/mojom/mojom/generate/generator_unittest.py
 b/utils/ipc/mojo/public/tools/mojom/mojom/generate/generator_unittest.py
+@@ -2,7 +2,7 @@
+ # Use of this source code is governed by a BSD-style license that can be
+ # found in the LICENSE file.
+ 
+-import imp
++import importlib.util
+ import os.path
+ import sys
+ import unittest
+@@ -18,10 +18,7 @@ def _GetDirAbove(dirname):
+ if tail == dirname:
+   return path
+ 
+-
+-try:
+-  imp.find_module("mojom")
+-except ImportError:
++if importlib.util.find_spec("mojom") is None:
+   sys.path.append(os.path.join(_GetDirAbove("pylib"), "pylib"))
+ from mojom.generate import generator
+ 
+diff --git 
a/utils/ipc/mojo/public/tools/mojom/mojom/generate/translate_unittest.py 
b/utils/ipc/mojo/public/tools/mojom/mojom/generate/translate_unittest.py
+index 19905c8a..09724d88 100644
+--- a/utils/ipc/mojo/public/tools/mojom/mojom/generate/translate_unittest.py
 b/utils/ipc/mojo/public/tools/mojom/mojom/generate/translate_unittest.py
+@@ -2,7 +2,6 @@
+ # Use of this source code is governed by a BSD-style license that can be
+ # found in the LICENSE file.
+ 
+-import imp
+ import os.path
+ import sys
+ import unittest
+diff --git a/utils/ipc/mojo/public/tools/mojom/mojom/parse/ast_unittest.py 
b/utils/ipc/mojo/public/tools/mojom/mojom/parse/ast_unittest.py
+index 62798631..4ab51033 100644
+--- a/utils/ipc/mojo/public/tools/mojom/mojom/parse/ast_unittest.py
 b/utils/ipc/mojo/public/tools/mojom/mojom/parse/ast_unittest.py
+@@ -2,7 +2,6 @@
+ # Use of this source code is governed by a BSD-style license that can be
+ # found in the LICENSE file.
+ 
+-import imp
+ import os.path
+ import sys
+ import unittest
+diff --git 
a/utils/ipc/mojo/public/tools/mojom/mojom/parse/conditional_features_unittest.py
 
b/utils/ipc/mojo/public/tools/mojom/mojom/parse/conditional_features_unittest.py
+index aa609be7..f3c2c95f 100644
+--- 
a/utils/ipc/mojo/public/tools/mojom/mojom/parse/conditional_fe

[oe] [meta-multimedia][PATCH 2/2] libcamera: Fix build with python 3.12

2023-12-30 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 .../0001-mojom-Drop-using-imp-module.patch| 176 ++
 .../libcamera/libcamera_0.1.0.bb  |   1 +
 2 files changed, 177 insertions(+)
 create mode 100644 
meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-mojom-Drop-using-imp-module.patch

diff --git 
a/meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-mojom-Drop-using-imp-module.patch
 
b/meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-mojom-Drop-using-imp-module.patch
new file mode 100644
index 00..b07a790596
--- /dev/null
+++ 
b/meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-mojom-Drop-using-imp-module.patch
@@ -0,0 +1,176 @@
+From 23a9bbb9ab380344c5daf5bc0109fab249e41afd Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Sat, 30 Dec 2023 10:55:44 -0800
+Subject: [PATCH] mojom: Drop using imp module.
+
+This module is gone in python 3.12 onwards, in most places it is unused
+so remove from those places, in some places where its still is needed
+replace it with importlib.util
+
+Fixes [1]
+
+[1] https://bugs.libcamera.org/show_bug.cgi?id=206
+
+Upstream-Status: Submitted 
[https://lists.libcamera.org/pipermail/libcamera-devel/2023-December/039986.html]
+Signed-off-by: Khem Raj 
+---
+ utils/ipc/mojo/public/tools/mojom/mojom/fileutil.py| 1 -
+ .../ipc/mojo/public/tools/mojom/mojom/fileutil_unittest.py | 1 -
+ .../tools/mojom/mojom/generate/generator_unittest.py   | 7 ++-
+ .../tools/mojom/mojom/generate/translate_unittest.py   | 1 -
+ .../mojo/public/tools/mojom/mojom/parse/ast_unittest.py| 1 -
+ .../mojom/mojom/parse/conditional_features_unittest.py | 7 ++-
+ utils/ipc/mojo/public/tools/mojom/mojom/parse/lexer.py | 1 -
+ .../mojo/public/tools/mojom/mojom/parse/lexer_unittest.py  | 6 ++
+ .../mojo/public/tools/mojom/mojom/parse/parser_unittest.py | 1 -
+ 9 files changed, 6 insertions(+), 20 deletions(-)
+
+diff --git a/utils/ipc/mojo/public/tools/mojom/mojom/fileutil.py 
b/utils/ipc/mojo/public/tools/mojom/mojom/fileutil.py
+index bf626f54..e1c823da 100644
+--- a/utils/ipc/mojo/public/tools/mojom/mojom/fileutil.py
 b/utils/ipc/mojo/public/tools/mojom/mojom/fileutil.py
+@@ -3,7 +3,6 @@
+ # found in the LICENSE file.
+ 
+ import errno
+-import imp
+ import os.path
+ import sys
+ 
+diff --git a/utils/ipc/mojo/public/tools/mojom/mojom/fileutil_unittest.py 
b/utils/ipc/mojo/public/tools/mojom/mojom/fileutil_unittest.py
+index ff5753a2..e754151f 100644
+--- a/utils/ipc/mojo/public/tools/mojom/mojom/fileutil_unittest.py
 b/utils/ipc/mojo/public/tools/mojom/mojom/fileutil_unittest.py
+@@ -2,7 +2,6 @@
+ # Use of this source code is governed by a BSD-style license that can be
+ # found in the LICENSE file.
+ 
+-import imp
+ import os.path
+ import shutil
+ import sys
+diff --git 
a/utils/ipc/mojo/public/tools/mojom/mojom/generate/generator_unittest.py 
b/utils/ipc/mojo/public/tools/mojom/mojom/generate/generator_unittest.py
+index 32c884a8..6cae6092 100644
+--- a/utils/ipc/mojo/public/tools/mojom/mojom/generate/generator_unittest.py
 b/utils/ipc/mojo/public/tools/mojom/mojom/generate/generator_unittest.py
+@@ -2,7 +2,7 @@
+ # Use of this source code is governed by a BSD-style license that can be
+ # found in the LICENSE file.
+ 
+-import imp
++import importlib.util
+ import os.path
+ import sys
+ import unittest
+@@ -18,10 +18,7 @@ def _GetDirAbove(dirname):
+ if tail == dirname:
+   return path
+ 
+-
+-try:
+-  imp.find_module("mojom")
+-except ImportError:
++if importlib.util.find_spec("mojom") is None:
+   sys.path.append(os.path.join(_GetDirAbove("pylib"), "pylib"))
+ from mojom.generate import generator
+ 
+diff --git 
a/utils/ipc/mojo/public/tools/mojom/mojom/generate/translate_unittest.py 
b/utils/ipc/mojo/public/tools/mojom/mojom/generate/translate_unittest.py
+index 19905c8a..09724d88 100644
+--- a/utils/ipc/mojo/public/tools/mojom/mojom/generate/translate_unittest.py
 b/utils/ipc/mojo/public/tools/mojom/mojom/generate/translate_unittest.py
+@@ -2,7 +2,6 @@
+ # Use of this source code is governed by a BSD-style license that can be
+ # found in the LICENSE file.
+ 
+-import imp
+ import os.path
+ import sys
+ import unittest
+diff --git a/utils/ipc/mojo/public/tools/mojom/mojom/parse/ast_unittest.py 
b/utils/ipc/mojo/public/tools/mojom/mojom/parse/ast_unittest.py
+index 62798631..4ab51033 100644
+--- a/utils/ipc/mojo/public/tools/mojom/mojom/parse/ast_unittest.py
 b/utils/ipc/mojo/public/tools/mojom/mojom/parse/ast_unittest.py
+@@ -2,7 +2,6 @@
+ # Use of this source code is governed by a BSD-style license that can be
+ # found in the LICENSE file.
+ 
+-import imp
+ import os.path
+ import sys
+ import unittest
+diff --git 
a/utils/ipc/mojo/public/tools/mojom/mojom/parse/conditional_features_unittest.py
 
b/utils/ipc/mojo/public/tools/mojom/mojom/parse/conditional_features_unittest.py
+index aa609be7..f3c2c95f 100644
+--- 
a/utils/ipc/mojo/public/tools/mojom/mojom/parse/conditional_fe

Re: [oe] [meta-oe][PATCH] ssd1306_git.bb: Add ssd1306_linux

2023-12-30 Thread Khem Raj
On Sat, Dec 30, 2023 at 9:11 AM Leon Anavi  wrote:

> Add ssd1306_linux, a simple OLED I2C SSD1306 Linux driver based on
> the i2c library libi2c from i2c-tools. Example usage for a
> compatible display with resolution 128x64 pixels:
>
> ssd1306_bin -n 1 -I 128x64
> ssd1306_bin -n 1 -c
> ssd1306_bin -n 1 -r 0
> ssd1306_bin -n 1 -x 1 -y 1
> ssd1306_bin -n 1 -l "Hello World"
>
> Signed-off-by: Leon Anavi 
> ---
>  .../ssd1306/0001-Use-include-filename.patch   | 49 +++
>  .../recipes-devtools/ssd1306/ssd1306_git.bb   | 25 ++
>  2 files changed, 74 insertions(+)
>  create mode 100644
> meta-oe/recipes-devtools/ssd1306/ssd1306/0001-Use-include-filename.patch
>  create mode 100644 meta-oe/recipes-devtools/ssd1306/ssd1306_git.bb
>
> diff --git
> a/meta-oe/recipes-devtools/ssd1306/ssd1306/0001-Use-include-filename.patch
> b/meta-oe/recipes-devtools/ssd1306/ssd1306/0001-Use-include-filename.patch
> new file mode 100644
> index 0..9ec682c7b
> --- /dev/null
> +++
> b/meta-oe/recipes-devtools/ssd1306/ssd1306/0001-Use-include-filename.patch
> @@ -0,0 +1,49 @@
> +From cb32ebbb1efb3202808809861ec3cbd811c55bd2 Mon Sep 17 00:00:00 2001
> +From: Leon Anavi 
> +Date: Sat, 30 Dec 2023 13:23:31 +
> +Subject: [PATCH] Use include "filename"
> +
> +Use include "filename" to include programmer-defined header files
> +from the same directory as the file containing the directive.
> +
> +Upstream-Status: Pending


I think it’s a good patch to submit upstream perhaps do that as well while
you are at it

>
> +
> +Signed-off-by: Leon Anavi 
> +---
> + main.c| 2 +-
> + ssd1306.c | 6 +++---
> + 2 files changed, 4 insertions(+), 4 deletions(-)
> +
> +diff --git a/main.c b/main.c
> +index c1ffc2f..18e2b84 100644
> +--- a/main.c
>  b/main.c
> +@@ -6,7 +6,7 @@
> + #include 
> + #include 
> + #include 
> +-#include 
> ++#include "ssd1306.h"
> +
> + void print_help()
> + {
> +diff --git a/ssd1306.c b/ssd1306.c
> +index a03674a..2e6ba97 100644
> +--- a/ssd1306.c
>  b/ssd1306.c
> +@@ -8,9 +8,9 @@
> + #include 
> + #include 
> + #include 
> +-#include 
> +-#include 
> +-#include 
> ++#include "linux_i2c.h"
> ++#include "ssd1306.h"
> ++#include "font.h"
> +
> + const char init_oled_type_file[] = "/tmp/.ssd1306_oled_type";
> +
> +--
> +2.39.2
> +
> diff --git a/meta-oe/recipes-devtools/ssd1306/ssd1306_git.bb
> b/meta-oe/recipes-devtools/ssd1306/ssd1306_git.bb
> new file mode 100644
> index 0..5adfd3ed6
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/ssd1306/ssd1306_git.bb
> @@ -0,0 +1,25 @@
> +SUMMARY="SSD1306 OLED I2C drive"
> +DESCRIPTION = "SSD1306 OLED I2C driver working in Linux"
> +HOMEPAGE = "https://github.com/armlabs/ssd1306_linux";
> +SECTION = "console/utils"
> +LICENSE = "MIT"
> +
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=7b694e603a996c3bfdc6093ed1f70c8f"
> +
> +SRC_URI = " \
> +git://
> github.com/armlabs/ssd1306_linux.git;protocol=https;branch=master \
> +file://0001-Use-include-filename.patch \
> +"
> +SRCREV = "7375f1088732d243f7167c9a17725f1a860da587"
> +
> +S = "${WORKDIR}/git"
> +
> +# coreutils provides fmt which is used in the Makefile
> +DEPENDS = "i2c-tools coreutils-native"
> +
> +EXTRA_OEMAKE = "CC='${CC}' CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'"
> +
> +do_install() {
> +install -d ${D}${bindir}
> +install -m 0755 ${B}/ssd1306_bin ${D}${bindir}
> +}
> --
> 2.39.2
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107911): 
https://lists.openembedded.org/g/openembedded-devel/message/107911
Mute This Topic: https://lists.openembedded.org/mt/103434392/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python][PATCH 1/7] python3-pydantic-core: add v2.14.5

2023-12-30 Thread Khem Raj
If you are building master branch of meta-openembedded with nanbield of
poly then perhaps that combination should be marked invalid. We should also
bump the layer compat for master branch of meta-openembedded to move to
next release code name

On Sat, Dec 30, 2023 at 3:10 AM Alexandre Belloni via lists.openembedded.org
 wrote:

> Hello,
>
> This causes the following failure:
> ERROR: ParseError at
> /home/pokybuild/yocto-worker/metrics/build/meta-openembedded/meta-python/recipes-devtools/python/
> python3-pydantic-core_2.14.5.bb:17: Could not inherit file
> classes/python_maturin.bbclass
> ERROR: Parsing halted due to errors, see error messages above
>
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/138/builds/947/steps/20/logs/stdio
>
> The reason is that this is built with the nanbield branch of poky which
> doesn't have maturin.
>
> On 07/12/2023 15:23:51-0800, Tim Orling wrote:
> > Runtime dependency for current python3-pydantic
> >
> > This package provides the core functionality for pydantic validation and
> serialization.
> >
> > Pydantic-core is currently around 17x faster than pydantic V1. See
> tests/benchmarks/ for details.
> > https://github.com/pydantic/pydantic-core/tree/v2.14.5/tests/benchmarks
> >
> > Signed-off-by: Tim Orling 
> > ---
> >  .../python/python3-pydantic-core-crates.inc   | 166 ++
> >  .../python/python3-pydantic-core_2.14.5.bb|  25 +++
> >  2 files changed, 191 insertions(+)
> >  create mode 100644
> meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc
> >  create mode 100644 meta-python/recipes-devtools/python/
> python3-pydantic-core_2.14.5.bb
> >
> > diff --git
> a/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc
> b/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc
> > new file mode 100644
> > index 0..932cfc852
> > --- /dev/null
> > +++
> b/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc
> > @@ -0,0 +1,166 @@
> > +# Autogenerated with 'bitbake -c update_crates python3-pydantic-core'
> > +
> > +# from Cargo.lock
> > +SRC_URI += " \
> > +crate://crates.io/ahash/0.8.6 \
> > +crate://crates.io/aho-corasick/1.0.2 \
> > +crate://crates.io/autocfg/1.1.0 \
> > +crate://crates.io/base64/0.21.5 \
> > +crate://crates.io/bitflags/1.3.2 \
> > +crate://crates.io/cc/1.0.79 \
> > +crate://crates.io/cfg-if/1.0.0 \
> > +crate://crates.io/enum_dispatch/0.3.12 \
> > +crate://crates.io/equivalent/1.0.1 \
> > +crate://crates.io/form_urlencoded/1.2.0 \
> > +crate://crates.io/getrandom/0.2.10 \
> > +crate://crates.io/hashbrown/0.14.0 \
> > +crate://crates.io/heck/0.4.1 \
> > +crate://crates.io/idna/0.4.0 \
> > +crate://crates.io/indexmap/2.0.0 \
> > +crate://crates.io/indoc/2.0.4 \
> > +crate://crates.io/itoa/1.0.8 \
> > +crate://crates.io/jiter/0.0.4 \
> > +crate://crates.io/lexical-core/0.8.5 \
> > +crate://crates.io/lexical-parse-float/0.8.5 \
> > +crate://crates.io/lexical-parse-integer/0.8.6 \
> > +crate://crates.io/lexical-util/0.8.5 \
> > +crate://crates.io/lexical-write-float/0.8.5 \
> > +crate://crates.io/lexical-write-integer/0.8.5 \
> > +crate://crates.io/libc/0.2.147 \
> > +crate://crates.io/lock_api/0.4.10 \
> > +crate://crates.io/memchr/2.6.3 \
> > +crate://crates.io/memoffset/0.9.0 \
> > +crate://crates.io/num-bigint/0.4.4 \
> > +crate://crates.io/num-integer/0.1.45 \
> > +crate://crates.io/num-traits/0.2.16 \
> > +crate://crates.io/once_cell/1.18.0 \
> > +crate://crates.io/parking_lot/0.12.1 \
> > +crate://crates.io/parking_lot_core/0.9.8 \
> > +crate://crates.io/percent-encoding/2.3.0 \
> > +crate://crates.io/proc-macro2/1.0.69 \
> > +crate://crates.io/pyo3/0.20.0 \
> > +crate://crates.io/pyo3-build-config/0.20.0 \
> > +crate://crates.io/pyo3-ffi/0.20.0 \
> > +crate://crates.io/pyo3-macros/0.20.0 \
> > +crate://crates.io/pyo3-macros-backend/0.20.0 \
> > +crate://crates.io/python3-dll-a/0.2.9 \
> > +crate://crates.io/quote/1.0.29 \
> > +crate://crates.io/redox_syscall/0.3.5 \
> > +crate://crates.io/regex/1.10.2 \
> > +crate://crates.io/regex-automata/0.4.3 \
> > +crate://crates.io/regex-syntax/0.8.2 \
> > +crate://crates.io/rustversion/1.0.13 \
> > +crate://crates.io/ryu/1.0.14 \
> > +crate://crates.io/scopeguard/1.1.0 \
> > +crate://crates.io/serde/1.0.190 \
> > +crate://crates.io/serde_derive/1.0.190 \
> > +crate://crates.io/serde_json/1.0.108 \
> > +crate://crates.io/smallvec/1.11.1 \
> > +crate://crates.io/speedate/0.13.0 \
> > +crate://crates.io/static_assertions/1.1.0 \
> > +crate://crates.io/strum/0.25.0 \
> > +crate://crates.io/strum_macros/0.25.3 \
> > +crate://crates.io/syn/2.0.38 \
> > +crate://crates.io/target-lexicon/0.12.9 \
> > +crate://crates.io/tinyvec/1.6.0 \
> > +crate://crates.io/tinyvec_macros/0.1.1 \

[oe] [meta-oe][PATCH v3] bonnie++: New recipe for version 2.0

2023-12-30 Thread Jörg Sommer via lists . openembedded . org
From: Jörg Sommer 

Newer versions of bonnie get published on
. Unfortunately, the new version
doesn't compile with g++ 11 which requires *fix-csv2html-data.patch* and
configure fails due to cross compilation which gets fixed
with *fix-configure-lfs.patch*

Signed-off-by: Jörg Sommer 
---
 .../bonnie/bonnie++/fix-configure-lfs.patch   |  39 
 .../bonnie/bonnie++/fix-csv2html-data.patch   | 183 ++
 .../makefile-use-link-for-helper.patch|  24 +++
 .../bonnie/bonnie++_2.00a.bb  |  33 
 4 files changed, 279 insertions(+)
 create mode 100644 
meta-oe/recipes-benchmark/bonnie/bonnie++/fix-configure-lfs.patch
 create mode 100644 
meta-oe/recipes-benchmark/bonnie/bonnie++/fix-csv2html-data.patch
 create mode 100644 
meta-oe/recipes-benchmark/bonnie/bonnie++/makefile-use-link-for-helper.patch
 create mode 100644 meta-oe/recipes-benchmark/bonnie/bonnie++_2.00a.bb

diff --git a/meta-oe/recipes-benchmark/bonnie/bonnie++/fix-configure-lfs.patch 
b/meta-oe/recipes-benchmark/bonnie/bonnie++/fix-configure-lfs.patch
new file mode 100644
index 0..af20acdcd
--- /dev/null
+++ b/meta-oe/recipes-benchmark/bonnie/bonnie++/fix-configure-lfs.patch
@@ -0,0 +1,39 @@
+Upstream-Status: Submitted 
[https://salsa.debian.org/etbe/bonnie/-/merge_requests/3/diffs?commit_id=4ffece51791ba75ddca2e664cdce726cc40c92d3]
+
+diff --git i/configure.in w/configure.in
+index 080e40c..f2a2bbe 100644
+--- i/configure.in
 w/configure.in
+@@ -82,8 +82,15 @@ void * thread_func(void * param) { return NULL; }
+   , thread_ldflags="-lpthread"
+   , thread_ldflags="-pthread")
+ 
+-AC_SUBST(large_file)
+-AC_TRY_RUN([#ifndef _LARGEFILE64_SOURCE
++AC_ARG_ENABLE(lfs,
++  [  --disable-lfs  disable large file support],
++  LFS_CHOICE=$enableval, LFS_CHOICE=check)
++
++if test "$LFS_CHOICE" = yes; then
++   bonniepp_cv_large_file=yes
++elif test "$LFS_CHOICE" = check; then
++   AC_CACHE_CHECK([whether to enable -D_LARGEFILE64_SOURCE], 
bonniepp_cv_large_file,
++  AC_TRY_RUN([#ifndef _LARGEFILE64_SOURCE
+ #define _LARGEFILE64_SOURCE
+ #endif
+ #include 
+@@ -118,8 +125,12 @@ int main () {
+   }
+   close(fd);
+   return 0;
+-}], large_file="yes")
+-if [[ -n "$large_file" ]]; then
++}], bonniepp_cv_large_file="yes"))
++fi
++
++AC_SUBST(large_file)
++
++if [[ -n "$bonniepp_cv_large_file" ]]; then
+large_file="#define _LARGEFILE64_SOURCE"
+ fi
+ 
diff --git a/meta-oe/recipes-benchmark/bonnie/bonnie++/fix-csv2html-data.patch 
b/meta-oe/recipes-benchmark/bonnie/bonnie++/fix-csv2html-data.patch
new file mode 100644
index 0..4b37b8d65
--- /dev/null
+++ b/meta-oe/recipes-benchmark/bonnie/bonnie++/fix-csv2html-data.patch
@@ -0,0 +1,183 @@
+commit 7e9433a56f22426b11cbc9bd80e0debca67c893b
+Author: Jörg Sommer 
+Date:   Mon Jun 26 12:38:30 2023 +0200
+
+csv2html: Explicitly reference data in top level
+
+With g++ 11 *data* became ambiguous with [std::data][1]. Therefore it's
+needed to explicitly address the variable from the top level scope.
+
+[1] https://en.cppreference.com/w/cpp/iterator/data
+
+Upstream-Status: Submitted 
[https://salsa.debian.org/etbe/bonnie/-/merge_requests/3/diffs?commit_id=fb13a71d56dab8aaa39233fcaaedfb0ba4ad647d]
+
+diff --git a/bon_csv2html.cpp b/bon_csv2html.cpp
+index e9d9c50..652e330 100644
+--- a/bon_csv2html.cpp
 b/bon_csv2html.cpp
+@@ -87,8 +87,8 @@ int main(int argc, char **argv)
+ read_in(buf);
+   }
+ 
+-  props = new PPCCHAR[data.size()];
+-  for(i = 0; i < data.size(); i++)
++  props = new PPCCHAR[::data.size()];
++  for(i = 0; i < ::data.size(); i++)
+   {
+ props[i] = new PCCHAR[MAX_ITEMS];
+ props[i][0] = NULL;
+@@ -109,7 +109,7 @@ int main(int argc, char **argv)
+   }
+   calc_vals();
+   int mid_width = header();
+-  for(i = 0; i < data.size(); i++)
++  for(i = 0; i < ::data.size(); i++)
+   {
+ // First print the average speed line
+ printf("");
+@@ -171,23 +171,23 @@ int compar(const void *a, const void *b)
+ 
+ void calc_vals()
+ {
+-  ITEM *arr = new ITEM[data.size()];
++  ITEM *arr = new ITEM[::data.size()];
+   for(unsigned int column_ind = 0; column_ind < MAX_ITEMS; column_ind++)
+   {
+ switch(vals[column_ind])
+ {
+ case eNoCols:
+ {
+-  for(unsigned int row_ind = 0; row_ind < data.size(); row_ind++)
++  for(unsigned int row_ind = 0; row_ind < ::data.size(); row_ind++)
+   {
+ if(column_ind == COL_CONCURRENCY)
+ {
+-  if(data[row_ind][column_ind] && strcmp("1", 
data[row_ind][column_ind]))
++  if(::data[row_ind][column_ind] && strcmp("1", 
::data[row_ind][column_ind]))
+ col_used[column_ind] = true;
+ }
+ else
+ {
+-  if(data[row_ind][column_ind] && strlen(data[row_ind][column_ind]))
++  if(::data[row_ind][column_ind] && 
strlen(::data[row_ind][column_ind]))
+ col_used[column_ind] = true;
+ }
+   }
+@@ -195,22 +195,22 @@ void

[oe] [meta-oe][PATCH] ssd1306_git.bb: Add ssd1306_linux

2023-12-30 Thread Leon Anavi
Add ssd1306_linux, a simple OLED I2C SSD1306 Linux driver based on
the i2c library libi2c from i2c-tools. Example usage for a
compatible display with resolution 128x64 pixels:

ssd1306_bin -n 1 -I 128x64
ssd1306_bin -n 1 -c
ssd1306_bin -n 1 -r 0
ssd1306_bin -n 1 -x 1 -y 1
ssd1306_bin -n 1 -l "Hello World"

Signed-off-by: Leon Anavi 
---
 .../ssd1306/0001-Use-include-filename.patch   | 49 +++
 .../recipes-devtools/ssd1306/ssd1306_git.bb   | 25 ++
 2 files changed, 74 insertions(+)
 create mode 100644 
meta-oe/recipes-devtools/ssd1306/ssd1306/0001-Use-include-filename.patch
 create mode 100644 meta-oe/recipes-devtools/ssd1306/ssd1306_git.bb

diff --git 
a/meta-oe/recipes-devtools/ssd1306/ssd1306/0001-Use-include-filename.patch 
b/meta-oe/recipes-devtools/ssd1306/ssd1306/0001-Use-include-filename.patch
new file mode 100644
index 0..9ec682c7b
--- /dev/null
+++ b/meta-oe/recipes-devtools/ssd1306/ssd1306/0001-Use-include-filename.patch
@@ -0,0 +1,49 @@
+From cb32ebbb1efb3202808809861ec3cbd811c55bd2 Mon Sep 17 00:00:00 2001
+From: Leon Anavi 
+Date: Sat, 30 Dec 2023 13:23:31 +
+Subject: [PATCH] Use include "filename"
+
+Use include "filename" to include programmer-defined header files
+from the same directory as the file containing the directive.
+
+Upstream-Status: Pending
+
+Signed-off-by: Leon Anavi 
+---
+ main.c| 2 +-
+ ssd1306.c | 6 +++---
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/main.c b/main.c
+index c1ffc2f..18e2b84 100644
+--- a/main.c
 b/main.c
+@@ -6,7 +6,7 @@
+ #include 
+ #include 
+ #include 
+-#include 
++#include "ssd1306.h"
+ 
+ void print_help()
+ {
+diff --git a/ssd1306.c b/ssd1306.c
+index a03674a..2e6ba97 100644
+--- a/ssd1306.c
 b/ssd1306.c
+@@ -8,9 +8,9 @@
+ #include 
+ #include 
+ #include 
+-#include 
+-#include 
+-#include 
++#include "linux_i2c.h"
++#include "ssd1306.h"
++#include "font.h"
+ 
+ const char init_oled_type_file[] = "/tmp/.ssd1306_oled_type";
+ 
+-- 
+2.39.2
+
diff --git a/meta-oe/recipes-devtools/ssd1306/ssd1306_git.bb 
b/meta-oe/recipes-devtools/ssd1306/ssd1306_git.bb
new file mode 100644
index 0..5adfd3ed6
--- /dev/null
+++ b/meta-oe/recipes-devtools/ssd1306/ssd1306_git.bb
@@ -0,0 +1,25 @@
+SUMMARY="SSD1306 OLED I2C drive"
+DESCRIPTION = "SSD1306 OLED I2C driver working in Linux"
+HOMEPAGE = "https://github.com/armlabs/ssd1306_linux";
+SECTION = "console/utils"
+LICENSE = "MIT"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7b694e603a996c3bfdc6093ed1f70c8f"
+
+SRC_URI = " \
+git://github.com/armlabs/ssd1306_linux.git;protocol=https;branch=master \
+file://0001-Use-include-filename.patch \
+"
+SRCREV = "7375f1088732d243f7167c9a17725f1a860da587"
+
+S = "${WORKDIR}/git"
+
+# coreutils provides fmt which is used in the Makefile
+DEPENDS = "i2c-tools coreutils-native"
+
+EXTRA_OEMAKE = "CC='${CC}' CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'"
+
+do_install() {
+install -d ${D}${bindir}
+install -m 0755 ${B}/ssd1306_bin ${D}${bindir}
+}
-- 
2.39.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107908): 
https://lists.openembedded.org/g/openembedded-devel/message/107908
Mute This Topic: https://lists.openembedded.org/mt/103434392/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python][PATCH 1/7] python3-pydantic-core: add v2.14.5

2023-12-30 Thread Alexandre Belloni via lists.openembedded.org
Hello,

This causes the following failure:
ERROR: ParseError at 
/home/pokybuild/yocto-worker/metrics/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.5.bb:17:
 Could not inherit file classes/python_maturin.bbclass
ERROR: Parsing halted due to errors, see error messages above

https://autobuilder.yoctoproject.org/typhoon/#/builders/138/builds/947/steps/20/logs/stdio

The reason is that this is built with the nanbield branch of poky which
doesn't have maturin.

On 07/12/2023 15:23:51-0800, Tim Orling wrote:
> Runtime dependency for current python3-pydantic
> 
> This package provides the core functionality for pydantic validation and 
> serialization.
> 
> Pydantic-core is currently around 17x faster than pydantic V1. See 
> tests/benchmarks/ for details.
> https://github.com/pydantic/pydantic-core/tree/v2.14.5/tests/benchmarks
> 
> Signed-off-by: Tim Orling 
> ---
>  .../python/python3-pydantic-core-crates.inc   | 166 ++
>  .../python/python3-pydantic-core_2.14.5.bb|  25 +++
>  2 files changed, 191 insertions(+)
>  create mode 100644 
> meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc
>  create mode 100644 
> meta-python/recipes-devtools/python/python3-pydantic-core_2.14.5.bb
> 
> diff --git 
> a/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc 
> b/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc
> new file mode 100644
> index 0..932cfc852
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc
> @@ -0,0 +1,166 @@
> +# Autogenerated with 'bitbake -c update_crates python3-pydantic-core'
> +
> +# from Cargo.lock
> +SRC_URI += " \
> +crate://crates.io/ahash/0.8.6 \
> +crate://crates.io/aho-corasick/1.0.2 \
> +crate://crates.io/autocfg/1.1.0 \
> +crate://crates.io/base64/0.21.5 \
> +crate://crates.io/bitflags/1.3.2 \
> +crate://crates.io/cc/1.0.79 \
> +crate://crates.io/cfg-if/1.0.0 \
> +crate://crates.io/enum_dispatch/0.3.12 \
> +crate://crates.io/equivalent/1.0.1 \
> +crate://crates.io/form_urlencoded/1.2.0 \
> +crate://crates.io/getrandom/0.2.10 \
> +crate://crates.io/hashbrown/0.14.0 \
> +crate://crates.io/heck/0.4.1 \
> +crate://crates.io/idna/0.4.0 \
> +crate://crates.io/indexmap/2.0.0 \
> +crate://crates.io/indoc/2.0.4 \
> +crate://crates.io/itoa/1.0.8 \
> +crate://crates.io/jiter/0.0.4 \
> +crate://crates.io/lexical-core/0.8.5 \
> +crate://crates.io/lexical-parse-float/0.8.5 \
> +crate://crates.io/lexical-parse-integer/0.8.6 \
> +crate://crates.io/lexical-util/0.8.5 \
> +crate://crates.io/lexical-write-float/0.8.5 \
> +crate://crates.io/lexical-write-integer/0.8.5 \
> +crate://crates.io/libc/0.2.147 \
> +crate://crates.io/lock_api/0.4.10 \
> +crate://crates.io/memchr/2.6.3 \
> +crate://crates.io/memoffset/0.9.0 \
> +crate://crates.io/num-bigint/0.4.4 \
> +crate://crates.io/num-integer/0.1.45 \
> +crate://crates.io/num-traits/0.2.16 \
> +crate://crates.io/once_cell/1.18.0 \
> +crate://crates.io/parking_lot/0.12.1 \
> +crate://crates.io/parking_lot_core/0.9.8 \
> +crate://crates.io/percent-encoding/2.3.0 \
> +crate://crates.io/proc-macro2/1.0.69 \
> +crate://crates.io/pyo3/0.20.0 \
> +crate://crates.io/pyo3-build-config/0.20.0 \
> +crate://crates.io/pyo3-ffi/0.20.0 \
> +crate://crates.io/pyo3-macros/0.20.0 \
> +crate://crates.io/pyo3-macros-backend/0.20.0 \
> +crate://crates.io/python3-dll-a/0.2.9 \
> +crate://crates.io/quote/1.0.29 \
> +crate://crates.io/redox_syscall/0.3.5 \
> +crate://crates.io/regex/1.10.2 \
> +crate://crates.io/regex-automata/0.4.3 \
> +crate://crates.io/regex-syntax/0.8.2 \
> +crate://crates.io/rustversion/1.0.13 \
> +crate://crates.io/ryu/1.0.14 \
> +crate://crates.io/scopeguard/1.1.0 \
> +crate://crates.io/serde/1.0.190 \
> +crate://crates.io/serde_derive/1.0.190 \
> +crate://crates.io/serde_json/1.0.108 \
> +crate://crates.io/smallvec/1.11.1 \
> +crate://crates.io/speedate/0.13.0 \
> +crate://crates.io/static_assertions/1.1.0 \
> +crate://crates.io/strum/0.25.0 \
> +crate://crates.io/strum_macros/0.25.3 \
> +crate://crates.io/syn/2.0.38 \
> +crate://crates.io/target-lexicon/0.12.9 \
> +crate://crates.io/tinyvec/1.6.0 \
> +crate://crates.io/tinyvec_macros/0.1.1 \
> +crate://crates.io/unicode-bidi/0.3.13 \
> +crate://crates.io/unicode-ident/1.0.10 \
> +crate://crates.io/unicode-normalization/0.1.22 \
> +crate://crates.io/unindent/0.2.3 \
> +crate://crates.io/url/2.4.1 \
> +crate://crates.io/uuid/1.5.0 \
> +crate://crates.io/version_check/0.9.4 \
> +crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
> +crate://crates.io/windows-targets/0.48.1 \
> +crate://crates.io/windows_aarch64_gnullvm/0.48.0 \
> +crate://crates.io/windows_aarch

Re: [oe] [meta-oe][PATCH v2] bonnie++: New recipe for version 2.0

2023-12-30 Thread Jörg Sommer via lists . openembedded . org
Are the build logs available anywhere? I would like to see do_configure and 
do_compile. I suspect that configure picks the wrong compiler.

Kind regards


Jörg Sommer

Software Developer / Programmierer

--


Navimatix GmbH

Tatzendpromenade 2

07745 Jena

T: 03641 - 327 99 0

F: 03641 - 526 306

M: joerg.som...@navimatix.de

www.navimatix.de



Geschäftsführer: Steffen Späthe, Jan Rommeley

Registergericht: Amtsgericht Jena, HRB 501480


From: Khem Raj 
Sent: Friday, 29 December 2023 17:58
To: Jörg Sommer 
Cc: openembedded-devel@lists.openembedded.org 

Subject: Re: [oe] [meta-oe][PATCH v2] bonnie++: New recipe for version 2.0

Here are some build issues seen while building for x86

https://errors.yoctoproject.org/Errors/Details/748405/

On Fri, Dec 29, 2023 at 2:19 AM Jörg Sommer via lists.openembedded.org
 wrote:
>
> From: Jörg Sommer 
>
> Newer versions of bonnie get published on
> . Unfortunately, the new version
> doesn't compile with g++ 11 which requires *fix-csv2html-data.patch* and
> configure fails due to cross compilation which gets fixed
> with *fix-configure-lfs.patch*
>
> Signed-off-by: Jörg Sommer 
> ---
>  .../bonnie/bonnie++/fix-configure-lfs.patch   |  39 
>  .../bonnie/bonnie++/fix-csv2html-data.patch   | 183 ++
>  .../bonnie/bonnie++_2.00a.bb  |  26 +++
>  3 files changed, 248 insertions(+)
>  create mode 100644 
> meta-oe/recipes-benchmark/bonnie/bonnie++/fix-configure-lfs.patch
>  create mode 100644 
> meta-oe/recipes-benchmark/bonnie/bonnie++/fix-csv2html-data.patch
>  create mode 100644 meta-oe/recipes-benchmark/bonnie/bonnie++_2.00a.bb
>
> diff --git 
> a/meta-oe/recipes-benchmark/bonnie/bonnie++/fix-configure-lfs.patch 
> b/meta-oe/recipes-benchmark/bonnie/bonnie++/fix-configure-lfs.patch
> new file mode 100644
> index 0..af20acdcd
> --- /dev/null
> +++ b/meta-oe/recipes-benchmark/bonnie/bonnie++/fix-configure-lfs.patch
> @@ -0,0 +1,39 @@
> +Upstream-Status: Submitted 
> [https://salsa.debian.org/etbe/bonnie/-/merge_requests/3/diffs?commit_id=4ffece51791ba75ddca2e664cdce726cc40c92d3]
> +
> +diff --git i/configure.in w/configure.in
> +index 080e40c..f2a2bbe 100644
> +--- i/configure.in
>  w/configure.in
> +@@ -82,8 +82,15 @@ void * thread_func(void * param) { return NULL; }
> +   , thread_ldflags="-lpthread"
> +   , thread_ldflags="-pthread")
> +
> +-AC_SUBST(large_file)
> +-AC_TRY_RUN([#ifndef _LARGEFILE64_SOURCE
> ++AC_ARG_ENABLE(lfs,
> ++  [  --disable-lfs  disable large file support],
> ++  LFS_CHOICE=$enableval, LFS_CHOICE=check)
> ++
> ++if test "$LFS_CHOICE" = yes; then
> ++   bonniepp_cv_large_file=yes
> ++elif test "$LFS_CHOICE" = check; then
> ++   AC_CACHE_CHECK([whether to enable -D_LARGEFILE64_SOURCE], 
> bonniepp_cv_large_file,
> ++  AC_TRY_RUN([#ifndef _LARGEFILE64_SOURCE
> + #define _LARGEFILE64_SOURCE
> + #endif
> + #include 
> +@@ -118,8 +125,12 @@ int main () {
> +   }
> +   close(fd);
> +   return 0;
> +-}], large_file="yes")
> +-if [[ -n "$large_file" ]]; then
> ++}], bonniepp_cv_large_file="yes"))
> ++fi
> ++
> ++AC_SUBST(large_file)
> ++
> ++if [[ -n "$bonniepp_cv_large_file" ]]; then
> +large_file="#define _LARGEFILE64_SOURCE"
> + fi
> +
> diff --git 
> a/meta-oe/recipes-benchmark/bonnie/bonnie++/fix-csv2html-data.patch 
> b/meta-oe/recipes-benchmark/bonnie/bonnie++/fix-csv2html-data.patch
> new file mode 100644
> index 0..4b37b8d65
> --- /dev/null
> +++ b/meta-oe/recipes-benchmark/bonnie/bonnie++/fix-csv2html-data.patch
> @@ -0,0 +1,183 @@
> +commit 7e9433a56f22426b11cbc9bd80e0debca67c893b
> +Author: Jörg Sommer 
> +Date:   Mon Jun 26 12:38:30 2023 +0200
> +
> +csv2html: Explicitly reference data in top level
> +
> +With g++ 11 *data* became ambiguous with [std::data][1]. Therefore it's
> +needed to explicitly address the variable from the top level scope.
> +
> +[1] https://en.cppreference.com/w/cpp/iterator/data
> +
> +Upstream-Status: Submitted 
> [https://salsa.debian.org/etbe/bonnie/-/merge_requests/3/diffs?commit_id=fb13a71d56dab8aaa39233fcaaedfb0ba4ad647d]
> +
> +diff --git a/bon_csv2html.cpp b/bon_csv2html.cpp
> +index e9d9c50..652e330 100644
> +--- a/bon_csv2html.cpp
>  b/bon_csv2html.cpp
> +@@ -87,8 +87,8 @@ int main(int argc, char **argv)
> + read_in(buf);
> +   }
> +
> +-  props = new PPCCHAR[data.size()];
> +-  for(i = 0; i < data.size(); i++)
> ++  props = new PPCCHAR[::data.size()];
> ++  for(i = 0; i < ::data.size(); i++)
> +   {
> + props[i] = new PCCHAR[MAX_ITEMS];
> + props[i][0] = NULL;
> +@@ -109,7 +109,7 @@ int main(int argc, char **argv)
> +   }
> +   calc_vals();
> +   int mid_width = header();
> +-  for(i = 0; i < data.size(); i++)
> ++  for(i = 0; i < ::data.size(); i++)
> +   {
> + // First print the average speed line
> + printf("");
> +@@ -171,23 +171,23 @@ int compar(const void *a, const void *b)
> +
> + void calc_vals()