Package: src:emacs-web-server
Version: 1.5.1-5
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --with elpa
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
        make -j2 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
emacs -batch -Q -L . -f batch-byte-compile simple-httpd.el
emacs -batch -Q -L . -f batch-byte-compile simple-httpd-test.el simple-httpd.el

In toplevel form:
simple-httpd.el:416:12: Warning: ‘point’ is an obsolete generalized variable; 
use ‘goto-char’ instead.

In toplevel form:
simple-httpd-test.el:12:11: Warning: ‘point’ is an obsolete generalized 
variable; use ‘goto-char’ instead.
simple-httpd-test.el:12:11: Warning: ‘point’ is an obsolete generalized 
variable; use ‘goto-char’ instead.
simple-httpd-test.el:12:11: Warning: ‘point’ is an obsolete generalized 
variable; use ‘goto-char’ instead.
simple-httpd-test.el:12:11: Warning: ‘point’ is an obsolete generalized 
variable; use ‘goto-char’ instead.
simple-httpd-test.el: Warning: ‘point’ is an obsolete generalized variable; use 
‘goto-char’ instead.
simple-httpd.el:655:10: Warning: ‘point’ is an obsolete generalized variable; 
use ‘goto-char’ instead.
simple-httpd.el:661:14: Warning: ‘point’ is an obsolete generalized variable; 
use ‘goto-char’ instead.
simple-httpd.el:663:16: Warning: ‘point’ is an obsolete generalized variable; 
use ‘goto-char’ instead.
simple-httpd.el:669:16: Warning: ‘point’ is an obsolete generalized variable; 
use ‘goto-char’ instead.

In toplevel form:
simple-httpd.el:416:12: Warning: ‘point’ is an obsolete generalized variable; 
use ‘goto-char’ instead.
simple-httpd.el:655:10: Warning: ‘point’ is an obsolete generalized variable; 
use ‘goto-char’ instead.
simple-httpd.el:661:14: Warning: ‘point’ is an obsolete generalized variable; 
use ‘goto-char’ instead.
simple-httpd.el:663:16: Warning: ‘point’ is an obsolete generalized variable; 
use ‘goto-char’ instead.
simple-httpd.el:669:16: Warning: ‘point’ is an obsolete generalized variable; 
use ‘goto-char’ instead.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_elpa_test
        emacs -batch -Q -l package --eval "(add-to-list 'package-directory-list 
\"/usr/share/emacs/site-lisp/elpa\")" --eval "(add-to-list 'package-directory-list 
\"/usr/share/emacs/site-lisp/elpa-src\")" -f package-initialize -L . --eval "(setq 
comp-enable-subr-trampolines nil)" -l simple-httpd-test.el --eval \(ert-run-tests-batch-and-exit\)
Running 10 tests (2023-12-05 16:23:17+0000, selector ‘t’)
   passed   1/10  httpd-clean-path-test (0.000090 sec)
   passed   2/10  httpd-get-servlet-test (0.000089 sec)
   passed   3/10  httpd-mime-test (0.000053 sec)
   passed   4/10  httpd-parse-args-test (0.000064 sec)
   passed   5/10  httpd-parse-endpoint (0.000049 sec)
   passed   6/10  httpd-parse-test (0.000974 sec)
   passed   7/10  httpd-parse-uri-test (0.000085 sec)
   passed   8/10  httpd-send-header-test (0.126640 sec)
Warning (emacs): Redefining ‘file-exists-p’ might break native compilation of 
trampolines.
Test httpd-status-test backtrace:
  native-elisp-load("/tmp/test-nativecomp-cache-wyP0dL/29.1-6902048d/s
  comp-trampoline-search(file-readable-p)
  comp-subr-trampoline-install(file-readable-p)
  fset(file-readable-p (lambda (file) nil))
  (progn (fset 'file-exists-p #'(lambda (file) t)) (fset 'file-readabl
  (unwind-protect (progn (fset 'file-exists-p #'(lambda (file) t)) (fs
  (let ((file-exists-p (symbol-function 'file-exists-p)) (file-readabl
  (lambda nil (let ((file-exists-p (symbol-function 'file-exists-p)) (
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name httpd-status-test :documentation "Tes
  ert-run-or-rerun-test(#s(ert--stats :selector t :tests [... ... ...
  ert-run-tests(t #f(compiled-function (event-type &rest event-args) #
  ert-run-tests-batch(nil)
  ert-run-tests-batch-and-exit()
  command-line-1(("-l" "package" "--eval" "(add-to-list 'package-direc
  command-line()
  normal-top-level()
Test httpd-status-test condition:
    (native-lisp-load-failed "file does not exists" 
"/tmp/test-nativecomp-cache-wyP0dL/29.1-6902048d/subr--trampoline-66696c652d7265616461626c652d70_file_readable_p_0.eln")
   FAILED   9/10  httpd-status-test (0.222435 sec) at simple-httpd-test.el:88
   passed  10/10  httpd-unhex-test (0.000106 sec)

Ran 10 tests, 9 results as expected, 1 unexpected (2023-12-05 16:23:17+0000, 
0.396136 sec)

1 unexpected results:
   FAILED  httpd-status-test

dh_elpa_test: error: emacs -batch -Q -l package --eval "(add-to-list 'package-directory-list 
\"/usr/share/emacs/site-lisp/elpa\")" --eval "(add-to-list 'package-directory-list 
\"/usr/share/emacs/site-lisp/elpa-src\")" -f package-initialize -L . --eval "(setq 
comp-enable-subr-trampolines nil)" -l simple-httpd-test.el --eval \(ert-run-tests-batch-and-exit\) returned exit code 1
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202312/

About the archive rebuild: The build was made using virtual machines
from AWS, with enough memory, enough disk, and either one or two
CPUs, using a reduced chroot with only build-essential packages.

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, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to