I'm trying to build ejabberd for the GNU Guix package manager.
The process fails when rebar tries to check the Git version.
Here is the relevant portion of the build log:
/gnu/store/z5d547fw01w29l3s5al87yp7v4ljvh7f-erlang-18.1/lib/erlang/bin/escript rebar get-deps && :> deps/.got
==> rel (get-deps)
==> ejabberd-15.09 (get-deps)
Pulling lager from {git,"https://github.com/basho/lager",
"e82bb13efa32a0de747d7dc0e8c567794965cec2"}
ERROR: "/gnu/store/0bh7xjci3nx66kppb64xsp9gzyp0sgcx-git-2.5.0/bin/git" --version failed with error: 1 and output:
ERROR: 'get-deps' failed while processing /home/leo/tmp/nix-build-ejabberd-15.09.drv-5/ejabberd-15.09: rebar_abort
Makefile:82: recipe for target 'deps/.got' failed
make: *** [deps/.got] Error 1
phase `build' failed after 8.6 seconds
There should be a blank line after the first error. For some reason it is not being displayed here.
Here is the full build log:
That is ejabberd 15.09? Try
That is ejabberd 15.09? Try to compile from git master: