[Python-apps-team] Bug#836667: vdirsyncer: FTBFS when built with eatmydata (sbuild hangs)

Santiago Vila sanvila at debian.org
Sun Sep 4 13:39:11 UTC 2016


Package: src:vdirsyncer
Version: 0.11.3-1

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with python3,sphinxdoc --buildsystem=pybuild
   dh_testdir -i -O--buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:184: python3.5 setup.py config 
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:184: /usr/bin/python3 setup.py build 
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/vdirsyncer

[... snipped ...]

pickling environment... done
checking consistency... done
writing... vdirsyncer.1 { when tutorial ssl-tutorial keyring config supported problems contributing vdir packaging contact changelog license } 
build succeeded, 1 warning.

Build finished. The manual pages are in _build/man.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
LC_ALL=C.UTF-8 \
DETERMINISTIC_TESTS=false \
CI=false \
REMOTESTORAGE_SERVER=skip \
DAV_SERVER=skip \
RADICALE_BACNEND=filesystem \
dh_auto_test
I: pybuild base:184: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build; python3.5 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.5.2+, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /<<PKGBUILDDIR>>, inifile: setup.cfg
plugins: hypothesis-3.4.2, localserver-0.3.6
collected 468 items

tests/test_metasync.py .......
tests/test_sync.py ........................
tests/cli/test_config.py .........
tests/cli/test_discover.py ....
tests/cli/test_fetchparams.py ..........
tests/cli/test_repair.py ...
tests/cli/test_sync.py .......make[1]: *** wait: No child processes.  Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: *** wait: No child processes.  Stop.
make: *** wait: No child processes.  Stop.
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes.  Stop.
E: Build killed with signal TERM after 60 minutes of inactivity
--------------------------------------------------------------------------------

The failure does not seem related to using "dpkg-buildpackage -A" at all.
It happens because I was using eatmydata in the stretch chroot
(disabling eatmydata makes the build to work ok).

It would be really nice if this package could be built with eatmydata,
it saves a lot of disk I/O and makes the build to run much faster.

To reproduce, please try building with sbuild and a 
file /etc/schroot/chroot.d/stretch like this:

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


Thanks.



More information about the Python-apps-team mailing list