Bug#848634: python-cartopy: FTBFS on *i386: test_lambert_azimuthal_equal_area fails

Aaron M. Ucko ucko at debian.org
Thu Jan 26 16:34:40 UTC 2017


Ghislain Vaillant <ghisvail at gmail.com> writes:

> So, you think it would help to request src:proj to be build with 
> -ffloat-store then?

Yes; testing in a personal chroot confirms that adjusting its build
settings is both necessary and sufficient.  (I don't recommend turning
this flag on blindly.)

diff --git a/debian/rules b/debian/rules
index ad58979..ab7da14 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,6 +24,11 @@ CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
 CFLAGS += -g
 endif
+
+ifneq (,$(filter i386-%,$(DEB_HOST_MULTIARCH)))
+CFLAGS += -ffloat-store
+endif
+
 # `nostrip' handled by dh_strip...

 CFLAGS += -I$(JAVA_HOME)/include/linux

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



More information about the debian-science-maintainers mailing list