I've tried to apply the patch (or variants of it), but having all messages at DEBUG level printed on stderr leads to an unreadable log that is going to actually hurt debugging in case tests will fail in the future, and I couldn't find a good in-between amount of logging.
Since the main issue is already tracked on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874720 and that AFAIK debian infrastructure is able to build this package, I'm going to close this bug as nonfix in the hope to be able to work on a proper fix in the future. -- Elena ``of Valhalla''