[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1106300: marked as done (bookworm-pu: package insighttoolkit5/5.2.1-5+deb12u1)



Your message dated Sat, 06 Sep 2025 12:14:50 +0100
with message-id <ee4c0876608d99eb3f8b333b556fbd92e7a652eb.camel@adam-barratt.org.uk>
and subject line Closing p-u requests for fixes included in 12.12
has caused the Debian Bug report #1106300,
regarding bookworm-pu: package insighttoolkit5/5.2.1-5+deb12u1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1106300: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1106300
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian.org@packages.debian.org
Usertags: pu
X-Debbugs-Cc: insighttoolkit5@packages.debian.org, sanvila@debian.org
Control: affects -1 + src:insighttoolkit5

[ Reason ]
Fix Bug #1105896 FTBFS: Test itkOptImageToImageMetricsTest04 fails on single-cpu systems

[ Impact ]
Without this update, not everybody will be able to build the package.

[ Tests ]
I've checked that the package builds again for everybody.

[ Risks ]
Very low. No real code changes. The change just removes a few lines in one test, and it has
been already merged upstream.

[ Checklist ]
  [X] *all* changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in (old)stable
  [X] the issue is verified as fixed in unstable

[ Changes ]
Add patch 0004-fix-itkOptImageToImageMetricsTest04.patch, cherry-picked from upstream.

[ Other info ]
I've already uploaded the package for bookworm.

I will also prepare an upload for insighttoolkit4, as it has the same
bug and it's fixed in the same way.
diff -Nru insighttoolkit5-5.2.1/debian/changelog insighttoolkit5-5.2.1/debian/changelog
--- insighttoolkit5-5.2.1/debian/changelog	2022-05-18 22:54:03.000000000 +0200
+++ insighttoolkit5-5.2.1/debian/changelog	2025-05-22 14:15:00.000000000 +0200
@@ -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 <sanvila@debian.org>  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 01:00:00.000000000 +0100
+++ insighttoolkit5-5.2.1/debian/patches/0004-fix-itkOptImageToImageMetricsTest04.patch	2025-05-22 14:15:00.000000000 +0200
@@ -0,0 +1,25 @@
+From: Niels Dekker <N.Dekker@lumc.nl>
+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<const TransformPointer *>(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 22:54:03.000000000 +0200
+++ insighttoolkit5-5.2.1/debian/patches/series	2025-05-22 14:15:00.000000000 +0200
@@ -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

--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 12.12

Hi,

Each of the updates referenced by these requests was included in
today's 12.12 point release for bookworm.

Regards,

Adam

--- End Message ---

Reply to: