Package: src:python-llfuse
Version: 1.2+dfsg-1
Severity: wishlist
Dear maintainer:
When I try to build this package with dpkg-buildpackage -A and eatmydata,
this is what happens:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with python2,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
pybuild --configure -i python{version} -p 2.7
I: pybuild base:184: python2.7 setup.py config
running config
pybuild --configure -i python{version}-dbg -p 2.7
I: pybuild base:184: python2.7-dbg setup.py config
running config
[90196 refs]
pybuild --configure -i python{version} -p 3.5
I: pybuild base:184: python3.5 setup.py config
[... snipped ...]
from /usr/include/python3.5dm/Python.h:11,
from src/llfuse.c:4:
/usr/include/dirent.h:189:12: note: declared here
extern int __REDIRECT (readdir_r,
^
x86_64-linux-gnu-gcc -pthread -g -Og -Wall -Wstrict-prototypes -g -O2
-fdebug-prefix-map=/<<BUILDDIR>>/python-llfuse-1.2+dfsg=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5dm -c src/lock.c -o
build/temp.linux-x86_64-3.5-pydebug/src/lock.o -D_FILE_OFFSET_BITS=64
-I/usr/include/fuse -DFUSE_USE_VERSION=29 -Wall -Wextra -Wconversion
-Wsign-compare -DLLFUSE_VERSION="1.2" -Wno-unused-function -Werror=sign-compare
-DHAVE_STRUCT_STAT_ST_ATIM
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
-Wl,-z,relro -Wl,-z,relro -g -O2
-fdebug-prefix-map=/<<BUILDDIR>>/python-llfuse-1.2+dfsg=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.5-pydebug/src/llfuse.o
build/temp.linux-x86_64-3.5-pydebug/src/lock.o -o
/<<BUILDDIR>>/python-llfuse-1.2+dfsg/.pybuild/pythonX.Y-dbg_3.5/build/llfuse.cpython-35dm-x86_64-linux-gnu.so
-lfuse -pthread -lpthread -lrt
make[1]: Leaving directory '/<<BUILDDIR>>/python-llfuse-1.2+dfsg'
dh_auto_test -i -O--buildsystem=pybuild
pybuild --test -i python{version} -p 2.7
I: pybuild base:184: cd
/<<BUILDDIR>>/python-llfuse-1.2+dfsg/.pybuild/pythonX.Y_2.7/build; python2.7 -m
pytest --installed "/<<BUILDDIR>>/python-llfuse-1.2+dfsg/test/"
============================= test session starts ==============================
platform linux2 -- Python 2.7.13, pytest-3.0.5, py-1.4.32, pluggy-0.4.0 --
/usr/bin/python2.7
cachedir: ../../../test/.cache
rootdir: /<<BUILDDIR>>/python-llfuse-1.2+dfsg/test, inifile: pytest.ini
plugins: catchlog-1.2.2
collecting ... collected 13 items
../../../test/test_api.py::test_inquire_bits PASSED
../../../test/test_api.py::test_listdir PASSED
../../../test/test_api.py::test_sup_groups PASSED
../../../test/test_api.py::test_entry_res PASSED
../../../test/test_api.py::test_xattr PASSED
../../../test/test_examples.py::test_lltest FAILED
=================================== FAILURES ===================================
_________________________________ test_lltest __________________________________
Traceback (most recent call last):
File "/<<BUILDDIR>>/python-llfuse-1.2+dfsg/test/pytest_checklogs.py", line
127, in pytest_runtest_call
check_output(item)
File "/<<BUILDDIR>>/python-llfuse-1.2+dfsg/test/pytest_checklogs.py", line
119, in check_output
check_test_output(cm._capturing, item)
File "/<<BUILDDIR>>/python-llfuse-1.2+dfsg/test/pytest_checklogs.py", line
96, in check_test_output
raise AssertionError('Suspicious output to stderr (matched "%s")' %
hit.group(0))
AssertionError: Suspicious output to stderr (matched "ERROR")
----------------------------- Captured stderr call -----------------------------
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded
(cannot open shared object file): ignored.
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded
(cannot open shared object file): ignored.
!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!
====================== 1 failed, 5 passed in 0.34 seconds ======================
E: pybuild pybuild:276: test: plugin distutils failed with: exit code=2: cd
/<<BUILDDIR>>/python-llfuse-1.2+dfsg/.pybuild/pythonX.Y_2.7/build; python2.7 -m
pytest --installed "{dir}/test/"
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
debian/rules:10: recipe for target 'build-indep' failed
make: *** [build-indep] Error 25
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------
I've put several build logs here:
https://people.debian.org/~sanvila/build-logs/python-llfuse/
This is not a bug (which is why I'm using wishlist here) but most
packages build ok with eatmydata, so it would be really nice if I had
not to make an exception for this package (and a few ones).
To reproduce, just try to build the package with eatmydata.
If you are using sbuild, I describe my building environment here:
https://people.debian.org/~sanvila/my-building-environment.txt
Thanks.