It seems the requirement is to still have Jessie mirrors enabled as it
fails even when installing the packages previously mentioned. I'll
switch to use APT-Pinning with a hybrid stable/testing distro.
Debian testing seems not to be the friendliest environment for building
multi-dependencies binaries. Now I eventually succeeded to run the tests
even though I have way more packages installed than I was expecting X-D.
I'll proceed writing the tests for the new API. Thanks for the support.
On 28/02/16 13:52, Richard W.M. Jones wrote:
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.