Bug#1020185: emacs-web-server: FTBFS: make: *** [debian/rules:4: binary] Error 25
Source: emacs-web-server
Version: 1.5.1-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> 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
> 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 . -l simple-httpd-test.el --eval \(ert-run-tests-batch-and-exit\)
> Running 10 tests (2022-09-17 20:06:11+0000, selector ‘t’)
> passed 1/10 httpd-clean-path-test (0.000148 sec)
> passed 2/10 httpd-get-servlet-test (0.000211 sec)
> passed 3/10 httpd-mime-test (0.000084 sec)
> passed 4/10 httpd-parse-args-test (0.000462 sec)
> passed 5/10 httpd-parse-endpoint (0.000057 sec)
> passed 6/10 httpd-parse-test (0.001724 sec)
> passed 7/10 httpd-parse-uri-test (0.000151 sec)
> Test httpd-send-header-test backtrace:
> error("Cannot find suitable directory for output in `nati...")
> comp-trampoline-compile(process-send-region)
> comp-subr-trampoline-install(process-send-region)
> fset(process-send-region #<subr process-send-region>)
> (unwind-protect (progn (fset 'process-send-region #'(lambda (_proc _
> (let ((process-send-region (symbol-function 'process-send-region)))
> (let ((buffer (current-buffer))) (let ((process-send-region (symbol-
> (progn (set-buffer-multibyte nil) (let ((buffer (current-buffer))) (
> (unwind-protect (progn (set-buffer-multibyte nil) (let ((buffer (cur
> (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
> (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current
> (let ((lexical-binding nil)) (let ((temp-buffer (generate-new-buffer
> (lambda nil (let ((lexical-binding nil)) (let ((temp-buffer (generat
> ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
> ert-run-test(#s(ert-test :name httpd-send-header-test :documentation
> 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-send-header-test condition:
> (error "Cannot find suitable directory for output in ‘native-comp-eln-load-path’")
> FAILED 8/10 httpd-send-header-test (0.054087 sec)
> Test httpd-status-test backtrace:
> error("Cannot find suitable directory for output in `nati...")
> comp-trampoline-compile(file-exists-p)
> comp-subr-trampoline-install(file-exists-p)
> fset(file-exists-p #<subr file-exists-p>)
> (unwind-protect (progn (fset 'file-exists-p #'(lambda (file) t)) (fs
> (let ((file-exists-p (symbol-function 'file-exists-p)) (file-readabl
> (let ((lexical-binding nil)) (let ((file-exists-p (symbol-function '
> (lambda nil (let ((lexical-binding nil)) (let ((file-exists-p (symbo
> 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 ... :test-map
> 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:
> (error "Cannot find suitable directory for output in ‘native-comp-eln-load-path’")
> FAILED 9/10 httpd-status-test (0.000861 sec)
> passed 10/10 httpd-unhex-test (0.000118 sec)
>
> Ran 10 tests, 8 results as expected, 2 unexpected (2022-09-17 20:06:12+0000, 0.457076 sec)
>
> 2 unexpected results:
> FAILED httpd-send-header-test
> 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 . -l simple-httpd-test.el --eval \(ert-run-tests-batch-and-exit\) returned exit code 1
> make: *** [debian/rules:4: binary] Error 25
The full build log is available from:
http://qa-logs.debian.net/2022/09/17/emacs-web-server_1.5.1-4_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
Reply to: