Oh, actually a commit from a fortnight ago might be relevant. I'm not well setup to try at this moment, but if so and all else good then can go to fixed-upstream in the fullness of time.
https://github.com/mhulden/foma/commit/e20a453a318128973d75753f9ecbef0e6b82b23f -- debian-science-maintainers mailing list debian-science-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers