Skip to contentSkip to conversation

mraa: Replace -fcommon with fix

PATCH In review akuster 2 participants 19 messages May 19, 2020

lore
Share & tools
lore

akuster

author
#0 lore raw

PATCH 1/18 mraa: Replace -fcommon with fix

From: Adrian Bunk <[email protected]>

(cherry picked from commit 30b34a83d47239be0390bdaeefc5b3669fd74472)
---
 ...de-Declare-gVERSION-global-as-extern.patch | 31 +++++++++++++++++++
 meta-oe/recipes-extended/mraa/mraa_git.bb     |  3 +-
 2 files changed, 32 insertions(+), 2 deletions(-)
 create mode 100644 meta-oe/recipes-extended/mraa/mraa/0001-include-Declare-gVERSION-global-as-extern.patch
meta-oe/recipes-extended/mraa/mraa/0001-include-Declare-gVERSION-global-as-extern.patch new file +31 -0
new file mode 100644
index 0000000000..d1152ed641
@@ -0,0 +1,31 @@
+From dbb5961f106ec42cd70689d933674c9c37aedfe1 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <[email protected]>
+Date: Mon, 13 Apr 2020 20:12:11 +0200
+Subject: include: Declare gVERSION global as 'extern'.
+
+Fixes build with '-fno-common'.
+
+Upstream-Status: Submitted [https://github.com/eclipse/mraa/pull/1012]
+Signed-off-by: Adrian Bunk <[email protected]>
+---
+ include/version.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/include/version.h b/include/version.h
+index 47366ef..3a567a1 100644
+--- a/include/version.h
++++ b/include/version.h
+@@ -11,8 +11,8 @@
+ extern "C" {
+ #endif
+ 
+-const char* gVERSION;
+-const char* gVERSION_SHORT;
++extern const char* gVERSION;
++extern const char* gVERSION_SHORT;
+ 
+ #ifdef __cplusplus
+ }
+-- 
+2.17.1
+
meta-oe/recipes-extended/mraa/mraa_git.bb +1 -2
index 403d641ee9..7c2441632e 100644
@@ -10,6 +10,7 @@ PV = "2.1.0+git${SRCPV}"
 
 SRC_URI = "git://github.com/eclipse/${BPN}.git;protocol=http \
            file://0001-cmake-Use-a-regular-expression-to-match-x86-architec.patch \
+           file://0001-include-Declare-gVERSION-global-as-extern.patch \
            "
 
 S = "${WORKDIR}/git"
@@ -27,8 +28,6 @@ EXTRA_OECMAKE_append = " -DINSTALLTOOLS:BOOL=ON -DFIRMATA=ON -DCMAKE_SKIP_RPATH=
                          -DPYTHON_INCLUDE_DIR=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI} \
                        "
 
-CFLAGS += "-fcommon"
-
 # Prepend mraa-utils to make sure bindir ends up in there
 PACKAGES =+ "${PN}-utils"
 
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/18 v4l-utils: upgrade 1.18.0 -> 1.18.1

From: Zheng Ruoqin <[email protected]>

(cherry picked from commit a23d4e0458d954c93f1ce0ada3f6e79fbfae3934)
---
 .../v4l2apps/{v4l-utils_1.18.0.bb => v4l-utils_1.18.1.bb}     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-multimedia/v4l2apps/{v4l-utils_1.18.0.bb => v4l-utils_1.18.1.bb} (93%)
meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.18.1.bb renamed from meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.18.0.bb +2 -2
similarity index 93%
rename from meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.18.0.bb
rename to meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.18.1.bb
index 9cc2a8e5b4..193335deaa 100644
@@ -24,8 +24,8 @@ SRC_URI = "http://linuxtv.org/downloads/v4l-utils/v4l-utils-${PV}.tar.bz2 \
            file://0006-Fix-build-on-32bit-arches-with-64bit-time_t.patch \
            file://0007-Do-not-use-getsubopt.patch \
            "
-SRC_URI[md5sum] = "18996bd5e9d83d47055c05de376708cd"
-SRC_URI[sha256sum] = "6cb60d822eeed20486a03cc23e0fc65956fbc1e85e0c1a7477f68bbd9802880d"
+SRC_URI[md5sum] = "ff2dd75970683be9a301ed949b3372b3"
+SRC_URI[sha256sum] = "25fc42253722401f8742f04dc50a444dfa9b75378e7d09b55035bcbb44c5f342"
 
 EXTRA_OECONF = "--disable-qv4l2 --enable-shared --with-udevdir=${base_libdir}/udev"
 
Signature · 1 line
2.17.1
author
#2 lore raw

PATCH 3/18 cpprest: upgrade 2.10.15 -> 2.10.16

In reply to akuster

From: Zheng Ruoqin <[email protected]>

(cherry picked from commit 22a3ff957ad1ac08239ca84e074af367c8fdf0dc)
---
 .../cpprest/{cpprest_2.10.15.bb => cpprest_2.10.16.bb}        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/cpprest/{cpprest_2.10.15.bb => cpprest_2.10.16.bb} (91%)
meta-oe/recipes-support/cpprest/cpprest_2.10.16.bb renamed from meta-oe/recipes-support/cpprest/cpprest_2.10.15.bb +2 -2
similarity index 91%
rename from meta-oe/recipes-support/cpprest/cpprest_2.10.15.bb
rename to meta-oe/recipes-support/cpprest/cpprest_2.10.16.bb
index dee5ae2564..5d7dbd8bda 100644
@@ -11,8 +11,8 @@ SRC_URI = "git://github.com/Microsoft/cpprestsdk.git;protocol=https;branch=maste
            file://disable-float-tests.patch \
            file://disable-outside-tests.patch "
 
-# tag 2.10.15
-SRCREV= "b94bc32ff84e815ba44c567f6fe4af5f5f6b3048"
+# tag 2.10.16
+SRCREV= "18212a2a7967e12d740bfb957e500892b3463c88"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.17.1
author
#3 lore raw

PATCH 4/18 python3-pyrsistent: add python3-numbers to RDEPENDS

In reply to akuster

From: Trevor Gamblin <[email protected]>

python3-pyrsistent requires python3-numbers, so add it to RDEPENDS:

|Python 3.8.2 (default, Apr 27 2020, 08:51:00)
|[GCC 9.3.0] on linux
|Type "help", "copyright", "credits" or "license" for more information.
|>>> import pyrsistent
|Traceback (most recent call last):
|File "<stdin>", line 1, in <module>
|File "/usr/lib64/python3.8/site-packages/pyrsistent/_init_.py", line 3, in <module>
|from pyrsistent._pmap import pmap, m, PMap
|File "/usr/lib64/python3.8/site-packages/pyrsistent/_pmap.py", line 4, in <module>
|from pyrsistent._pvector import pvector
|File "/usr/lib64/python3.8/site-packages/pyrsistent/_pvector.py", line 3, in <module>
|from numbers import Integral
|ModuleNotFoundError: No module named 'numbers'
(cherry picked from commit 06916cbfbe150561f9d78a32e162780689df5cf7)
---
 meta-python/recipes-devtools/python/python3-pyrsistent_0.15.7.bb | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-pyrsistent_0.15.7.bb +1 -0
index 5ef7140283..53251aa55c 100644
@@ -9,6 +9,7 @@ SRC_URI[sha256sum] = "cdc7b5e3ed77bed61270a47d35434a30617b9becdf2478af76ad2c6ade
 inherit pypi setuptools3
 
 RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-numbers \
     ${PYTHON_PN}-six \
 "
 
Signature · 1 line
2.17.1
author
#4 lore raw

PATCH 5/18 python3-pytoml: add datetime and stringold to RDEPENDS

In reply to akuster

From: Trevor Gamblin <[email protected]>

Error messages like the following are encountered if datetime and stringold are not in RDEPENDS for pytoml, so add them:

|Python 3.8.2 (default, Apr 27 2020, 08:51:00)
|[GCC 9.3.0] on linux
|Type "help", "copyright", "credits" or "license" for more information.
|>>> import pytoml
|Traceback (most recent call last):
|File "<stdin>", line 1, in <module>
|File "/usr/lib64/python3.8/site-packages/pytoml/_init_.py", line 2, in <module>
|from .parser import load, loads
|File "/usr/lib64/python3.8/site-packages/pytoml/parser.py", line 3, in <module>
|from .utils import rfc3339_re, parse_rfc3339_re
|File "/usr/lib64/python3.8/site-packages/pytoml/utils.py", line 1, in <module>
|import datetime
|ModuleNotFoundError: No module named 'datetime'
(cherry picked from commit 75b3d7e7bf3ea451c633adc6906c0c1695359fff)
---
 meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb +5 -0
index b09005ec9e..1533a895f3 100644
@@ -15,6 +15,11 @@ SRC_URI += " \
 	file://run-ptest \
 "
 
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-stringold \
+    "
+
 RDEPENDS_${PN}-ptest += " \
 	${PYTHON_PN}-pytest \
 "
Signature · 1 line
2.17.1
author
#5 lore raw

PATCH 6/18 python3-dbusmock: re-add recipe and fix patch path

In reply to akuster

From: Trevor Gamblin <[email protected]>

Running the "non-gpl3" builder in my local autobuilder fails almost immediately because python3-dbusmock is not available. It appears that during the creation of meta-python2 and cleanup of meta-python that the recipe for python3-dbusmock got removed entirely, so I've re-added it, and renamed the corresponding patch folder so that it can find the patches listed in the recipe.

(cherry picked from commit 0acb9d90bcd2dadce2102fc3b98635b942e2042b)
---
 ...y-to-add-own-objects-to-internal-obj.patch |  0
 ...ty-to-import-templates-from-packages.patch |  0
 .../python/python3-dbusmock_0.16.7.bb         | 25 +++++++++++++++++++
 3 files changed, 25 insertions(+)
 rename meta-python/recipes-devtools/python/{python-dbusmock => python3-dbusmock}/0001-Add-functionality-to-add-own-objects-to-internal-obj.patch (100%)
 rename meta-python/recipes-devtools/python/{python-dbusmock => python3-dbusmock}/0002-Add-possibility-to-import-templates-from-packages.patch (100%)
 create mode 100644 meta-python/recipes-devtools/python/python3-dbusmock_0.16.7.bb
