I have been able to build de package by adding a line to the rules file like this override_dh_auto_install: (cd build-static && $(MAKE) install DESTDIR="$(CURDIR)/debian/tmp") (cd build-shared && $(MAKE) install DESTDIR="$(CURDIR)/debian/tmp") install -D $(CURDIR)/bash_completion.d/ldc2 $(CURDIR)/debian/tmp/etc/bash_completion.d/ldc2
and removing --fail-missing in the line override_dh_missing: dh_missing --fail-missing (Yes, I know this is a dirty solution. But confirms that this is the only problem for building the package).I have done this without having ldc installed in my sistem. Hence, the bootstrap is perform at building time.Hope this helps to find the bug.