[OE-core] [PATCH 10/10] python3-poetry-core: upgrade 1.0.8 -> 1.3.2

2022-10-08 Thread Tim Orling
For changes, see:
https://github.com/python-poetry/poetry-core/blob/main/CHANGELOG.md#132---2022-10-07

* Update license checksums to reflect current path and vendored
  components.
* Licenses remain Apache-2.0 & BSD-2-Clause & MIT

License-Update: Vendored licenses changed path; current components

Signed-off-by: Tim Orling 
---
 .../python/python3-poetry-core_1.0.8.bb   | 44 --
 .../python/python3-poetry-core_1.3.2.bb   | 45 +++
 2 files changed, 45 insertions(+), 44 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb
 create mode 100644 meta/recipes-devtools/python/python3-poetry-core_1.3.2.bb

diff --git a/meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb 
b/meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb
deleted file mode 100644
index f3e9b055218..000
--- a/meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb
+++ /dev/null
@@ -1,44 +0,0 @@
-SUMMARY = "Poetry PEP 517 Build Backend"
-DESCRIPTION = "Poetry PEP 517 Build Backend"
-HOMEPAGE = "https://github.com/python-poetry/poetry-core;
-BUGTRACKER = "https://github.com/python-poetry/poetry-core;
-CHANGELOG = 
"https://github.com/python-poetry/poetry-core/blob/master/CHANGELOG.md;
-
-LICENSE = "Apache-2.0 & BSD-2-Clause & MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=104d5c3c653aeededf4076773aa4c236 \
-
file://poetry/core/_vendor/attrs.LICENSE;md5=75bb9823a2778b5a2bd9b793fac93ea2 \
-
file://poetry/core/_vendor/jsonschema/COPYING;md5=6554d3a51d7cb0b611891317f3c69057
 \
-
file://poetry/core/_vendor/jsonschema/LICENSE;md5=2ecb81765361195731a6f72a89e449fd
 \
-
file://poetry/core/_vendor/lark-parser.LICENSE;md5=b37b83a9cf129d92ee65aaa71c01ce72
 \
-
file://poetry/core/_vendor/packaging/LICENSE;md5=7a6e56c9d54ecd731ab31c52de7942f0
 \
-
file://poetry/core/_vendor/packaging/LICENSE.APACHE;md5=29256199be2a609aac596980ffc11996
 \
-
file://poetry/core/_vendor/packaging/LICENSE.BSD;md5=f405810d173a1618433827928768bcd2
 \
-
file://poetry/core/_vendor/pyparsing.LICENSE;md5=fb46329938e6bc829b256e37d5c1e31a
 \
-
file://poetry/core/_vendor/pyrsistent/LICENSE.mit;md5=1211a1ac6eac40020d0f99c39b4e4270
 \
-
file://poetry/core/_vendor/six.LICENSE;md5=6a574656da93d9ef05431b45907e35b6 \
-
file://poetry/core/_vendor/tomlkit/LICENSE;md5=be329e5ef9c9fe86738c9afe6ef3c11c 
\
-"
-
-SRC_URI[sha256sum] = 
"951fc7c1f8d710a94cb49019ee3742125039fc659675912ea614ac2aa405b118"
-
-inherit python_poetry_core pypi
-
-RDEPENDS:${PN}:append:class-target = "\
-python3-compression \
-python3-core \
-python3-crypt \
-python3-io \
-python3-json \
-python3-logging \
-python3-netclient \
-python3-pathlib2 \
-python3-pprint \
-python3-shell \
-"
-
-RDEPENDS:${PN} += "\
-python3-pip \
-python3-six \
-"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-poetry-core_1.3.2.bb 
b/meta/recipes-devtools/python/python3-poetry-core_1.3.2.bb
new file mode 100644
index 000..1b6c76323b0
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-poetry-core_1.3.2.bb
@@ -0,0 +1,45 @@
+SUMMARY = "Poetry PEP 517 Build Backend"
+DESCRIPTION = "Poetry PEP 517 Build Backend"
+HOMEPAGE = "https://github.com/python-poetry/poetry-core;
+BUGTRACKER = "https://github.com/python-poetry/poetry-core;
+CHANGELOG = 
"https://github.com/python-poetry/poetry-core/blob/master/CHANGELOG.md;
+
+LICENSE = "Apache-2.0 & BSD-2-Clause & MIT"
+LIC_FILES_CHKSUM = "\
+file://LICENSE;md5=78c39cfd009863ae44237a7ab1f9cedc \
+
file://src/poetry/core/_vendor/attr/_version_info.py;beginline=1;endline=1;md5=b2dccaa94b3629a08bfb4f983cad6f89
 \
+
file://src/poetry/core/_vendor/attrs/LICENSE;md5=5e55731824cf9205cfabeab9a0600887
 \
+
file://src/poetry/core/_vendor/jsonschema/COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8
 \
+
file://src/poetry/core/_vendor/lark/LICENSE;md5=b37b83a9cf129d92ee65aaa71c01ce72
 \
+
file://src/poetry/core/_vendor/packaging/LICENSE;md5=faadaedca9251a90b205c9167578ce91
 \
+
file://src/poetry/core/_vendor/packaging/LICENSE.APACHE;md5=2ee41112a44fe7014dce33e26468ba93
 \
+
file://src/poetry/core/_vendor/packaging/LICENSE.BSD;md5=7bef9bf4a8e4263634d0597e7ba100b8
 \
+
file://src/poetry/core/_vendor/pyparsing/LICENSE;md5=657a566233888513e1f07ba13e2f47f1
 \
+
file://src/poetry/core/_vendor/pyrsistent/LICENSE.mit;md5=b695eb9c6e7a6fb1b1bc2d193c42776e
 \
+
file://src/poetry/core/_vendor/tomlkit/LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82
 \
+
file://src/poetry/core/_vendor/typing_extensions.LICENSE;md5=64fc2b30b67d0a8423c250e0386ed72f
 \