meta-python/recipes-devtools/python/python3-dbusmock/0001-Add-functionality-to-add-own-objects-to-internal-obj.patch renamed from meta-python/recipes-devtools/python/python-dbusmock/0001-Add-functionality-to-add-own-objects-to-internal-obj.patch +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python-dbusmock/0001-Add-functionality-to-add-own-objects-to-internal-obj.patch
rename to meta-python/recipes-devtools/python/python3-dbusmock/0001-Add-functionality-to-add-own-objects-to-internal-obj.patch
meta-python/recipes-devtools/python/python3-dbusmock/0002-Add-possibility-to-import-templates-from-packages.patch renamed from meta-python/recipes-devtools/python/python-dbusmock/0002-Add-possibility-to-import-templates-from-packages.patch +0 -0
similarity index 100%
rename from meta-python/recipes-devtools/python/python-dbusmock/0002-Add-possibility-to-import-templates-from-packages.patch
rename to meta-python/recipes-devtools/python/python3-dbusmock/0002-Add-possibility-to-import-templates-from-packages.patch
meta-python/recipes-devtools/python/python3-dbusmock_0.16.7.bb new file +25 -0
new file mode 100644
index 0000000000..cd760ab893
@@ -0,0 +1,25 @@
+# Copyright (c) 2014 LG Electronics, Inc.
+
+SUMMARY = "With this program/Python library you can easily create mock objects on D-Bus"
+AUTHOR = "Martin Pitt <[email protected]>"
+
+LICENSE = "GPL-3.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
+
+SRC_URI[md5sum] = "80f8caa838fad96483a8751e11d384f9"
+SRC_URI[sha256sum] = "2d2ea892fa4633c3ec6ac1e912120ec493047a5c6522849b7d1c95ad755bce75"
+
+SRC_URI += " \
+    file://0001-Add-functionality-to-add-own-objects-to-internal-obj.patch \
+    file://0002-Add-possibility-to-import-templates-from-packages.patch \
+"
+
+PYPI_PACKAGE = "python-dbusmock"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-dbus \
+    ${PYTHON_PN}-pygobject \
+    ${PYTHON_PN}-xml \
+    "
Signature · 1 line
2.17.1
author
#6 lore raw

PATCH 7/18 python3-pyyaml: add python3-netclient to RDEPENDS

In reply to akuster

From: Trevor Gamblin <[email protected]>

pyyaml relies on the base64 module (which is in python3-netclient), but it is not in RDEPENDS, so add it:

|Python 3.8.2 (default, Apr 27 2020, 08:51:00)
|[GCC 9.3.0] on linux
|Type "help", "copyright", "credits" or "license" for more information.
|>>> import yaml
|Traceback (most recent call last):
|File "<stdin>", line 1, in <module>
|File "/usr/lib64/python3.8/site-packages/yaml/_init_.py", line 8, in <module>
|from .loader import *
|File "/usr/lib64/python3.8/site-packages/yaml/loader.py", line 8, in <module>
|from .constructor import *
|File "/usr/lib64/python3.8/site-packages/yaml/constructor.py", line 14, in <module>
|import collections.abc, datetime, base64, binascii, re, sys, types
|ModuleNotFoundError: No module named 'base64'
(cherry picked from commit 5fceaa4964fdbc2a76aec6d774843914c57221ee)
---
 meta-python/recipes-devtools/python/python3-pyyaml_5.3.bb | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-pyyaml_5.3.bb +1 -0
index b5425b8c95..17868a25dd 100644
@@ -13,6 +13,7 @@ SRC_URI[sha256sum] = "e9f45bd5b92c7974e59bcd2dcc8631a6b6cc380a904725fce7bc08872e
 
 RDEPENDS_${PN} += "\
     ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-netclient \
 "
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
author
#7 lore raw

PATCH 8/18 python3-werkzeug: add python3-logging to RDEPENDS

In reply to akuster

From: Trevor Gamblin <[email protected]>

werkzeug relies on the logging module, but it is not in RDEPENDS, so add it:

|Python 3.8.2 (default, Apr 27 2020, 08:51:00)
|[GCC 9.3.0] on linux
|Type "help", "copyright", "credits" or "license" for more information.
|>>> import werkzeug
|Traceback (most recent call last):
|File "<stdin>", line 1, in <module>
|File "/usr/lib64/python3.8/site-packages/werkzeug/_init_.py", line 15, in <module>
|from .serving import run_simple
|File "/usr/lib64/python3.8/site-packages/werkzeug/serving.py", line 50, in <module>
|from ._internal import _log
|File "/usr/lib64/python3.8/site-packages/werkzeug/_internal.py", line 12, in <module>
|import logging
|ModuleNotFoundError: No module named 'logging'
(cherry picked from commit f92b959f4a52ec7596aace92c8d37a370a132f30)
---
 meta-python/recipes-devtools/python/python3-werkzeug_1.0.1.bb | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-werkzeug_1.0.1.bb +1 -0
index b54399e1c8..58735c1c02 100644
@@ -26,6 +26,7 @@ RDEPENDS_${PN} += " \
     ${PYTHON_PN}-html \
     ${PYTHON_PN}-io \
     ${PYTHON_PN}-json \
+    ${PYTHON_PN}-logging \
     ${PYTHON_PN}-netclient \
     ${PYTHON_PN}-netserver \
     ${PYTHON_PN}-numbers \
Signature · 1 line
2.17.1
author
#8 lore raw

