Skip to contentSkip to conversation

libcereal: upgrade 1.3.1 -> 1.3.2

PATCH In review Wang Mingyu 2 participants 5 messages Mar 7, 2022 – Mar 10, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libcereal: upgrade 1.3.1 -> 1.3.2

This is a minor bug fix and build enhancement release for cereal. The primary reason for this release is to correctly increment the version for cereal in include/cereal/version.hpp.

Bug fixes and enhancements
--------------------------
Make doxygen docs reproducible
Add CMake options for building doc and sandbox
Correct patch version for 1.3.2

---
 .../libcereal/{libcereal_1.3.1.bb => libcereal_1.3.2.bb}        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/libcereal/{libcereal_1.3.1.bb => libcereal_1.3.2.bb} (94%)
meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb renamed from meta-oe/recipes-support/libcereal/libcereal_1.3.1.bb +1 -1
similarity index 94%
rename from meta-oe/recipes-support/libcereal/libcereal_1.3.1.bb
rename to meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb
index c905b74d6..08291d2db 100644
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "\
 PROVIDES += "${PN}-dev"
 
 PV .= "+git${SRCPV}"
-SRCREV = "1de8fe89471d69ea392ea260ce74e079d5f4b415"
+SRCREV = "ebef1e929807629befafbb2918ea1a08c7194554"
 SRC_URI = "git://github.com/USCiLab/cereal.git;branch=master;protocol=https"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 poco: upgrade 1.11.0 -> 1.11.1

0001-fix-missing-expat-definition.patch
removed since it's included in 1.11.1

---
 .../0001-fix-missing-expat-definition.patch   | 27 -------------------
 .../poco/{poco_1.11.0.bb => poco_1.11.1.bb}   |  3 +--
 2 files changed, 1 insertion(+), 29 deletions(-)
 delete mode 100644 meta-oe/recipes-support/poco/poco/0001-fix-missing-expat-definition.patch
 rename meta-oe/recipes-support/poco/{poco_1.11.0.bb => poco_1.11.1.bb} (97%)
meta-oe/recipes-support/poco/poco/0001-fix-missing-expat-definition.patch deleted +0 -27
deleted file mode 100644
index 625aa3191..000000000
@@ -1,27 +0,0 @@
-From 3f288fefbd683d687bde3fc63964da64bc3c8a40 Mon Sep 17 00:00:00 2001
-From: Pascal Bach <[email protected]>
-Date: Wed, 11 Aug 2021 15:11:49 +0200
-Subject: [PATCH] fix missing expat definition
-
-Upstream-Status: Submitted [https://github.com/pocoproject/poco/pull/3414]
-Signed-off-by: Pascal Bach <[email protected]>
----
- XML/src/ParserEngine.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/XML/src/ParserEngine.cpp b/XML/src/ParserEngine.cpp
-index 82d477478..6213e555b 100644
---- a/XML/src/ParserEngine.cpp
-+++ b/XML/src/ParserEngine.cpp
-@@ -504,7 +504,7 @@ void ParserEngine::init()
- 	XML_SetParamEntityParsing(_parser, _externalParameterEntities ? XML_PARAM_ENTITY_PARSING_ALWAYS : XML_PARAM_ENTITY_PARSING_NEVER);
- 	XML_SetUnknownEncodingHandler(_parser, handleUnknownEncoding, this);
-
--#if XML_MAJOR_VERSION > 2 || (XML_MAJOR_VERSION == 2 && XML_MINOR_VERSION >= 4)
-+#if XML_DTD && (XML_MAJOR_VERSION > 2 || (XML_MAJOR_VERSION == 2 && XML_MINOR_VERSION >= 4))
- 	if (_maximumAmplificationFactor > 1.0)
- 	{
- 		XML_SetBillionLaughsAttackProtectionMaximumAmplification(_parser, _maximumAmplificationFactor);
---
-2.32.0
-
meta-oe/recipes-support/poco/poco_1.11.1.bb renamed from meta-oe/recipes-support/poco/poco_1.11.0.bb +1 -2
similarity index 97%
rename from meta-oe/recipes-support/poco/poco_1.11.0.bb
rename to meta-oe/recipes-support/poco/poco_1.11.1.bb
index 027ff6469..3cfd49fcd 100644
@@ -10,10 +10,9 @@ DEPENDS = "libpcre zlib"
 
 SRC_URI = " \
     git://github.com/pocoproject/poco.git;branch=master;protocol=https \
-    file://0001-fix-missing-expat-definition.patch \
     file://run-ptest \
    "
-SRCREV = "f81a38057f1d240fe7b7a069612776f788bc88ea"
+SRCREV = "de61f0049175a941cc83c2615c3bdc5e947b89f9"
 
 UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P<pver>\d+(\.\d+)+)"
 
Signature · 1 line
2.25.1
#2 lore raw

PATCH 1/1 poppler: upgrade 22.02.0 -> 22.03.0

In reply to Wang Mingyu

Changelog:
=========
core:
* Signature: Fix finding Signatures that are in Pages not not in the global the Forms object
* Signature: Improve getting the path to the firefox certificate database
* Splash: Fix rendering of some joints. Issue #1212
* Fix get_poppler_localdir for relocatable Windows builds
* Minor code improvements

qt:
* Minor code improvements

utils:
* pdfimages: Fix the wrong Stream being passed for drawMaskedImage

build system:
* Small code improvements

---
 .../poppler/{poppler_22.02.0.bb => poppler_22.03.0.bb}          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/poppler/{poppler_22.02.0.bb => poppler_22.03.0.bb} (96%)
meta-oe/recipes-support/poppler/poppler_22.03.0.bb renamed from meta-oe/recipes-support/poppler/poppler_22.02.0.bb +1 -1
similarity index 96%
rename from meta-oe/recipes-support/poppler/poppler_22.02.0.bb
rename to meta-oe/recipes-support/poppler/poppler_22.03.0.bb
index a53b3fe65..a0d8be6af 100644
@@ -7,7 +7,7 @@ SRC_URI = "http://poppler.freedesktop.org/${BP}.tar.xz \
            file://0001-Do-not-overwrite-all-our-build-flags.patch \
            file://basename-include.patch \
            "
-SRC_URI[sha256sum] = "e390c8b806f6c9f0e35c8462033e0a738bb2460ebd660bdb8b6dca01556193e1"
+SRC_URI[sha256sum] = "728c78ba94d75a55f6b6355d4fbdaa6f49934d9616be58e5e679a9cfd0980e1e"
 
 DEPENDS = "fontconfig zlib cairo lcms glib-2.0"
 
Signature · 1 line
2.25.1
#3 lore raw

PATCH 1/1 smartmontools: upgrade 7.2 -> 7.3

In reply to Wang Mingyu

0001-configure.ac-Define-SOURCE_DATE_EPOCH-in-CPPFLAGS.patch refreshed for new version.

Changelog:
=========
- smartctl '-j': Many additions to the JSON output for SCSI/SAS devices.
- smartctl '-j': JSON output always includes timestamp, regardless of '-i'.
- smartctl '-i' and '--identify': ATA ACS-5 enhancements.
- smartctl '-l defects': additionally works for SCSI Pending Defects log subpage.
- smartctl '-l envrep': Prints SCSI Environmental Reporting log subpage.
- smartctl '-l scterc[,R,W],p': Gets/sets the persistent power-on values.
- smartctl '-l scterc,reset': Restores to manufacturer's default values.
- smartctl '-l tapedevstat': Prints SCSI Tape Device Statistics log page.
- smartctl '-l tapealert': Prints SCSI Tape Alert log page.
- smartctl '-l zdevstat': Prints SCSI Zoned Block Device Statistics log subpage.
- smartctl '-H': No longer checks and clears the SCSI Tape Alert log page unless the option is given twice.
- smartctl '-H': No longer sets bit 2 of exit status if ATA attributes are available.
- smartctl '-H': Checks new NVME 1.4 status bit.
- smartctl '-n POWERMODE': ATA: Optionally exits immediately if unsupported.
- smartctl: Support for Zoned block device characteristics and statistics.
- smartctl: Various fixes related to SCSI supported log pages and subpages.
- smartd: Fixed code execution vulnerability in conjunction with GNU mailutils < 3.13.
- smartd '-u USER[:GROUP]': Runs the warning script as a non-privileged user.
- smartd '--capabilities': No longer suppresses mail notification.
- smartd '--capabilities=mail': Adds capabilities required for exim MTA.
- smartd '-q *nodev0*': Three new options to change the exit status to 0 if there are no devices to monitor.
- smartd '-s' and '-A': Allows one to disable preconfigured files with '-'.
- smartd: Fixed handling of multiple email addresses in conjunction with plugin scripts. Added new environment variable SMARTD_ADDRESS_ORIG.
- smartd: No longer writes 'smartd -D' output to syslog on syntax error.
- smartd.conf '-c i=N': Allows one to specify device specific check intervals.
- SCSI: Retry on UNIT ATTENTION when fetching capacity.
- NVMe/USB: Device type '-d sntasmedia' for ASMedia ASM2362 USB to NVMe bridges.
- VERSION information in drive database files of all branches.
- smartctl and smartd print drive database VERSION information.
- HDD, SSD and USB additions to drive database.
- update-smart-drivedb: Now checks VERSION information to prevent downgrades.
- update-smart-drivedb '--force': Overrides the VERSION check.
- update-smart-drivedb '--file' and '--url': Updates from local files or other URLs.
- update-smart-drivedb '-q': Suppresses info messages.
- update-smart-drivedb: Added long option variants for all short options.
- update-smart-drivedb: Prevents dangling gpg-agents and temp directories.
- update-smart-drivedb '--install': Installs runtime drivedb.h from location specified by ...
- configure '--with-drivedbinstdir: drivedb.h package install location.
- configure: SOURCE_DATE_EPOCH prevents inclusion of configure arguments in executables.
- configure: Check for '-fstack-protector' now includes the required libs.
- Dropped restriction to C++98, a C++11 compiler is now required.
- Linux: Device scan range enhanced to '/dev/sdzz'.
- Linux: Fixed access to '-d aacraid' and '-d megaraid' devices from smartd if '--capabilities' is used.
- Linux: '-d cciss,N' is no longer required for non-RAID hpsa devices.
- Darwin: smartctl '-s apm,N' is now supported.
- OpenBSD: Fixed too short command timeouts.
- OpenBSD: Fixed device name used for autodetection.
- OpenBSD: Fixed SAT autodetection of sd* devices.
- FreeBSD: Added direct access ('-d megaraid,N') and scanning for LSI RAID on 'mfi' and 'mrsas' controllers.
- Windows: smartd '-u restricted': Runs the warning script with a restricted access token.
- Windows: New script 'update-smartd-drivedb.ps1' provides gpg verification and replaces 'update-smartd-drivedb.exe'.
- Windows: Disabled '-d aacraid' support due to unresolved bugs. Added '-d accraid,...,force' flag to try anyway.

---
 ...Define-SOURCE_DATE_EPOCH-in-CPPFLAGS.patch | 66 +++----------------
 ...rtmontools_7.2.bb => smartmontools_7.3.bb} |  3 +-
 2 files changed, 9 insertions(+), 60 deletions(-)
 rename meta-oe/recipes-extended/smartmontools/{smartmontools_7.2.bb => smartmontools_7.3.bb} (93%)
meta-oe/recipes-extended/smartmontools/files/0001-configure.ac-Define-SOURCE_DATE_EPOCH-in-CPPFLAGS.patch +8 -58
index 87c0e1458..23d066617 100644
@@ -1,4 +1,4 @@
-From b621a313e0bc67803abfba18e1ae15e7a8b9b59f Mon Sep 17 00:00:00 2001
+From 898fd4115be5cdd848db99fe85e1d0d7f1b3fa02 Mon Sep 17 00:00:00 2001
 From: Oleksiy Obitotskyy <[email protected]>
 Date: Mon, 22 Feb 2021 17:21:33 +0200
 Subject: [PATCH] smartmontools: Improve reproducibility
@@ -8,18 +8,18 @@ https://github.com/smartmontools/smartmontools/commit/24838916b4c0e91f5c897d44fc
 
 Upstream-Status: Backported
 Signed-off-by: Oleksiy Obitotskyy <[email protected]>
+
 ---
- ChangeLog    |  8 ++++++++
- configure.ac | 12 ++++++++++++
- utility.cpp  | 10 ++++++++++
- 3 files changed, 30 insertions(+)
+ ChangeLog | 8 ++++++++
+ 1 file changed, 8 insertions(+)
 
 diff --git a/ChangeLog b/ChangeLog
-index 39eac2d..6a3b4ee 100644
+index 5f0930a..4c5a91e 100644
 --- a/ChangeLog
 +++ b/ChangeLog
-@@ -1,5 +1,13 @@
- $Id: ChangeLog 5155 2020-12-30 16:49:18Z chrfranke $
+@@ -705,6 +705,14 @@ $Id: ChangeLog 5338 2022-02-28 16:34:26Z chrfranke $
+ 
+ 	Happy New Year!  Update copyright year in version info.
  
 +2021-02-07  Christian Franke  <[email protected]>
 +
@@ -32,53 +32,3 @@ index 39eac2d..6a3b4ee 100644
  2020-12-30  Christian Franke  <[email protected]>
  
  	smartmontools 7.2
