Bug#984439: Maybe related issue ...
Gianfranco Costamagna
locutusofborg at debian.org
Thu Apr 1 07:34:32 BST 2021
Hello,
In Ubuntu I uploaded this ugly workaround for armhf
diff -pruN 6.2.2006+really6.2.1905+dfsg-2/debian/changelog 6.2.2006+really6.2.1905+dfsg-2ubuntu1/debian/changelog
--- 6.2.2006+really6.2.1905+dfsg-2/debian/changelog 2020-12-21 20:21:12.000000000 +0000
+++ 6.2.2006+really6.2.1905+dfsg-2ubuntu1/debian/changelog 2021-03-17 09:27:28.000000000 +0000
@@ -1,3 +1,12 @@
+netgen (6.2.2006+really6.2.1905+dfsg-2ubuntu1) hirsute; urgency=medium
+
+ * Ignore test results on armhf. They failed since the begin, but testsuite
+ was not ran, and they are already being worked/looked by upstream and
+ Debian. They fail when armhf is ran on arm64 kernel, leading to unaligned
+ accesses. See Debian bug #984439 and LP bug: #1919335
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org> Wed, 17 Mar 2021 10:27:28 +0100
+
netgen (6.2.2006+really6.2.1905+dfsg-2) unstable; urgency=medium
[ Christophe Trophime ]
diff -pruN 6.2.2006+really6.2.1905+dfsg-2/debian/rules 6.2.2006+really6.2.1905+dfsg-2ubuntu1/debian/rules
--- 6.2.2006+really6.2.1905+dfsg-2/debian/rules 2020-12-21 20:21:06.000000000 +0000
+++ 6.2.2006+really6.2.1905+dfsg-2ubuntu1/debian/rules 2021-03-17 09:27:28.000000000 +0000
@@ -44,10 +44,17 @@ override_dh_auto_configure:
override_dh_auto_test:
dh_auto_install
+ifeq ($(DEB_HOST_ARCH),armhf)
+ cd tests/pytest && \
+ PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python3/dist-packages \
+ LD_LIBRARY_PATH=$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) \
+ python3 -m pytest || true
+else
cd tests/pytest && \
PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python3/dist-packages \
LD_LIBRARY_PATH=$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) \
python3 -m pytest
+endif
override_dh_shlibdeps:
dh_shlibdeps -l/usr/lib/${DEB_HOST_MULTIARCH}/netgen
Do you think its worth a Debian upload too?
Gianfranco
More information about the debian-science-maintainers
mailing list