Bug#825729: borgbackup: FTBFS in testing when using eatmydata

2016-05-29 Thread Santiago Vila
I forgot: To reproduce: I'm using schroot, sbuild and a stretch chroot.

To use eatmydata, simply install eatmydata inside the chroot and add
"command-prefix=eatmydata" to the configuration file for the chroot.

For example, this is my /etc/schroot/chroot.d/stretch file:

[stretch]
type=directory
description=Debian stretch
directory=/chroot/stretch
groups=sbuild
root-groups=sbuild
preserve-environment=true
command-prefix=eatmydata


Thanks.



Bug#825729: borgbackup: FTBFS in testing when using eatmydata

2016-05-29 Thread Santiago Vila
Package: borgbackup
Version: 1.0.3-1
Severity: wishlist

Dear maintainer:

This package fails to build from source in stretch when eatmydata is
used inside the chroot:

 ERRORS 
___ ERROR collecting .pybuild/pythonX.Y_3.5/build/borg/testsuite/__init__.py ___
borg/testsuite/__init__.py:10: in 
from ..xattr import get_all
borg/xattr.py:71: in 
logger.error(msg)
borg/logger.py:173: in error
return self.__logger.error(*args, **kw)
borg/logger.py:150: in __logger
raise Exception("tried to call a logger before setup_logging() was called")
E   Exception: tried to call a logger before setup_logging() was called


Dropping eatmydata makes the build to work again.

The full build log is attached.

Note: I am checking that "dpkg-buildpackage -A" works everywhere and
eatmydata is a real time and disk I/O saver, but there is not a
requirement anywhere in policy that packages have to be compatible
with eatmydata, and that's why I'm using wishlist here.

Thanks.

borgbackup_1.0.3-1_amd64-20160529-1133.gz
Description: application/gzip