Date   

[meta-python][PATCH 1/2] python3-django: upgrade 2.2.20 -> 2.2.22

Trevor Gamblin
 

Version 2.2.22 includes a fix for CVE-2021-32052.

Signed-off-by: Trevor Gamblin <trevor.gamblin@...>
---
.../recipes-devtools/python/python3-django_2.2.20.bb | 9 ---------
.../recipes-devtools/python/python3-django_2.2.22.bb | 9 +++++++++
2 files changed, 9 insertions(+), 9 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python3-django_2.2.20.bb
create mode 100644 meta-python/recipes-devtools/python/python3-django_2.2.22.bb

diff --git a/meta-python/recipes-devtools/python/python3-django_2.2.20.bb b/meta-python/recipes-devtools/python/python3-django_2.2.20.bb
deleted file mode 100644
index 905d022a4..000000000
--- a/meta-python/recipes-devtools/python/python3-django_2.2.20.bb
+++ /dev/null
@@ -1,9 +0,0 @@
-require python-django.inc
-inherit setuptools3
-
-SRC_URI[md5sum] = "947060d96ccc0a05e8049d839e541b25"
-SRC_URI[sha256sum] = "2569f9dc5f8e458a5e988b03d6b7a02bda59b006d6782f4ea0fd590ed7336a64"
-
-RDEPENDS_${PN} += "\
- ${PYTHON_PN}-sqlparse \
-"
diff --git a/meta-python/recipes-devtools/python/python3-django_2.2.22.bb b/meta-python/recipes-devtools/python/python3-django_2.2.22.bb
new file mode 100644
index 000000000..a0b884025
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-django_2.2.22.bb
@@ -0,0 +1,9 @@
+require python-django.inc
+inherit setuptools3
+
+SRC_URI[md5sum] = "dca447b605dcabd924ac7ba17680cf73"
+SRC_URI[sha256sum] = "db2214db1c99017cbd971e58824e6f424375154fe358afc30e976f5b99fc6060"
+
+RDEPENDS_${PN} += "\
+ ${PYTHON_PN}-sqlparse \
+"
--
2.31.1


[meta-python][PATCH 2/2] python3-django: upgrade 3.2 -> 3.2.2

Trevor Gamblin
 

Version 3.2.2 includes a fix for CVE-2021-32052.

Signed-off-by: Trevor Gamblin <trevor.gamblin@...>
---
.../python/{python3-django_3.2.bb => python3-django_3.2.2.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-python/recipes-devtools/python/{python3-django_3.2.bb => python3-django_3.2.2.bb} (59%)

diff --git a/meta-python/recipes-devtools/python/python3-django_3.2.bb b/meta-python/recipes-devtools/python/python3-django_3.2.2.bb
similarity index 59%
rename from meta-python/recipes-devtools/python/python3-django_3.2.bb
rename to meta-python/recipes-devtools/python/python3-django_3.2.2.bb
index e147e2f9d..7deac2ca9 100644
--- a/meta-python/recipes-devtools/python/python3-django_3.2.bb
+++ b/meta-python/recipes-devtools/python/python3-django_3.2.2.bb
@@ -1,7 +1,7 @@
require python-django.inc
inherit setuptools3

-SRC_URI[sha256sum] = "21f0f9643722675976004eb683c55d33c05486f94506672df3d6a141546f389d"
+SRC_URI[sha256sum] = "0a1d195ad65c52bf275b8277b3d49680bd1137a5f55039a806f25f6b9752ce3d"

RDEPENDS_${PN} += "\
${PYTHON_PN}-sqlparse \
@@ -9,5 +9,5 @@ RDEPENDS_${PN} += "\

# Set DEFAULT_PREFERENCE so that the LTS version of django is built by
# default. To build the 3.x branch,
-# PREFERRED_VERSION_python3-django = "3.2" can be added to local.conf
+# PREFERRED_VERSION_python3-django = "3.2.2" can be added to local.conf
DEFAULT_PREFERENCE = "-1"
--
2.31.1


Re: [meta-networking][PATCH 2/2] restinio: add recipe

Khem Raj
 

On Wed, May 12, 2021 at 6:09 AM Stefan Wiehler
<stefan.wiehler@...> wrote:

Header-only C++14 library that gives you an embedded HTTP server.

Signed-off-by: Stefan Wiehler <stefan.wiehler@...>
---
.../restinio/restinio_0.6.13.bb | 31 +++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 meta-networking/recipes-connectivity/restinio/restinio_0.6.13.bb

diff --git a/meta-networking/recipes-connectivity/restinio/restinio_0.6.13.bb b/meta-networking/recipes-connectivity/restinio/restinio_0.6.13.bb
new file mode 100644
index 000000000..ec9b056e5
--- /dev/null
+++ b/meta-networking/recipes-connectivity/restinio/restinio_0.6.13.bb
@@ -0,0 +1,31 @@
+SUMMARY = "Header-only C++14 library that gives you an embedded HTTP server"
+DESCRIPTION = "Cross-platform, efficient, customizable, and robust \
+ asynchronous HTTP/WebSocket server C++14 library with the \
+ right balance between performance and ease of use"
+AUTHOR = "Stefan Wiehler <stefan.wiehler@...>"
+HOMEPAGE = "https://stiffstream.com/en/products/restinio.html"
+SECTION = "libs"
+LICENSE = "BSD"
it seems to be 3 clause BSD can you check and if so make the change and resend

+LIC_FILES_CHKSUM = "file://../LICENSE;md5=f399b62ce0a152525d1589a5a40c0ff6"
+DEPENDS = "asio fmt http-parser"
+
+SRC_URI = "https://github.com/Stiffstream/restinio/releases/download/v.${PV}/restinio-${PV}.tar.bz2"
+SRC_URI[md5sum] = "37a4310e98912030a74bdd4ed789f33c"
+SRC_URI[sha256sum] = "b35d696e6fafd4563ca708fcecf9d0cf6705c846d417b5000f5252e0188848e7"
+
+S = "${WORKDIR}/${PN}-${PV}/dev"
+
+inherit cmake
+
+EXTRA_OECMAKE += "\
+ -DRESTINIO_TEST=OFF \
+ -DRESTINIO_SAMPLE=OFF \
+ -DRESTINIO_BENCH=OFF \
+ -DRESTINIO_FIND_DEPS=ON \
+ -DRESTINIO_ALLOW_SOBJECTIZER=OFF \
+ -DRESTINIO_USE_EXTERNAL_HTTP_PARSER=ON \
+ "
+
+# Header-only library
+RDEPENDS_${PN}-dev = ""
+RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
--
2.29.2




[meta-networking][PATCH 2/2] restinio: add recipe

Stefan Wiehler <stefan.wiehler@...>
 

Header-only C++14 library that gives you an embedded HTTP server.

Signed-off-by: Stefan Wiehler <stefan.wiehler@...>
---
.../restinio/restinio_0.6.13.bb | 31 +++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 meta-networking/recipes-connectivity/restinio/restini=
o_0.6.13.bb

diff --git a/meta-networking/recipes-connectivity/restinio/restinio_0.6.1=
3.bb b/meta-networking/recipes-connectivity/restinio/restinio_0.6.13.bb
new file mode 100644
index 000000000..ec9b056e5
--- /dev/null
+++ b/meta-networking/recipes-connectivity/restinio/restinio_0.6.13.bb
@@ -0,0 +1,31 @@
+SUMMARY =3D "Header-only C++14 library that gives you an embedded HTTP s=
erver"
+DESCRIPTION =3D "Cross-platform, efficient, customizable, and robust \
+ asynchronous HTTP/WebSocket server C++14 library with the=
\
+ right balance between performance and ease of use"
+AUTHOR =3D "Stefan Wiehler <stefan.wiehler@...>"
+HOMEPAGE =3D "https://stiffstream.com/en/products/restinio.html"
+SECTION =3D "libs"
+LICENSE =3D "BSD"
+LIC_FILES_CHKSUM =3D "file://../LICENSE;md5=3Df399b62ce0a152525d1589a5a4=
0c0ff6"
+DEPENDS =3D "asio fmt http-parser"
+
+SRC_URI =3D "https://github.com/Stiffstream/restinio/releases/download/v=
.${PV}/restinio-${PV}.tar.bz2"
+SRC_URI[md5sum] =3D "37a4310e98912030a74bdd4ed789f33c"
+SRC_URI[sha256sum] =3D "b35d696e6fafd4563ca708fcecf9d0cf6705c846d417b500=
0f5252e0188848e7"
+
+S =3D "${WORKDIR}/${PN}-${PV}/dev"
+
+inherit cmake
+
+EXTRA_OECMAKE +=3D "\
+ -DRESTINIO_TEST=3DOFF \
+ -DRESTINIO_SAMPLE=3DOFF \
+ -DRESTINIO_BENCH=3DOFF \
+ -DRESTINIO_FIND_DEPS=3DON \
+ -DRESTINIO_ALLOW_SOBJECTIZER=3DOFF \
+ -DRESTINIO_USE_EXTERNAL_HTTP_PARSER=3DON \
+ "
+
+# Header-only library
+RDEPENDS_${PN}-dev =3D ""
+RRECOMMENDS_${PN}-dbg =3D "${PN}-dev (=3D ${EXTENDPKGV})"
--=20
2.29.2


[meta-networking][PATCH 1/2] http-parser: add recipe

Stefan Wiehler <stefan.wiehler@...>
 

HTTP request/response parser for C.

Signed-off-by: Stefan Wiehler <stefan.wiehler@...>
---
.../http-parser/http-parser_2.9.4.bb | 30 +++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 meta-networking/recipes-support/http-parser/http-pars=
er_2.9.4.bb

diff --git a/meta-networking/recipes-support/http-parser/http-parser_2.9.=
4.bb b/meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb
new file mode 100644
index 000000000..2d04ded34
--- /dev/null
+++ b/meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb
@@ -0,0 +1,30 @@
+SUMMARY =3D "HTTP request/response parser for C"
+DESCRIPTION =3D "This is a parser for HTTP messages written in C. It par=
ses \
+ both requests and responses. The parser is designed to be =
used \
+ in performance HTTP applications. It does not make any \
+ syscalls nor allocations, it does not buffer data, it can =
be \
+ interrupted at anytime. Depending on your architecture, it=
\
+ only requires about 40 bytes of data per message stream (i=
n a \
+ web server that is per connection)."
+AUTHOR =3D "Stefan Wiehler <stefan.wiehler@...>"
+HOMEPAGE =3D "https://github.com/nodejs/http-parser"
+SECTION =3D "libs"
+LICENSE =3D "MIT"
+LIC_FILES_CHKSUM =3D "file://LICENSE-MIT;md5=3D9bfa835d048c194ab30487af8=
d7b3778"
+
+SRC_URI =3D "git://github.com/nodejs/http-parser.git"
+SRCREV =3D "2343fd6b5214b2ded2cdcf76de2bf60903bb90cd"
+
+S =3D "${WORKDIR}/git"
+
+do_configure[noexec] =3D "1"
+
+do_compile() {
+ oe_runmake library package
+}
+
+do_install() {
+ oe_runmake install DESTDIR=3D${D} PREFIX=3D${prefix}
+}
+
+BBCLASSEXTEND =3D "native nativesdk"
--=20
2.29.2


[meta-oe][dunfell][PATCH] ostree: switch from default master branch to main to fix do_fetch failure

Martin Jansa
 

* branch was renamed in upstream repo

Signed-off-by: Martin Jansa <Martin.Jansa@...>
---
meta-oe/recipes-extended/ostree/ostree_2020.3.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/ostree/ostree_2020.3.bb b/meta-oe/recipes-extended/ostree/ostree_2020.3.bb
index 43021c5342..86407459bf 100644
--- a/meta-oe/recipes-extended/ostree/ostree_2020.3.bb
+++ b/meta-oe/recipes-extended/ostree/ostree_2020.3.bb
@@ -22,7 +22,7 @@ DEPENDS = " \
PREMIRRORS = ""

SRC_URI = " \
- gitsm://github.com/ostreedev/ostree \
+ gitsm://github.com/ostreedev/ostree;branch=main \
file://run-ptest \
"
SRCREV = "6ed48234ba579ff73eb128af237212b0a00f2057"
--
2.30.2


[meta-oe][gatesgarth][PATCH] ostree: switch from default master branch to main to fix do_fetch failure

Martin Jansa
 

* branch was renamed in upstream repo

Signed-off-by: Martin Jansa <Martin.Jansa@...>
---
meta-oe/recipes-extended/ostree/ostree_2020.7.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/ostree/ostree_2020.7.bb b/meta-oe/recipes-extended/ostree/ostree_2020.7.bb
index def122b02e..63c76d335f 100644
--- a/meta-oe/recipes-extended/ostree/ostree_2020.7.bb
+++ b/meta-oe/recipes-extended/ostree/ostree_2020.7.bb
@@ -22,7 +22,7 @@ DEPENDS = " \
PREMIRRORS = ""

SRC_URI = " \
- gitsm://github.com/ostreedev/ostree \
+ gitsm://github.com/ostreedev/ostree;branch=main \
file://run-ptest \
"
SRCREV = "32a3a1297312e566df3141c6c7e3b99709e474b1"
--
2.30.2


[meta-oe][hardknott][PATCH] ostree: switch from default master branch to main to fix do_fetch failure

Martin Jansa
 

* branch was renamed in upstream repo

Signed-off-by: Martin Jansa <Martin.Jansa@...>
---
meta-oe/recipes-extended/ostree/ostree_2021.1.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/ostree/ostree_2021.1.bb b/meta-oe/recipes-extended/ostree/ostree_2021.1.bb
index c382ad87f2..32aa842ff3 100644
--- a/meta-oe/recipes-extended/ostree/ostree_2021.1.bb
+++ b/meta-oe/recipes-extended/ostree/ostree_2021.1.bb
@@ -22,7 +22,7 @@ DEPENDS = " \
PREMIRRORS = ""

SRC_URI = " \
- gitsm://github.com/ostreedev/ostree \
+ gitsm://github.com/ostreedev/ostree;branch=main \
file://run-ptest \
"
SRCREV = "e9e4b9112083228b8c385ad26924b6c4623f4179"
--
2.30.2


[meta-oe][PATCH] ostree: switch from default master branch to main to fix do_fetch failure

Martin Jansa
 

* branch was renamed in upstream repo

Signed-off-by: Martin Jansa <Martin.Jansa@...>
---
meta-oe/recipes-extended/ostree/ostree_2021.2.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/ostree/ostree_2021.2.bb b/meta-oe/recipes-extended/ostree/ostree_2021.2.bb
index 62467b01d2..c3505ab06b 100644
--- a/meta-oe/recipes-extended/ostree/ostree_2021.2.bb
+++ b/meta-oe/recipes-extended/ostree/ostree_2021.2.bb
@@ -22,7 +22,7 @@ DEPENDS = " \
PREMIRRORS = ""

SRC_URI = " \
- gitsm://github.com/ostreedev/ostree \
+ gitsm://github.com/ostreedev/ostree;branch=main \
file://run-ptest \
"
SRCREV = "6a72674ec621a2282043c3a083fe1e45cd6a8761"
--
2.30.2


[meta-python][PATCH] python3-pycocotools: add package to packagegroup-meta-python

Bartosz Golaszewski
 

This is a follow-up to the commit adding the recipe for pycocotools.
Let's add the package to the meta-python packagegroup.

Signed-off-by: Bartosz Golaszewski <brgl@...>
---
.../recipes-core/packagegroups/packagegroup-meta-python.bb | 1 +
1 file changed, 1 insertion(+)

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 0418b5930..992dd690a 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -290,6 +290,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
python3-pybind11-json \
python3-pybluez \
python3-pychromecast \
+ python3-pycocotools \
python3-pycodestyle \
python3-pyconnman \
python3-pycparser \
--
2.30.1


[meta-oe][PATCH 3/3] breakpad: Fix type mismatch for SIGSTKSZ

Khem Raj
 

Signed-off-by: Khem Raj <raj.khem@...>
---
...dler.cc-Match-the-types-for-SIGSTKSZ.patch | 34 +++++++++++++++++++
.../recipes-devtools/breakpad/breakpad_git.bb | 1 +
2 files changed, 35 insertions(+)
create mode 100644 meta-oe/recipes-devtools/breakpad/breakpad/0001-exception_handler.cc-Match-the-types-for-SIGSTKSZ.patch

diff --git a/meta-oe/recipes-devtools/breakpad/breakpad/0001-exception_handler.cc-Match-the-types-for-SIGSTKSZ.patch b/meta-oe/recipes-devtools/breakpad/breakpad/0001-exception_handler.cc-Match-the-types-for-SIGSTKSZ.patch
new file mode 100644
index 0000000000..afe8a61b29
--- /dev/null
+++ b/meta-oe/recipes-devtools/breakpad/breakpad/0001-exception_handler.cc-Match-the-types-for-SIGSTKSZ.patch
@@ -0,0 +1,34 @@
+From 66a2b6e4ba8e2b49115043127ce4aa0fcd71ad1e Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@...>
+Date: Tue, 11 May 2021 11:12:35 -0700
+Subject: [PATCH] exception_handler.cc: Match the types for SIGSTKSZ
+
+In glibc 2.34, SIGSTKSZ is a syscall which returns a long int, therefore
+current check fails
+
+| ../git/src/client/linux/handler/exception_handler.cc:141:49: error: no matching function for call to 'max(int, long int)'
+| 141 | static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ);
+| | ~~~~~~~~^~~~~~~~~~~~~~~~~
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@...>
+---
+ src/client/linux/handler/exception_handler.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc
+index ca353c40..dc0fc4a9 100644
+--- a/src/client/linux/handler/exception_handler.cc
++++ b/src/client/linux/handler/exception_handler.cc
+@@ -138,7 +138,7 @@ void InstallAlternateStackLocked() {
+ // SIGSTKSZ may be too small to prevent the signal handlers from overrunning
+ // the alternative stack. Ensure that the size of the alternative stack is
+ // large enough.
+- static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ);
++ static const unsigned kSigStackSize = std::max(16384u, (unsigned)SIGSTKSZ);
+
+ // Only set an alternative stack if there isn't already one, or if the current
+ // one is too small.
+--
+2.31.1
+
diff --git a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb
index 81955f450d..4756ef772d 100644
--- a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb
+++ b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb
@@ -40,6 +40,7 @@ SRC_URI = "git://github.com/google/breakpad;name=breakpad;branch=main \
file://0004-elf_reader.cc-include-sys-reg.h-to-get-__WORDSIZE-on.patch \
file://mcontext.patch \
file://0001-Remove-HAVE_GETCONTEXT-check-to-add-local-implementa.patch \
+ file://0001-exception_handler.cc-Match-the-types-for-SIGSTKSZ.patch \
file://0001-lss-Match-syscalls-to-match-musl.patch;patchdir=src/third_party/lss \
file://mips_asm_sgidefs.patch;patchdir=src/third_party/lss \
file://0001-Do-not-add-stack-pointer-to-clobber-list.patch;patchdir=src/third_party/lss \
--
2.31.1