+"
+
+SRC_URI[sha256sum] = 
"0ab006a40cb38d6a38b97264f6835da2f08a96912f2728ce668e9ac6a34f686f"
+
+inherit python_poetry_core 

[OE-core] [PATCH 09/10] python3-iso8601: upgrade 1.0.2 -> 1.1.0

2022-10-08 Thread Tim Orling
e3b4ed3 Release 1.1.0
56da11c missed a comma
fde429d raise ParseError if we get an exception on is_iso8601()
21f5368 Add is_iso8601() function
406db6f Update license years

License-Update: copyright years updated.

Signed-off-by: Tim Orling 
---
 .../{python3-iso8601_1.0.2.bb => python3-iso8601_1.1.0.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-iso8601_1.0.2.bb => 
python3-iso8601_1.1.0.bb} (61%)

diff --git a/meta/recipes-devtools/python/python3-iso8601_1.0.2.bb 
b/meta/recipes-devtools/python/python3-iso8601_1.1.0.bb
similarity index 61%
rename from meta/recipes-devtools/python/python3-iso8601_1.0.2.bb
rename to meta/recipes-devtools/python/python3-iso8601_1.1.0.bb
index 93af233d296..797607f81e4 100644
--- a/meta/recipes-devtools/python/python3-iso8601_1.0.2.bb
+++ b/meta/recipes-devtools/python/python3-iso8601_1.1.0.bb
@@ -1,9 +1,9 @@
 SUMMARY = "Simple module to parse ISO 8601 dates"
 HOMEPAGE = "http://pyiso8601.readthedocs.org/;
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=b05625f2336fa024e8d57e65c6595844"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=aab31f2ef7ba214a5a341eaa47a7f367"
 
-SRC_URI[sha256sum] = 
"27f503220e6845d9db954fb212b95b0362d8b7e6c1b2326a87061c3de93594b1"
+SRC_URI[sha256sum] = 
"32811e7b81deee2063ea6d2e94f8819a86d1f3811e49d23623a41fa832bef03f"
 
 inherit pypi python_poetry_core
 
-- 
2.34.1


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



[OE-core] [PATCH 08/10] python3-setuptools-rust: upgrade 1.5.1 -> 1.5.2

2022-10-08 Thread Tim Orling
1.5.2 (2022-09-19)
Fixed:
* Fix regression in dylib build artifacts not being found since 1.5.0.
  #290
* Fix regression in sdist missing examples and other supplementary
  files since 1.5.0. #291

https://github.com/PyO3/setuptools-rust/blob/main/CHANGELOG.md#152-2022-09-19

Signed-off-by: Tim Orling 
---
 ...etuptools-rust_1.5.1.bb => python3-setuptools-rust_1.5.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-setuptools-rust_1.5.1.bb => 
python3-setuptools-rust_1.5.2.bb} (92%)

diff --git a/meta/recipes-devtools/python/python3-setuptools-rust_1.5.1.bb 
b/meta/recipes-devtools/python/python3-setuptools-rust_1.5.2.bb
similarity index 92%
rename from meta/recipes-devtools/python/python3-setuptools-rust_1.5.1.bb
rename to meta/recipes-devtools/python/python3-setuptools-rust_1.5.2.bb
index 24a4f4abef0..502967fd20e 100644
--- a/meta/recipes-devtools/python/python3-setuptools-rust_1.5.1.bb
+++ b/meta/recipes-devtools/python/python3-setuptools-rust_1.5.2.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=011cd92e702dd9e6b1a26157b6fd53f5"
 SRC_URI = "${PYPI_SRC_URI} \

https://files.pythonhosted.org/packages/67/08/e1aa2c582c62ac76e4d60f8e454bd3bba933781a06a88b4e38797445822a/setuptools-rust-${PV}.tar.gz
 \
"
-SRC_URI[sha256sum] = 
"0e05e456645d59429cb1021370aede73c0760e9360bbfdaaefb5bced530eb9d7"
+SRC_URI[sha256sum] = 
"d8daccb14dc0eae1b6b6eb3ecef79675bd37b4065369f79c35393dd5c55652c7"
 
 inherit cargo pypi python_setuptools_build_meta
 
-- 
2.34.1


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



[OE-core] [PATCH 07/10] python3-sphinx: upgrade 5.1.1 -> 5.2.3

2022-10-08 Thread Tim Orling
* Now uses flit-core backend (python_flit_core.bbclass)
* Sort RDEPENDS alphabetically to make it easier to see what is present.

For changes see:
https://www.sphinx-doc.org/en/master/changes.html#release-5-2-3-released-sep-30-2022
https://www.sphinx-doc.org/en/master/changes.html#release-5-2-2-released-sep-27-2022
https://www.sphinx-doc.org/en/master/changes.html#release-5-2-0-post0-released-sep-24-2022
https://www.sphinx-doc.org/en/master/changes.html#release-5-2-0-released-sep-24-2022

Signed-off-by: Tim Orling 
---
 ...phinx_5.1.1.bb => python3-sphinx_5.2.3.bb} | 25 +--
 1 file changed, 17 insertions(+), 8 deletions(-)
 rename meta/recipes-devtools/python/{python3-sphinx_5.1.1.bb => 
python3-sphinx_5.2.3.bb} (48%)

diff --git a/meta/recipes-devtools/python/python3-sphinx_5.1.1.bb 
b/meta/recipes-devtools/python/python3-sphinx_5.2.3.bb
similarity index 48%
rename from meta/recipes-devtools/python/python3-sphinx_5.1.1.bb
rename to meta/recipes-devtools/python/python3-sphinx_5.2.3.bb
index 1bef20c2e25..957bd17fc07 100644
--- a/meta/recipes-devtools/python/python3-sphinx_5.1.1.bb
+++ b/meta/recipes-devtools/python/python3-sphinx_5.2.3.bb
@@ -6,9 +6,9 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=72c536e78c21c567311b193fe00cd253"
 
 PYPI_PACKAGE = "Sphinx"
 
-SRC_URI[sha256sum] = 
"ba3224a4e206e1fbdecf98a4fae4992ef9b24b85ebf7b584bb340156eaf08d89"
+SRC_URI[sha256sum] = 
"5b10cb1022dac8c035f75767799c39217a05fc0fe2d6fe5597560d38e44f0363"
 
-inherit setuptools3 pypi
+inherit python_flit_core pypi
 
  
 do_install:append () {
@@ -17,12 +17,21 @@ do_install:append () {
 }
 
 RDEPENDS:${PN} = "\
-python3-packaging python3-docutils python3-requests \
-python3-imagesize python3-alabaster python3-jinja2 \
-python3-babel python3-pygments python3-snowballstemmer \
-python3-sphinxcontrib-applehelp python3-sphinxcontrib-devhelp \
-python3-sphinxcontrib-jsmath python3-sphinxcontrib-htmlhelp \
-python3-sphinxcontrib-serializinghtml python3-sphinxcontrib-qthelp \
+python3-alabaster \
+python3-babel \
+python3-docutils \
+python3-imagesize \
+python3-jinja2 \
+python3-packaging \
+python3-pygments \
+python3-requests \
+python3-snowballstemmer \
+python3-sphinxcontrib-applehelp \
+python3-sphinxcontrib-devhelp \
+python3-sphinxcontrib-htmlhelp \
+python3-sphinxcontrib-jsmath \
+python3-sphinxcontrib-qthelp \
+python3-sphinxcontrib-serializinghtml \
 "
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 06/10] python3-bcrypt: upgrade 3.2.2 -> 4.0.0

2022-10-08 Thread Tim Orling
* Switch to python_setuptools3_rust.bbclass
* Add crate:// (from cargo bitbake output)
* Manually fix crate:// versions to satisfy cargo

4.0.0
bcrypt is now implemented in Rust. Users building from source will
need to have a Rust compiler available. Nothing will change for users
downloading wheels.
We no longer ship manylinux2010 wheels. Users should upgrade to the
latest pip to ensure this doesn’t cause issues downloading wheels on
their platform. We now ship manylinux_2_28 wheels for users on new
enough platforms.
NUL bytes are now allowed in inputs.

https://github.com/pyca/bcrypt/#400

Signed-off-by: Tim Orling 
---
 .../python/python3-bcrypt_3.2.2.bb| 30 ---
 .../python/python3-bcrypt_4.0.0.bb| 79 +++
 2 files changed, 79 insertions(+), 30 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-bcrypt_3.2.2.bb
 create mode 100644 meta/recipes-devtools/python/python3-bcrypt_4.0.0.bb

diff --git a/meta/recipes-devtools/python/python3-bcrypt_3.2.2.bb 
b/meta/recipes-devtools/python/python3-bcrypt_3.2.2.bb
deleted file mode 100644
index 54070e4b9ca..000
--- a/meta/recipes-devtools/python/python3-bcrypt_3.2.2.bb
+++ /dev/null
@@ -1,30 +0,0 @@
-DESCRIPTION = "Modern password hashing for your software and your servers."
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c"
-HOMEPAGE = "https://pypi.org/project/bcrypt/;
-
-DEPENDS += "${PYTHON_PN}-cffi-native"
-
-SRC_URI[sha256sum] = 
"433c410c2177057705da2a9f2cd01dd157493b2a7ac14c8593a16b3dab6b6bfb"
-
-inherit pypi python_setuptools_build_meta ptest
-
-SRC_URI += " \
-   file://run-ptest \
-"
-
-RDEPENDS:${PN}-ptest += " \
-   ${PYTHON_PN}-pytest \
-"
-
-do_install_ptest() {
-   install -d ${D}${PTEST_PATH}/tests
-   cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
-
-RDEPENDS:${PN}:class-target += "\
-${PYTHON_PN}-cffi \
-${PYTHON_PN}-ctypes \
-${PYTHON_PN}-shell \
-${PYTHON_PN}-six \
-"
diff --git a/meta/recipes-devtools/python/python3-bcrypt_4.0.0.bb 
b/meta/recipes-devtools/python/python3-bcrypt_4.0.0.bb
new file mode 100644
index 000..ac795ca8ab9
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-bcrypt_4.0.0.bb
@@ -0,0 +1,79 @@
+DESCRIPTION = "Modern password hashing for your software and your servers."
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c"
+HOMEPAGE = "https://pypi.org/project/bcrypt/;
+
+DEPENDS += "${PYTHON_PN}-cffi-native"
+
+SRC_URI[sha256sum] = 
"c59c170fc9225faad04dde1ba61d85b413946e8ce2e5f5f5ff30dfd67283f319"
+
+inherit pypi python_setuptools3_rust ptest
+
+SRC_URI += " \
+crate://crates.io/autocfg/1.1.0 \
+crate://crates.io/base64/0.13.0 \
+crate://crates.io/bcrypt-pbkdf/0.8.1 \
+crate://crates.io/bcrypt/0.13.0 \
+crate://crates.io/bitflags/1.3.2 \
+crate://crates.io/block-buffer/0.10.2 \
+crate://crates.io/blowfish/0.9.1 \
+crate://crates.io/byteorder/1.4.3 \
+crate://crates.io/cfg-if/1.0.0 \
+crate://crates.io/cipher/0.4.3 \
+crate://crates.io/cpufeatures/0.2.4 \
+crate://crates.io/crypto-common/0.1.6 \
+crate://crates.io/digest/0.10.3 \
+crate://crates.io/generic-array/0.14.6 \
+crate://crates.io/getrandom/0.2.7 \
+crate://crates.io/indoc-impl/0.3.6 \
+crate://crates.io/indoc/0.3.6 \
+crate://crates.io/inout/0.1.3 \
+crate://crates.io/instant/0.1.12 \
+crate://crates.io/libc/0.2.132 \
+crate://crates.io/lock_api/0.4.7 \
+crate://crates.io/once_cell/1.13.1 \
+crate://crates.io/parking_lot/0.11.2 \
+crate://crates.io/parking_lot_core/0.8.5 \
+crate://crates.io/paste-impl/0.1.18 \
+crate://crates.io/paste/0.1.18 \
+crate://crates.io/pbkdf2/0.10.1 \
+crate://crates.io/proc-macro-hack/0.5.19 \
+crate://crates.io/proc-macro2/1.0.43 \
+crate://crates.io/pyo3-build-config/0.15.2 \
+crate://crates.io/pyo3-macros-backend/0.15.2 \
+crate://crates.io/pyo3-macros/0.15.2 \
+crate://crates.io/pyo3/0.15.2 \
+crate://crates.io/quote/1.0.21 \
+crate://crates.io/redox_syscall/0.2.16 \
+crate://crates.io/scopeguard/1.1.0 \
+crate://crates.io/sha2/0.10.2 \
+crate://crates.io/smallvec/1.9.0 \
+crate://crates.io/subtle/2.4.1 \
+crate://crates.io/syn/1.0.99 \
+crate://crates.io/typenum/1.15.0 \
+crate://crates.io/unicode-ident/1.0.3 \
+crate://crates.io/unindent/0.1.10 \
+crate://crates.io/version_check/0.9.4 \
+crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
+crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
+crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
+crate://crates.io/winapi/0.3.9 \
+crate://crates.io/zeroize/1.5.7 \
+file://run-ptest \
+"
+
+RDEPENDS:${PN}-ptest += " \
+   ${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+   install -d ${D}${PTEST_PATH}/tests
+   cp -rf ${S}/tests/* 

[OE-core] [PATCH 05/10] python3-pyopenssl: upgrade 22.0.0 -> 22.1.0

2022-10-08 Thread Tim Orling
22.1.0 (2022-09-25)
Backward-incompatible changes:

Remove support for SSLv2 and SSLv3.

The minimum cryptography version is now 38.0.x (and we now pin
releases against cryptography major versions to prevent future breakage)

The OpenSSL.crypto.X509StoreContextError exception has been
refactored, changing its internal attributes. #1133

Deprecations:

OpenSSL.SSL.SSLeay_version is deprecated in favor of
OpenSSL.SSL.OpenSSL_version. The constants OpenSSL.SSL.SSLEAY_* are
deprecated in favor of OpenSSL.SSL.OPENSSL_*.

Changes:

Add OpenSSL.SSL.Connection.set_verify and
OpenSSL.SSL.Connection.get_verify_mode to override the context object’s
verification flags. #1073

Add OpenSSL.SSL.Connection.use_certificate and
OpenSSL.SSL.Connection.use_privatekey to set a certificate per
connection (and not just per context) #1121.

Signed-off-by: Tim Orling 
---
 ...{python3-pyopenssl_22.0.0.bb => python3-pyopenssl_22.1.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-pyopenssl_22.0.0.bb => 
python3-pyopenssl_22.1.0.bb} (86%)

diff --git a/meta/recipes-devtools/python/python3-pyopenssl_22.0.0.bb 
b/meta/recipes-devtools/python/python3-pyopenssl_22.1.0.bb
similarity index 86%
rename from meta/recipes-devtools/python/python3-pyopenssl_22.0.0.bb
rename to meta/recipes-devtools/python/python3-pyopenssl_22.1.0.bb
index db0e809ef54..4d83b8c7d74 100644
--- a/meta/recipes-devtools/python/python3-pyopenssl_22.0.0.bb
+++ b/meta/recipes-devtools/python/python3-pyopenssl_22.1.0.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
 DEPENDS += "openssl ${PYTHON_PN}-cryptography"
 
-SRC_URI[sha256sum] = 
"660b1b1425aac4a1bea1d94168a85d99f0b3144c869dd4390d27629d0087f1bf"
+SRC_URI[sha256sum] = 
"7a83b7b272dd595222d672f5ce29aa030f1fb837630ef229f62e72e395ce8968"
 
 PYPI_PACKAGE = "pyOpenSSL"
 inherit pypi setuptools3
-- 
2.34.1


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



[OE-core] [PATCH 04/10] python3-hypothesis: upgrade 6.54.5 -> 6.56.1

2022-10-08 Thread Tim Orling
For changes see:
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-56-1
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-56-0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-55-0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-54-6

Signed-off-by: Tim Orling 
---
 ...ython3-hypothesis_6.54.5.bb => python3-hypothesis_6.56.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-hypothesis_6.54.5.bb => 
python3-hypothesis_6.56.1.bb} (91%)

diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.54.5.bb 
b/meta/recipes-devtools/python/python3-hypothesis_6.56.1.bb
similarity index 91%
rename from meta/recipes-devtools/python/python3-hypothesis_6.54.5.bb
rename to meta/recipes-devtools/python/python3-hypothesis_6.56.1.bb
index 9adb614493e..c16daabeefa 100644
--- a/meta/recipes-devtools/python/python3-hypothesis_6.54.5.bb
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.56.1.bb
@@ -13,7 +13,7 @@ SRC_URI += " \
 file://test_rle.py \
 "
 
-SRC_URI[sha256sum] = 
"8a9056825695f415bfad4e808ae719fc01383a9ab659775319724365afcc7ec7"
+SRC_URI[sha256sum] = 
"cefdaf6143170f1aa28adf4816d12547ab60f93c143f7d5205507d9e4804fccd"
 
 RDEPENDS:${PN} += " \
 python3-attrs \
-- 
2.34.1


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



[OE-core] [PATCH 03/10] python3-certifi: upgrade 2022.9.14 -> 2022.9.24

2022-10-08 Thread Tim Orling
The following certificate was removed:
OU=Serveis Publics de Certificacio/Vegeu
https://www.catcert.net/verarrel (c)03/Jerarquia Entitats de
Certificacio Catalanes

Signed-off-by: Tim Orling 
---
 ...ython3-certifi_2022.9.14.bb => python3-certifi_2022.9.24.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-certifi_2022.9.14.bb => 
python3-certifi_2022.9.24.bb} (86%)

diff --git a/meta/recipes-devtools/python/python3-certifi_2022.9.14.bb 
b/meta/recipes-devtools/python/python3-certifi_2022.9.24.bb
similarity index 86%
rename from meta/recipes-devtools/python/python3-certifi_2022.9.14.bb
rename to meta/recipes-devtools/python/python3-certifi_2022.9.24.bb
index 117a32b1d45..a6b7467052f 100644
--- a/meta/recipes-devtools/python/python3-certifi_2022.9.14.bb
+++ b/meta/recipes-devtools/python/python3-certifi_2022.9.24.bb
@@ -7,7 +7,7 @@ HOMEPAGE = " http://certifi.io/;
 LICENSE = "ISC"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3c2b7404369c587c3559afb604fce2f2"
 
-SRC_URI[sha256sum] = 
"36973885b9542e6bd01dea287b2b4b3b21236307c56324fcc3f1160f2d655ed5"
+SRC_URI[sha256sum] = 
"0d9c601124e5a6ba9712dbc60d9c53c21e34f5f641fe83002317394311bdce14"
 
 inherit pypi setuptools3
 
-- 
2.34.1


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



[OE-core] [PATCH 02/10] python3-cryptography-vectors: upgrade 37.0.4 -> 38.0.1

2022-10-08 Thread Tim Orling
For changes, see:
https://github.com/pyca/cryptography/blob/38.0.1/CHANGELOG.rst#3800---2022-09-07
https://github.com/pyca/cryptography/blob/38.0.1/CHANGELOG.rst#3800---2022-09-06

Signed-off-by: Tim Orling 
---
 ...vectors_37.0.4.bb => python3-cryptography-vectors_38.0.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-cryptography-vectors_37.0.4.bb => 
python3-cryptography-vectors_38.0.1.bb} (90%)

diff --git 
a/meta/recipes-devtools/python/python3-cryptography-vectors_37.0.4.bb 
b/meta/recipes-devtools/python/python3-cryptography-vectors_38.0.1.bb
similarity index 90%
rename from meta/recipes-devtools/python/python3-cryptography-vectors_37.0.4.bb
rename to meta/recipes-devtools/python/python3-cryptography-vectors_38.0.1.bb
index 270d8ceca66..43e96b48448 100644
--- a/meta/recipes-devtools/python/python3-cryptography-vectors_37.0.4.bb
+++ b/meta/recipes-devtools/python/python3-cryptography-vectors_38.0.1.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
 # NOTE: Make sure to keep this recipe at the same version as 
python3-cryptography
 #   Upgrade both recipes at the same time
 
-SRC_URI[sha256sum] = 
"5a61400510e28937a5654b40c6ea4e3e593c5aaf0c2081c5b912f0e7cf883ea8"
+SRC_URI[sha256sum] = 
"0431fd107c1fbad0377704a7051945b3b391169fddc4f6fa0bd4edc6b6e235dd"
 
 PYPI_PACKAGE = "cryptography_vectors"
 
-- 
2.34.1


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



[OE-core] [PATCH 01/10] python3-cryptography: upgrade 37.0.4 -> 38.0.1

2022-10-08 Thread Tim Orling
* Drop 0001-Cargo.toml-specify-pem-version.patch, superceded.
* Update crate:// (via cargo bitbake)
* Manually fix crate:// versions to satisfy cargo

Release notes:

38.0.1 - 2022-09-07
  - Fixed parsing TLVs in ASN.1 with length greater than 65535 bytes
(typically seen in large CRLs).

38.0.0 - 2022-09-06
  - Final deprecation of OpenSSL 1.1.0. The next release of cryptography
will drop support.
  (For complete release notes, see:
  
https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#3800---2022-09-06)

Signed-off-by: Tim Orling 
---
 .../0001-Cargo.toml-specify-pem-version.patch |  29 -
 0.4.bb => python3-cryptography_38.0.1.bb} | 113 ++
 2 files changed, 61 insertions(+), 81 deletions(-)
 delete mode 100644 
meta/recipes-devtools/python/python3-cryptography/0001-Cargo.toml-specify-pem-version.patch
 rename meta/recipes-devtools/python/{python3-cryptography_37.0.4.bb => 
python3-cryptography_38.0.1.bb} (41%)

diff --git 
a/meta/recipes-devtools/python/python3-cryptography/0001-Cargo.toml-specify-pem-version.patch
 
b/meta/recipes-devtools/python/python3-cryptography/0001-Cargo.toml-specify-pem-version.patch
deleted file mode 100644
index 7266fd7befb..000
--- 
a/meta/recipes-devtools/python/python3-cryptography/0001-Cargo.toml-specify-pem-version.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From d41203b9b79f5edc2d33b0d62921822294dfaa6b Mon Sep 17 00:00:00 2001
-From: Tim Orling 
-Date: Fri, 14 Jan 2022 22:02:25 -0800
-Subject: [PATCH] Cargo.toml: specify pem version
-
-pem = "1.0" is not resolving, specify the current
-pem = { version: "1.0.2"}
-
-Upstream-Status: Pending
-
-Signed-off-by: Tim Orling 
-

- src/rust/Cargo.toml | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/rust/Cargo.toml b/src/rust/Cargo.toml
-index d17245d..f8f6416 100644
 a/src/rust/Cargo.toml
-+++ b/src/rust/Cargo.toml
-@@ -9,7 +9,7 @@ publish = false
- lazy_static = "1"
- pyo3 = { version = "0.15.2" }
- asn1 = { version = "0.8.7", default-features = false, features = ["derive"] }
--pem = "1.0"
-+pem = { version = "1.0.2" }
- chrono = { version = "0.4", default-features = false, features = ["alloc", 
"clock"] }
- ouroboros = "0.15"
- 
diff --git a/meta/recipes-devtools/python/python3-cryptography_37.0.4.bb 
b/meta/recipes-devtools/python/python3-cryptography_38.0.1.bb
similarity index 41%
rename from meta/recipes-devtools/python/python3-cryptography_37.0.4.bb
rename to meta/recipes-devtools/python/python3-cryptography_38.0.1.bb
index c91a8c77712..905293a43e5 100644
--- a/meta/recipes-devtools/python/python3-cryptography_37.0.4.bb
+++ b/meta/recipes-devtools/python/python3-cryptography_38.0.1.bb
@@ -9,59 +9,68 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=bf405a8056a6647e7d077b0e7bc36aba \
"
 LDSHARED += "-pthread"
 
-SRC_URI[sha256sum] = 
"63f9c17c0e2474ccbebc9302ce2f07b55b3b3fcb211ded18a42d5764f5c10a82"
+SRC_URI[sha256sum] = 
"1db3d807a14931fa317f96435695d9ec386be7b84b618cc61cfa5d08b0ae33d7"
 
-SRC_URI += "file://run-ptest \
-   file://check-memfree.py \
-   file://0001-Cargo.toml-specify-pem-version.patch \
-   file://0002-Cargo.toml-edition-2018-2021.patch \
-   file://0001-pyproject.toml-remove-benchmark-disable-option.patch \
-   crate://crates.io/Inflector/0.11.4 \
-   crate://crates.io/aliasable/0.1.3 \
-   crate://crates.io/asn1/0.8.7 \
-   crate://crates.io/asn1_derive/0.8.7 \
-   crate://crates.io/autocfg/1.1.0 \
-   crate://crates.io/base64/0.13.0 \
-   crate://crates.io/bitflags/1.3.2 \
-   crate://crates.io/cfg-if/1.0.0 \
-   crate://crates.io/chrono/0.4.19 \
-   crate://crates.io/indoc-impl/0.3.6 \
-   crate://crates.io/indoc/0.3.6 \
-   crate://crates.io/instant/0.1.12 \
-   crate://crates.io/lazy_static/1.4.0 \
-   crate://crates.io/libc/0.2.124 \
-   crate://crates.io/lock_api/0.4.7 \
-   crate://crates.io/num-integer/0.1.44 \
-   crate://crates.io/num-traits/0.2.14 \
-   crate://crates.io/once_cell/1.10.0 \
-   crate://crates.io/ouroboros/0.15.0 \
-   crate://crates.io/ouroboros_macro/0.15.0 \
-   crate://crates.io/parking_lot/0.11.2 \
-   crate://crates.io/parking_lot_core/0.8.5 \
-   crate://crates.io/paste-impl/0.1.18 \
-   crate://crates.io/paste/0.1.18 \
-   crate://crates.io/pem/1.0.2 \
-   crate://crates.io/proc-macro-error-attr/1.0.4 \
-   crate://crates.io/proc-macro-error/1.0.4 \
-   crate://crates.io/proc-macro-hack/0.5.19 \
-   crate://crates.io/proc-macro2/1.0.37 \
-   crate://crates.io/pyo3-build-config/0.15.2 \
-   crate://crates.io/pyo3-macros-backend/0.15.2 \
-   crate://crates.io/pyo3-macros/0.15.2 \
-   crate://crates.io/pyo3/0.15.2 \
-   crate://crates.io/quote/1.0.18 \
-   

[OE-core] [PATCH 00/10] Post-langdale recipe upgrades

2022-10-08 Thread Tim Orling
Partitially with the help of AUH.

Notably:
 - python3-bcrypt now builds Rust extensions
 - python3-pyopenssl drops SSLv2, SSLv3; requires python3-cryptography
   38.0.x
 - python3-cryptography: final deprecation of OpenSSL 1.1.0; dropped in
   39.0.x
 - python3-poetry-core: adds Python 3.11 support

a-quick build:
https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/1935

The following changes since commit 3e5faccfaf50fee0ba8f6eef6c9bf458137d06d2:

  ref-manual/faq.rst: update references to products built with OE / Yocto 
Project (2022-10-07 10:54:26 +0100)

are available in the Git repository at:

  https://git.yoctoproject.org/poky-contrib timo/recipe-upgrades
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=timo/recipe-upgrades

Tim Orling (10):
  python3-cryptography: upgrade 37.0.4 -> 38.0.1
  python3-cryptography-vectors: upgrade 37.0.4 -> 38.0.1
  python3-certifi: upgrade 2022.9.14 -> 2022.9.24
  python3-hypothesis: upgrade 6.54.5 -> 6.56.1
  python3-pyopenssl: upgrade 22.0.0 -> 22.1.0
  python3-bcrypt: upgrade 3.2.2 -> 4.0.0
  python3-sphinx: upgrade 5.1.1 -> 5.2.3
  python3-setuptools-rust: upgrade 1.5.1 -> 1.5.2
  python3-iso8601: upgrade 1.0.2 -> 1.1.0
  python3-poetry-core: upgrade 1.0.8 -> 1.3.2

 .../python/python3-bcrypt_3.2.2.bb|  30 -
 .../python/python3-bcrypt_4.0.0.bb|  79 
 ...2.9.14.bb => python3-certifi_2022.9.24.bb} |   2 +-
 ...=> python3-cryptography-vectors_38.0.1.bb} |   2 +-
 .../0001-Cargo.toml-specify-pem-version.patch |  29 -
 0.4.bb => python3-cryptography_38.0.1.bb} | 113 ++
 ...6.54.5.bb => python3-hypothesis_6.56.1.bb} |   2 +-
 ...8601_1.0.2.bb => python3-iso8601_1.1.0.bb} |   4 +-
 .../python/python3-poetry-core_1.0.8.bb   |  44 ---
 .../python/python3-poetry-core_1.3.2.bb   |  45 +++
 ..._22.0.0.bb => python3-pyopenssl_22.1.0.bb} |   2 +-
 1.bb => python3-setuptools-rust_1.5.2.bb} |   2 +-
 ...phinx_5.1.1.bb => python3-sphinx_5.2.3.bb} |  25 ++--
 13 files changed, 209 insertions(+), 170 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-bcrypt_3.2.2.bb
 create mode 100644 meta/recipes-devtools/python/python3-bcrypt_4.0.0.bb
 rename meta/recipes-devtools/python/{python3-certifi_2022.9.14.bb => 
python3-certifi_2022.9.24.bb} (86%)
 rename meta/recipes-devtools/python/{python3-cryptography-vectors_37.0.4.bb => 
python3-cryptography-vectors_38.0.1.bb} (90%)
 delete mode 100644 
meta/recipes-devtools/python/python3-cryptography/0001-Cargo.toml-specify-pem-version.patch
 rename meta/recipes-devtools/python/{python3-cryptography_37.0.4.bb => 
python3-cryptography_38.0.1.bb} (41%)
 rename meta/recipes-devtools/python/{python3-hypothesis_6.54.5.bb => 
python3-hypothesis_6.56.1.bb} (91%)
 rename meta/recipes-devtools/python/{python3-iso8601_1.0.2.bb => 
python3-iso8601_1.1.0.bb} (61%)
 delete mode 100644 meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb
 create mode 100644 meta/recipes-devtools/python/python3-poetry-core_1.3.2.bb
 rename meta/recipes-devtools/python/{python3-pyopenssl_22.0.0.bb => 
python3-pyopenssl_22.1.0.bb} (86%)
 rename meta/recipes-devtools/python/{python3-setuptools-rust_1.5.1.bb => 
python3-setuptools-rust_1.5.2.bb} (92%)
 rename meta/recipes-devtools/python/{python3-sphinx_5.1.1.bb => 
python3-sphinx_5.2.3.bb} (48%)

-- 
2.34.1


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



Re: [OE-core] [AUH] at-spi2-core: upgrading to 2.46.0 FAILED

2022-10-08 Thread Tim Orling
On Sat, Oct 1, 2022 at 9:55 AM Auto Upgrade Helper 
wrote:

> Hello,
>
> this email is a notification from the Auto Upgrade Helper
> that the automatic attempt to upgrade the recipe *at-spi2-core* to
> *2.46.0* has Failed(do_compile).
>
> Detailed error information:
>
> do_compile failed


I have a WIP upgrade, but it drops atk and at-spi2-atk (merged into
at-spi2-core) and that is invasive with other recipes.
PACKAGES += "atk at-spi2-atk"
RPROVIDES:${PN} += "atk at-spi2-atk"
Should make this backward compatible, but more work is needed to split out
the contents of "atk" and "at-spi2-atk" packages.
 https://git.yoctoproject.org/poky-contrib/log/?h=timo/at-spi2-core_2.46.0


>

>
> Next steps:
> - apply the patch: git am 0001-at-spi2-core-upgrade-2.44.1-2.46.0.patch
> - check the changes to upstream patches and summarize them in the
> commit message,
> - compile an image that contains the package
> - perform some basic sanity tests
> - amend the patch and sign it off: git commit -s --reset-author --amend
> - send it to the appropriate mailing list
>
> Alternatively, if you believe the recipe should not be upgraded at this
> time,
> you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that
> automatic upgrades would no longer be attempted.
>
> Please review the attached files for further information and build/update
> failures.
> Any problem please file a bug at
> https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler
>
> Regards,
> The Upgrade Helper
>
> 
>
>

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



Re: [OE-Core][PATCH 2/2] u-boot: Add savedefconfig task

2022-10-08 Thread Alex Kiernan
That was my other thought... this was basically a cut and paste from the
kernel...

Happy to redo like that!


On Sat, 8 Oct 2022, 20:01 Otavio Salvador, 
wrote:

>
>
> Em sex., 7 de out. de 2022 às 13:47, Alex Kiernan 
> escreveu:
>
>> Add savedefconfig task which U-Boot supports (unfortunately not all
>> consumers of cml1 support this).
>>
>> Signed-off-by: Alex Kiernan 
>>
>
> Kernel also does, so might be nice to add it to a specific class and reuse.
>
> --
> Otavio Salvador O.S. Systems
> http://www.ossystems.com.brhttp://code.ossystems.com.br
> Mobile: +55 (53) 9 9981-7854  Mobile: +1 (347) 903-9750
>

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



Re: [OE-Core][PATCH 2/2] u-boot: Add savedefconfig task

2022-10-08 Thread Otavio Salvador
Em sex., 7 de out. de 2022 às 13:47, Alex Kiernan 
escreveu:

> Add savedefconfig task which U-Boot supports (unfortunately not all
> consumers of cml1 support this).
>
> Signed-off-by: Alex Kiernan 
>

Kernel also does, so might be nice to add it to a specific class and reuse.

-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854  Mobile: +1 (347) 903-9750

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



Re: [oe-core][PATCHv2] wic-imager-direct.py: use fstab update also for root device

2022-10-08 Thread Alexandre Belloni via lists.openembedded.org
On 08/10/2022 14:53:48+0200, Markus Volk wrote:
> Am Sa, 1. Okt 2022 um 01:11:46 +0200 schrieb Alexandre Belloni via
> lists.openembedded.org
> :
> > This causes the following failure:
> > 
> 
> Hi Alexandre,
> 
> I've looked at the problem and can reproduce the errors when I run
> 'oe-selftest -v -r overlay-fs', but unfortunately I can't really see what
> exactly the problem is. qemu just ends unexpectedly and doesn't give much
> useful information in its output. At least I am not able to find it.
> 

The issue is probably that one:
AssertionError: None is not true : diff: can't stat 
'/data/overlay-etc/lower/lower-layer-test.txt': No such file or directory

is /data in /etc/fstab?

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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



Re: [oe-core][PATCHv2] wic-imager-direct.py: use fstab update also for root device

2022-10-08 Thread Markus Volk
Am Sa, 1. Okt 2022 um 01:11:46 +0200 schrieb Alexandre Belloni via 
lists.openembedded.org 
:

This causes the following failure:



Hi Alexandre,

I've looked at the problem and can reproduce the errors when I run 
'oe-selftest -v -r overlay-fs', but unfortunately I can't really see 
what exactly the problem is. qemu just ends unexpectedly and doesn't 
give much useful information in its output. At least I am not able to 
find it.



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



Re: [OE-core] [PATCH] fix close_range fails unexpectedly in unprivileged process

2022-10-08 Thread Changqing Li

On 9/30/22 17:50, Ross Burton wrote:

[Please note: This e-mail is from an EXTERNAL e-mail address]

Yeah, this is a Docker issue. Fix your docker.

Ross


Hi,

I know this is an docker issue, but this will block yocto build in old 
docker. I noticed we already


have an local patch for glibc to fix similar issue. So, maybe this patch 
is also need.


https://git.openembedded.org/openembedded-core/tree/meta/recipes-core/glibc/glibc/0023-fix-create-thread-failed-in-unprivileged-process-BZ-.patch 



BRs

Changqing




On 30 Sep 2022, at 09:48, Changqing Li via 
lists.openembedded.org  
wrote:

From: Changqing Li

After commit [1], start a unprivileged container (docker run without 
--privileged),
close file will fail.

This is actually an docker issue, see [2]. But this issue will
block yocto build in docker with glibc2.35+. so add this local patch.

[1]https://gitlab.gnome.org/GNOME/glib/-/commit/ce04a124040be091407e070280d86ca810bacb8c
[2]https://github.com/moby/moby/issues/43595

Signed-off-by: Changqing Li
---
...fails-unexpectedly-in-unprivileged-p.patch | 46 +++
meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb |  1 +
2 files changed, 47 insertions(+)
create mode 100644 
meta/recipes-core/glib-2.0/glib-2.0/0001-fix-close_range-fails-unexpectedly-in-unprivileged-p.patch

diff --git 
a/meta/recipes-core/glib-2.0/glib-2.0/0001-fix-close_range-fails-unexpectedly-in-unprivileged-p.patch
 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-fix-close_range-fails-unexpectedly-in-unprivileged-p.patch
new file mode 100644
index 00..213ee7b11f
--- /dev/null
+++ 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-fix-close_range-fails-unexpectedly-in-unprivileged-p.patch
@@ -0,0 +1,46 @@
+From 0fb283b3b1e3b4958b985804cbc40b7bff8b0e65 Mon Sep 17 00:00:00 2001
+From: Changqing Li
+Date: Fri, 30 Sep 2022 08:29:41 +
+Subject: [PATCH] fix close_range fails unexpectedly in unprivileged process
+
+After change [1], start a unprivileged container (docker run without 
--privileged),
+close file may fail.
+
+This is actually an docker issue, see [2]. But this issue will
+block yocto build in docker with glibc2.35+. so add this local patch.
+
+[1]https://gitlab.gnome.org/GNOME/glib/-/commit/ce04a124040be091407e070280d86ca810bacb8c
+[2]https://github.com/moby/moby/issues/43595
+
+Upstream-Status: Inappropriate [Rejected by upstream]
+
+Signed-off-by: Changqing Li
+---
+ glib/gspawn.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/glib/gspawn.c b/glib/gspawn.c
+index 0a2cbe5..83553a1 100644
+--- a/glib/gspawn.c
 b/glib/gspawn.c
+@@ -1544,7 +1544,7 @@ safe_fdwalk_set_cloexec (int lowfd)
+* fall back to safe_fdwalk(). Handle EINVAL in case `CLOSE_RANGE_CLOEXEC`
+* is not supported. */
+   int ret = close_range (lowfd, G_MAXUINT, CLOSE_RANGE_CLOEXEC);
+-  if (ret == 0 || !(errno == ENOSYS || errno == EINVAL))
++  if (ret == 0 || !(errno == ENOSYS || errno == EINVAL || errno == EPERM))
+ return ret;
+ #endif  /* HAVE_CLOSE_RANGE */
+   return safe_fdwalk (set_cloexec, GINT_TO_POINTER (lowfd));
+@@ -1597,7 +1597,7 @@ safe_closefrom (int lowfd)
+* Handle ENOSYS in case it’s supported in libc but not the kernel; if so,
+* fall back to safe_fdwalk(). */
+   int ret = close_range (lowfd, G_MAXUINT, 0);
+-  if (ret == 0 || errno != ENOSYS)
++  if (ret == 0 || !(errno == ENOSYS || errno == EPERM))
+ return ret;
+ #endif  /* HAVE_CLOSE_RANGE */
+   return safe_fdwalk (close_func, GINT_TO_POINTER (lowfd));
+--
+2.34.1
+
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb 
b/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb
index dd1ea508d2..bbaacc64a4 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb
@@ -16,6 +16,7 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz 
\
file://0001-Do-not-write-bindir-into-pkg-config-files.patch  \
file://0001-meson-Run-atomics-test-on-clang-as-well.patch  \

file://0001-gio-tests-resources.c-comment-out-a-build-host-only-.patch  \
+file://0001-fix-close_range-fails-unexpectedly-in-unprivileged-p.patch  \
"
SRC_URI:append:class-native =" file://relocate-modules.patch"

--
2.34.1





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