[Pkg-emacsen-addons] Bug#902640: magit: FTBFS if machine has no domain

Santiago Vila sanvila at debian.org
Thu Jun 28 23:23:59 BST 2018


Package: src:magit
Version: 2.13.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed.
BuIld log follows:

--------------------------------------------------------------------------------
[...]
dpkg-buildpackage: info: source package magit
dpkg-buildpackage: info: source version 2.13.0-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Rémi Vanicat <vanicat at debian.org>
 dpkg-source --before-build magit-2.13.0
 fakeroot debian/rules clean
dh clean --with elpa
   dh_auto_clean
	make -j1 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Entering directory '/<<PKGBUILDDIR>>/lisp'
Cleaning lisp/*...
make[2]: Leaving directory '/<<PKGBUILDDIR>>/lisp'
make[2]: Entering directory '/<<PKGBUILDDIR>>/Documentation'
Cleaning Documentation/*...
make[2]: Leaving directory '/<<PKGBUILDDIR>>/Documentation'
Cleaning...
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_clean
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 debian/rules build-indep
dh build-indep --with elpa
   dh_update_autotools_config -i
   dh_autoreconf -i
   dh_auto_configure -i
   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 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 debug)
Running 16 tests (2018-06-22 15:45:52+0000)
   passed   1/16  magit--with-safe-default-directory
Keeping test directory:
  /tmp/magit-244342AY/
Test magit-get backtrace:
  (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([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test magit-get nil (lambda nil (let ((di
  ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test m
  ert-run-tests(t #[385 "\306\307\"\203G \211\211G\310U\203 \211@\20
  ert-run-tests-batch(nil)
  ert-run-tests-batch-and-exit()
  (progn (fset (quote original-message) (symbol-function (quote messag
  eval((progn (fset (quote original-message) (symbol-function (quote m
  command-line-1(("-L" ".//lisp" "-L" "/usr/share/emacs/site-lisp/elpa
  command-line()
  normal-top-level()
Test magit-get condition:
    (magit-git-error "unable to auto-detect email address (got 'buildd at yoda2.(none)') (in /tmp/magit-244342AY/remote/)")
   FAILED   2/16  magit-get
   passed   3/16  magit-get-boolean
Keeping test directory:
  /tmp/magit-24434QVk/
Test magit-get-{current|next}-tag backtrace:
  (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([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test magit-get-{current|next}-tag nil (l
  ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test m
  ert-run-tests(t #[385 "\306\307\"\203G \211\211G\310U\203 \211@\20
  ert-run-tests-batch(nil)
  ert-run-tests-batch-and-exit()
  (progn (fset (quote original-message) (symbol-function (quote messag
  eval((progn (fset (quote original-message) (symbol-function (quote m
  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 "unable to auto-detect email address (got 'buildd at yoda2.(none)') (in /tmp/magit-24434QVk/)")
   FAILED   4/16  magit-get-{current|next}-tag
Keeping test directory:
  /tmp/magit-24434dfq/
Test magit-list-{|local-|remote-}branch-names backtrace:
  (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([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test magit-list-{|local-|remote-}branch-
  ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test m
  ert-run-tests(t #[385 "\306\307\"\203G \211\211G\310U\203 \211@\20
  ert-run-tests-batch(nil)
  ert-run-tests-batch-and-exit()
  (progn (fset (quote original-message) (symbol-function (quote messag
  eval((progn (fset (quote original-message) (symbol-function (quote m
  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 "unable to auto-detect email address (got 'buildd at yoda2.(none)') (in /tmp/magit-24434dfq/)")
   FAILED   5/16  magit-list-{|local-|remote-}branch-names
   passed   6/16  magit-process:match-prompt-match-non-first-prompt
   passed   7/16  magit-process:match-prompt-nil-when-no-match
   passed   8/16  magit-process:match-prompt-non-nil-when-match
   passed   9/16  magit-process:match-prompt-preserves-match-group
   passed  10/16  magit-process:match-prompt-suffixes-prompt
   passed  11/16  magit-process:password-prompt
   passed  12/16  magit-status:file-sections
Keeping test directory:
  /tmp/magit-24434qwk/
Test magit-status:log-sections backtrace:
  (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([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test magit-status:log-sections nil (lamb
  ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test m
  ert-run-tests(t #[385 "\306\307\"\203G \211\211G\310U\203 \211@\20
  ert-run-tests-batch(nil)
  ert-run-tests-batch-and-exit()
  (progn (fset (quote original-message) (symbol-function (quote messag
  eval((progn (fset (quote original-message) (symbol-function (quote m
  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 "unable to auto-detect email address (got 'buildd at yoda2.(none)') (in /tmp/magit-24434qwk/)")
   FAILED  13/16  magit-status:log-sections
   passed  14/16  magit-toplevel:basic
Keeping test directory:
  /tmp/magit-24434EFx/
Test magit-toplevel:submodule backtrace:
  (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([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test magit-toplevel:submodule nil (lambd
  ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test m
  ert-run-tests(t #[385 "\306\307\"\203G \211\211G\310U\203 \211@\20
  ert-run-tests-batch(nil)
  ert-run-tests-batch-and-exit()
  (progn (fset (quote original-message) (symbol-function (quote messag
  eval((progn (fset (quote original-message) (symbol-function (quote m
  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 "unable to auto-detect email address (got 'buildd at yoda2.(none)') (in /tmp/magit-24434EFx/remote/)")
   FAILED  15/16  magit-toplevel:submodule
   passed  16/16  magit-toplevel:tramp

Ran 16 tests, 11 results as expected, 5 unexpected (2018-06-22 15:45:54+0000)

5 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-toplevel:submodule

Makefile:105: recipe for target 'test' failed
make[2]: *** [test] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:22: recipe for target 'override_dh_elpa_test' failed
make[1]: *** [override_dh_elpa_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:12: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

There is an interesting line saying "unable to auto-detect email address"
where it may be seen that my machine has no domain. However, having a
domain has never been a requirement to build Debian packages. In fact,
one might ask: The fact that such test fails means the package will
not work in machines not having a domain?

To reproduce, please try "dpkg-buildpackage -A" on a machine not
having a domain.

Thanks.



More information about the Pkg-emacsen-addons mailing list