Bug#1052939: lsp-mode: FTBFS: make: *** [debian/rules:4: binary] Error 25
Source: lsp-mode
Version: 8.0.0-5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20230925 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> /bin/true
> 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 clients/ -L . -L test -l test/lsp-completion-test.el -l test/lsp-clangd-test.el -l test/lsp-file-watch-test.el -l test/lsp-io-test.el -l test/lsp-integration-test.el -l test/lsp-methods-test.el -l test/lsp-common-test.el -l test/lsp-javascript-test.el -l test/lsp-mode-test.el -l test/lsp-protocol-test.el -l debian/ert-helper.el
> Test ‘lsp-text-document-hover-request’ redefined
>
> Error: error ("Test ‘lsp-text-document-hover-request’ redefined")
> mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode 0x18c19c69ebae86ac>))
> debug-early-backtrace()
> debug-early(error (error "Test ‘lsp-text-document-hover-request’ redefined"))
> error("Test `%s' redefined" lsp-text-document-hover-request)
> ert-set-test(lsp-text-document-hover-request #s(ert-test :name lsp-text-document-hover-request :documentation nil :body (closure (t) nil (lsp-workspace-folders-add (f-join lsp-test-location "fixtures")) (find-file (f-join lsp-test-location "fixtures/pyls/test.py")) (lsp) (deferred:sync! (deferred:nextc (deferred:nextc (lsp-test--wait-for '(progn (eq 'initialized (lsp--workspace-status (cl-first (lsp-workspaces)))))) #'(lambda (_) (goto-char (point-min)) (search-forward "fn1") (lsp-def-request-async "textDocument/hover" (lsp--text-document-position-params)))) #'(lambda (contents) (let* ((fn-636 #'lsp-hover?) (args-637 (condition-case err (let ((signal-hook-function #'ert--should-signal-hook)) (list contents)) (error (progn (setq fn-636 #'signal) (list (car err) (cdr err))))))) (let ((value-638 'ert-form-evaluation-aborted-639)) (let (form-description-640) (if (unwind-protect (setq value-638 (apply fn-636 args-637)) (setq form-description-640 (nconc (list '(should (lsp-hover? contents))) (list :form (cons fn-636 args-637)) (if (eql value-638 'ert-form-evaluation-aborted-639) nil (list :value value-638)) (if (eql value-638 'ert-form-evaluation-aborted-639) nil (let* ((-explainer- (and t (ert--get-explainer 'lsp-hover?)))) (if -explainer- (list :explanation (apply -explainer- args-637)) nil))))) (ert--signal-should-execution form-description-640)) nil (ert-fail form-description-640))) value-638))))) (kill-buffer) (lsp-workspace-folders-remove (f-join lsp-test-location "fixtures"))) :most-recent-result nil :expected-result-type :passed :tags nil :file-name "/<<PKGBUILDDIR>>/test/lsp-integration-test.el"))
> load-with-code-conversion("/<<PKGBUILDDIR>>/test/lsp-integration-test.el" "/<<PKGBUILDDIR>>/test/lsp-integration-test.el" nil t)
> command-line-1(("-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" "clients/" "-L" "." "-L" "test" "-l" "test/lsp-completion-test.el" "-l" "test/lsp-clangd-test.el" "-l" "test/lsp-file-watch-test.el" "-l" "test/lsp-io-test.el" "-l" "test/lsp-integration-test.el" "-l" "test/lsp-methods-test.el" "-l" "test/lsp-common-test.el" "-l" "test/lsp-javascript-test.el" "-l" "test/lsp-mode-test.el" "-l" "test/lsp-protocol-test.el" "-l" "debian/ert-helper.el"))
> command-line()
> normal-top-level()
> 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 clients/ -L . -L test -l test/lsp-completion-test.el -l test/lsp-clangd-test.el -l test/lsp-file-watch-test.el -l test/lsp-io-test.el -l test/lsp-integration-test.el -l test/lsp-methods-test.el -l test/lsp-common-test.el -l test/lsp-javascript-test.el -l test/lsp-mode-test.el -l test/lsp-protocol-test.el -l debian/ert-helper.el returned exit code 255
> make: *** [debian/rules:4: binary] Error 25
The full build log is available from:
http://qa-logs.debian.net/2023/09/25/lsp-mode_8.0.0-5_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&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 mark 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: