When I download some package sources, (e.g. foo-[ver].orig.tar.gz, foo-[ver].dsc), I often encounter dependencies problem while using dpkg-source -x foo-[ver].dsc and dpkg-buildpackage -us -uc .... In this case, I have to install the building dependencies one by one. Is there some tool to automatically handle this case, e.g., dpkg-source-dependencies -x foo-[ver].dsc?
When I download some package sources, (e.g. foo-[ver].orig.tar.gz, foo-[ver].dsc), I often encounter dependencies problem
Share
pbuilderis just the tool for this job.pbuilderwill set up a minimal distribution in a tarball upon install. For building a.dscfile, you supply the file andpbuilderunzips the tarball,chroots, installs all necessary build dependencies and compiles the package. As a result of this procedure, your build result is independent from the current configuration of the host machine.