Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qt6-opcua for openSUSE:Factory checked in at 2022-09-15 22:59:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qt6-opcua (Old) and /work/SRC/openSUSE:Factory/.qt6-opcua.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qt6-opcua" Thu Sep 15 22:59:28 2022 rev:13 rq:1003812 version:6.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/qt6-opcua/qt6-opcua.changes 2022-06-20 15:37:55.478916462 +0200 +++ /work/SRC/openSUSE:Factory/.qt6-opcua.new.2083/qt6-opcua.changes 2022-09-15 23:00:37.841459381 +0200 @@ -1,0 +2,6 @@ +Fri Sep 9 12:41:40 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 6.3.2: + * https://www.qt.io/blog/qt-6.3.2-released + +------------------------------------------------------------------- Old: ---- qtopcua-everywhere-src-6.3.1.tar.xz New: ---- qtopcua-everywhere-src-6.3.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qt6-opcua.spec ++++++ --- /var/tmp/diff_new_pack.j6tF6r/_old 2022-09-15 23:00:38.305460691 +0200 +++ /var/tmp/diff_new_pack.j6tF6r/_new 2022-09-15 23:00:38.309460702 +0200 @@ -16,7 +16,7 @@ # -%define real_version 6.3.1 +%define real_version 6.3.2 %define short_version 6.3 %define tar_name qtopcua-everywhere-src %define tar_suffix %{nil} @@ -27,7 +27,7 @@ %endif # Name: qt6-opcua%{?pkg_suffix} -Version: 6.3.1 +Version: 6.3.2 Release: 0 Summary: Qt wrapper for existing OPC UA stacks # src/plugins/opcua is GPL-3.0-or-later, rest is dual licensed ++++++ _service ++++++ --- /var/tmp/diff_new_pack.j6tF6r/_old 2022-09-15 23:00:38.357460838 +0200 +++ /var/tmp/diff_new_pack.j6tF6r/_new 2022-09-15 23:00:38.361460849 +0200 @@ -1,9 +1,9 @@ <services> <service name="tar_scm" mode="disabled"> <param name="changesgenerate">disable</param> - <param name="version">6.3.1</param> + <param name="version">6.3.2</param> <param name="url">git://code.qt.io/qt/qtopcua.git</param> - <param name="revision">v6.3.1</param> + <param name="revision">v6.3.2</param> <param name="scm">git</param> <param name="filename">qtopcua-everywhere-src</param> </service> ++++++ qtopcua-everywhere-src-6.3.1.tar.xz -> qtopcua-everywhere-src-6.3.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtopcua-everywhere-src-6.3.1/.cmake.conf new/qtopcua-everywhere-src-6.3.2/.cmake.conf --- old/qtopcua-everywhere-src-6.3.1/.cmake.conf 2022-06-08 05:53:21.000000000 +0200 +++ new/qtopcua-everywhere-src-6.3.2/.cmake.conf 2022-09-07 03:06:41.000000000 +0200 @@ -1,2 +1,2 @@ -set(QT_REPO_MODULE_VERSION "6.3.1") +set(QT_REPO_MODULE_VERSION "6.3.2") set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtopcua-everywhere-src-6.3.1/dependencies.yaml new/qtopcua-everywhere-src-6.3.2/dependencies.yaml --- old/qtopcua-everywhere-src-6.3.1/dependencies.yaml 2022-06-08 05:53:21.000000000 +0200 +++ new/qtopcua-everywhere-src-6.3.2/dependencies.yaml 2022-09-07 03:06:41.000000000 +0200 @@ -1,7 +1,7 @@ dependencies: ../qtbase: - ref: 8483dcde90f40cdfd0a0ec4245b03610b46b6cae + ref: 12dc1dc09d73f5400e1e77181749793885ed9ffc required: true ../qtdeclarative: - ref: 47ef121e1a436fd46129cdaa1a4398c82045eb97 + ref: 9e53299b7743565392f12fdf175dfdc6e3c329f5 required: true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtopcua-everywhere-src-6.3.1/src/3rdparty/open62541/open62541.h new/qtopcua-everywhere-src-6.3.2/src/3rdparty/open62541/open62541.h --- old/qtopcua-everywhere-src-6.3.1/src/3rdparty/open62541/open62541.h 2022-06-08 05:53:21.000000000 +0200 +++ new/qtopcua-everywhere-src-6.3.2/src/3rdparty/open62541/open62541.h 2022-09-07 03:06:41.000000000 +0200 @@ -1259,8 +1259,10 @@ return __sync_add_and_fetch(addr, increase); #endif #else - *addr += increase; - return *addr; + uint32_t accu = *addr; + accu += increase; + *addr = accu; + return accu; #endif } @@ -1273,8 +1275,10 @@ return __sync_add_and_fetch(addr, increase); #endif #else - *addr += increase; - return *addr; + size_t accu = *addr; + accu += increase; + *addr = accu; + return accu; #endif } @@ -1287,8 +1291,10 @@ return __sync_sub_and_fetch(addr, decrease); #endif #else - *addr -= decrease; - return *addr; + uint32_t accu = *addr; + accu -= decrease; + *addr = accu; + return accu; #endif } @@ -1301,8 +1307,10 @@ return __sync_sub_and_fetch(addr, decrease); #endif #else - *addr -= decrease; - return *addr; + size_t accu = *addr; + accu -= decrease; + *addr = accu; + return accu; #endif } @@ -23415,7 +23423,7 @@ volatile UA_Byte c = 0; for(size_t i = 0; i < length; ++i) { UA_Byte x = a[i], y = b[i]; - c |= x ^ y; + c = c | (x ^ y); } return !c; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtopcua-everywhere-src-6.3.1/src/3rdparty/open62541/patches/0001-fix-core-use-of-compound-volatile-operations-depreca.patch new/qtopcua-everywhere-src-6.3.2/src/3rdparty/open62541/patches/0001-fix-core-use-of-compound-volatile-operations-depreca.patch --- old/qtopcua-everywhere-src-6.3.1/src/3rdparty/open62541/patches/0001-fix-core-use-of-compound-volatile-operations-depreca.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/qtopcua-everywhere-src-6.3.2/src/3rdparty/open62541/patches/0001-fix-core-use-of-compound-volatile-operations-depreca.patch 2022-09-07 03:06:41.000000000 +0200 @@ -0,0 +1,91 @@ +From 464966135e5cc7af30d9a3f6bdc81be937b95ac3 Mon Sep 17 00:00:00 2001 +From: Marc Mutz <marc.m...@qt.io> +Date: Fri, 1 Jul 2022 09:53:55 +0200 +Subject: [PATCH] fix(core): use of compound volatile operations (deprecated in + C++20) + +C++20 deprecated compound volatile operations, so this code fails to +compile in C++20 mode due to -Werror. + +Fix by separating loading and saving of the value, which, in the case +of architecture_definitions.h, even reduces the per-operation loads +from two to one. + +Fixes: #5247 +--- + include/open62541/architecture_definitions.h | 24 +++++++++++++------- + include/open62541/util.h | 2 +- + 2 files changed, 17 insertions(+), 9 deletions(-) + +diff --git a/include/open62541/architecture_definitions.h b/include/open62541/architecture_definitions.h +index f22f401d..15a21505 100644 +--- a/include/open62541/architecture_definitions.h ++++ b/include/open62541/architecture_definitions.h +@@ -456,8 +456,10 @@ UA_atomic_addUInt32(volatile uint32_t *addr, uint32_t increase) { + return __sync_add_and_fetch(addr, increase); + #endif + #else +- *addr += increase; +- return *addr; ++ uint32_t accu = *addr; ++ accu += increase; ++ *addr = accu; ++ return accu; + #endif + } + +@@ -470,8 +472,10 @@ UA_atomic_addSize(volatile size_t *addr, size_t increase) { + return __sync_add_and_fetch(addr, increase); + #endif + #else +- *addr += increase; +- return *addr; ++ size_t accu = *addr; ++ accu += increase; ++ *addr = accu; ++ return accu; + #endif + } + +@@ -484,8 +488,10 @@ UA_atomic_subUInt32(volatile uint32_t *addr, uint32_t decrease) { + return __sync_sub_and_fetch(addr, decrease); + #endif + #else +- *addr -= decrease; +- return *addr; ++ uint32_t accu = *addr; ++ accu -= decrease; ++ *addr = accu; ++ return accu; + #endif + } + +@@ -498,8 +504,10 @@ UA_atomic_subSize(volatile size_t *addr, size_t decrease) { + return __sync_sub_and_fetch(addr, decrease); + #endif + #else +- *addr -= decrease; +- return *addr; ++ size_t accu = *addr; ++ accu -= decrease; ++ *addr = accu; ++ return accu; + #endif + } + +diff --git a/include/open62541/util.h b/include/open62541/util.h +index 79e49f20..9f3b5fea 100644 +--- a/include/open62541/util.h ++++ b/include/open62541/util.h +@@ -213,7 +213,7 @@ UA_constantTimeEqual(const void *ptr1, const void *ptr2, size_t length) { + volatile UA_Byte c = 0; + for(size_t i = 0; i < length; ++i) { + UA_Byte x = a[i], y = b[i]; +- c |= x ^ y; ++ c = c | (x ^ y); + } + return !c; + } +-- +2.25.1 + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtopcua-everywhere-src-6.3.1/src/opcua/client/qopcuagdsclient.cpp new/qtopcua-everywhere-src-6.3.2/src/opcua/client/qopcuagdsclient.cpp --- old/qtopcua-everywhere-src-6.3.1/src/opcua/client/qopcuagdsclient.cpp 2022-06-08 05:53:21.000000000 +0200 +++ new/qtopcua-everywhere-src-6.3.2/src/opcua/client/qopcuagdsclient.cpp 2022-09-07 03:06:41.000000000 +0200 @@ -1846,7 +1846,7 @@ return; } - QObject::connect(m_trustListNode, &QOpcUaNode::attributeUpdated, [this, q](QOpcUa::NodeAttribute attr, QVariant value) { + QObject::connect(m_trustListNode, &QOpcUaNode::attributeUpdated, [q](QOpcUa::NodeAttribute attr, QVariant value) { Q_UNUSED(value); if (attr == QOpcUa::NodeAttribute::Value) emit q->trustListUpdated(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtopcua-everywhere-src-6.3.1/src/opcua/client/qopcuatype.cpp new/qtopcua-everywhere-src-6.3.2/src/opcua/client/qopcuatype.cpp --- old/qtopcua-everywhere-src-6.3.1/src/opcua/client/qopcuatype.cpp 2022-06-08 05:53:21.000000000 +0200 +++ new/qtopcua-everywhere-src-6.3.2/src/opcua/client/qopcuatype.cpp 2022-09-07 03:06:41.000000000 +0200 @@ -47,7 +47,6 @@ /*! \namespace QOpcUa - \ingroup modules \inmodule QtOpcua \brief The QOpcUa namespace contains miscellaneous identifiers used throughout the Qt OPC UA library.