[meta-oe][PATCH 2/3] tbb: Fix build with GCC 11

Khem Raj
 

Signed-off-by: Khem Raj <raj.khem@...>
---
...f_input-Use-an-arbitrary-but-valid-p.patch | 37 +++++++++++++++++++
meta-oe/recipes-support/tbb/tbb_2021.2.0.bb | 1 +
2 files changed, 38 insertions(+)
create mode 100644 meta-oe/recipes-support/tbb/tbb/0001-set_my_tls_end_of_input-Use-an-arbitrary-but-valid-p.patch

diff --git a/meta-oe/recipes-support/tbb/tbb/0001-set_my_tls_end_of_input-Use-an-arbitrary-but-valid-p.patch b/meta-oe/recipes-support/tbb/tbb/0001-set_my_tls_end_of_input-Use-an-arbitrary-but-valid-p.patch
new file mode 100644
index 0000000000..caa68e64c5
--- /dev/null
+++ b/meta-oe/recipes-support/tbb/tbb/0001-set_my_tls_end_of_input-Use-an-arbitrary-but-valid-p.patch
@@ -0,0 +1,37 @@
+From a996fd451bbd7be93cff5f466bff7282ae972fe1 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@...>
+Date: Tue, 11 May 2021 10:52:51 -0700
+Subject: [PATCH] set_my_tls_end_of_input: Use an arbitrary but valid pointer
+ as value
+
+Pass a valid pointer to pthread_setspecific to avoid GCC 11 warning.
+Fixes
+
+src/tbb/tls.h:44:46: error: 'int pthread_setspecific(pthread_key_t, const void*)' expecting 1 byte in a region of size 0 [-Werror=stringop-overread]
+| 44 | void set( T value ) { pthread_setspecific(my_key, (void*)value); }
+| | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
+| compilation terminated due to -Wfatal-errors.
+
+Upstream-Status: Submitted [https://github.com/oneapi-src/oneTBB/pull/394]
+Signed-off-by: Khem Raj <raj.khem@...>
+---
+ src/tbb/parallel_pipeline.cpp | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/tbb/parallel_pipeline.cpp b/src/tbb/parallel_pipeline.cpp
+index b7655c6b..ca518b5b 100644
+--- a/src/tbb/parallel_pipeline.cpp
++++ b/src/tbb/parallel_pipeline.cpp
+@@ -243,7 +243,8 @@ public:
+ return end_of_input_tls.get() != 0;
+ }
+ void set_my_tls_end_of_input() {
+- end_of_input_tls.set(1);
++ // Use an arbitrary but valid pointer as value.
++ end_of_input_tls.set(array_size);
+ }
+ };
+
+--
+2.31.1
+
diff --git a/meta-oe/recipes-support/tbb/tbb_2021.2.0.bb b/meta-oe/recipes-support/tbb/tbb_2021.2.0.bb
index 771ddd49b8..f4c52daf41 100644
--- a/meta-oe/recipes-support/tbb/tbb_2021.2.0.bb
+++ b/meta-oe/recipes-support/tbb/tbb_2021.2.0.bb
@@ -18,6 +18,7 @@ SRC_URI = "git://github.com/oneapi-src/oneTBB.git;protocol=https;branch=${BRANCH
file://GLIBC-PREREQ-is-not-defined-on-musl.patch \
file://0001-CMakeLists.txt-exclude-riscv64-riscv32.patch \
file://0001-Disable-use-of-_tpause-instruction.patch \
+ file://0001-set_my_tls_end_of_input-Use-an-arbitrary-but-valid-p.patch \
"

