Version in base suite: 5.2.1-5 Base version: insighttoolkit5_5.2.1-5 Target version: insighttoolkit5_5.2.1-5+deb12u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/i/insighttoolkit5/insighttoolkit5_5.2.1-5.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/i/insighttoolkit5/insighttoolkit5_5.2.1-5+deb12u1.dsc changelog | 8 +++++ patches/0004-fix-itkOptImageToImageMetricsTest04.patch | 25 +++++++++++++++++ patches/series | 1 3 files changed, 34 insertions(+) diff -Nru insighttoolkit5-5.2.1/debian/changelog insighttoolkit5-5.2.1/debian/changelog --- insighttoolkit5-5.2.1/debian/changelog 2022-05-18 20:54:03.000000000 +0000 +++ insighttoolkit5-5.2.1/debian/changelog 2025-05-22 12:15:00.000000000 +0000 @@ -1,3 +1,11 @@ +insighttoolkit5 (5.2.1-5+deb12u1) bookworm; urgency=medium + + * Team upload. + * Make itkOptImageToImageMetricsTest04 not to fail on single-CPU systems. + Closes: #1105896. + + -- Santiago Vila Thu, 22 May 2025 14:15:00 +0200 + insighttoolkit5 (5.2.1-5) unstable; urgency=medium * d/control: apply Multi-Arch: foreign to insighttoolkit5-examples. diff -Nru insighttoolkit5-5.2.1/debian/patches/0004-fix-itkOptImageToImageMetricsTest04.patch insighttoolkit5-5.2.1/debian/patches/0004-fix-itkOptImageToImageMetricsTest04.patch --- insighttoolkit5-5.2.1/debian/patches/0004-fix-itkOptImageToImageMetricsTest04.patch 1970-01-01 00:00:00.000000000 +0000 +++ insighttoolkit5-5.2.1/debian/patches/0004-fix-itkOptImageToImageMetricsTest04.patch 2025-05-22 12:15:00.000000000 +0000 @@ -0,0 +1,25 @@ +From: Niels Dekker +Subject: Make itkOptImageToImageMetricsTest04 not to fail on single-CPU systems +Bug-Debian: https://bugs.debian.org/1105896 +Origin: https://github.com/InsightSoftwareConsortium/ITK/commit/57b138cf150e097340b75e7f37eee061da80c627 +Last-Update: 2025-05-16 + +--- a/Modules/Nonunit/Review/test/itkOptImageToImageMetricsTest2.h ++++ b/Modules/Nonunit/Review/test/itkOptImageToImageMetricsTest2.h +@@ -81,16 +81,6 @@ + // so we seed the random number generator + // immediately before this call. + metric->Initialize(); +- +- // Verify that Initialize has properly called +- // MultiThreadingInitialize() and a series of CreateAnother(); +- +- using TransformPointer = typename MetricType::TransformPointer; +- const TransformPointer * transformPtr = metric->GetThreaderTransform(); +- if ((transformPtr == static_cast(nullptr)) || (transformPtr[0].IsNull())) +- { +- exit(EXIT_FAILURE); +- } + } + // Other registration functionality tested in + // OptImageToImageTest.cxx... skip the rest diff -Nru insighttoolkit5-5.2.1/debian/patches/series insighttoolkit5-5.2.1/debian/patches/series --- insighttoolkit5-5.2.1/debian/patches/series 2022-05-18 20:54:03.000000000 +0000 +++ insighttoolkit5-5.2.1/debian/patches/series 2025-05-22 12:15:00.000000000 +0000 @@ -1,3 +1,4 @@ 0001-Fix-building-and-running-with-system-MINC.patch 0002-Do-not-unconditionally-enable-SSE-for-i386.patch 0003-Modules-Core-Common-src-CMakeLists.txt-Use-UTC-times.patch +0004-fix-itkOptImageToImageMetricsTest04.patch