[Debian-astro-maintainers] Bug#921324: astropy-healpix FTBFS on i386: test filure

Singer, Leo P. (GSFC-6610) leo.p.singer at nasa.gov
Wed Mar 6 02:19:01 GMT 2019


On Mon, 04 Feb 2019 11:16:29 +0200 Adrian Bunk <bunk at debian.org> wrote:
> Fix:
> 
> --- debian/rules.old	2019-02-04 09:12:02.674701984 +0000
> +++ debian/rules	2019-02-04 09:13:52.286700939 +0000
> @@ -9,6 +9,10 @@
> # Astropy-affiliated packages do.
> export PYBUILD_AFTER_INSTALL := find {destdir} -name '*.c' -delete
> 
> +ifeq ($(DEB_HOST_ARCH),i386)
> +  export DEB_CFLAGS_MAINT_APPEND=-ffloat-store
> +endif
> +
> %:
> 	dh $@ --with python3 --buildsystem=pybuild

I recall that setting -mpc64 also fixed this, but I gather from the gcc documentation that -ffloat-store is more correct because it ensures correct rounding for both single and double precision variables. Do you agree?

Thanks,
Leo


More information about the Debian-astro-maintainers mailing list