On Fedora/RHEL I would use mock to build a RPM from source to ensure that I have the RPM spec file correctly written. Mock ensures that no packages in my dev machine are used to build the RPM. What is the debian version of that tool? Barry