PATCH 9/18 multipath-tools: upgrade 0.8.3 -> 0.8.4

In reply to akuster

From: Wang Mingyu <[email protected]>

refresh the following patches:
0024-RH-use-rpm-optflags-if-present.patch 0026-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch

add patch 0001-fix-bug-of-do_compile-and-do_install.patch to fix the bug of do_conpile and do_install

(cherry picked from commit 0b98738428a67549775ec8bd603ed7ff9506e272)
---
 ...fix-bug-of-do_compile-and-do_install.patch | 44 +++++++++
 .../0024-RH-use-rpm-optflags-if-present.patch | 33 ++++---
 ...om-kernel-cmdline-mpath.wwids-with-A.patch | 93 +++----------------
 ...ools_0.8.3.bb => multipath-tools_0.8.4.bb} |  3 +-
 4 files changed, 77 insertions(+), 96 deletions(-)
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0001-fix-bug-of-do_compile-and-do_install.patch
 rename meta-oe/recipes-support/multipath-tools/{multipath-tools_0.8.3.bb => multipath-tools_0.8.4.bb} (97%)
meta-oe/recipes-support/multipath-tools/files/0001-fix-bug-of-do_compile-and-do_install.patch new file +44 -0
new file mode 100644
index 0000000000..ac87337694
@@ -0,0 +1,44 @@
+From fd90d952edaa4b27e62a29fdba7a201288d440eb Mon Sep 17 00:00:00 2001
+From: Wang Mingyu <[email protected]>
+Date: Sun, 10 May 2020 21:22:53 +0800
+Subject: [PATCH] fix bug of do_compile and do_install
+
+when multiple processes make run in parallel,
+because of dependency error will occur.
+
+Signed-off-by: Wang Mingyu <[email protected]>
+---
+ Makefile | 15 ++++++++++++++-
+ 1 file changed, 14 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 1dee3680..bea0a0b2 100644
+--- a/Makefile
++++ b/Makefile
+@@ -28,9 +28,22 @@ all:	$(BUILDDIRS)
+ $(BUILDDIRS):
+ 	$(MAKE) -C $@
+ 
+-multipath multipathd mpathpersist: libmultipath
++multipath multipathd mpathpersist libmpathpersist : libmultipath
+ mpathpersist:  libmpathpersist
+ 
++DEPS_ON_MULTIPATH := \
++	multipath \
++	libmultipath/prioritizers \
++	libmultipath/checkers \
++	libmultipath/foreign \
++	multipathd \
++	mpathpersist \
++	libmpathpersist
++
++$(DEPS_ON_MULTIPATH:=.install): libmultipath.install
++mpathpersist.install:  libmpathpersist.install
++libdmmp.install libmultipath/foreign.install:  mpathpersist.install
++
+ $(BUILDDIRS.clean):
+ 	$(MAKE) -C ${@:.clean=} clean
+ 
+-- 
+2.17.1
+
meta-oe/recipes-support/multipath-tools/files/0024-RH-use-rpm-optflags-if-present.patch +18 -15
index 77dd96fee6..17542fd4fd 100644
@@ -1,9 +1,12 @@
 From 436f7594485e35523269e662c4b5dc3a2c10ff9b Mon Sep 17 00:00:00 2001
 From: Changqing Li <[email protected]>
 Date: Mon, 26 Nov 2018 09:19:17 +0800
-Subject: [PATCH] From 0000000000000000000000000000000000000000 Mon Sep 17
- 00:00:00 2001 From: Benjamin Marzinski <[email protected]> Date: Wed, 19
- Apr 2017 06:10:01 -0500 Subject: [PATCH] RH: use rpm optflags if present
+Subject: [PATCH] From 0000000000000000000000000000000000000000 Mon Sep
+17
+ 00:00:00 2001 From: Benjamin Marzinski <[email protected]> Date: Wed,
+19
+ Apr 2017 06:10:01 -0500 Subject: [PATCH] RH: use rpm optflags if
+present
 
 Use the passed in optflags when compiling as an RPM, and keep the
 default flags as close as possible to the current fedora flags, while
@@ -17,26 +20,20 @@ update this patch to new version
 
 Signed-off-by: Changqing Li <[email protected]>
 ---
- Makefile.inc | 25 ++++++++++++++++---------
- 1 file changed, 16 insertions(+), 9 deletions(-)
+ Makefile.inc | 24 ++++++++++++++++--------
+ 1 file changed, 16 insertions(+), 8 deletions(-)
 
 diff --git a/Makefile.inc b/Makefile.inc
-index b86cba6..295afb9 100644
+index 42dbb5bf..55a06c60 100644
 --- a/Makefile.inc
 +++ b/Makefile.inc