S = "${WORKDIR}/git"
--
2.31.1


[meta-oe][PATCH 1/3] mongodb: Do not use MINSIGSTKSZ

Khem Raj
 

glibc 2.34 has made MINSIGSTKSZ non-constant

Signed-off-by: Khem Raj <raj.khem@...>
---
.../mongodb/0001-Do-not-use-MINSIGSTKSZ.patch | 34 +++++++++++++++++++
.../recipes-dbs/mongodb/mongodb_git.bb | 1 +
2 files changed, 35 insertions(+)
create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Do-not-use-MINSIGSTKSZ.patch

diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Do-not-use-MINSIGSTKSZ.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Do-not-use-MINSIGSTKSZ.patch
new file mode 100644
index 0000000000..0ee64e9c6c
--- /dev/null
+++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Do-not-use-MINSIGSTKSZ.patch
@@ -0,0 +1,34 @@
+From 027044a692b588ef586d495f65eb58b07cc711a3 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@...>
+Date: Tue, 11 May 2021 10:15:51 -0700
+Subject: [PATCH] Do not use MINSIGSTKSZ
+
+Since glibc 2.34+ MINSIGSTKSZ is no more a constant. So,
+let's hardwire this for now until better fix is found.
+64Kb should be good anyway
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@...>
+---
+ src/mongo/stdx/thread.h | 5 +----
+ 1 file changed, 1 insertion(+), 4 deletions(-)
+
+diff --git a/src/mongo/stdx/thread.h b/src/mongo/stdx/thread.h
+index f8058279e3..f31f309959 100644
+--- a/src/mongo/stdx/thread.h
++++ b/src/mongo/stdx/thread.h
+@@ -104,10 +104,7 @@ private:
+ // . N Y : 4,344 | 13,048 | 7,352
+ // . Y Y : 4,424 | 13,672 | 8,392
+ // ( https://jira.mongodb.org/secure/attachment/233569/233569_stacktrace-writeup.txt )
+- static constexpr std::size_t kMongoMinSignalStackSize = std::size_t{64} << 10;
+-
+- static constexpr std::size_t kStackSize =
+- std::max(kMongoMinSignalStackSize, std::size_t{MINSIGSTKSZ});
++ static constexpr std::size_t kStackSize = std::size_t{64} << 10;
+ std::unique_ptr<std::byte[]> _stackStorage = std::make_unique<std::byte[]>(kStackSize);
+
+ #else // !MONGO_HAS_SIGALTSTACK
+--
+2.31.1
+
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb
index 54178bf75a..cfa2bc18c2 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb
@@ -29,6 +29,7 @@ SRC_URI = "git://github.com/mongodb/mongo.git;branch=v4.4 \
file://0001-include-needed-c-header.patch \
file://disable_runtime_check.patch \
file://ppc64_ARCH_BITS.patch \
+ file://0001-Do-not-use-MINSIGSTKSZ.patch \
"
SRC_URI_append_libc-musl ="\
file://0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch \
--
2.31.1


Re: [meta-python][PATCH] python3-pycocotools: new package

Khem Raj
 

add it to test packagegroup as well in a followup please.

On 5/11/21 10:13 AM, Bartosz Golaszewski wrote:
Add a recipe for building pycocotools - a Python wrapper for cocapi.
Signed-off-by: Bartosz Golaszewski <brgl@...>
---
.../python/python3-pycocotools_2.0.2.bb | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python3-pycocotools_2.0.2.bb
diff --git a/meta-python/recipes-devtools/python/python3-pycocotools_2.0.2.bb b/meta-python/recipes-devtools/python/python3-pycocotools_2.0.2.bb
new file mode 100644
index 000000000..4821c313e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pycocotools_2.0.2.bb
@@ -0,0 +1,15 @@
+SUMMARY = "COCO is a large image dataset designed for object detection, segmentation, \
+ person keypoints detection, stuff segmentation, and caption generation."
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://pycocotools/coco.py;beginline=45;endline=45;md5=12cb539683cf245df8b6ce782d78f647"
+
+inherit setuptools3 pypi
+
+SRC_URI[md5sum] = "33858f23c8b99ce8116b70c32f6b6dd9"
+SRC_URI[sha256sum] = "24717a12799b4471c2e54aa210d642e6cd4028826a1d49fcc2b0e3497e041f1a"
+
+DEPENDS = "python3-cython-native \
+ python3-numpy-native \
+ libxcrypt"
+
+RDEPENDS_${PN} = "python3-matplotlib python3-pillow python3-profile"


