Bug#1073473: magit: FTBFS: make[3]: *** [Makefile:6: test] Error 1
Source: magit
Version: 3.3.0+git20240412.1.da14749d-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20240615 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>/test'
> Testing...
> Loading /<<PKGBUILDDIR>>/test/magit-tests.el (source)...
> Cannot determine Magit’s version (error "/<<PKGBUILDDIR>>/lisp/magit.el" repo static elpa dirname hash)
> Running 31 tests (2024-06-16 12:15:30+0000, selector ‘t’)
> passed 1/31 magit--with-safe-default-directory (0.280700 sec)
> passed 2/31 magit-base:ellipsis-customisations-are-respected (0.000090 sec)
> passed 3/31 magit-base:ellipsis-default-values (0.000066 sec)
> passed 4/31 magit-base:ellipsis-fancy-nil-defaults-to-universal (0.000041 sec)
> passed 5/31 magit-base:ellipsis-legacy-type-allowed (0.000044 sec)
> passed 6/31 magit-base:ellipsis-malformed-customisation-no-default (0.000059 sec)
> passed 7/31 magit-base:ellipsis-unknown-use-case-defaults-to-default (0.000054 sec)
> passed 8/31 magit-clone:--name-to-url-format-alist-different-urls-per-hostname (0.000300 sec)
> passed 9/31 magit-clone:--name-to-url-format-alist-no-fallback-throws-error (0.000086 sec)
> passed 10/31 magit-clone:--name-to-url-format-bad-type-throws-error (0.000077 sec)
> passed 11/31 magit-clone:--name-to-url-format-defaults (0.233288 sec)
> passed 12/31 magit-clone:--name-to-url-format-single-string (0.000302 sec)
> Keeping test directory:
> /tmp/magit-uD0xeY/
> Test magit-get backtrace:
> signal(magit-git-error ("empty ident name (for <\"a.u.thor@example.c
> (condition-case err (let* ((vnew #'(lambda (&rest _))) (old (symbol-
> (let ((dir (file-name-as-directory (make-temp-file "magit-" t))) (pr
> (closure (t) nil (let ((dir (file-name-as-directory (make-temp-file
> ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
> ert-run-test(#s(ert-test :name magit-get :documentation nil :body (c
> 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()
> (progn (load-file "../test/magit-tests.el") (ert-run-tests-batch-and
> command-line-1(("-L" "../lisp" "-L" "/usr/share/emacs/site-lisp/elpa
> command-line()
> normal-top-level()
> Test magit-get condition:
> (magit-git-error "empty ident name (for <\"a.u.thor@example.com\">) not allowed (in /tmp/magit-uD0xeY/remote/)")
> FAILED 13/31 magit-get (0.084393 sec) at magit-tests.el:173
> passed 14/31 magit-get-boolean (0.229722 sec)
> Keeping test directory:
> /tmp/magit-3SrbEc/
> Test magit-get-{current|next}-tag backtrace:
> signal(magit-git-error ("empty ident name (for <\"a.u.thor@example.c
> (condition-case err (let* ((vnew #'(lambda (&rest _))) (old (symbol-
> (let ((dir (file-name-as-directory (make-temp-file "magit-" t))) (pr
> (closure (t) nil (let ((dir (file-name-as-directory (make-temp-file
> ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
> ert-run-test(#s(ert-test :name magit-get-{current|next}-tag :documen
> 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()
> (progn (load-file "../test/magit-tests.el") (ert-run-tests-batch-and
> command-line-1(("-L" "../lisp" "-L" "/usr/share/emacs/site-lisp/elpa
> command-line()
> normal-top-level()
> Test magit-get-{current|next}-tag condition:
> (magit-git-error "empty ident name (for <\"a.u.thor@example.com\">) not allowed (in /tmp/magit-3SrbEc/)")
> FAILED 15/31 magit-get-{current|next}-tag (0.128671 sec) at magit-tests.el:210
> passed 16/31 magit-in-bare-repo (0.053173 sec)
> passed 17/31 magit-in-non-bare-repo (0.045084 sec)
> Keeping test directory:
> /tmp/magit-ayjNRf/
> Test magit-list-{|local-|remote-}branch-names backtrace:
> signal(magit-git-error ("empty ident name (for <\"a.u.thor@example.c
> (condition-case err (let* ((vnew #'(lambda (&rest _))) (old (symbol-
> (let ((dir (file-name-as-directory (make-temp-file "magit-" t))) (pr
> (closure (t) nil (let ((dir (file-name-as-directory (make-temp-file
> ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
> ert-run-test(#s(ert-test :name magit-list-{|local-|remote-}branch-na
> 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()
> (progn (load-file "../test/magit-tests.el") (ert-run-tests-batch-and
> command-line-1(("-L" "../lisp" "-L" "/usr/share/emacs/site-lisp/elpa
> command-line()
> normal-top-level()
> Test magit-list-{|local-|remote-}branch-names condition:
> (magit-git-error "empty ident name (for <\"a.u.thor@example.com\">) not allowed (in /tmp/magit-ayjNRf/)")
> FAILED 18/31 magit-list-{|local-|remote-}branch-names (0.105399 sec) at magit-tests.el:231
> passed 19/31 magit-process:match-prompt-match-non-first-prompt (0.000085 sec)
> passed 20/31 magit-process:match-prompt-nil-when-no-match (0.000040 sec)
> passed 21/31 magit-process:match-prompt-non-nil-when-match (0.000038 sec)
> passed 22/31 magit-process:match-prompt-preserves-match-group (0.000051 sec)
> passed 23/31 magit-process:match-prompt-suffixes-prompt (0.000046 sec)
> passed 24/31 magit-process:password-prompt (0.209093 sec)
> passed 25/31 magit-process:password-prompt-observed (0.000815 sec)
> passed 26/31 magit-status:file-sections (0.555932 sec)
> Keeping test directory:
> /tmp/magit-tYeSwp/
> Test magit-status:log-sections backtrace:
> signal(magit-git-error ("empty ident name (for <\"a.u.thor@example.c
> (condition-case err (let* ((vnew #'(lambda (&rest _))) (old (symbol-
> (let ((dir (file-name-as-directory (make-temp-file "magit-" t))) (pr
> (closure (t) nil (let ((dir (file-name-as-directory (make-temp-file
> ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
> ert-run-test(#s(ert-test :name magit-status:log-sections :documentat
> 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()
> (progn (load-file "../test/magit-tests.el") (ert-run-tests-batch-and
> command-line-1(("-L" "../lisp" "-L" "/usr/share/emacs/site-lisp/elpa
> command-line()
> normal-top-level()
> Test magit-status:log-sections condition:
> (magit-git-error "empty ident name (for <\"a.u.thor@example.com\">) not allowed (in /tmp/magit-tYeSwp/)")
> FAILED 27/31 magit-status:log-sections (0.132294 sec) at magit-tests.el:403
> Keeping test directory:
> /tmp/magit-XDlTGu/
> Test magit-status:section-commands backtrace:
> signal(magit-git-error ("empty ident name (for <\"a.u.thor@example.c
> (condition-case err (let* ((vnew #'(lambda (&rest _))) (old (symbol-
> (let ((dir (file-name-as-directory (make-temp-file "magit-" t))) (pr
> (closure (t) nil (let ((dir (file-name-as-directory (make-temp-file
> ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
> ert-run-test(#s(ert-test :name magit-status:section-commands :docume
> 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()
> (progn (load-file "../test/magit-tests.el") (ert-run-tests-batch-and
> command-line-1(("-L" "../lisp" "-L" "/usr/share/emacs/site-lisp/elpa
> command-line()
> normal-top-level()
> Test magit-status:section-commands condition:
> (magit-git-error "empty ident name (for <\"a.u.thor@example.com\">) not allowed (in /tmp/magit-XDlTGu/)")
> FAILED 28/31 magit-status:section-commands (0.093987 sec) at magit-tests.el:419
> passed 29/31 magit-toplevel:basic (0.183205 sec)
> Keeping test directory:
> /tmp/magit-qEplaN/
> Test magit-toplevel:submodule backtrace:
> signal(magit-git-error ("empty ident name (for <\"a.u.thor@example.c
> (condition-case err (let* ((vnew #'(lambda (&rest _))) (old (symbol-
> (let ((dir (file-name-as-directory (make-temp-file "magit-" t))) (pr
> (let ((find-file-visit-truename nil)) (let ((dir (file-name-as-direc
> (closure (t) nil (let ((find-file-visit-truename nil)) (let ((dir (f
> ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
> ert-run-test(#s(ert-test :name magit-toplevel:submodule :documentati
> 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()
> (progn (load-file "../test/magit-tests.el") (ert-run-tests-batch-and
> command-line-1(("-L" "../lisp" "-L" "/usr/share/emacs/site-lisp/elpa
> command-line()
> normal-top-level()
> Test magit-toplevel:submodule condition:
> (magit-git-error "empty ident name (for <\"a.u.thor@example.com\">) not allowed (in /tmp/magit-qEplaN/remote/)")
> FAILED 30/31 magit-toplevel:submodule (0.084790 sec) at magit-tests.el:106
> passed 31/31 magit-utils:add-face-text-property (0.000224 sec)
>
> Ran 31 tests, 25 results as expected, 6 unexpected (2024-06-16 12:15:33+0000, 2.961735 sec)
>
> 6 unexpected results:
> FAILED magit-get
> FAILED magit-get-{current|next}-tag
> FAILED magit-list-{|local-|remote-}branch-names
> FAILED magit-status:log-sections
> FAILED magit-status:section-commands
> FAILED magit-toplevel:submodule
>
> make[3]: *** [Makefile:6: test] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/06/15/magit_3.3.0+git20240412.1.da14749d-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&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: