There's one possible source of the problem:
I discovered that if you don't have all the appliance packages
installed on the host before your first libguestfs build, then any
missing packages don't get added to appliance/supermin.d/packages.
Compare your appliance/packagelist with appliance/supermin.d/packages
and look for packages present in the first file and missing in the
second file -- mdadm may be missing.
If you later install those missing packages, the dependencies in
appliance/Makefile.am never force appliance/supermin.d/packages to be
rebuilt, so those packages will be forever missing from the appliance.
Even 'make -C appliance clean all' will not fix this.
You can work around this with:
rm appliance/stamp-supermin
make
which forces appliance/supermin.d/packages to be rebuilt from scratch.
Of course 'git clean -xdf' should have also fixed this, so I don't
know if it applies to the problem you're having.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/