-@@ -85,15 +85,22 @@ TEST_CC_OPTION = $(shell \
+@@ -89,15 +89,23 @@ TEST_CC_OPTION = $(shell \
  		echo "$(2)"; \
  	fi)
  
 -STACKPROT := $(call TEST_CC_OPTION,-fstack-protector-strong,-fstack-protector)
 -ERROR_DISCARDED_QUALIFIERS := $(call TEST_CC_OPTION,-Werror=discarded-qualifiers,)
--
--OPTFLAGS	= -O2 -g -pipe -Wall -Wextra -Wformat=2 -Werror=implicit-int \
--		  -Werror=implicit-function-declaration -Werror=format-security \
--		  -Wno-sign-compare -Wno-unused-parameter -Wno-clobbered \
--		  -Werror=cast-qual $(ERROR_DISCARDED_QUALIFIERS) \
--		  -Wp,-D_FORTIFY_SOURCE=2 $(STACKPROT) \
--		  --param=ssp-buffer-size=4
+-WNOCLOBBERED := $(call TEST_CC_OPTION,-Wno-clobbered,)
 +ifndef RPM_OPT_FLAGS
 +       STACKPROT := $(call TEST_CC_OPTION,-fstack-protector-strong,-fstack-protector)
 +       OPTFLAGS        = -O2 -g -pipe -Wall -Werror=format-security \
@@ -54,8 +51,14 @@ index b86cba6..295afb9 100644
 +                  -Wno-unused-parameter -Werror=cast-qual \
 +                  -Werror=discarded-qualifiers
  
+-OPTFLAGS	= -O2 -g -pipe -Werror -Wall -Wextra -Wformat=2 -Werror=implicit-int \
+-		  -Werror=implicit-function-declaration -Werror=format-security \
+-		  $(WNOCLOBBERED) \
+-		  -Werror=cast-qual $(ERROR_DISCARDED_QUALIFIERS) \
+-		  $(STACKPROT) --param=ssp-buffer-size=4
+ CPPFLAGS	:= -Wp,-D_FORTIFY_SOURCE=2 
  CFLAGS		:= $(OPTFLAGS) -DBIN_DIR=\"$(bindir)\" -DLIB_STRING=\"${LIB}\" -DRUN_DIR=\"${RUN}\" \
  		   -MMD -MP $(CFLAGS)
 -- 
-2.7.4
+2.17.1
 
meta-oe/recipes-support/multipath-tools/files/0026-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch +13 -80

120 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/multipath-tools_0.8.4.bb renamed from meta-oe/recipes-support/multipath-tools/multipath-tools_0.8.3.bb +2 -1
similarity index 97%
rename from meta-oe/recipes-support/multipath-tools/multipath-tools_0.8.3.bb
rename to meta-oe/recipes-support/multipath-tools/multipath-tools_0.8.4.bb
index 9e2d86b9a6..2795a8d091 100644
@@ -43,11 +43,12 @@ SRC_URI = "git://git.opensvc.com/multipath-tools/.git;protocol=http \
            file://0029-multipath-tools-modify-Makefile.inc-for-cross-compil.patch \
            file://0030-Always-use-devmapper.patch \
            file://0031-Always-use-devmapper-for-kpartx.patch \
+           file://0001-fix-bug-of-do_compile-and-do_install.patch \
            "
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
 
-SRCREV = "6c3bd369b23e959700527e0e2e6d5b2a1bd36294"
+SRCREV = "d4915917655b3d205aa0e339ca13080ed8182d0d"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.17.1
author
#9 lore raw

PATCH 10/18 cpprest: Disable one more test requiring internet connection

In reply to akuster

From: Gianfranco Costamagna <[email protected]>

(cherry picked from commit 014c4d224aa186f69cf722a3874231474cf3e4e1)
---
 .../cpprest/disable-outside-tests.patch       | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
meta-oe/recipes-support/cpprest/cpprest/disable-outside-tests.patch +20 -0
index e108e0279d..5f1f8a9f9c 100644
@@ -105,3 +105,23 @@ Index: cpprest/Release/tests/functional/http/client/connections_and_errors.cpp
  
  } // SUITE(connections_and_errors)
  
+--- cpprest-2.10.16.orig/Release/tests/functional/http/client/redirect_tests.cpp
++++ cpprest-2.10.16/Release/tests/functional/http/client/redirect_tests.cpp
+@@ -159,7 +159,7 @@ SUITE(redirect_tests)
+             VERIFY_NO_THROWS(reply.get());
+         }
+     }
+-
++/*
+     TEST(does_not_follow_https_to_http_by_default)
+     {
+         handle_timeout([] {
+@@ -182,7 +182,7 @@ SUITE(redirect_tests)
+             );
+         });
+     }
+-
++*/
+     TEST_FIXTURE(uri_address, follows_permanent_redirect)
+     {
+ #if USING_WINHTTP
Signature · 1 line
2.17.1
author
#10 lore raw

PATCH 11/18 gnome-themes-extra: correct the recipe name

In reply to akuster

From: Mingli Yu <[email protected]>

Per https://gitlab.gnome.org/GNOME/gnome-themes-extra/-/blob/master/README.md,
gnome-themes-extra ever named as gnome-themes-standard.

So rename the recipe name to reflect the
current status to avoid confusion.

(cherry picked from commit 7c02c7d41175f62b7ef6859dfc069d83751b656d)
---
 ...nome-themes-standard_3.28.bb => gnome-themes-extra_3.28.bb} | 3 ---
 1 file changed, 3 deletions(-)
 rename meta-oe/recipes-gnome/gnome-themes/{gnome-themes-standard_3.28.bb => gnome-themes-extra_3.28.bb} (94%)
meta-oe/recipes-gnome/gnome-themes/gnome-themes-extra_3.28.bb renamed from meta-oe/recipes-gnome/gnome-themes/gnome-themes-standard_3.28.bb +0 -3
similarity index 94%
rename from meta-oe/recipes-gnome/gnome-themes/gnome-themes-standard_3.28.bb
rename to meta-oe/recipes-gnome/gnome-themes/gnome-themes-extra_3.28.bb
index 2fa754e79d..ac594711cd 100644
@@ -6,9 +6,6 @@ SECTION = "x11/gnome"
 LICENSE = "LGPL-2.1"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
 
-# Upstream renamed this package to gnome-themes-extra at some point
-BPN = "gnome-themes-extra"
-
 inherit gnomebase gettext gtk-icon-cache upstream-version-is-even features_check
 
 ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
Signature · 1 line
2.17.1
author
#12 lore raw

PATCH 12/18 gtkwave: Disable mime update during install

In reply to akuster

From: Khem Raj <[email protected]>

Its not cross compile safe, and there is a post install step via mime bbclass which should take care of it

(cherry picked from commit 6105a7bd4dbb8f02d4c70335b3b3480df5268378)
---
 meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.104.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.104.bb +1 -1
index 6c06c30aaf..6c22f0e044 100644
@@ -18,6 +18,6 @@ RDEPENDS_${PN} += "tk-lib"
 inherit features_check
 ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
 
-EXTRA_OECONF = "--with-tcl=${STAGING_BINDIR_CROSS} --with-tk=${STAGING_BINDIR_CROSS} --with-tirpc"
+EXTRA_OECONF = "--with-tcl=${STAGING_BINDIR_CROSS} --with-tk=${STAGING_BINDIR_CROSS} --with-tirpc --disable-mime-update"
 
 FILES_${PN} = "${bindir} ${datadir}"
Signature · 1 line
2.17.1
author
#13 lore raw

PATCH 13/18 modemmanager: upgrade 1.12.8 -> 1.12.10

In reply to akuster

From: Wang Mingyu <[email protected]>

(cherry picked from commit 9108bf23cd0fedb1a3fed6800b1abf05c083b49a)
---
 .../{modemmanager_1.12.8.bb => modemmanager_1.12.10.bb}         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-connectivity/modemmanager/{modemmanager_1.12.8.bb => modemmanager_1.12.10.bb} (95%)
meta-oe/recipes-connectivity/modemmanager/modemmanager_1.12.10.bb renamed from meta-oe/recipes-connectivity/modemmanager/modemmanager_1.12.8.bb +1 -1
similarity index 95%
rename from meta-oe/recipes-connectivity/modemmanager/modemmanager_1.12.8.bb
rename to meta-oe/recipes-connectivity/modemmanager/modemmanager_1.12.10.bb
index 47a86b9194..deab6f0466 100644
@@ -14,7 +14,7 @@ DEPENDS = "glib-2.0 libgudev intltool-native libxslt-native"
 SRC_URI = "http://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz \
            "
 
-SRC_URI[sha256sum] = "68b53d0615ba0d3e2bbf386ed029dfe644a6a30a79ab8d85523527bb4e713aff"
+SRC_URI[sha256sum] = "b2b3058bbb72adf98b24707fdbebe58e590644a38145e30d574f685f154bf8aa"
 
 S = "${WORKDIR}/ModemManager-${PV}"
 
Signature · 1 line
2.17.1
author
#14 lore raw

PATCH 14/18 python3-pyroute2: upgrade 0.5.11 -> 0.5.12

In reply to akuster

From: Wang Mingyu <[email protected]>

(cherry picked from commit 337094167094536a40d94d3ee74e6355d8fbf2dd)
---
 ...{python3-pyroute2_0.5.11.bb => python3-pyroute2_0.5.12.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pyroute2_0.5.11.bb => python3-pyroute2_0.5.12.bb} (85%)
meta-python/recipes-devtools/python/python3-pyroute2_0.5.12.bb renamed from meta-python/recipes-devtools/python/python3-pyroute2_0.5.11.bb +2 -2
similarity index 85%
rename from meta-python/recipes-devtools/python/python3-pyroute2_0.5.11.bb
rename to meta-python/recipes-devtools/python/python3-pyroute2_0.5.12.bb
index a4b8aa3988..440f8993c9 100644
@@ -3,8 +3,8 @@ LICENSE = "GPLv2 & Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.GPL.v2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://LICENSE.Apache.v2;md5=34281e312165f843a2b7d1f114fe65ce"
 
-SRC_URI[md5sum] = "7005db01604663fc2ecc089925980e05"
-SRC_URI[sha256sum] = "05e959f1a89d715158b91fe83b67946a4441e5e098cc225f4df78a3765ac4af2"
+SRC_URI[md5sum] = "4370e9a5875486a1223705ea9b001eff"
+SRC_URI[sha256sum] = "0157801c5496177856c3296b590065e691b041a3adde6fb8ffad2a8d05013ed3"
 
 inherit setuptools3 pypi ptest
 
Signature · 1 line
2.17.1
author
#15 lore raw

PATCH 15/18 apache2: fix service start fail

In reply to akuster

From: Changqing Li <[email protected]>

reproduce steps:
1. boot up target
2. scp apache2-2.4.41-r0.1.aarch64.rpm on target
3. rpm -i apache2-2.4.41-r0.1.aarch64.rpm
4. systemctl status apache2

