[Python-apps-team] Bug#921257: khal: FTBFS randomly when built with eatmydata and overlayfs
Santiago Vila
sanvila at debian.org
Sun Feb 3 17:03:58 GMT 2019
Package: src:khal
Version: 1:0.9.10-1
Tags: ftbfs
Dear maintainer:
I tried to build this package in sid but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with python3,sphinxdoc --buildsystem=pybuild
dh_update_autotools_config -i -O--buildsystem=pybuild
dh_autoreconf -i -O--buildsystem=pybuild
dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:217: python3.7 setup.py config
running config
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:217: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal
copying khal/__main__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal
copying khal/controllers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal
copying khal/calendar_display.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal
copying khal/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal
copying khal/cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal
copying khal/log.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal
copying khal/configwizard.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal
copying khal/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal
copying khal/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal
copying khal/terminal.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal
copying khal/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/ui
copying khal/ui/colors.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/ui
copying khal/ui/calendarwidget.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/ui
copying khal/ui/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/ui
copying khal/ui/editor.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/ui
copying khal/ui/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/ui
copying khal/ui/widgets.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/ui
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/khalendar
copying khal/khalendar/vdir.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/khalendar
copying khal/khalendar/event.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/khalendar
copying khal/khalendar/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/khalendar
copying khal/khalendar/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/khalendar
copying khal/khalendar/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/khalendar
copying khal/khalendar/backend.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/khalendar
copying khal/khalendar/khalendar.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/khalendar
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/settings
copying khal/settings/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/settings
copying khal/settings/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/settings
copying khal/settings/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/settings
copying khal/settings/settings.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/settings
copying khal/settings/khal.spec -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build/khal/settings
PYTHONPATH=. python3 -m sphinx -b man doc/source /<<PKGBUILDDIR>>/doc/_build/man
Running Sphinx v1.8.3
making output directory...
loading intersphinx inventory from /usr/share/doc/python3-doc/html/objects.inv...
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: 40 added, 0 changed, 0 removed
reading sources... [ 2%] changelog
reading sources... [ 5%] configure
reading sources... [ 7%] faq
reading sources... [ 10%] feedback
reading sources... [ 12%] hacking
reading sources... [ 15%] index
reading sources... [ 17%] install
reading sources... [ 20%] license
reading sources... [ 22%] man
reading sources... [ 25%] news
reading sources... [ 27%] news/30c3
reading sources... [ 30%] news/31c3
reading sources... [ 32%] news/callfortesting
reading sources... [ 35%] news/khal01
reading sources... [ 37%] news/khal011
reading sources... [ 40%] news/khal02
reading sources... [ 42%] news/khal03
reading sources... [ 45%] news/khal031
reading sources... [ 47%] news/khal04
reading sources... [ 50%] news/khal05
reading sources... [ 52%] news/khal06
reading sources... [ 55%] news/khal07
reading sources... [ 57%] news/khal071
reading sources... [ 60%] news/khal08
reading sources... [ 62%] news/khal081
reading sources... [ 65%] news/khal082
reading sources... [ 67%] news/khal083
reading sources... [ 70%] news/khal084
reading sources... [ 72%] news/khal09
reading sources... [ 75%] news/khal091
reading sources... [ 77%] news/khal092
reading sources... [ 80%] news/khal093
reading sources... [ 82%] news/khal094
reading sources... [ 85%] news/khal095
reading sources... [ 87%] news/khal096
reading sources... [ 90%] news/khal097
reading sources... [ 92%] news/khal098
reading sources... [ 95%] news/khal099
reading sources... [ 97%] standards
reading sources... [100%] usage
/<<PKGBUILDDIR>>/doc/source/news.rst:10: WARNING: Unknown directive type "feed".
.. feed::
:rss: index.rss
:title: khal news
:link: http://lostpackets.de/khal/
news/khal099
news/khal098
news/khal097
news/khal096
news/khal095
news/khal094
news/khal093
news/khal092
news/khal091
news/khal09
news/khal071
news/khal084
news/khal083
news/khal082
news/khal081
news/khal08
news/khal07
news/khal06
news/khal05
news/khal04
news/31c3
news/khal031
news/khal03
news/khal02
news/khal011
news/khal01
news/30c3
news/callfortesting
/<<PKGBUILDDIR>>/doc/source/news/30c3.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2013-12-13
/<<PKGBUILDDIR>>/doc/source/news/31c3.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2014-12-09
/<<PKGBUILDDIR>>/doc/source/news/callfortesting.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2013-11-19
/<<PKGBUILDDIR>>/doc/source/news/khal01.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2014-04-03
/<<PKGBUILDDIR>>/doc/source/news/khal011.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2014-05-07
/<<PKGBUILDDIR>>/doc/source/news/khal02.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2014-06-27
/<<PKGBUILDDIR>>/doc/source/news/khal03.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2014-09-03
/<<PKGBUILDDIR>>/doc/source/news/khal031.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2014-09-08
/<<PKGBUILDDIR>>/doc/source/news/khal04.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2015-02-02
/<<PKGBUILDDIR>>/doc/source/news/khal05.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2015-06-01
/<<PKGBUILDDIR>>/doc/source/news/khal06.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2015-07-15
/<<PKGBUILDDIR>>/doc/source/news/khal07.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2015-11-24
/<<PKGBUILDDIR>>/doc/source/news/khal071.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2016-10-11
/<<PKGBUILDDIR>>/doc/source/news/khal08.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2016-04-13
/<<PKGBUILDDIR>>/doc/source/news/khal081.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2016-04-13
/<<PKGBUILDDIR>>/doc/source/news/khal082.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2016-05-16
/<<PKGBUILDDIR>>/doc/source/news/khal083.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2016-08-28
/<<PKGBUILDDIR>>/doc/source/news/khal084.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2016-10-06
/<<PKGBUILDDIR>>/doc/source/news/khal09.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2017-01-24
/<<PKGBUILDDIR>>/doc/source/news/khal091.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2017-01-25
/<<PKGBUILDDIR>>/doc/source/news/khal092.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2017-02-13
/<<PKGBUILDDIR>>/doc/source/news/khal093.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2017-03-06
/<<PKGBUILDDIR>>/doc/source/news/khal094.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2017-03-30
/<<PKGBUILDDIR>>/doc/source/news/khal095.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2017-04-10
/<<PKGBUILDDIR>>/doc/source/news/khal096.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2017-06-13
/<<PKGBUILDDIR>>/doc/source/news/khal097.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2017-09-15
/<<PKGBUILDDIR>>/doc/source/news/khal098.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2017-10-05
/<<PKGBUILDDIR>>/doc/source/news/khal099.rst:4: WARNING: Unknown directive type "feed-entry".
.. feed-entry::
:date: 2018-05-26
looking for now-outdated files... none found
pickling environment... done
checking consistency... /<<PKGBUILDDIR>>/doc/source/man.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/30c3.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/31c3.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/callfortesting.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal01.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal011.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal02.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal03.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal031.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal04.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal05.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal06.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal07.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal071.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal08.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal081.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal082.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal083.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal084.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal09.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal091.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal092.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal093.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal094.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal095.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal096.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal097.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal098.rst: WARNING: document isn't included in any toctree
/<<PKGBUILDDIR>>/doc/source/news/khal099.rst: WARNING: document isn't included in any toctree
done
writing... khal.1 { usage configure standards faq license } /<<PKGBUILDDIR>>/doc/source/usage.rst:48: WARNING: unknown option: --color
/<<PKGBUILDDIR>>/doc/source/usage.rst:48: WARNING: unknown option: --color
/<<PKGBUILDDIR>>/doc/source/usage.rst:371: WARNING: unknown option: --interactive
/<<PKGBUILDDIR>>/doc/source/configure.rst:16: WARNING: unknown option: -c
path/to/config
build succeeded, 63 warnings.
The manual pages are in doc/_build/man.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p debian/tmp/locale/
localedef -f UTF-8 -i en_US ./debian/tmp/locale/en_US.UTF-8/
localedef -f UTF-8 -i de_DE ./debian/tmp/locale/de_DE.UTF-8/
localedef -f UTF-8 -i cs_CZ ./debian/tmp/locale/cs_CZ.UTF-8/
localedef -f UTF-8 -i el_GR ./debian/tmp/locale/el_GR.UTF-8/
export LOCPATH=/<<PKGBUILDDIR>>/debian/tmp/locale/ && \
export LC_ALL=en_US.UTF-8 && \
LC_ALL=en_US.UTF-8 dh_auto_test
I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build; python3.7 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.7.2+, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
rootdir: /<<PKGBUILDDIR>>, inifile:
collected 275 items
tests/backend_test.py .............................. [ 10%]
tests/cal_display_test.py ..s.... [ 13%]
tests/cli_test.py ..............x........X....X......... [ 27%]
tests/configwizard_test.py . [ 27%]
tests/controller_test.py ............ [ 32%]
tests/event_test.py ..........................X................ [ 47%]
tests/khalendar_test.py ....................... [ 56%]
tests/khalendar_utils_test.py .s.......s..........s.................. [ 70%]
tests/settings_test.py ........... [ 74%]
tests/terminal_test.py ... [ 75%]
tests/utils_test.py ...............................................ss... [ 94%]
.... [ 95%]
tests/vdir_test.py xF. [ 96%]
tests/vtimezone_test.py ..X [ 97%]
tests/ui/test_calendarwidget.py ..s [ 98%]
tests/ui/test_editor.py .. [ 99%]
tests/ui/test_widgets.py . [100%]
=================================== FAILURES ===================================
________________________________ test_etag_sync ________________________________
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_etag_sync0')
def test_etag_sync(tmpdir):
fpath = os.path.join(str(tmpdir), 'foo')
file_ = open(fpath, 'w')
file_.write('foo')
file_.close()
os.sync()
old_etag = vdir.get_etag_from_file(fpath)
file_ = open(fpath, 'w')
file_.write('foo')
file_.close()
new_etag = vdir.get_etag_from_file(fpath)
> assert old_etag != new_etag
E AssertionError: assert '1549212564742580224.000000000' != '1549212564742580224.000000000'
tests/vdir_test.py:69: AssertionError
==== 1 failed, 261 passed, 7 skipped, 2 xfailed, 4 xpassed in 7.76 seconds =====
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_khal/build; python3.7 -m pytest tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.7 returned exit code 13
make[1]: *** [debian/rules:32: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
This is what usually happens (but not always) when I use sbuild with eatmydata and overlayfs.
When I disable both things, the build succeeds.
(Additionally, I believe there is something wrong in the test, because
both values in the assert seem to be really the same).
If you need a test machine to reproduce this, please say so, I will gladly
offer ssh access (contact me privately for details).
Thanks.
More information about the Python-apps-team
mailing list