Pathc review May 17
cover Pathc review May 17
Please review and have comment back by Wednesday
The following changes since commit bbe3855ec7d7e1417a42e9d7a4d1d3d338812088:
ostree: switch from default master branch to main to fix do_fetch failure (2021-05-13 21:37:32 -0700)
are available in the Git repository at:
git://git.openembedded.org/meta-openembedded-contrib stable/hardknott-nut
http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=stable/hardknott-nut
Andreas Müller (2):
zsh: reduce priority slightly to avoid conflict with bash
xfce4-settings: upgrade 4.16.0 -> 4.16.1
Khem Raj (3):
aom: Match the name for AOM-Patent-License-1.0
libdevmapper,lvm2: Do not inherit license
python3-jinja2_2.%.bbappend: Delete
Saul Wold (2):
tbb: Disable PPC as COMPATIBLE_MACHINE
packagegroup-meta-oe: conditional remove tbb for powerpc
Silcet (1):
ufw: fix python shebang
zangrc (3):
fetchmail: upgrade 6.4.18 -> 6.4.19
openvpn: upgrade 2.5.1 -> 2.5.2
wireshark: upgrade 3.4.4 -> 3.4.5
.../recipes-multimedia/aom/aom_3.0.0.bb | 2 +-
...fix-dynamic-update-of-python-shebang.patch | 57 +++++++++++++++++++
.../recipes-connectivity/ufw/ufw_0.33.bb | 1 +
...etchmail_6.4.18.bb => fetchmail_6.4.19.bb} | 4 +-
.../{openvpn_2.5.1.bb => openvpn_2.5.2.bb} | 4 +-
...{wireshark_3.4.4.bb => wireshark_3.4.5.bb} | 2 +-
.../packagegroups/packagegroup-meta-oe.bb | 2 +-
meta-oe/recipes-shells/zsh/zsh_5.4.2.bb | 2 +-
meta-oe/recipes-support/lvm2/lvm2.inc | 5 +-
meta-oe/recipes-support/tbb/tbb_2021.2.0.bb | 3 +
.../python/python3-jinja2_2.%.bbappend | 13 -----
...ngs_4.16.0.bb => xfce4-settings_4.16.1.bb} | 2 +-
12 files changed, 72 insertions(+), 25 deletions(-)
create mode 100644 meta-networking/recipes-connectivity/ufw/ufw/fix-dynamic-update-of-python-shebang.patch
rename meta-networking/recipes-support/fetchmail/{fetchmail_6.4.18.bb => fetchmail_6.4.19.bb} (83%)
rename meta-networking/recipes-support/openvpn/{openvpn_2.5.1.bb => openvpn_2.5.2.bb} (95%)
rename meta-networking/recipes-support/wireshark/{wireshark_3.4.4.bb => wireshark_3.4.5.bb} (97%)
delete mode 100644 meta-python/recipes-devtools/python/python3-jinja2_2.%.bbappend
rename meta-xfce/recipes-xfce/xfce4-settings/{xfce4-settings_4.16.0.bb => xfce4-settings_4.16.1.bb} (93%)Signature · 1 line
2.17.1
PATCH 1/11 tbb: Disable PPC as COMPATIBLE_MACHINE
From: Saul Wold <[email protected]>
The latest version does not support PPC architecture, so disable the it. Otherwise the following error occurs:
/srv/nvme/yocto/hardknott/builds/tbb/tmp/work/ppc7400-poky-linux/tbb/2021.2.0-r0/git/src/tbb/tools_api/ittnotify_config.h:338:12: error: '__TBB_machine_fetchadd4' was not declared in this scope
338 | return __TBB_machine_fetchadd4(ptr, 1) + 1L;
| ^~~~~~~~~~~~~~~~~~~~~~~--- meta-oe/recipes-support/tbb/tbb_2021.2.0.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-oe/recipes-support/tbb/tbb_2021.2.0.bb +3 -0
@@ -45,3 +45,6 @@ LDFLAGS_append_mips = " -latomic" LDFLAGS_append_mipsel = " -latomic" LDFLAGS_append_libc-musl = " -lucontext" + +# The latest version of oneTBB does not support PPC +COMPATIBLE_MACHINE_powerpc = "(!.*ppc).*"
Signature · 1 line
2.17.1
PATCH 2/11 ufw: fix python shebang
In reply to Armin KusterFrom: Silcet <[email protected]>
[meta-openembedded ticket #327] --
https://github.com/openembedded/meta-openembedded/issues/327
The python version in the shebang at the begining of the ufw script should be the same one as the version the setup.py script was called with.
The fix in patch "setup-only-make-one-reference-to-env.patch" depends on sys.executable returning "/usr/bin/env pythonX". However, it returns "/usr/bin/pythonX". Using sys.version_info we can get the major version of the python used to called the script and append that to the shebang line so it works as intended.
--- ...fix-dynamic-update-of-python-shebang.patch | 57 +++++++++++++++++++ .../recipes-connectivity/ufw/ufw_0.33.bb | 1 + 2 files changed, 58 insertions(+) create mode 100644 meta-networking/recipes-connectivity/ufw/ufw/fix-dynamic-update-of-python-shebang.patch
meta-networking/recipes-connectivity/ufw/ufw/fix-dynamic-update-of-python-shebang.patch new file +57 -0
@@ -0,0 +1,57 @@ +From b961a7fceb5654c283c3f987bee593d52abaf1f5 Mon Sep 17 00:00:00 2001 +From: Silcet <[email protected]> +Date: Mon, 26 Apr 2021 07:47:02 +0000 +Subject: [PATCH] ufw: Fix dynamic update of python shebang + +[meta-openembedded ticket #327] -- https://github.com/openembedded/meta-openembedded/issues/327 + +The python version in the shebang at the begining of the ufw script +should be the same one as the version the setup.py script was called +with. + +The fix in patch "setup-only-make-one-reference-to-env.patch" +depends on sys.executable returning "/usr/bin/env pythonX". However, +it returns "/usr/bin/pythonX". Using sys.version_info we can get the +major version of the python used to called the script and append +that to the shebang line so it works as intended. + +Upstream-status: Pending + +Signed-off-by: Silcet <[email protected]> +--- + setup.py | 21 ++++++--------------- + 1 file changed, 6 insertions(+), 15 deletions(-) + +diff --git a/setup.py b/setup.py +index ca730b7..941bbf6 100644 +--- a/setup.py ++++ b/setup.py +@@ -112,22 +112,13 @@ class Install(_install, object): + for f in [ script, manpage, manpage_f ]: + self.mkpath(os.path.dirname(f)) + +- # if sys.executable == /usr/bin/env python* the result will be the top +- # of ufw getting: +- # +- # #! /usr/bin/env /usr/bin/env python +- # +- # which is not ideal +- # + # update the interpreter to that of the one the user specified for setup +- print("Updating staging/ufw to use (%s)" % (sys.executable)) +- +- if re.search("(/usr/bin/env)", sys.executable): +- print("found 'env' in sys.executable (%s)" % (sys.executable)) +- subprocess.call(["sed", +- "-i.jjm", +- "1s%^#.*python.*%#! " + sys.executable + "%g", +- 'staging/ufw']) ++ python_major = sys.version_info.major ++ print("Updating staging/ufw to use (python%s)" % (python_major)) ++ subprocess.call(["sed", ++ "-i.jjm", ++ "1s%^#.*python.*%#! " + sys.executable + "%g", ++ 'staging/ufw']) + + self.copy_file('staging/ufw', script) + self.copy_file('doc/ufw.8', manpage)
meta-networking/recipes-connectivity/ufw/ufw_0.33.bb +1 -0
@@ -16,6 +16,7 @@ SRC_URI = " \ file://0003-fix-typeerror-on-error.patch \ file://0004-lp1039729.patch \ file://0005-lp1191197.patch \ + file://fix-dynamic-update-of-python-shebang.patch \ " UPSTREAM_CHECK_URI = "https://launchpad.net/ufw"
Signature · 1 line
2.17.1
PATCH 3/11 aom: Match the name for AOM-Patent-License-1.0
In reply to Armin KusterFrom: Khem Raj <[email protected]>
--- meta-multimedia/recipes-multimedia/aom/aom_3.0.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-multimedia/recipes-multimedia/aom/aom_3.0.0.bb +1 -1
@@ -1,7 +1,7 @@ SUMMARY = "Alliance for Open Media - AV1 Codec Library" DESCRIPTION = "Alliance for Open Media AV1 codec library" -LICENSE = "BSD-2-Clause & AOM-Patent-1.0" +LICENSE = "BSD-2-Clause & AOM-Patent-License-1.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=6ea91368c1bbdf877159435572b931f5 \ file://PATENTS;md5=e69ad12202bd20da3c76a5d3648cfa83 \ "
Signature · 1 line
2.17.1
PATCH 4/11 libdevmapper,lvm2: Do not inherit license
In reply to Armin KusterFrom: Khem Raj <[email protected]>
inheriting license class which brings inAVAILABLE_LICENSES into do_configure task checksums class since it wants to
enable thin-provisioning-tools if distro allows GPL-3 automatically, but this
brings issues when other layers which have additional licenses are
provided which ends up in signature mismatches so leave that setting to end-user and keep it disabled by default with a comment in recipes stating that if needed then the user should enable it via config metadata or bbappends.
--- meta-oe/recipes-support/lvm2/lvm2.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
meta-oe/recipes-support/lvm2/lvm2.inc +2 -3
@@ -21,12 +21,11 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main \ SRCREV = "3e8bd8d1bd70691f09a170785836aeb4f83154e6" S = "${WORKDIR}/git" -inherit autotools-brokensep pkgconfig systemd license +inherit autotools-brokensep pkgconfig systemd LVM2_PACKAGECONFIG = "dmeventd" LVM2_PACKAGECONFIG_append_class-target = " \ ${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)} \ - ${@incompatible_license_contains('GPLv3', '', 'thin-provisioning-tools', d)} \ " # odirect is always enabled because there currently is a bug in
@@ -39,6 +38,7 @@ PACKAGECONFIG[dmeventd] = "--enable-dmeventd,--disable-dmeventd" PACKAGECONFIG[odirect] = "--enable-o_direct,--disable-o_direct" PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline" PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" +# NOTE: Add thin-provisioning-tools only if your distro policy allows GPL-3.0 license PACKAGECONFIG[thin-provisioning-tools] = "--with-thin=internal,--with-thin=none,,thin-provisioning-tools" # Unset user/group to unbreak install.
@@ -55,4 +55,3 @@ EXTRA_OECONF = "--with-user= \ --with-thin-repair=${sbindir}/thin_repair \ --with-thin-restore=${sbindir}/thin_restore \ " -
Signature · 1 line
2.17.1
PATCH 5/11 python3-jinja2_2.%.bbappend: Delete
In reply to Armin KusterFrom: Khem Raj <[email protected]>
These changes are moved to OE-Core
--- .../python/python3-jinja2_2.%.bbappend | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-jinja2_2.%.bbappend
meta-python/recipes-devtools/python/python3-jinja2_2.%.bbappend deleted +0 -13
@@ -1,13 +0,0 @@ -# Main recipe was moved to oe-core, but with ptest disabled -inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)} - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -RDEPENDS_${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-toml \ - ${PYTHON_PN}-unixadmin \ -"
Signature · 1 line
2.17.1
PATCH 6/11 fetchmail: upgrade 6.4.18 -> 6.4.19
In reply to Armin KusterFrom: zangrc <[email protected]>
-License-Update: Change distribition to distribution.
Specific permission is granted for the GPLed code in this distribution to be linked to OpenSSL without invoking GPL clause 2(b).
---
.../fetchmail/{fetchmail_6.4.18.bb => fetchmail_6.4.19.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-networking/recipes-support/fetchmail/{fetchmail_6.4.18.bb => fetchmail_6.4.19.bb} (83%)meta-networking/recipes-support/fetchmail/fetchmail_6.4.19.bb renamed from meta-networking/recipes-support/fetchmail/fetchmail_6.4.18.bb +2 -2
@@ -6,13 +6,13 @@ connections). It supports every remote-mail protocol now in use on the Internet: RPOP, APOP, KPOP, all flavors of IMAP, ETRN, and ODMR. It can even support IPv6 and IPSEC." SECTION = "mail" LICENSE = "GPLv2 & MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=06a8d16599e1d0b131390bec01fb571c" +LIC_FILES_CHKSUM = "file://COPYING;md5=ad73c6bd421c137fbf18cf8b92474186" DEPENDS = "openssl" SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz \ " -SRC_URI[sha256sum] = "302dc9bcdc6927dedf375d2baaead2347557faa70d98b1da83f2409fa6fb259f" +SRC_URI[sha256sum] = "cd8d11a3d103e50caa2ec64bcda6307eb3d0783a4d4dfd88e668b81aaf9d6b5f" inherit autotools gettext python3-dir python3native
Signature · 1 line
2.17.1
PATCH 7/11 openvpn: upgrade 2.5.1 -> 2.5.2
In reply to Armin KusterFrom: zangrc <[email protected]>
---
.../openvpn/{openvpn_2.5.1.bb => openvpn_2.5.2.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-networking/recipes-support/openvpn/{openvpn_2.5.1.bb => openvpn_2.5.2.bb} (95%)meta-networking/recipes-support/openvpn/openvpn_2.5.2.bb renamed from meta-networking/recipes-support/openvpn/openvpn_2.5.1.bb +2 -2
@@ -14,8 +14,8 @@ SRC_URI = "http://swupdate.openvpn.org/community/releases/${BP}.tar.gz \ UPSTREAM_CHECK_URI = "https://openvpn.net/community-downloads" -SRC_URI[md5sum] = "b1c279e89d97849d5fcde31d76812f04" -SRC_URI[sha256sum] = "e9582b8e9457994bd8d50012be82c23b2f465da51460c9b2360a81da0f4e06e6" +SRC_URI[md5sum] = "7643f135b49aee49df7d83c1f434dc4e" +SRC_URI[sha256sum] = "b9d295988b34e39964ac475b619c3585d667b36c350cf1adec19e5e3c843ba11" SYSTEMD_SERVICE_${PN} += "[email protected] [email protected]" SYSTEMD_AUTO_ENABLE = "disable"
Signature · 1 line
2.17.1
PATCH 8/11 wireshark: upgrade 3.4.4 -> 3.4.5
In reply to Armin KusterFrom: zangrc <[email protected]>
---
.../wireshark/{wireshark_3.4.4.bb => wireshark_3.4.5.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-networking/recipes-support/wireshark/{wireshark_3.4.4.bb => wireshark_3.4.5.bb} (97%)meta-networking/recipes-support/wireshark/wireshark_3.4.5.bb renamed from meta-networking/recipes-support/wireshark/wireshark_3.4.4.bb +1 -1
@@ -19,7 +19,7 @@ SRC_URI += " \ UPSTREAM_CHECK_URI = "https://1.as.dl.wireshark.org/src" -SRC_URI[sha256sum] = "729cd11e9715c600e5ad74ca472bacf8af32c20902192d5f2b271268511d4d29" +SRC_URI[sha256sum] = "de1aafd100a1e1207c850d180e97dd91ab8da0f5eb6beec545f725cdb145d333" PE = "1"
Signature · 1 line
2.17.1
PATCH 9/11 zsh: reduce priority slightly to avoid conflict with bash
In reply to Armin KusterFrom: Andreas Müller <[email protected]>
| [log_check] Warn: update-alternatives: sh has multiple providers with the same priority, please check /workdir/raspberrypi4_64-mortsgna-linux/allgui-dev-image/1.0-r0/rootfs/usr/lib/opkg/alternatives/sh for details
--- meta-oe/recipes-shells/zsh/zsh_5.4.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-shells/zsh/zsh_5.4.2.bb +1 -1
@@ -38,7 +38,7 @@ EXTRA_OEMAKE = "-e MAKEFLAGS=" ALTERNATIVE_${PN} = "sh" ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh" ALTERNATIVE_TARGET[sh] = "${base_bindir}/${BPN}" -ALTERNATIVE_PRIORITY = "100" +ALTERNATIVE_PRIORITY = "90" export AUTOHEADER = "true"
Signature · 1 line
2.17.1
PATCH 10/11 packagegroup-meta-oe: conditional remove tbb for powerpc
In reply to Armin KusterFrom: Saul Wold <[email protected]>
Since tbb has a COMPATIBLE_MACHINE entry to prevent it from building for powerpcc, let's also remove it from the meta-oe-support package group.
--- meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1 -1
@@ -921,7 +921,7 @@ RDEPENDS_packagegroup-meta-oe-support_remove_arm ="numactl" RDEPENDS_packagegroup-meta-oe-support_remove_mipsarch = "gperftools" RDEPENDS_packagegroup-meta-oe-support_remove_riscv64 = "gperftools uim" RDEPENDS_packagegroup-meta-oe-support_remove_riscv32 = "gperftools uim" -RDEPENDS_packagegroup-meta-oe-support_remove_powerpc = "ssiapi" +RDEPENDS_packagegroup-meta-oe-support_remove_powerpc = "ssiapi tbb" RDEPENDS_packagegroup-meta-oe-support_remove_powerpc64le = "ssiapi" RDEPENDS_packagegroup-meta-oe-test ="\
Signature · 1 line
2.17.1
PATCH 11/11 xfce4-settings: upgrade 4.16.0 -> 4.16.1
In reply to Armin KusterFrom: Andreas Müller <[email protected]>
Release notes for 4.16.1
========================
- display: Fix scale by rounding (Fixes #258)
- Drop preferences-desktop-default-applications icon name
- Also allocate terminating element
- Translation Updates
---
.../{xfce4-settings_4.16.0.bb => xfce4-settings_4.16.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-xfce/recipes-xfce/xfce4-settings/{xfce4-settings_4.16.0.bb => xfce4-settings_4.16.1.bb} (93%)meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.16.1.bb renamed from meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.16.0.bb +1 -1
@@ -9,7 +9,7 @@ inherit xfce features_check mime-xdg REQUIRED_DISTRO_FEATURES = "x11" SRC_URI += "file://0001-xsettings.xml-Set-default-themes.patch" -SRC_URI[sha256sum] = "67a1404fc754c675c6431e22a8fe0e5d79644fdfadbfe25a4523d68e1442ddc2" +SRC_URI[sha256sum] = "bb28e1be7aa34d0edb1cfbaacc509a4267db56828b36cd6be312a202973635c6" EXTRA_OECONF += "--enable-maintainer-mode --disable-debug"
Signature · 1 line
2.17.1