Patch review
cover Patch review
Please review this set of changes for nanbield and have comments back by end of day Tuesday, February 6
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6527
The following changes since commit a27983e0b6bde730fe501c9931119bf18b2c376b:
package.py: OEHasPackage: Add MLPREFIX to packagename (2024-01-26 04:58:49 -1000)
are available in the Git repository at:
https://git.openembedded.org/openembedded-core-contrib stable/nanbield-nut
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/nanbield-nut
Alexander Kanavin (2):
glibc-y2038-tests: do not run tests using 32 bit time APIs
icon-naming-utils: take tarball from debian
Khem Raj (1):
tcl: Fix prepending to run-ptest script
Ming Liu (2):
grub: fs/fat: Don't error when mtime is 0
qemu.bbclass: fix a python TypeError
Peter Marko (2):
sqlite3: upgrade 3.43.1 -> 3.43.2
sqlite: drop obsolete CVE ignore
Richard Purdie (1):
curl: Disable test 1091 due to intermittent failures
Rodrigo M. Duarte (1):
linux-firmware: Fix the linux-firmware-bcm4373 FILES variable
Simone Weiß (1):
glibc: Set status for CVE-2023-5156 & CVE-2023-0687
Trevor Gamblin (1):
scripts/runqemu: fix regex escape sequences
Wang Mingyu (2):
gstreamer1.0: upgrade 1.22.7 -> 1.22.8
aspell: upgrade 0.60.8 -> 0.60.8.1
William Lyu (1):
elfutils: Update license information
Yang Xu (1):
rootfs.py: check depmodwrapper execution result
...pell_0.60.8.bbappend => aspell_%.bbappend} | 0
meta/classes-recipe/qemu.bbclass | 2 +-
meta/lib/oe/rootfs.py | 3 +-
...1-fs-fat-Don-t-error-when-mtime-is-0.patch | 70 ++++++++++++
meta/recipes-bsp/grub/grub2.inc | 1 +
meta/recipes-core/glibc/glibc-version.inc | 2 +
meta/recipes-core/glibc/glibc/run-ptest | 12 +--
.../elfutils/elfutils_0.189.bb | 19 ++--
meta/recipes-devtools/tcltk/tcl_8.6.13.bb | 2 +-
.../linux-firmware/linux-firmware_20231030.bb | 1 +
...tools_1.22.7.bb => gst-devtools_1.22.8.bb} | 2 +-
...1.22.7.bb => gstreamer1.0-libav_1.22.8.bb} | 2 +-
...x_1.22.7.bb => gstreamer1.0-omx_1.22.8.bb} | 2 +-
....bb => gstreamer1.0-plugins-bad_1.22.8.bb} | 2 +-
...bb => gstreamer1.0-plugins-base_1.22.8.bb} | 2 +-
...bb => gstreamer1.0-plugins-good_1.22.8.bb} | 2 +-
...bb => gstreamer1.0-plugins-ugly_1.22.8.bb} | 2 +-
....22.7.bb => gstreamer1.0-python_1.22.8.bb} | 2 +-
....bb => gstreamer1.0-rtsp-server_1.22.8.bb} | 2 +-
...1.22.7.bb => gstreamer1.0-vaapi_1.22.8.bb} | 2 +-
...er1.0_1.22.7.bb => gstreamer1.0_1.22.8.bb} | 2 +-
.../icon-naming-utils_0.8.90.bb | 4 +-
.../{aspell_0.60.8.bb => aspell_0.60.8.1.bb} | 7 +-
.../aspell/files/CVE-2019-25051.patch | 101 ------------------
meta/recipes-support/curl/curl/disable-tests | 2 +
.../{sqlite3_3.43.1.bb => sqlite3_3.43.2.bb} | 5 +-
scripts/runqemu | 8 +-
27 files changed, 115 insertions(+), 146 deletions(-)
rename meta-selftest/recipes-test/aspell/{aspell_0.60.8.bbappend => aspell_%.bbappend} (100%)
create mode 100644 meta/recipes-bsp/grub/files/0001-fs-fat-Don-t-error-when-mtime-is-0.patch
rename meta/recipes-multimedia/gstreamer/{gst-devtools_1.22.7.bb => gst-devtools_1.22.8.bb} (95%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.22.7.bb => gstreamer1.0-libav_1.22.8.bb} (91%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.22.7.bb => gstreamer1.0-omx_1.22.8.bb} (95%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.22.7.bb => gstreamer1.0-plugins-bad_1.22.8.bb} (98%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.22.7.bb => gstreamer1.0-plugins-base_1.22.8.bb} (98%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.22.7.bb => gstreamer1.0-plugins-good_1.22.8.bb} (97%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.22.7.bb => gstreamer1.0-plugins-ugly_1.22.8.bb} (94%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.22.7.bb => gstreamer1.0-python_1.22.8.bb} (91%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-rtsp-server_1.22.7.bb => gstreamer1.0-rtsp-server_1.22.8.bb} (90%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-vaapi_1.22.7.bb => gstreamer1.0-vaapi_1.22.8.bb} (95%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.22.7.bb => gstreamer1.0_1.22.8.bb} (97%)
rename meta/recipes-support/aspell/{aspell_0.60.8.bb => aspell_0.60.8.1.bb} (83%)
delete mode 100644 meta/recipes-support/aspell/files/CVE-2019-25051.patch
rename meta/recipes-support/sqlite/{sqlite3_3.43.1.bb => sqlite3_3.43.2.bb} (48%)Signature · 1 line
2.34.1
PATCH 1/15 glibc: Set status for CVE-2023-5156 & CVE-2023-0687
From: Simone Weiß <[email protected]>
Set CVE_STATUSfor those CVEs, they have already been fixed with the latest pull for stable branch fixes done in rev e444d2bed0ea140a574414fcd5a689867e8ba312. Hence the issues are fixed already.
--- meta/recipes-core/glibc/glibc-version.inc | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-core/glibc/glibc-version.inc +2 -0
@@ -10,4 +10,6 @@ UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.(?!90)\d+)*)" CVE_STATUS[CVE-2023-4527] = "fixed-version: Fixed in stable branch updates" CVE_STATUS[CVE-2023-4911] = "fixed-version: Fixed in stable branch updates" CVE_STATUS[CVE-2023-4806] = "fixed-version: Fixed in stable branch updates" +CVE_STATUS[CVE-2023-5156] = "fixed-version: Fixed in stable branch updates" CVE_STATUS[CVE-2023-4527] = "fixed-version: Fixed in stable branch updates" +CVE_STATUS[CVE-2023-0687] = "fixed-version: Fixed in stable branch updates"
Signature · 1 line
2.34.1
PATCH 2/15 gstreamer1.0: upgrade 1.22.7 -> 1.22.8
In reply to Steve SakomanFrom: Wang Mingyu <[email protected]>
From release notes:
1.22 bug-fix release (1.22.8) was released on 18 December 2023.
This release only contains bugfixes and security fixes and it should be safe to update from 1.22.x.
---
.../{gst-devtools_1.22.7.bb => gst-devtools_1.22.8.bb} | 2 +-
...streamer1.0-libav_1.22.7.bb => gstreamer1.0-libav_1.22.8.bb} | 2 +-
.../{gstreamer1.0-omx_1.22.7.bb => gstreamer1.0-omx_1.22.8.bb} | 2 +-
...plugins-bad_1.22.7.bb => gstreamer1.0-plugins-bad_1.22.8.bb} | 2 +-
...ugins-base_1.22.7.bb => gstreamer1.0-plugins-base_1.22.8.bb} | 2 +-
...ugins-good_1.22.7.bb => gstreamer1.0-plugins-good_1.22.8.bb} | 2 +-
...ugins-ugly_1.22.7.bb => gstreamer1.0-plugins-ugly_1.22.8.bb} | 2 +-
...reamer1.0-python_1.22.7.bb => gstreamer1.0-python_1.22.8.bb} | 2 +-
...rtsp-server_1.22.7.bb => gstreamer1.0-rtsp-server_1.22.8.bb} | 2 +-
...streamer1.0-vaapi_1.22.7.bb => gstreamer1.0-vaapi_1.22.8.bb} | 2 +-
.../{gstreamer1.0_1.22.7.bb => gstreamer1.0_1.22.8.bb} | 2 +-
11 files changed, 11 insertions(+), 11 deletions(-)
rename meta/recipes-multimedia/gstreamer/{gst-devtools_1.22.7.bb => gst-devtools_1.22.8.bb} (95%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.22.7.bb => gstreamer1.0-libav_1.22.8.bb} (91%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.22.7.bb => gstreamer1.0-omx_1.22.8.bb} (95%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.22.7.bb => gstreamer1.0-plugins-bad_1.22.8.bb} (98%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.22.7.bb => gstreamer1.0-plugins-base_1.22.8.bb} (98%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.22.7.bb => gstreamer1.0-plugins-good_1.22.8.bb} (97%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.22.7.bb => gstreamer1.0-plugins-ugly_1.22.8.bb} (94%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.22.7.bb => gstreamer1.0-python_1.22.8.bb} (91%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-rtsp-server_1.22.7.bb => gstreamer1.0-rtsp-server_1.22.8.bb} (90%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-vaapi_1.22.7.bb => gstreamer1.0-vaapi_1.22.8.bb} (95%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.22.7.bb => gstreamer1.0_1.22.8.bb} (97%)meta/recipes-multimedia/gstreamer/gst-devtools_1.22.8.bb renamed from meta/recipes-multimedia/gstreamer/gst-devtools_1.22.7.bb +1 -1
@@ -12,7 +12,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-${PV} file://0001-connect-has-a-different-signature-on-musl.patch \ " -SRC_URI[sha256sum] = "157cf93fb2741cf0c3dea731be3af2ffae703c9f2cd3c0c91b380fbc685eb9f9" +SRC_URI[sha256sum] = "cd634056fcb16d035b3df5953ec85ae8bd56c68f29920b720ef920ca71ea76a7" DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base" RRECOMMENDS:${PN} = "git"
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.8.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.7.bb +1 -1
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \ " SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz" -SRC_URI[sha256sum] = "1525b917141b895fe5cf618fe8867622b2528278a0286e9f727b5f37317daca1" +SRC_URI[sha256sum] = "be39349bc07ab4cdbd9a5fd6ea9848c601c7560ba5a0577ad5200b83bd424981" S = "${WORKDIR}/gst-libav-${PV}"
meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.8.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.7.bb +1 -1
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz" -SRC_URI[sha256sum] = "d7a18ec47d40a472bd5cba2015e0be72b732f1699895398cec5cd8e6a3a53b44" +SRC_URI[sha256sum] = "94df10e7713618f0c8a4223f6e047f2d8f0ccecba1d585618e791f13037762df" S = "${WORKDIR}/gst-omx-${PV}"
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.8.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.7.bb +1 -1
@@ -10,7 +10,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad file://0002-avoid-including-sys-poll.h-directly.patch \ file://0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \ " -SRC_URI[sha256sum] = "c716f8dffa8fac3fb646941af1c6ec72fff05a045131311bf2d049fdc87bce2e" +SRC_URI[sha256sum] = "458783f8236068991e3e296edd671c8eddb8be6fac933c1c2e1503462864ea0f" S = "${WORKDIR}/gst-plugins-bad-${PV}"
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.8.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.7.bb +1 -1
@@ -11,7 +11,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-ba file://0003-viv-fb-Make-sure-config.h-is-included.patch \ file://0002-ssaparse-enhance-SSA-text-lines-parsing.patch \ " -SRC_URI[sha256sum] = "62519e0d8f969ebf62a9a7996f2d23efdda330217a635f4a32c0bf1c71577468" +SRC_URI[sha256sum] = "eb6792e5c73c6defb9159c36ea6e4b78a2f8af6512678b4bd3b02c8d2d492acf" S = "${WORKDIR}/gst-plugins-base-${PV}"
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.8.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.7.bb +1 -1
@@ -8,7 +8,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-go file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \ file://0001-v4l2-Define-ioctl_req_t-for-posix-linux-case.patch" -SRC_URI[sha256sum] = "b6db0e18e398b52665b7cdce301c34a8750483d5f4fbac1ede9f80b03743cd15" +SRC_URI[sha256sum] = "e305b9f07f52743ca481da0a4e0c76c35efd60adaf1b0694eb3bb021e2137e39" S = "${WORKDIR}/gst-plugins-good-${PV}"
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.22.8.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.22.7.bb +1 -1
@@ -14,7 +14,7 @@ LICENSE_FLAGS = "commercial" SRC_URI = " \ https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \ " -SRC_URI[sha256sum] = "520b46bca637189ad86a298ff245b2d89375dbcac8b05d74daea910f81a9e9da" +SRC_URI[sha256sum] = "0761d96ba508e01c0271881b26828c2bffd7d8afd50872219f088f755b252ca7" S = "${WORKDIR}/gst-plugins-ugly-${PV}"
meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.22.8.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.22.7.bb +1 -1
@@ -8,7 +8,7 @@ LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740" SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz" -SRC_URI[sha256sum] = "1ef8df7608012fa469329799c950ec087737a6dabad3003c230658b58c710172" +SRC_URI[sha256sum] = "d5cb8f144054a2a110e6672bd512e4b15d5b1b8d9879c192b9723535efb70b8f" DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" RDEPENDS:${PN} += "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject"
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.22.8.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.22.7.bb +1 -1
@@ -10,7 +10,7 @@ PNREAL = "gst-rtsp-server" SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz" -SRC_URI[sha256sum] = "f7fac001e20ad21e36d18397741c4657c5d43571eb1cc3b49f9a93ae127dc88f" +SRC_URI[sha256sum] = "705177051c229976f171adcd7ab9762ae6bcc4bb77dc308a0bd80a63da6c337f" S = "${WORKDIR}/${PNREAL}-${PV}"
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.22.8.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.22.7.bb +1 -1
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz" -SRC_URI[sha256sum] = "0e9fff768b89de6d318b34146e4e781d82b9a0f4025dc541b2c8349c7bcb7f67" +SRC_URI[sha256sum] = "1298ba347a70c42b88cdebf91b659fea02b1bb7269eabf8e29e3c0bd58278928" S = "${WORKDIR}/${REALPN}-${PV}" DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
meta/recipes-multimedia/gstreamer/gstreamer1.0_1.22.8.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0_1.22.7.bb +1 -1
@@ -22,7 +22,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.x file://0003-tests-use-a-dictionaries-for-environment.patch;striplevel=3 \ file://0004-tests-add-helper-script-to-run-the-installed_tests.patch;striplevel=3 \ " -SRC_URI[sha256sum] = "01e42c6352a06bdfa4456e64b06ab7d98c5c487a25557c761554631cbda64217" +SRC_URI[sha256sum] = "ad4e3db1771139b1db17b1afa7c05db083ae0100bd4da244b71f162dcce41bfc" PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ check \
Signature · 1 line
2.34.1
PATCH 3/15 aspell: upgrade 0.60.8 -> 0.60.8.1
In reply to Steve SakomanFrom: Wang Mingyu <[email protected]>
CVE-2019-25051.patch
removed since it's included in 0.60.8.1
Changelog:
============
-Fix memory leak in suggestion code introduced in 0.60.8. -Various documentation fixes.
-Fix various warnings when compiling with -Wall. -Fix two buffer overflows found by Google's OSS-Fuzz. -Other minor updates.
---
...pell_0.60.8.bbappend => aspell_%.bbappend} | 0
.../{aspell_0.60.8.bb => aspell_0.60.8.1.bb} | 7 +-
.../aspell/files/CVE-2019-25051.patch | 101 ------------------
3 files changed, 2 insertions(+), 106 deletions(-)
rename meta-selftest/recipes-test/aspell/{aspell_0.60.8.bbappend => aspell_%.bbappend} (100%)
rename meta/recipes-support/aspell/{aspell_0.60.8.bb => aspell_0.60.8.1.bb} (83%)
delete mode 100644 meta/recipes-support/aspell/files/CVE-2019-25051.patchmeta-selftest/recipes-test/aspell/aspell_%.bbappend renamed from meta-selftest/recipes-test/aspell/aspell_0.60.8.bbappend +0 -0
meta/recipes-support/aspell/aspell_0.60.8.1.bb renamed from meta/recipes-support/aspell/aspell_0.60.8.bb +2 -5
@@ -13,11 +13,8 @@ HOMEPAGE = "http://aspell.net/" LICENSE = "LGPL-2.0-only | LGPL-2.1-only" LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" -SRC_URI = "${GNU_MIRROR}/aspell/aspell-${PV}.tar.gz \ - file://CVE-2019-25051.patch \ -" -SRC_URI[md5sum] = "012fa9209203ae4e5a61c2a668fd10e3" -SRC_URI[sha256sum] = "f9b77e515334a751b2e60daab5db23499e26c9209f5e7b7443b05235ad0226f2" +SRC_URI = "${GNU_MIRROR}/aspell/aspell-${PV}.tar.gz" +SRC_URI[sha256sum] = "d6da12b34d42d457fa604e435ad484a74b2effcd120ff40acd6bb3fb2887d21b" PACKAGECONFIG ??= "" PACKAGECONFIG[curses] = "--enable-curses,--disable-curses,ncurses"
meta/recipes-support/aspell/files/CVE-2019-25051.patch deleted +0 -101
101 lines not on this page · raw message
Signature · 1 line
2.34.1
PATCH 4/15 sqlite3: upgrade 3.43.1 -> 3.43.2
In reply to Steve SakomanFrom: Peter Marko <[email protected]>
This fixes CVE-2024-0232
---
.../sqlite/{sqlite3_3.43.1.bb => sqlite3_3.43.2.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-support/sqlite/{sqlite3_3.43.1.bb => sqlite3_3.43.2.bb} (78%)meta/recipes-support/sqlite/sqlite3_3.43.2.bb renamed from meta/recipes-support/sqlite/sqlite3_3.43.1.bb +1 -1
@@ -4,7 +4,7 @@ LICENSE = "PD" LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=786d3dc581eff03f4fd9e4a77ed00c66" SRC_URI = "http://www.sqlite.org/2023/sqlite-autoconf-${SQLITE_PV}.tar.gz" -SRC_URI[sha256sum] = "39116c94e76630f22d54cd82c3cea308565f1715f716d1b2527f1c9c969ba4d9" +SRC_URI[sha256sum] = "6d422b6f62c4de2ca80d61860e3a3fb693554d2f75bb1aaca743ccc4d6f609f0" CVE_STATUS[CVE-2023-36191] = "disputed: The error is a bug. It has been fixed upstream. But it is not a vulnerability"
Signature · 1 line
2.34.1
PATCH 5/15 sqlite: drop obsolete CVE ignore
In reply to Steve SakomanFrom: Peter Marko <[email protected]>
CVE-2023-36191 is now rejected in NVD DB so it won't shoup up in cve-check report anymore.
--- meta/recipes-support/sqlite/sqlite3_3.43.2.bb | 3 --- 1 file changed, 3 deletions(-)
meta/recipes-support/sqlite/sqlite3_3.43.2.bb +0 -3
@@ -5,6 +5,3 @@ LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=786d3dc581eff03f4fd9e4a77ed0 SRC_URI = "http://www.sqlite.org/2023/sqlite-autoconf-${SQLITE_PV}.tar.gz" SRC_URI[sha256sum] = "6d422b6f62c4de2ca80d61860e3a3fb693554d2f75bb1aaca743ccc4d6f609f0" - -CVE_STATUS[CVE-2023-36191] = "disputed: The error is a bug. It has been fixed upstream. But it is not a vulnerability" -
Signature · 1 line
2.34.1
PATCH 6/15 curl: Disable test 1091 due to intermittent failures
In reply to Steve SakomanFrom: Richard Purdie <[email protected]>
Disable another test that intermittently fails on the autobuilder.
--- meta/recipes-support/curl/curl/disable-tests | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-support/curl/curl/disable-tests +2 -0
@@ -7,6 +7,8 @@ 413 # These CRL tests are scanning docs 971 +# Intermittently hangs e.g http://autobuilder.yocto.io/pub/non-release/20231228-18/testresults/qemux86-64-ptest/curl.log +1091 # Intermittently hangs e.g https://autobuilder.yocto.io/pub/non-release/20231220-27/testresults/qemux86-64-ptest/curl.log 1096 # These CRL tests are scanning docs
Signature · 1 line
2.34.1
PATCH 7/15 scripts/runqemu: fix regex escape sequences
In reply to Steve SakomanFrom: Trevor Gamblin <[email protected]>
When invoking runqemu with Python 3.12, the following warning is encountered:
|SyntaxWarning: invalid escape sequence '\.'
This is because the interpreter scans the string before it is processed by the regex module, and it interprets the backslash as part of an escape sequence, but not a standard one. This will be registered as an error rather than a warning in future Python versions. To avoid the it, simply add an extra backslash so that Python doesn't misinterpret the string, while the regex parser still sees an escaped '.' character.
--- scripts/runqemu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
scripts/runqemu +4 -4
@@ -367,7 +367,7 @@ class BaseConfig(object): if p.endswith('.qemuboot.conf'): self.qemuboot = p self.qbconfload = True - elif re.search('\.bin$', p) or re.search('bzImage', p) or \ + elif re.search('\\.bin$', p) or re.search('bzImage', p) or \ re.search('zImage', p) or re.search('vmlinux', p) or \ re.search('fitImage', p) or re.search('uImage', p): self.kernel = p
@@ -381,19 +381,19 @@ class BaseConfig(object): fst = t break if not fst: - m = re.search('.*\.(.*)$', self.rootfs) + m = re.search('.*\\.(.*)$', self.rootfs) if m: fst = m.group(1) if fst: self.check_arg_fstype(fst) - qb = re.sub('\.' + fst + "$", '.qemuboot.conf', self.rootfs) + qb = re.sub('\\.' + fst + "$", '.qemuboot.conf', self.rootfs) if os.path.exists(qb): self.qemuboot = qb self.qbconfload = True else: logger.warning("%s doesn't exist, will try to remove '.rootfs' from filename" % qb) # They to remove .rootfs (IMAGE_NAME_SUFFIX) as well - qb = re.sub('\.rootfs.qemuboot.conf$', '.qemuboot.conf', qb) + qb = re.sub('\\.rootfs.qemuboot.conf$', '.qemuboot.conf', qb) if os.path.exists(qb): self.qemuboot = qb self.qbconfload = True
Signature · 1 line
2.34.1
PATCH 8/15 glibc-y2038-tests: do not run tests using 32 bit time APIs
In reply to Steve SakomanFrom: Alexander Kanavin <[email protected]>
I'm not sure why this was included and enabled to begin with: the tests predictably mass-fail if system time is set to after y2038.
--- meta/recipes-core/glibc/glibc/run-ptest | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
meta/recipes-core/glibc/glibc/run-ptest +6 -6
@@ -22,12 +22,12 @@ tst_time64=$(ls -r ${PWD}/tests/glibc-ptest/*-time64) # related tst_time_tmp=$(sed -e "s/-time64$//" <<< ${tst_time64}) -# Run tests supporting only 32 bit time -for i in ${tst_time_tmp} -do - $i >/dev/null 2>&1 - output -done +# Do not run tests supporting only 32 bit time +#for i in ${tst_time_tmp} +#do +# $i >/dev/null 2>&1 +# output +#done # Run tests supporting only 64 bit time for i in ${tst_time64}
Signature · 1 line
2.34.1
PATCH 9/15 grub: fs/fat: Don't error when mtime is 0
In reply to Steve SakomanFrom: Ming Liu <[email protected]>
A issue was found when I run "runqemu genericx86-64 ovmf", grub failed to boot, it's a known issue has been fixed in grub upstream, backport the fix.
--- ...1-fs-fat-Don-t-error-when-mtime-is-0.patch | 70 +++++++++++++++++++ meta/recipes-bsp/grub/grub2.inc | 1 + 2 files changed, 71 insertions(+) create mode 100644 meta/recipes-bsp/grub/files/0001-fs-fat-Don-t-error-when-mtime-is-0.patch
meta/recipes-bsp/grub/files/0001-fs-fat-Don-t-error-when-mtime-is-0.patch new file +70 -0
@@ -0,0 +1,70 @@ +From e43f3d93b28cce852c110c7a8e40d8311bcd8bb1 Mon Sep 17 00:00:00 2001 +From: Robbie Harwood <[email protected]> +Date: Fri, 15 Jul 2022 16:13:02 -0400 +Subject: [PATCH] fs/fat: Don't error when mtime is 0 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +In the wild, we occasionally see valid ESPs where some file modification +times are 0. For instance: + + ├── [Dec 31 1979] EFI + │ ├── [Dec 31 1979] BOOT + │ │ ├── [Dec 31 1979] BOOTX64.EFI + │ │ └── [Dec 31 1979] fbx64.efi + │ └── [Jun 27 02:41] fedora + │ ├── [Dec 31 1979] BOOTX64.CSV + │ ├── [Dec 31 1979] fonts + │ ├── [Mar 14 03:35] fw + │ │ ├── [Mar 14 03:35] fwupd-359c1169-abd6-4a0d-8bce-e4d4713335c1.cap + │ │ ├── [Mar 14 03:34] fwupd-9d255c4b-2d88-4861-860d-7ee52ade9463.cap + │ │ └── [Mar 14 03:34] fwupd-b36438d8-9128-49d2-b280-487be02d948b.cap + │ ├── [Dec 31 1979] fwupdx64.efi + │ ├── [May 10 10:47] grub.cfg + │ ├── [Jun 3 12:38] grub.cfg.new.new + │ ├── [May 10 10:41] grub.cfg.old + │ ├── [Jun 27 02:41] grubenv + │ ├── [Dec 31 1979] grubx64.efi + │ ├── [Dec 31 1979] mmx64.efi + │ ├── [Dec 31 1979] shim.efi + │ ├── [Dec 31 1979] shimx64.efi + │ └── [Dec 31 1979] shimx64-fedora.efi + └── [Dec 31 1979] FSCK0000.REC + + 5 directories, 17 files + +This causes grub-probe failure, which in turn causes grub-mkconfig +failure. They are valid filesystems that appear intact, and the Linux +FAT stack is able to mount and manipulate them without complaint. + +The check for mtime of 0 has been present since +20def1a3c3952982395cd7c3ea7e78638527962b (fat: support file +modification times). + +Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/grub.git/commit/?id=e43f3d93b28cce852c110c7a8e40d8311bcd8bb1] + +Signed-off-by: Robbie Harwood <[email protected]> +Reviewed-by: Daniel Kiper <[email protected]> +Signed-off-by: Ming Liu <[email protected]> +--- + grub-core/fs/fat.c | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/grub-core/fs/fat.c b/grub-core/fs/fat.c +index 0951b2e63..c5efed724 100644 +--- a/grub-core/fs/fat.c ++++ b/grub-core/fs/fat.c +@@ -1027,9 +1027,6 @@ grub_fat_dir (grub_device_t device, const char *path, grub_fs_dir_hook_t hook, + grub_le_to_cpu16 (ctxt.dir.w_date), + &info.mtime); + #endif +- if (info.mtimeset == 0) +- grub_error (GRUB_ERR_OUT_OF_RANGE, +- "invalid modification timestamp for %s", path); + + if (hook (ctxt.filename, &info, hook_data)) + break; +-- +2.34.1 +
meta/recipes-bsp/grub/grub2.inc +1 -0
@@ -44,6 +44,7 @@ SRC_URI = "${GNU_MIRROR}/grub/grub-${PV}.tar.gz \ file://0001-fs-ext2-Ignore-checksum-seed-incompat-feature.patch \ file://CVE-2023-4692.patch \ file://CVE-2023-4693.patch \ + file://0001-fs-fat-Don-t-error-when-mtime-is-0.patch \ " SRC_URI[sha256sum] = "23b64b4c741569f9426ed2e3d0e6780796fca081bee4c99f62aa3f53ae803f5f"
Signature · 1 line
2.34.1
PATCH 10/15 elfutils: Update license information
In reply to Steve SakomanFrom: William Lyu <[email protected]>
Update license information for overall package, package libraries, and package utilities in the recipe to match the license information as described on the upstream website [1]:
"License. The libraries and backends are dual GPLv2+/LGPLv3+. The utilities are GPLv3+."
[1] https://sourceware.org/elfutils
--- .../elfutils/elfutils_0.189.bb | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-)
meta/recipes-devtools/elfutils/elfutils_0.189.bb +9 -10
@@ -2,7 +2,7 @@ SUMMARY = "Utilities and libraries for handling compiled object files" HOMEPAGE = "https://sourceware.org/elfutils" DESCRIPTION = "elfutils is a collection of utilities and libraries to read, create and modify ELF binary files, find and handle DWARF debug data, symbols, thread state and stacktraces for processes and core files on GNU/Linux." SECTION = "base" -LICENSE = "GPL-2.0-only & GPL-2.0-or-later & LGPL-3.0-or-later & GPL-3.0-or-later" +LICENSE = "( GPL-2.0-or-later | LGPL-3.0-or-later ) & GPL-3.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ file://debuginfod/debuginfod-client.c;endline=28;md5=f0a7c3170776866ee94e8f9225a6ad79 \ "
@@ -106,19 +106,18 @@ EXTRA_OEMAKE:class-nativesdk = "" BBCLASSEXTEND = "native nativesdk" -# Package utilities separately +# Package utilities and libraries are listed separately PACKAGES =+ "${PN}-binutils libelf libasm libdw libdebuginfod" -# Shared libraries are licensed GPL-2.0-only or GPL-3.0-or-later, binaries -# GPL-3.0-or-later. According to NEWS file: -# "The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone -# programs. There is now also a formal CONTRIBUTING document describing how to -# submit patches." +# According to the upstream website https://sourceware.org/elfutils, the latest +# license policy is as follows: +# "License. The libraries and backends are dual GPLv2+/LGPLv3+. The utilities +# are GPLv3+." LICENSE:${PN}-binutils = "GPL-3.0-or-later" LICENSE:${PN} = "GPL-3.0-or-later" -LICENSE:libelf = "GPL-2.0-only | LGPL-3.0-or-later" -LICENSE:libasm = "GPL-2.0-only | LGPL-3.0-or-later" -LICENSE:libdw = "GPL-2.0-only | LGPL-3.0-or-later" +LICENSE:libelf = "GPL-2.0-or-later | LGPL-3.0-or-later" +LICENSE:libasm = "GPL-2.0-or-later | LGPL-3.0-or-later" +LICENSE:libdw = "GPL-2.0-or-later | LGPL-3.0-or-later" LICENSE:libdebuginfod = "GPL-2.0-or-later | LGPL-3.0-or-later" FILES:${PN}-binutils = "\
Signature · 1 line
2.34.1
PATCH 11/15 qemu.bbclass: fix a python TypeError
In reply to Steve SakomanFrom: Ming Liu <[email protected]>
QEMU_OPTIONS can be empty which will trigger a exception TypeError:
| can only concatenate str (not "NoneType") to str. Fix it by setting a empty string.
ALso removed two useless blanks.
--- meta/classes-recipe/qemu.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes-recipe/qemu.bbclass +1 -1
@@ -34,7 +34,7 @@ def qemu_wrapper_cmdline(data, rootfs_path, library_paths): if qemu_binary == "qemu-allarch": qemu_binary = "qemuwrapper" - qemu_options = data.getVar("QEMU_OPTIONS") + qemu_options = data.getVar("QEMU_OPTIONS") or "" return "PSEUDO_UNLOAD=1 " + qemu_binary + " " + qemu_options + " -L " + rootfs_path\ + " -E LD_LIBRARY_PATH=" + ":".join(library_paths) + " "
Signature · 1 line
2.34.1
PATCH 12/15 icon-naming-utils: take tarball from debian
In reply to Steve SakomanFrom: Alexander Kanavin <[email protected]>
Upstream website has disappeared; the tarball can still be downloaded but this is probably not for long.
--- meta/recipes-sato/sato-icon-theme/icon-naming-utils_0.8.90.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-sato/sato-icon-theme/icon-naming-utils_0.8.90.bb +2 -2
@@ -14,7 +14,7 @@ DEPENDS = "libxml-simple-perl-native" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -SRC_URI = "http://tango.freedesktop.org/releases/icon-naming-utils-${PV}.tar.gz" +SRC_URI = "${DEBIAN_MIRROR}/main/i/icon-naming-utils/icon-naming-utils_${PV}.orig.tar.gz" SRC_URI[sha256sum] = "044ab2199ed8c6a55ce36fd4fcd8b8021a5e21f5bab028c0a7cdcf52a5902e1c" inherit autotools allarch perlnative
@@ -26,4 +26,4 @@ do_configure:append() { FILES:${PN} += "${datadir}/dtds" -BBCLASSEXTEND = "native" +BBCLASSEXTEND = "native"
Signature · 1 line
2.34.1
PATCH 13/15 linux-firmware: Fix the linux-firmware-bcm4373 FILES variable
In reply to Steve SakomanFrom: "Rodrigo M. Duarte" <[email protected]>
This commit includes the 'cyfmac4373-sdio.clm_blob' file in the list of files for the linux-firmware-bcm4373 package. Without this file, the linux-firmware package adds all firmware packages to the image.
--- meta/recipes-kernel/linux-firmware/linux-firmware_20231030.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-kernel/linux-firmware/linux-firmware_20231030.bb +1 -0
@@ -1071,6 +1071,7 @@ FILES:${PN}-bcm4373 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac4373-sdio.bi ${nonarch_base_libdir}/firmware/brcm/brcmfmac4373.bin \ ${nonarch_base_libdir}/firmware/cypress/cyfmac4373-sdio.bin \ ${nonarch_base_libdir}/firmware/brcm/brcmfmac4373-sdio.clm_blob \ + ${nonarch_base_libdir}/firmware/cypress/cyfmac4373-sdio.clm_blob \ " LICENSE:${PN}-bcm-0bb4-0306 = "Firmware-cypress"
Signature · 1 line
2.34.1
PATCH 14/15 rootfs.py: check depmodwrapper execution result
In reply to Steve SakomanFrom: Yang Xu <[email protected]>
The execution result of depmodwrapper is not checked which makes depmod generation failed sliently and hard to detect.
So check exection result and stop building if depmodwrapper failed.
--- meta/lib/oe/rootfs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/lib/oe/rootfs.py +2 -1
@@ -349,7 +349,8 @@ class Rootfs(object, metaclass=ABCMeta): bb.utils.mkdirhier(versioned_modules_dir) bb.note("Running depmodwrapper for %s ..." % versioned_modules_dir) - self._exec_shell_cmd(['depmodwrapper', '-a', '-b', self.image_rootfs, kernel_ver, kernel_package_name]) + if self._exec_shell_cmd(['depmodwrapper', '-a', '-b', self.image_rootfs, kernel_ver, kernel_package_name]): + bb.fatal("Kernel modules dependency generation failed") """ Create devfs:
Signature · 1 line
2.34.1
PATCH 15/15 tcl: Fix prepending to run-ptest script
In reply to Steve SakomanFrom: Khem Raj <[email protected]>
This ensures that string is prepended properly and eclosed in '' Fixes the ptest runs on musl
--- meta/recipes-devtools/tcltk/tcl_8.6.13.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/tcltk/tcl_8.6.13.bb +1 -1
@@ -88,7 +88,7 @@ do_install_ptest() { do_install_ptest:append:libc-musl () { # Assumes locales other than provided by musl-locales - sed -i -e 's|SKIPPED_TESTS=|SKIPPED_TESTS="unixInit-3*"|' ${D}${PTEST_PATH}/run-ptest + sed -i -e "s|SKIPPED_TESTS='|SKIPPED_TESTS='unixInit-3* |" ${D}${PTEST_PATH}/run-ptest } # Fix some paths that might be used by Tcl extensions
Signature · 1 line
2.34.1