[meta-python][PATCH] python3-pycocotools: new package

Bartosz Golaszewski
 

Add a recipe for building pycocotools - a Python wrapper for cocapi.

Signed-off-by: Bartosz Golaszewski <brgl@...>
---
.../python/python3-pycocotools_2.0.2.bb | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python3-pycocotools_2.0.2.bb

diff --git a/meta-python/recipes-devtools/python/python3-pycocotools_2.0.2.bb b/meta-python/recipes-devtools/python/python3-pycocotools_2.0.2.bb
new file mode 100644
index 000000000..4821c313e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pycocotools_2.0.2.bb
@@ -0,0 +1,15 @@
+SUMMARY = "COCO is a large image dataset designed for object detection, segmentation, \
+ person keypoints detection, stuff segmentation, and caption generation."
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://pycocotools/coco.py;beginline=45;endline=45;md5=12cb539683cf245df8b6ce782d78f647"
+
+inherit setuptools3 pypi
+
+SRC_URI[md5sum] = "33858f23c8b99ce8116b70c32f6b6dd9"
+SRC_URI[sha256sum] = "24717a12799b4471c2e54aa210d642e6cd4028826a1d49fcc2b0e3497e041f1a"
+
+DEPENDS = "python3-cython-native \
+ python3-numpy-native \
+ libxcrypt"
+
+RDEPENDS_${PN} = "python3-matplotlib python3-pillow python3-profile"
--
2.30.1


[meta-python][PATCH 5/5] python3-sentry-sdk: Upgrade 1.0.0 -> 1.1.0

Leon Anavi
 

Upgrade to release 1.1.0:

- Fix for AWSLambda integration returns value of original handler
- Fix for RQ integration that only captures exception if RQ job
has failed and ignore retries
- Feature that supports Tracing for the Tornado integration
- Feature that supports wild cards in ignore_logger in the Logging
Integration
- Fix for django that deals with template span description names
that are either lists or tuples

Signed-off-by: Leon Anavi <leon.anavi@...>
---
...ython3-sentry-sdk_1.0.0.bb => python3-sentry-sdk_1.1.0.bb} | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-sentry-sdk_1.0.0.bb => python3-sentry-sdk_1.1.0.bb} (74%)

diff --git a/meta-python/recipes-devtools/python/python3-sentry-sdk_1.0.0.bb b/meta-python/recipes-devtools/python/python3-sentry-sdk_1.1.0.bb
similarity index 74%
rename from meta-python/recipes-devtools/python/python3-sentry-sdk_1.0.0.bb
rename to meta-python/recipes-devtools/python/python3-sentry-sdk_1.1.0.bb
index 22b9f55ddf..89c659dba3 100644
--- a/meta-python/recipes-devtools/python/python3-sentry-sdk_1.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-sentry-sdk_1.1.0.bb
@@ -5,7 +5,9 @@ HOMEPAGE = "https://github.com/getsentry/sentry-python"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=0c79f8d3c91fc847350efd28bfe0a341"

-SRC_URI[sha256sum] = "71de00c9711926816f750bc0f57ef2abbcb1bfbdf5378c601df7ec978f44857a"
+RDEPENDS_${PN} += "python3-urllib3"
+
+SRC_URI[sha256sum] = "c1227d38dca315ba35182373f129c3e2722e8ed999e52584e6aca7d287870739"

PYPI_PACKAGE = "sentry-sdk"

--
2.17.1


[meta-python][PATCH 4/5] python3-robotframework: Upgrade 4.0.1 -> 4.0.2

Leon Anavi
 

Upgrade to release 4.0.2:

- Using Union containing generics as type hint causes an error
- Libdoc does not anymore work with resource files in PYTHONPATH
- Rebot removes sourcename attribute from <kw> in output.xml
- Run Keyword If Test Failed does not work correctly if it is not
first keyword in teardown and test is skipped
- Argument conversion problems when type hint is ABC

Signed-off-by: Leon Anavi <leon.anavi@...>
---
...-robotframework_4.0.1.bb => python3-robotframework_4.0.2.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-robotframework_4.0.1.bb => python3-robotframework_4.0.2.bb} (91%)

diff --git a/meta-python/recipes-devtools/python/python3-robotframework_4.0.1.bb b/meta-python/recipes-devtools/python/python3-robotframework_4.0.2.bb
similarity index 91%
rename from meta-python/recipes-devtools/python/python3-robotframework_4.0.1.bb
rename to meta-python/recipes-devtools/python/python3-robotframework_4.0.2.bb
index 3e5d67e0a4..67ebe3ee69 100644
--- a/meta-python/recipes-devtools/python/python3-robotframework_4.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-robotframework_4.0.2.bb
@@ -13,7 +13,7 @@ inherit pypi setuptools3

PYPI_PACKAGE_EXT = "zip"

-SRC_URI[sha256sum] = "9fa609ceb78f67b1476edce8a7011b16bf3ab41c0fb8c211de6c99955eaf9fde"
+SRC_URI[sha256sum] = "efd39558219fddc86473d4d390aeaec60640d7a7567a15fd51c0576f20e46171"

RDEPENDS_${PN} += " \
${PYTHON_PN}-shell \
--
2.17.1


[meta-python][PATCH 2/5] python3-cerberus: Upgrade 1.3.3 -> 1.3.4

Leon Anavi
 

Upgrade to release 1.3.4:

- Reverts the unsatisfying fix for KeyError during import when
running with python optimisation level of 2
- instead a RuntimeError is thrown when Python is running with
optimization level 2

Signed-off-by: Leon Anavi <leon.anavi@...>
---
.../{python3-cerberus_1.3.3.bb => python3-cerberus_1.3.4.bb} | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-cerberus_1.3.3.bb => python3-cerberus_1.3.4.bb} (75%)

diff --git a/meta-python/recipes-devtools/python/python3-cerberus_1.3.3.bb b/meta-python/recipes-devtools/python/python3-cerberus_1.3.4.bb
similarity index 75%
rename from meta-python/recipes-devtools/python/python3-cerberus_1.3.3.bb
rename to meta-python/recipes-devtools/python/python3-cerberus_1.3.4.bb
index fa0bbb0aad..95934c6e42 100644
--- a/meta-python/recipes-devtools/python/python3-cerberus_1.3.3.bb
+++ b/meta-python/recipes-devtools/python/python3-cerberus_1.3.4.bb
@@ -4,8 +4,10 @@ SECTION = "devel/python"
LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://LICENSE;md5=48f8e9432d0dac5e0e7a18211a0bacdb"

+RDEPENDS_${PN} += "python3-setuptools"
+
# The PyPI package uses a capital letter so we have to specify this explicitly
PYPI_PACKAGE = "Cerberus"
inherit pypi setuptools3

-SRC_URI[sha256sum] = "eec10585c33044fb7c69650bc5b68018dac0443753337e2b07684ee0f3c83329"
+SRC_URI[sha256sum] = "d1b21b3954b2498d9a79edf16b3170a3ac1021df88d197dc2ce5928ba519237c"
--
2.17.1


[meta-python][PATCH 3/5] python3-aiohue: Upgrade 2.2.0 -> 2.3.0

Leon Anavi
 

Upgrade to release 2.3.0:

- Fix Hue communication protocol
- Create Dependabot config file
- Include LICENSE in the manifest

License-Update: Use file LICENSE.

Signed-off-by: Leon Anavi <leon.anavi@...>
---
.../recipes-devtools/python/python3-aiohue_2.2.0.bb | 12 ------------
.../recipes-devtools/python/python3-aiohue_2.3.0.bb | 11 +++++++++++
2 files changed, 11 insertions(+), 12 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python3-aiohue_2.2.0.bb
create mode 100644 meta-python/recipes-devtools/python/python3-aiohue_2.3.0.bb

diff --git a/meta-python/recipes-devtools/python/python3-aiohue_2.2.0.bb b/meta-python/recipes-devtools/python/python3-aiohue_2.2.0.bb
deleted file mode 100644
index a2a7363f6c..0000000000
--- a/meta-python/recipes-devtools/python/python3-aiohue_2.2.0.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-DESCRIPTION = "Asynchronous library to control Philips Hue"
-HOMEPAGE = "https://pypi.org/project/aiohue/"
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-# No license file available but the license is specified in PKG-INFO and setup.py.
-LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515"
-
-SRC_URI[sha256sum] = "35696d04d6eb0328b7031ea3c0a3cfe5d83dfcf62f920522e4767d165c6bc529"
-
-inherit pypi setuptools3
-
-RDEPENDS_${PN} += "${PYTHON_PN}-aiohttp"
diff --git a/meta-python/recipes-devtools/python/python3-aiohue_2.3.0.bb b/meta-python/recipes-devtools/python/python3-aiohue_2.3.0.bb
new file mode 100644
index 0000000000..02f698532e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-aiohue_2.3.0.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = "Asynchronous library to control Philips Hue"
+HOMEPAGE = "https://pypi.org/project/aiohue/"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=dab31a1d28183826937f4b152143a33f"
+
+SRC_URI[sha256sum] = "d36fa57747191b92e77c89c453c792f13b9af8f7ca9610bb4bb46f2636a536f6"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "${PYTHON_PN}-aiohttp"
--
2.17.1


[meta-python][PATCH 1/5] python3-serpent: Upgrade 1.30.2 -> 1.40

Leon Anavi
 

Upgrade to release 1.40:

- dotnet: added optiononal bytes repr (de)serialization
- java: added optional bytes-repr (de)serialization
- added unittest for new bytes-repr form
- add parameter to serialize bytes into byte literal
representation instead of base-64 (which remains the default)

License-Update: Use file LICENSE.

Signed-off-by: Leon Anavi <leon.anavi@...>
---
.../{python3-serpent_1.30.2.bb => python3-serpent_1.40.bb} | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
rename meta-python/recipes-devtools/python/{python3-serpent_1.30.2.bb => python3-serpent_1.40.bb} (66%)

diff --git a/meta-python/recipes-devtools/python/python3-serpent_1.30.2.bb b/meta-python/recipes-devtools/python/python3-serpent_1.40.bb
similarity index 66%
rename from meta-python/recipes-devtools/python/python3-serpent_1.30.2.bb
rename to meta-python/recipes-devtools/python/python3-serpent_1.40.bb
index 64edff76ba..305222f764 100644
--- a/meta-python/recipes-devtools/python/python3-serpent_1.30.2.bb
+++ b/meta-python/recipes-devtools/python/python3-serpent_1.40.bb
@@ -1,9 +1,8 @@
SUMMARY = "Serialization based on ast.literal_eval"
LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://PKG-INFO;md5=5271c65b7cf83bd28055e592c2d14667"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d7c28f460fafe7be454fcdcac0b60263"

-SRC_URI[md5sum] = "cbef4f9c88f88c38195d11a0363a095f"
-SRC_URI[sha256sum] = "72753820246a7d8486e8b385353e3bbf769abfceec2e850fa527a288b084ff7a"
+SRC_URI[sha256sum] = "10b34e7f8e3207ee6fb70dcdc9bce473851ee3daf0b47c58aec1b48032ac11ce"

inherit pypi ptest setuptools3

--
2.17.1

8481 - 8500 of 99739