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

Bug#1052865: js2-mode: FTBFS: dh_auto_test: error: make -j8 test returned exit code 2



Source: js2-mode
Version: 0~20201220-1
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>>'
> emacs -batch -Q -L . -l js2-mode.el -l js2-old-indent.el -l tests/parser.el \
>   -l tests/indent.el -l tests/externs.el -l tests/json-path.el -l tests/consume.el \
>   -l tests/navigation.el -f ert-run-tests-batch-and-exit
> Test ‘js2-finds-jslint-globals-with-newline’ redefined
> 
> Error: error ("Test ‘js2-finds-jslint-globals-with-newline’ redefined")
>   mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0x48daaa1451795d>))
>   debug-early-backtrace()
>   debug-early(error (error "Test ‘js2-finds-jslint-globals-with-newline’ redefined"))
>   error("Test `%s' redefined" js2-finds-jslint-globals-with-newline)
>   ert-set-test(js2-finds-jslint-globals-with-newline #s(ert-test :name js2-finds-jslint-globals-with-newline :documentation nil :body (closure (t) nil (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (insert "/*jslint\nbrowser: true,\nnode:\ntrue\n, devel:\ntrue\n*/") (js2-mode) (let ((found-externs (js2-get-jslint-declaration-externs))) (let ((value-1261 (gensym "ert-form-evaluation-aborted-"))) (let (form-description-1262) (if (unwind-protect (setq value-1261 (and (member "history" found-externs) (member "Buffer" found-externs) (member "alert" found-externs))) (setq form-description-1262 (list '(should (and (member "history" found-externs) (member "Buffer" found-externs) (member "alert" found-externs))) :form '(and (member "history" found-externs) (member "Buffer" found-externs) (member "alert" found-externs)) :value value-1261)) (ert--signal-should-execution form-description-1262)) nil (ert-fail form-description-1262))) value-1261))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))))) :most-recent-result nil :expected-result-type :passed :tags nil :file-name "/<<PKGBUILDDIR>>/tests/externs.el"))
>   load-with-code-conversion("/<<PKGBUILDDIR>>/tests/externs.el" "/<<PKGBUILDDIR>>/tests/externs.el" nil t)
>   command-line-1(("-L" "." "-l" "js2-mode.el" "-l" "js2-old-indent.el" "-l" "tests/parser.el" "-l" "tests/indent.el" "-l" "tests/externs.el" "-l" "tests/json-path.el" "-l" "tests/consume.el" "-l" "tests/navigation.el" "-f" "ert-run-tests-batch-and-exit"))
>   command-line()
>   normal-top-level()
> make[1]: *** [Makefile:21: test] Error 255
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: make -j8 test returned exit code 2


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