severity 794440 normal thanks There are files generated by CLI in the source code already. So we just need to change those .cli file's timestamp to an early time to avoid the calling of CLI at build time.
Add the following in rules file solve the problem: override_dh_auto_build: find $(CURDIR) -regex ".*\.cli" -exec touch -d "2000-01-01 00:00:00" {} \; dh_auto_build And some packages is needed at build time to generate pdf doc file: ghostscript html2ps No problem encountered when building this package with gcc 5.2 and it's OK to build libkolabxml.