Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package OpenCSD for openSUSE:Factory checked 
in at 2026-05-19 17:50:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/OpenCSD (Old)
 and      /work/SRC/openSUSE:Factory/.OpenCSD.new.1966 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "OpenCSD"

Tue May 19 17:50:20 2026 rev:16 rq:1353950 version:1.8.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/OpenCSD/OpenCSD.changes  2026-04-07 
16:51:37.171272500 +0200
+++ /work/SRC/openSUSE:Factory/.OpenCSD.new.1966/OpenCSD.changes        
2026-05-19 17:50:50.889823132 +0200
@@ -1,0 +2,44 @@
+Tue May 19 07:09:24 UTC 2026 - Guillaume GARDET <[email protected]>
+
+- Enable tests
+- Add patch (from Fedora) to fix tests:
+  * 0001-hack-test.patch
+- Fix permissions on SO libraries
+
+-------------------------------------------------------------------
+Tue May 19 06:49:24 UTC 2026 - Guillaume GARDET <[email protected]>
+
+- Update to 1.8.2:
+  * Update: tests: add python test script for cross platform
+    use - replace linux only bash scripts.
+  * Update: opencsd: memory access - added debug to trace memory
+    accesses by library under control of env var.
+  * Bugfix: tests: windows test program names differ from linux ones
+    - fix to make same
+  * Bugfix: etmv4: ete: Fix corner case for exception packet
+    processing - issue with exception address representing the
+    previous branch target and the exception return address, plus
+    return stack issues. (github #88)
+  * Bugfix: Fix mac-os build for test programs.
+- Skipped 1.8.1:
+  * Bugfix: Fix issue with raw trace printer NULL pointer if
+    deformatter not present.
+  * Bugfix: Fix issue with deformatter not correctly handling FSYNC
+    detection correctly
+    on short 2 byte aligned buffers or split across buffer boundary.
+  * Bugfix: etmv4: Packet description string typo fixed. (github #84)
+  * Bugfix: stm: Issue with waitASync routine (github #85), fix freq
+    packet handling
+- Skipped 1.8.0:
+  * Update: ete: Add support for FEAT_S1POE2 - handle TEXIT as branch
+    for trace decode.
+  * Update: ARM64 build: Add in support for ARM64 target in windows
+    VS2022.
+  * Update: etm4x: Add support for V8.1M additional T32 instructions
+    LE, LETP, WS, WSTP as branches for trace decode. (github PR #73)
+  * Update: build: Add in #include required by later versions of
+    CLANG tools. (github PR #82)
+  * Bugfix: Fix double run of ITM test.
+  * Bugfix: Fix build warnings in windows builds.
+
+-------------------------------------------------------------------

Old:
----
  OpenCSD-1.7.1.tar.gz

New:
----
  0001-hack-test.patch
  OpenCSD-1.8.2.tar.gz

----------(New B)----------
  New:- Add patch (from Fedora) to fix tests:
  * 0001-hack-test.patch
- Fix permissions on SO libraries
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ OpenCSD.spec ++++++
--- /var/tmp/diff_new_pack.DpPCHJ/_old  2026-05-19 17:50:51.805860983 +0200
+++ /var/tmp/diff_new_pack.DpPCHJ/_new  2026-05-19 17:50:51.805860983 +0200
@@ -21,13 +21,14 @@
 
 %define libnum  1
 Name:           OpenCSD
-Version:        1.7.1
+Version:        1.8.2
 Release:        0
 Summary:        CoreSight Trace Decode library
 License:        BSD-3-Clause
 Group:          Development/Libraries/C and C++
 URL:            https://github.com/Linaro/OpenCSD
 Source0:        
https://github.com/Linaro/OpenCSD/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Patch0:         0001-hack-test.patch
 BuildRequires:  gcc-c++
 %if %{with build_html_doc}
 BuildRequires:  doxygen
@@ -69,19 +70,23 @@
 OpenCSD is an Arm CoreSight Trace Decode library.
 
 %prep
-%autosetup
+%autosetup -p1
 
 %build
+%set_build_flags
 %make_build -C decoder/build/linux DISABLE_STATIC=1 \
 %if %{with build_html_doc}
 docs
 %endif
 
 %install
-%make_install -C decoder/build/linux DISABLE_STATIC=1 LIB_PATH=%{_lib}
+%make_install -C decoder/build/linux DISABLE_STATIC=1 DEF_SO_PERM=755 
LIB_PATH=%{_lib}
 # Install man page
 mkdir -p %{buildroot}/usr/share/man/man1/
-%make_install -C decoder/build/linux DISABLE_STATIC=1 LIB_PATH=%{_lib} 
install_man
+%make_install -C decoder/build/linux DISABLE_STATIC=1 DEF_SO_PERM=755 
LIB_PATH=%{_lib} install_man
+
+%check
+LD_LIBRARY_PATH=%{buildroot}%{_libdir} decoder/tests/run_pkt_decode_tests.bash 
-bindir %{buildroot}%{_bindir}/ use-installed
 
 %post  -n libopencsd%{libnum} -p /sbin/ldconfig
 

++++++ 0001-hack-test.patch ++++++
>From 6d254a3afd3ae207181fb299414befa0447778f7 Mon Sep 17 00:00:00 2001
From: Jeremy Linton <[email protected]>
Date: Tue, 27 Aug 2024 20:11:01 -0500
Subject: [PATCH] hack test

The opencsd tests have an option to test an installed
trc_pkt_lister for basic decoding, yet the comparison fails
because they shift off the parameter after checking it the
first time. Hack off the 'shift' and it works for our purposes.

Signed-off-by: Jeremy Linton <[email protected]>
---
 decoder/tests/run_pkt_decode_tests.bash | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/decoder/tests/run_pkt_decode_tests.bash 
b/decoder/tests/run_pkt_decode_tests.bash
index 2f7c8da..c1fe897 100755
--- a/decoder/tests/run_pkt_decode_tests.bash
+++ b/decoder/tests/run_pkt_decode_tests.bash
@@ -46,6 +46,8 @@
 # run_pkt_decode_tests.bash -bindir <custom>/<path>/ <options>
 #
 
+set -e
+
 OUT_DIR=./results
 SNAPSHOT_DIR=./snapshots
 BIN_DIR=./bin/linux64/rel/
@@ -73,10 +75,7 @@ echo "Running trc_pkt_lister on snapshot directories."
 
 mkdir -p ${OUT_DIR}
 
-if [ "$1" == "use-installed" ]; then
-    BIN_DIR=""
-    shift
-elif [ "$1" == "-bindir" ]; then
+if [ "$1" == "-bindir" ]; then
     BIN_DIR=$2
     shift
     shift
@@ -84,11 +83,6 @@ fi
 
 echo "Tests using BIN_DIR = ${BIN_DIR}"
 
-if [ "${BIN_DIR}" != "" ]; then
-    export LD_LIBRARY_PATH=${BIN_DIR}.
-    echo "LD_LIBRARY_PATH set to ${BIN_DIR}"
-fi
-
 # === test the decode set ===
 for test_dir in "${test_dirs_decode[@]}"
 do
@@ -105,7 +99,6 @@ env | grep OPENCSD
 ${BIN_DIR}trc_pkt_lister -ss_dir "${SNAPSHOT_DIR}/juno_r1_1" $@ -decode 
-no_time_print -logfilename "${OUT_DIR}/juno_r1_1_rangelimit.ppl"
 unset OPENCSD_INSTR_RANGE_LIMIT
 echo "Done : Return $?"
-env | grep OPENCSD
 
 echo "Test with bad opcode detect on using env var..."
 export OPENCSD_ERR_ON_AA64_BAD_OPCODE=1
@@ -113,7 +106,6 @@ env | grep OPENCSD
 ${BIN_DIR}trc_pkt_lister -ss_dir "${SNAPSHOT_DIR}/juno_r1_1" $@ -decode 
-no_time_print -logfilename "${OUT_DIR}/juno_r1_1_badopcode.ppl"
 unset OPENCSD_ERR_ON_AA64_BAD_OPCODE
 echo "Done : Return $?"
-env | grep OPENCSD
 
 echo "Test with bad opcode detect on using flag..."
 ${BIN_DIR}trc_pkt_lister -ss_dir "${SNAPSHOT_DIR}/juno_r1_1" $@ -decode 
-no_time_print -aa64_opcode_chk -logfilename 
"${OUT_DIR}/juno_r1_1_badopcode_flag.ppl"
-- 
2.48.1


++++++ OpenCSD-1.7.1.tar.gz -> OpenCSD-1.8.2.tar.gz ++++++
/work/SRC/openSUSE:Factory/OpenCSD/OpenCSD-1.7.1.tar.gz 
/work/SRC/openSUSE:Factory/.OpenCSD.new.1966/OpenCSD-1.8.2.tar.gz differ: char 
13, line 1

Reply via email to