Source: stunnel4 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: Michał Mirosław <mirq-debo...@rere.qmqm.pl>
The bug #955710 turns out to be only partially fixed. Now without a binary to exec the test runtime doesn't hang. When the binary is correct, though, it still can't stop asking the pipe for more data after EOF. $ dpkg-buildpackage -b [...] env TEST_STUNNEL=.../stunnel4-5.56+dfsg/src/stunnel debian/tests/runtime Found the certificate at debian/tests/certs/certificate.pem and the private key at debian/tests/certs/key.pem Using the /tmp/AgCSdk8YKw temporary directory About to get the stunnel version information Got stunnel version 5.56 ^Cmake[1]: *** [debian/rules:32: execute_before_dh_auto_test] Interrupt make: *** [debian/rules:106: binary] Error 1 From the manual run under strace: $ TEST_STUNNEL=src/stunnel strace -f -o /tmp/log debian/tests/runtime I can see (excerpt): 11715 read(5, <unfinished ...> 11715 <... read resumed> "stunnel 5.56 on x86_64-pc-linux-"..., 8192) = 95 [more reads] 11715 read(5, "TIMEOUTbusy = 300 sec"..., 8192) = 178 11715 epoll_wait(3, <unfinished ...> 11715 <... epoll_wait resumed> [{EPOLLHUP, {u32=5, u64=4294967301}}], 64, 59743) = 1 11715 epoll_ctl(3, EPOLL_CTL_MOD, 5, {EPOLLIN, {u32=5, u64=4294967301}} <unfinished ...> [11716 +++ exited with 0 +++] 11715 <... epoll_ctl resumed> ) = 0 11715 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11716, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- 11715 write(4, "\1\0\0\0\0\0\0\0", 8) = 8 11715 rt_sigreturn({mask=[]}) = 0 11715 epoll_wait(3, [{EPOLLHUP, {u32=5, u64=4294967301}}, {EPOLLIN, {u32=4, u64=4294967300}}], 64, 59743) = 2 11715 epoll_ctl(3, EPOLL_CTL_MOD, 5, {EPOLLIN, {u32=5, u64=4294967301}}) = 0 11715 read(4, "\1\0\0\0\0\0\0\0", 8) = 8 11715 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|WSTOPPED|WCONTINUED, NULL) = 11716 11715 wait4(-1, 0x7ffc665c7904, WNOHANG|WSTOPPED|WCONTINUED, NULL) = -1 ECHILD (No child processes) 11715 wait4(-1, 0x7ffc665c76b4, WNOHANG, NULL) = -1 ECHILD (No child processes) 11715 epoll_wait(3, [{EPOLLHUP, {u32=5, u64=4294967301}}], 64, 59743) = 1 11715 epoll_ctl(3, EPOLL_CTL_MOD, 5, {EPOLLIN, {u32=5, u64=4294967301}}) = 0 11715 epoll_wait(3, [{EPOLLHUP, {u32=5, u64=4294967301}}], 64, 59743) = 1 11715 epoll_ctl(3, EPOLL_CTL_MOD, 5, {EPOLLIN, {u32=5, u64=4294967301}}) = 0 11715 epoll_wait(3, [{EPOLLHUP, {u32=5, u64=4294967301}}], 64, 59743) = 1 11715 epoll_ctl(3, EPOLL_CTL_MOD, 5, {EPOLLIN, {u32=5, u64=4294967301}}) = 0 11715 read(5, "", 8192) = 0 11715 write(1, "Got stunnel version 5.56\n", 25) = 25 11715 epoll_wait(3, [{EPOLLHUP, {u32=5, u64=4294967301}}], 64, 59743) = 1 11715 epoll_ctl(3, EPOLL_CTL_MOD, 5, {EPOLLIN, {u32=5, u64=4294967301}}) = 0 11715 read(5, "", 8192) = 0 [last 3 lines repeated forever] -- System Information: Debian Release: 10.5 APT prefers stable-debug APT policy: (900, 'stable-debug'), (900, 'proposed-updates'), (900, 'stable'), (800, 'testing'), (700, 'unstable'), (600, 'experimental'), (540, 'oldstable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'proposed-updates-debug'), (1, 'experimental-debug') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.7.10mq+ (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) -- no debconf information
test-runtime.strace.log.gz
Description: application/gzip