[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1052948: company-mode: FTBFS: make[2]: *** [Makefile:27: test-batch] Error 255



Source: company-mode
Version: 0.9.13-2
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[2]: Entering directory '/<<PKGBUILDDIR>>'
> emacs -Q --batch -L . -l test/all.el \
> --eval "(ert-run-tests-batch-and-exit '(not (tag interactive)))"
> company.el: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode'
> company.el: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode'
> Test ‘company-column-with-composition’ redefined
> 
> Error: error ("Test ‘company-column-with-composition’ redefined")
>   mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode 0x1a91e8edebae87d9>))
>   debug-early-backtrace()
>   debug-early(error (error "Test ‘company-column-with-composition’ redefined"))
>   error("Test `%s' redefined" company-column-with-composition)
>   ert-set-test(company-column-with-composition #s(ert-test :name company-column-with-composition :documentation nil :body (closure (t) nil (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (let ((wconfig (current-window-configuration))) (unwind-protect (progn (set-window-buffer nil (current-buffer)) (insert "lambda ()") (compose-region 1 (1+ (length "lambda")) "\\") (let* ((fn-959 #'=) (args-960 (condition-case err (let ((signal-hook-function #'ert--should-signal-hook)) (list (company--column) 4)) (error (progn (setq fn-959 #'signal) (list (car err) (cdr err))))))) (let ((value-961 'ert-form-evaluation-aborted-962)) (let (form-description-963) (if (unwind-protect (setq value-961 (apply fn-959 args-960)) (setq form-description-963 (nconc (list '(should (= (company--column) 4))) (list :form (cons fn-959 args-960)) (if (eql value-961 'ert-form-evaluation-aborted-962) nil (list :value value-961)) (if (eql value-961 'ert-form-evaluation-aborted-962) nil (let* ((-explainer- (and t (ert--get-explainer '=)))) (if -explainer- (list :explanation (apply -explainer- args-960)) nil))))) (ert--signal-should-execution form-description-963)) nil (ert-fail form-description-963))) value-961))) (set-window-configuration wconfig)))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))))) :most-recent-result nil :expected-result-type :passed :tags (interactive) :file-name "/<<PKGBUILDDIR>>/test/frontends-tests.el"))
>   load-with-code-conversion("/<<PKGBUILDDIR>>/test/frontends-tests.el" "/<<PKGBUILDDIR>>/test/frontends-tests.el" nil t)
>   load("/<<PKGBUILDDIR>>/test/frontends-tests.el" nil t)
>   (if (and (= emacs-major-version 24) (equal (file-name-base test-file) "capf-tests")) nil (load test-file nil t))
>   (let ((test-file (car tail))) (if (and (= emacs-major-version 24) (equal (file-name-base test-file) "capf-tests")) nil (load test-file nil t)) (setq tail (cdr tail)))
>   (while tail (let ((test-file (car tail))) (if (and (= emacs-major-version 24) (equal (file-name-base test-file) "capf-tests")) nil (load test-file nil t)) (setq tail (cdr tail))))
>   (let ((tail (directory-files company-test-path t "-tests.el$"))) (while tail (let ((test-file (car tail))) (if (and (= emacs-major-version 24) (equal (file-name-base test-file) "capf-tests")) nil (load test-file nil t)) (setq tail (cdr tail)))))
>   load-with-code-conversion("/<<PKGBUILDDIR>>/test/all.el" "/<<PKGBUILDDIR>>/test/all.el" nil t)
>   command-line-1(("-L" "." "-l" "test/all.el" "--eval" "(ert-run-tests-batch-and-exit '(not (tag interactive)))"))
>   command-line()
>   normal-top-level()
> make[2]: *** [Makefile:27: test-batch] Error 255


The full build log is available from:
http://qa-logs.debian.net/2023/09/25/company-mode_0.9.13-2_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: