Note: I've already retitled, but just to avoid confusion: This is a "FTBFS with nocheck build profile" bug. A wiki page discussing how to reproduce bugs in this category and possible solutions is available here: https://wiki.debian.org/qa.debian.org/FTBFS/nocheck