Your message dated Thu, 5 Oct 2023 15:23:31 +0200
with message-id <80711c3b-bed4-4859-8059-120c199f0...@debian.org>
and subject line Re: dipy: Skip little-endian test in big-endian compiler
has caused the Debian Bug report #1052241,
regarding dipy: Skip little-endian test in big-endian compiler
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 ow...@bugs.debian.org
immediately.)
--
1052241: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052241
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: dipy
Version: 1.6.0-1build1
Severity: normal
Tags: ftbfs patch
X-Debbugs-Cc: nathan.teodo...@canonical.com
Dear Maintainer,
Would you consider disabling the offending test for s390x and re-enabling
the architecture? Upstream is already aware of it[1].
The attached debdiff was sufficient for getting the package to build, at
least in Ubuntu[2].
Best regards,
Nathan Teodósio
[1] https://github.com/dipy/dipy/issues/2886
[2] https://launchpad.net/~nteodosio/+archive/ubuntu/rebuilds/+build/26679459
diff -Nru dipy-1.7.0/debian/changelog dipy-1.7.0/debian/changelog
--- dipy-1.7.0/debian/changelog 2023-08-18 15:45:57.000000000 +0200
+++ dipy-1.7.0/debian/changelog 2023-09-04 11:48:43.000000000 +0200
@@ -1,3 +1,10 @@
+dipy (1.7.0-3) unstable; urgency=medium
+
+ * skip-streamwarp-test-in-big-endian.patch: skip streamwarp tests in
+ big endian architectures (closes #1050037).
+
+ -- Nathan Pratta Teodosio <nathan.teodo...@canonical.com> Mon, 04 Sep 2023
11:48:43 +0200
+
dipy (1.7.0-2) unstable; urgency=medium
* skip-stringent-test.patch: new: skip a failing test.
diff -Nru dipy-1.7.0/debian/patches/series dipy-1.7.0/debian/patches/series
--- dipy-1.7.0/debian/patches/series 2023-08-18 15:45:57.000000000 +0200
+++ dipy-1.7.0/debian/patches/series 2023-09-04 11:48:43.000000000 +0200
@@ -7,3 +7,4 @@
fix-invalid-version.patch
no-network.patch
skip-stringent-test.patch
+skip-streamwarp-test-in-big-endian.patch
diff -Nru dipy-1.7.0/debian/patches/skip-streamwarp-test-in-big-endian.patch
dipy-1.7.0/debian/patches/skip-streamwarp-test-in-big-endian.patch
--- dipy-1.7.0/debian/patches/skip-streamwarp-test-in-big-endian.patch
1970-01-01 01:00:00.000000000 +0100
+++ dipy-1.7.0/debian/patches/skip-streamwarp-test-in-big-endian.patch
2023-09-04 11:48:43.000000000 +0200
@@ -0,0 +1,37 @@
+Description: Do not run build-time tests for little-endian machines in
+ big-endian ones.
+Author: Nathan Pratta Teodosio <nathan.teodo...@canonical.com>
+Forwarded: https://github.com/dipy/dipy/issues/2886
+
+--- dipy-1.7.0.orig/dipy/align/tests/test_streamwarp.py
++++ dipy-1.7.0/dipy/align/tests/test_streamwarp.py
+@@ -6,7 +6,11 @@ import pytest
+ from dipy.data import two_cingulum_bundles
+ from dipy.tracking.streamline import set_number_of_points, Streamlines
+
++import sys
++is_big_endian = 'big' in sys.byteorder.lower()
+
++@pytest.mark.skipif(is_big_endian,
++ reason="Little Endian architecture required")
+ def test_bundlewarp():
+
+ cingulum_bundles = two_cingulum_bundles()
+@@ -30,6 +33,8 @@ def test_bundlewarp():
+ assert_equal(len(cb2), len(warp))
+
+
++@pytest.mark.skipif(is_big_endian,
++ reason="Little Endian architecture required")
+ def test_bundlewarp_vector_filed():
+
+ cingulum_bundles = two_cingulum_bundles()
+@@ -54,6 +59,8 @@ def test_bundlewarp_vector_filed():
+ assert_equal(len(colors), len(deformed_bundle.get_data()))
+
+
++@pytest.mark.skipif(is_big_endian,
++ reason="Little Endian architecture required")
+ def test_bundle_shape_profile():
+
+ cingulum_bundles = two_cingulum_bundles()
--- End Message ---
--- Begin Message ---
Version: 1.7.0-3
Forgot to tag this in the changelog
--
Michael R. Crusoe
OpenPGP_signature.asc
Description: OpenPGP digital signature
--- End Message ---