Package: src:sshfs-fuse Version: 3.7.1+repack-2 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in bullseye, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary-arch dh binary-arch --buildsystem=meson dh_update_autotools_config -a -O--buildsystem=meson dh_autoreconf -a -O--buildsystem=meson dh_auto_configure -a -O--buildsystem=meson cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 meson .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu The Meson build system Version: 0.56.2 Source dir: /<<PKGBUILDDIR>> Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu Build type: native build Project name: sshfs Project version: 3.7.1 Using 'CFLAGS' from environment with value: '-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security' Using 'LDFLAGS' from environment with value: '-Wl,-z,relro -Wl,-z,now' Using 'CPPFLAGS' from environment with value: '-Wdate-time -D_FORTIFY_SOURCE=2' C compiler for the host machine: cc (gcc 10.2.1 "cc (Debian 10.2.1-6) 10.2.1 20210110") C linker for the host machine: cc ld.bfd 2.35.2 Using 'CFLAGS' from environment with value: '-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security' Using 'LDFLAGS' from environment with value: '-Wl,-z,relro -Wl,-z,now' Using 'CPPFLAGS' from environment with value: '-Wdate-time -D_FORTIFY_SOURCE=2' Host machine cpu family: x86_64 Host machine cpu: x86_64 ../meson.build:8: WARNING: Consider using the built-in warning_level option instead of using "-Wall". ../meson.build:8: WARNING: Consider using the built-in warning_level option instead of using "-Wextra". Message: Compiler warns about unused result even when casting to void Program rst2man found: YES (/usr/bin/rst2man) Configuring config.h using configuration Found pkg-config: /usr/bin/pkg-config (0.29.2) Run-time dependency fuse3 found: YES 3.10.3 Run-time dependency glib-2.0 found: YES 2.66.8 Run-time dependency gthread-2.0 found: YES 2.66.8 Program utils/install_helper.sh found: YES (/<<PKGBUILDDIR>>/utils/install_helper.sh) Build targets in project: 4 Option buildtype is: plain [default: debugoptimized] Found ninja-1.10.1 at /usr/bin/ninja dh_auto_build -a -O--buildsystem=meson cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j1 -v [1/7] cc -Isshfs.p -I. -I.. -I/usr/include/fuse3 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -D_REENTRANT -DHAVE_CONFIG_H -Wall -Wextra -Wno-sign-compare -Wmissing-declarations -Wwrite-strings -Wno-unused-result -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -DFUSE_USE_VERSION=31 -MD -MQ sshfs.p/sshfs.c.o -MF sshfs.p/sshfs.c.o.d -o sshfs.p/sshfs.c.o -c ../sshfs.c [2/7] cc -Isshfs.p -I. -I.. -I/usr/include/fuse3 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -D_REENTRANT -DHAVE_CONFIG_H -Wall -Wextra -Wno-sign-compare -Wmissing-declarations -Wwrite-strings -Wno-unused-result -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -DFUSE_USE_VERSION=31 -MD -MQ sshfs.p/cache.c.o -MF sshfs.p/cache.c.o.d -o sshfs.p/cache.c.o -c ../cache.c [3/7] cc -o sshfs sshfs.p/sshfs.c.o sshfs.p/cache.c.o -Wl,--as-needed -Wl,--no-undefined -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Wl,--start-group /usr/lib/x86_64-linux-gnu/libfuse3.so -lpthread /usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libgthread-2.0.so -Wl,--end-group -pthread [4/7] /usr/bin/rst2man ../sshfs.rst sshfs.1 [5/7] cp -fPp ../test/conftest.py ../test/pytest.ini ../test/test_sshfs.py ../test/util.py /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test [6/7] cc -Itest/wrong_command.p -Itest -I../test -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -D_REENTRANT -DHAVE_CONFIG_H -Wall -Wextra -Wno-sign-compare -Wmissing-declarations -Wwrite-strings -Wno-unused-result -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ test/wrong_command.p/wrong_command.c.o -MF test/wrong_command.p/wrong_command.c.o.d -o test/wrong_command.p/wrong_command.c.o -c ../test/wrong_command.c [7/7] cc -o test/wrong_command test/wrong_command.p/wrong_command.c.o -Wl,--as-needed -Wl,--no-undefined -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now debian/rules override_dh_auto_test make[1]: Entering directory '/<<PKGBUILDDIR>>' python3 -m pytest test/ ============================= test session starts ============================== platform linux -- Python 3.9.2, pytest-6.0.2, py-1.10.0, pluggy-0.13.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /<<PKGBUILDDIR>>/test, configfile: pytest.ini collecting ... collected 16 items test/test_sshfs.py::test_sshfs[True-True-0-False] FAILED [ 6%] =================================== FAILURES =================================== ________________________ test_sshfs[True-True-0-False] _________________________ Traceback (most recent call last): File "/<<PKGBUILDDIR>>/test/test_sshfs.py", line 49, in test_sshfs res = subprocess.call(['ssh', '-o', 'KbdInteractiveAuthentication=no', File "/usr/lib/python3.9/subprocess.py", line 349, in call with Popen(*popenargs, **kwargs) as p: File "/usr/lib/python3.9/subprocess.py", line 951, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'ssh' =============================== warnings summary =============================== test/util.py:99 /<<PKGBUILDDIR>>/test/util.py:99: PytestUnknownMarkWarning: Unknown pytest.mark.uses_fuse - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html return pytest.mark.uses_fuse() -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ FAILED test/test_sshfs.py::test_sshfs[True-True-0-False] - FileNotFoundError:... !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! ========================= 1 failed, 1 warning in 1.08s ========================= make[1]: *** [debian/rules:10: override_dh_auto_test] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:6: binary-arch] Error 2 dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- About the archive rebuild: The build was made using virtual machines from Hetzner, with enough memory, enough disk, and either one or two CPUs, using a reduced chroot with only build-essential packages (plus debhelper). If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and affects on src:sshfs-fuse, so that this is still visible in the BTS web page for this package. Additional notes: While trying to figure out what's going on here, I tried building the package locally (not in a cloud machine), and stopped the ssh service in my desktop computer. To my surprise, the error changed to this: =================================== FAILURES =================================== ________________________ test_sshfs[True-True-0-False] _________________________ Traceback (most recent call last): File "/<<PKGBUILDDIR>>/test/test_sshfs.py", line 57, in test_sshfs pytest.fail('Unable to ssh into localhost without password prompt.') File "/usr/lib/python3/dist-packages/_pytest/outcomes.py", line 156, in fail raise Failed(msg=msg, pytrace=pytrace) Failed: Unable to ssh into localhost without password prompt. ----------------------------- Captured stderr call ----------------------------- ssh: connect to host localhost port 22: Connection refused So, it is as if the test suite expected that the building machine has a ssh service on localhost, outside the chroot being used for building. Thanks.