[Pkg-emacsen-addons] Bug#902640: magit: FTBFS if machine has no domain
Santiago Vila
sanvila at unex.es
Fri Jun 29 10:02:48 BST 2018
On Fri, Jun 29, 2018 at 09:41:16AM +0200, Rémi Vanicat wrote:
> 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,
Tested. Yes, it does!
> but I have no easily
> available host with no domain to test it today.
Well, for this case, a host without domain would be just a host in
which there is not a FQDN in /etc/hosts for the hostname, for example:
192.168.1.3 myhost
If you can modify /etc/hosts in your own computer, you should be able
in theory to reproduce the failure.
Note: If you try plain dpkg-buildpackage to reproduce the error (as I
did right now to test the patch), you have to temporarily rename your
$HOME/.gitconfig file (where you will probably have another email
setting for git).
Thanks a lot.
More information about the Pkg-emacsen-addons
mailing list