Package: src:magit
Version: 2.99.0.git0957.ge8c7bd03-1
Severity: serious
Control: close -1 3.3.0-2
Tags: ftbfs bullseye

Dear maintainer:

During a rebuild of all packages in bullseye, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build --with elpa
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make info
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Entering directory '/<<PKGBUILDDIR>>/Documentation'
Generating magit.info
Generating magit-section.info
Generating dir
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Documentation'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
do not run make
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_elpa_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make test
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Loading /<<PKGBUILDDIR>>/t/magit-tests.el (source)...
Cannot determine Magit’s version (error "/<<PKGBUILDDIR>>/lisp/magit.el" repo 
static elpa dirname)
Running 18 tests (2024-05-11 17:45:29+0000, selector ‘t’)
   passed   1/18  magit--with-safe-default-directory (0.009992 sec)
Keeping test directory:
  /tmp/magit-saF5VM/
Test magit-get backtrace:
  signal(magit-git-error ("clone of '/tmp/magit-saF5VM/remote' into su
  (condition-case err (let* ((vnew #'(lambda (&rest _))) (old (symbol-
  (let ((dir (file-name-as-directory (make-temp-file "magit-" t))) (pr
  (lambda nil (let ((dir (file-name-as-directory (make-temp-file "magi
  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 (l
  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()
  (progn (load-file "t/magit-tests.el") (ert-run-tests-batch-and-exit)
  eval((progn (load-file "t/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 "clone of '/tmp/magit-saF5VM/remote' into submodule path 
'/tmp/magit-saF5VM/super/repo' failed (in /tmp/magit-saF5VM/super/)")
   FAILED   2/18  magit-get (0.338541 sec)
   passed   3/18  magit-get-boolean (0.133298 sec)
   passed   4/18  magit-get-{current|next}-tag (0.356463 sec)
   passed   5/18  magit-list-{|local-|remote-}branch-names (0.166981 sec)
   passed   6/18  magit-process:match-prompt-match-non-first-prompt (0.000093 
sec)
   passed   7/18  magit-process:match-prompt-nil-when-no-match (0.000072 sec)
   passed   8/18  magit-process:match-prompt-non-nil-when-match (0.000077 sec)
   passed   9/18  magit-process:match-prompt-preserves-match-group (0.000083 
sec)
   passed  10/18  magit-process:match-prompt-suffixes-prompt (0.000086 sec)
   passed  11/18  magit-process:password-prompt (0.000089 sec)
   passed  12/18  magit-process:password-prompt-observed (0.000574 sec)
   passed  13/18  magit-status:file-sections (0.399825 sec)
   passed  14/18  magit-status:log-sections (0.411145 sec)
   passed  15/18  magit-toplevel:basic (0.146376 sec)
Keeping test directory:
  /tmp/magit-aytT6R/
Test magit-toplevel:submodule backtrace:
  signal(magit-git-error ("clone of '/tmp/magit-aytT6R/remote' into su
  (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
  (lambda nil (let ((find-file-visit-truename nil)) (let ((dir (file-n
  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 "t/magit-tests.el") (ert-run-tests-batch-and-exit)
  eval((progn (load-file "t/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 "clone of '/tmp/magit-aytT6R/remote' into submodule path 
'/tmp/magit-aytT6R/super/repo' failed (in /tmp/magit-aytT6R/super/)")
   FAILED  16/18  magit-toplevel:submodule (0.152125 sec)
   passed  17/18  magit-toplevel:tramp (0.788010 sec)
   passed  18/18  magit-utils:add-face-text-property (0.000093 sec)

Ran 18 tests, 16 results as expected, 2 unexpected (2024-05-11 17:45:32+0000, 
3.134105 sec)

2 unexpected results:
   FAILED  magit-get
   FAILED  magit-toplevel:submodule

make[2]: *** [Makefile:109: test] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:24: override_dh_elpa_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:14: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/bullseye/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to