Error:
httpd[7767]: (2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2/' for main error log

with the old way, /var/log/apache2/ is created by service systemd-tmpfiles-setup during boot, so only works when apache2 already installed before boot, in above scenario, /var/log/apache2/ will not created. fix by creating it in the service file. similar fix for sysV system

(cherry picked from commit e789c3837ca8d65abb4bac29dc2e5c595c8ce05b)
---
 meta-webserver/recipes-httpd/apache2/apache2_2.4.43.bb    | 8 --------
 .../recipes-httpd/apache2/files/apache2-volatile.conf     | 2 --
 .../recipes-httpd/apache2/files/apache2.service           | 4 ++++
 meta-webserver/recipes-httpd/apache2/files/init           | 5 +++++
 .../recipes-httpd/apache2/files/volatiles.04_apache2      | 3 ---
 5 files changed, 9 insertions(+), 13 deletions(-)
 delete mode 100644 meta-webserver/recipes-httpd/apache2/files/apache2-volatile.conf
 delete mode 100644 meta-webserver/recipes-httpd/apache2/files/volatiles.04_apache2
meta-webserver/recipes-httpd/apache2/apache2_2.4.43.bb +0 -8
index 5200111520..9b80bbff67 100644
@@ -20,9 +20,7 @@ SRC_URI = "${APACHE_MIRROR}/httpd/httpd-${PV}.tar.bz2 \
 SRC_URI_append_class-target = " \
            file://0008-apache2-do-not-use-relative-path-for-gen_test_char.patch \
            file://init \
-           file://apache2-volatile.conf \
            file://apache2.service \
-           file://volatiles.04_apache2 \
            "
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=bddeddfac80b2c9a882241d008bb41c3"
@@ -128,16 +126,10 @@ do_install_append_class-target() {
            -e 's,".*/configure","configure",g' ${D}${datadir}/apache2/build/config.nice
 
     if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
-        install -d ${D}${sysconfdir}/tmpfiles.d/
-        install -m 0644 ${WORKDIR}/apache2-volatile.conf ${D}${sysconfdir}/tmpfiles.d/
-
         install -d ${D}${systemd_unitdir}/system
         install -m 0644 ${WORKDIR}/apache2.service ${D}${systemd_unitdir}/system
         sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/apache2.service
         sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' ${D}${systemd_unitdir}/system/apache2.service
-    elif ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
-        install -d ${D}${sysconfdir}/default/volatiles
-        install -m 0644 ${WORKDIR}/volatiles.04_apache2 ${D}${sysconfdir}/default/volatiles/04_apache2
     fi
 
     rm -rf ${D}${localstatedir} ${D}${sbindir}/envvars*
meta-webserver/recipes-httpd/apache2/files/apache2-volatile.conf deleted +0 -2
deleted file mode 100644
index ff2c587046..0000000000
@@ -1,2 +0,0 @@
-d  /var/run/apache2 0755 root root -
-d  /var/log/apache2 0755 root root -
meta-webserver/recipes-httpd/apache2/files/apache2.service +4 -0
index 9b5548c761..25d43acf8e 100644
@@ -5,6 +5,10 @@ After=network.target remote-fs.target nss-lookup.target
 [Service]
 Type=simple
 Environment=LANG=C
+ExecStartPre=mkdir -p /var/log/apache2
+ExecStartPre=mkdir -p /var/run/apache2
+ExecStartPre=chmod -R 0755 /var/log/apache2
+ExecStartPre=chmod -R 0755 /var/run/apache2
 ExecStart=@SBINDIR@/httpd -DFOREGROUND -D SSL -D PHP5 -k start
 ExecStop=@BASE_BINDIR@/kill -WINCH ${MAINPID}
 KillSignal=SIGCONT
meta-webserver/recipes-httpd/apache2/files/init +5 -0
index 758d133b9e..80a7ebfcb2 100644
@@ -97,6 +97,11 @@ do_start()
             return 1
     fi
 
+    mkdir -p /var/log/apache2
+    chmod -R 0755 /var/log/apache2
+    mkdir -p /var/run/apache2
+    chmod -R 0755 /var/run/apache2
+
     if apache_conftest ; then
             $APACHECTL start
             apache_wait_start $?
meta-webserver/recipes-httpd/apache2/files/volatiles.04_apache2 deleted +0 -3
deleted file mode 100644
index 922075b1bd..0000000000
@@ -1,3 +0,0 @@
-# <type> <owner> <group> <mode> <path> <linksource>
-d root root 0755 /var/run/apache2 none
-d root root 0755 /var/log/apache2 none
Signature · 1 line
2.17.1
author
#16 lore raw

PATCH 16/18 appstream-glib: update 0.7.16 -> 0.7.17

In reply to akuster

From: Emmanuel Roullit <[email protected]>

(cherry picked from commit 65bdf9fc431952313e6b70574a211eb722ca6d47)
---
 .../{appstream-glib_0.7.16.bb => appstream-glib_0.7.17.bb}    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-gnome/recipes-support/appstream-glib/{appstream-glib_0.7.16.bb => appstream-glib_0.7.17.bb} (84%)
meta-gnome/recipes-support/appstream-glib/appstream-glib_0.7.17.bb renamed from meta-gnome/recipes-support/appstream-glib/appstream-glib_0.7.16.bb +2 -2
similarity index 84%
rename from meta-gnome/recipes-support/appstream-glib/appstream-glib_0.7.16.bb
rename to meta-gnome/recipes-support/appstream-glib/appstream-glib_0.7.17.bb
index ec3e4a3d39..eb60bd9680 100644
@@ -20,8 +20,8 @@ DEPENDS = " \
 inherit meson gobject-introspection gettext bash-completion
 
 SRC_URI = "https://people.freedesktop.org/~hughsient/${BPN}/releases/${BP}.tar.xz"
-SRC_URI[md5sum] = "78306049412396a72746186452abdf66"
-SRC_URI[sha256sum] = "04f290d73bc865071112076b8a3345df2730783a16af976fe3becfd2f50d5992"
+SRC_URI[md5sum] = "67d441fb0fb3e14551b47db656565fc4"
+SRC_URI[sha256sum] = "7ca7e91d4accefa1c0d2c6e310cb3fe2686c017810e23b3f82d9f5724345e549"
 
 EXTRA_OEMESON = " \
     -Drpm=false \
Signature · 1 line
2.17.1
author
#17 lore raw

PATCH 17/18 libldb: upgrade 1.5.6 -> 1.5.7

In reply to akuster

From: Yi Zhao <[email protected]>

(cherry picked from commit 6bc961cbff095498d5092f57f17be82c565d01a9)
---
 .../libldb/{libldb_1.5.6.bb => libldb_1.5.7.bb}               | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-support/libldb/{libldb_1.5.6.bb => libldb_1.5.7.bb} (95%)
meta-networking/recipes-support/libldb/libldb_1.5.7.bb renamed from meta-networking/recipes-support/libldb/libldb_1.5.6.bb +2 -2
similarity index 95%
rename from meta-networking/recipes-support/libldb/libldb_1.5.6.bb
rename to meta-networking/recipes-support/libldb/libldb_1.5.7.bb
index cc24863c60..da77a23898 100644
@@ -33,8 +33,8 @@ LIC_FILES_CHKSUM = "file://pyldb.h;endline=24;md5=dfbd238cecad76957f7f860fbe9ada
                     file://man/ldb.3.xml;beginline=261;endline=262;md5=137f9fd61040c1505d1aa1019663fd08 \
                     file://tools/ldbdump.c;endline=19;md5=a7d4fc5d1f75676b49df491575a86a42"
 
-SRC_URI[md5sum] = "fc58ef432c1fcb03fc3bb6cccce08977"
-SRC_URI[sha256sum] = "ff82474d0bf109e415a2d50334bde5715f486a53ff4bb8c7f74459dd229e975b"
+SRC_URI[md5sum] = "4d72bbfe7c7fcdf592482a98c853d222"
+SRC_URI[sha256sum] = "b9eeb77ecb94f3b53caeff7cbc1850b6294fa937be4364c53a92a62c6548c001"
 
 inherit waf-samba
 
Signature · 1 line
2.17.1
author
#18 lore raw

PATCH 18/18 samba: upgrade 4.10.13 -> 4.10.15

In reply to akuster

From: Yi Zhao <[email protected]>

This is a security release in order to address the following defects:

CVE-2020-10700: Use-after-free in Samba AD DC LDAP Server with ASQ
CVE-2020-10704: LDAP Denial of Service (stack overflow) in Samba AD DC

(cherry picked from commit a41c021cfb11418f1a32e49be0716b00b5234210)
---
 .../samba/{samba_4.10.13.bb => samba_4.10.15.bb}              | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-connectivity/samba/{samba_4.10.13.bb => samba_4.10.15.bb} (99%)
meta-networking/recipes-connectivity/samba/samba_4.10.15.bb renamed from meta-networking/recipes-connectivity/samba/samba_4.10.13.bb +2 -2
similarity index 99%
rename from meta-networking/recipes-connectivity/samba/samba_4.10.13.bb
rename to meta-networking/recipes-connectivity/samba/samba_4.10.15.bb
index 5f227c892d..2c74c27fb8 100644
@@ -35,8 +35,8 @@ SRC_URI_append_libc-musl = " \
            file://0001-samba-fix-musl-lib-without-innetgr.patch \
           "
 
-SRC_URI[md5sum] = "e7906580bf06dae087e99ef8254f327d"
-SRC_URI[sha256sum] = "49eb6426e97cbf538e416e51ed8535930382512ad2d13d5ffd7f4336aa7faf63"
+SRC_URI[md5sum] = "67e9f6b8c5140475641bf5121c93b3d4"
+SRC_URI[sha256sum] = "0b8b62558b62fbb121015f28f40fae0f07522710b6bef77c508b51bb6914ced9"
 
 UPSTREAM_CHECK_REGEX = "samba\-(?P<pver>4\.10(\.\d+)+).tar.gz"
 
Signature · 1 line
2.17.1
#11 lore raw

Re: [oe] [dunfell][PATCH 11/18] gnome-themes-extra: correct the recipe name

In reply to akuster
Quoted 6 lines · akuster

...
So rename the recipe name to reflect the
current status to avoid confusion.
...

 ...nome-themes-standard_3.28.bb => gnome-themes-extra_3.28.bb} | 3 ---

...

Change looks fine for master, but not appropriate for stable series:
This would break existing distributions using gnome-themes-standard.

cu
Adrian