Bug#1003395: plfit FTBFS on s390x
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Fri Feb 25 14:41:54 GMT 2022
Control: tags -1 + patch
As already indicated in https://github.com/ntamas/plfit/issues/38 the
problem is related to the size of long double.
The appended debdiff solved the problem on Ubuntu Jammy by forcing long
double to 64bit.
Best regards
Heinrich
-------------- next part --------------
diff -Nru plfit-0.9.3+ds/debian/changelog plfit-0.9.3+ds/debian/changelog
--- plfit-0.9.3+ds/debian/changelog 2022-01-13 21:16:01.000000000 +0100
+++ plfit-0.9.3+ds/debian/changelog 2022-02-25 14:48:50.000000000 +0100
@@ -1,3 +1,9 @@
+plfit (0.9.3+ds-1ubuntu1) jammy; urgency=medium
+
+ * use 64bit long double on s390x (LP: #1962311)
+
+ -- Heinrich Schuchardt <heinrich.schuchardt at canonical.com> Fri, 25 Feb 2022 14:48:50 +0100
+
plfit (0.9.3+ds-1build1) jammy; urgency=medium
* No-change rebuild with Python 3.10 as default version
diff -Nru plfit-0.9.3+ds/debian/control plfit-0.9.3+ds/debian/control
--- plfit-0.9.3+ds/debian/control 2021-11-11 16:14:27.000000000 +0100
+++ plfit-0.9.3+ds/debian/control 2022-02-25 14:20:56.000000000 +0100
@@ -1,5 +1,6 @@
Source: plfit
-Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
+XSCB-Original-Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
Uploaders: Jerome Benoit <calculus at rezozer.net>
Section: math
Priority: optional
diff -Nru plfit-0.9.3+ds/debian/rules plfit-0.9.3+ds/debian/rules
--- plfit-0.9.3+ds/debian/rules 2021-11-16 15:06:43.000000000 +0100
+++ plfit-0.9.3+ds/debian/rules 2022-02-25 14:45:09.000000000 +0100
@@ -7,6 +7,11 @@
BUILDIR_STATIC=_BUILD_STATIC
BUILDIR_SHARED=_BUILD_SHARED
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH 2>/dev/null)
+ifneq (,$(filter s390x,$(DEB_HOST_ARCH)))
+export DEB_CFLAGS_APPEND = -mlong-double-64
+endif
+
%:
dh $@ --buildsystem=cmake --with python3 --builddirectory=$(BUILDIR_SHARED)
More information about the debian-science-maintainers
mailing list