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

Rémi Vanicat vanicat at debian.org
Fri Jun 29 08:41:16 BST 2018


Le 28 juin 2018, Santiago Vila a écrit:

[...]

> 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.

This can probably easily be fixed by giving git an email. Could you test
the attached patch ? It should fix the problem, but I have no easily
available host with no domain to test it today.

> In fact, one might ask: The fact that such test fails means the
> package will not work in machines not having a domain?

magit use git, and for some operation, git ask for an email (for author
and committer identification). If it does not know one, it will
guess. For a user on any machine this can easily be fixed by running

  git config --global user.email me at example.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: set-email.patch
Type: text/x-diff
Size: 970 bytes
Desc: small fix
URL: <http://alioth-lists.debian.net/pipermail/pkg-emacsen-addons/attachments/20180629/d8bbc54a/attachment.patch>
-------------- next part --------------

-- 
Rémi Vanicat


More information about the Pkg-emacsen-addons mailing list