You need to build first of all from git, using ./configure && make &&
make quickcheck.
$ ./autogen.sh
$ ./configure
$ ./make
Build is broken with the error mentioned eralier (the one about e2fsprogs)
./configure --disable-appliance
it builds fine
makepkg is doing some strange stuff. Get the basics working first.
The issue is not makepkg but rather the appliance stuff. And this part
is beyond my competence.