A tool to help making (build) dependencies right.
I just wrote a perl script to help getting dependencies and especially
build-dependencies right. It is at
Run just once `depcheck -d' to make the database of essentials files.
Then run `depcheck -b debian/rules build' in your package tree.
After building your package, it will output the list of packages
needed to complete the build, outside of required and build-essential one.
It is a little simplistic since it use strace to get the list of files
accessed. Maybe libtrick should be faster ? Others ideas ?
Effort has been made to make the final computation not too slow.
An example with my package (PARI)
depcheck -b debian/rules build-indep
dpkg: /usr/share/texmf/dvips/config/config.ps not found.
dpkg: /usr/share/texmf/web2c/tex.fmt not found.
dpkg: /usr/share/texmf/web2c/texmf.cnf not found.
Files used: 49 total, 25 outside database.
It was easy to guess that tetex-bin is needed since it uses tex. But it was
difficult to guess that it uses some fonts only available in 'tetex-extra'.
It can be used also for run-time dependencies as well.
Please CC to me!