-diff --git a/configure.ac b/configure.ac
-index ee6f0e5..c37c9bc 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -61,6 +61,18 @@ case "${host}" in
-     ;;
- esac
- 
-+AC_MSG_CHECKING([whether reproducible build is selected (SOURCE_DATE_EPOCH)])
-+res=no
-+if test -n "$SOURCE_DATE_EPOCH"; then
-+  res=yes
-+  test -z "`echo "$SOURCE_DATE_EPOCH" | sed 's,[[0-9]]*,,'`" || res=error
-+fi
-+AC_MSG_RESULT([$res])
-+case $res in
-+  error) AC_MSG_ERROR([Malformed SOURCE_DATE_EPOCH]) ;;
-+  yes) CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-DSOURCE_DATE_EPOCH=$SOURCE_DATE_EPOCH" ;;
-+esac
-+
- # Check for SVN.
- AC_MSG_CHECKING([whether this is a build from SVN])
- is_svn_build=no
-diff --git a/utility.cpp b/utility.cpp
-index 0483c6f..8ab38c9 100644
---- a/utility.cpp
-+++ b/utility.cpp
-@@ -134,9 +134,19 @@ std::string format_version_info(const char * prog_name, bool full /*= false*/)
- #endif
-                                                           "\n"
-     "smartmontools configure arguments:"
-+#ifdef SOURCE_DATE_EPOCH
-+                                      " [hidden in reproducible builds]\n"
-+    "reproducible build SOURCE_DATE_EPOCH: "
-+#endif
-   ;
-+#ifdef SOURCE_DATE_EPOCH
-+  char ts[32]; struct tm tmbuf;
-+  strftime(ts, sizeof(ts), "%Y-%m-%d %H:%M:%S", time_to_tm_local(&tmbuf, SOURCE_DATE_EPOCH));
-+  info += strprintf("%u (%s)", (unsigned)SOURCE_DATE_EPOCH, ts);
-+#else
-   info += (sizeof(SMARTMONTOOLS_CONFIGURE_ARGS) > 1 ?
-            SMARTMONTOOLS_CONFIGURE_ARGS : " [no arguments given]");
-+#endif
-   info += '\n';
- 
-   return info;
--- 
-2.25.1
-
meta-oe/recipes-extended/smartmontools/smartmontools_7.3.bb renamed from meta-oe/recipes-extended/smartmontools/smartmontools_7.2.bb +1 -2
similarity index 93%
rename from meta-oe/recipes-extended/smartmontools/smartmontools_7.2.bb
rename to meta-oe/recipes-extended/smartmontools/smartmontools_7.3.bb
index 28f0ce8cd..1bf55bfcf 100644
@@ -23,8 +23,7 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'libcap-ng selinux', d)
 PACKAGECONFIG[libcap-ng] = "--with-libcap-ng=yes,--with-libcap-ng=no,libcap-ng"
 PACKAGECONFIG[selinux] = "--with-selinux=yes,--with-selinux=no,libselinux"
 
-SRC_URI[md5sum] = "e8d134c69ae4959a05cb56b31172ffb1"
-SRC_URI[sha256sum] = "5cd98a27e6393168bc6aaea070d9e1cd551b0f898c52f66b2ff2e5d274118cd6"
+SRC_URI[sha256sum] = "a544f8808d0c58cfb0e7424ca1841cb858a974922b035d505d4e4c248be3a22b"
 
 inherit autotools update-rc.d systemd
 
Signature · 1 line
2.25.1
#4 lore raw
In reply to Wang Mingyu

this fails to build on qemumips see
https://errors.yoctoproject.org/Errors/Details/651369/
perhaps its clang being more fussy here I dont know, can you build it for qemumips and see if it works ok with gcc atleast

Quoted 45 lines · wangmy

This is a minor bug fix and build enhancement release for cereal. The primary reason for this release is to correctly increment the version for cereal in include/cereal/version.hpp.

Bug fixes and enhancements
--------------------------
Make doxygen docs reproducible
Add CMake options for building doc and sandbox
Correct patch version for 1.3.2

---
 .../libcereal/{libcereal_1.3.1.bb => libcereal_1.3.2.bb}        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/libcereal/{libcereal_1.3.1.bb => libcereal_1.3.2.bb} (94%)
meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb renamed from meta-oe/recipes-support/libcereal/libcereal_1.3.1.bb +1 -2
similarity index 94%
rename from meta-oe/recipes-support/libcereal/libcereal_1.3.1.bb
rename to meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb
index c905b74d6..08291d2db 100644
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "\
 PROVIDES += "${PN}-dev"
 
 PV .= "+git${SRCPV}"
-SRCREV = "1de8fe89471d69ea392ea260ce74e079d5f4b415"
+SRCREV = "ebef1e929807629befafbb2918ea1a08c7194554"
 SRC_URI = "git://github.com/USCiLab/cereal.git;branch=master;protocol=https"
 
 S = "${WORKDIR}/git"
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95855): https://lists.openembedded.org/g/openembedded-devel/message/95855
Mute This Topic: https://lists.openembedded.org/mt/89610748/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-