Outils pour le packaging Debian
CDBS
Patchs
DPatch
Quilt
PBuilder
Vérifier les B-D et B-D-I
The dependencies and conflicts they define must be satisfied (as defined earlier for binary packages) in order to invoke the targets in debian/rules, as follows:[46] Build-Depends, Build-Conflicts The Build-Depends and Build-Conflicts fields must be satisfied when any of the following targets is invoked: build, clean, binary, binary-arch, build-arch, build-indep and binary-indep. Build-Depends-Indep, Build-Conflicts-Indep The Build-Depends-Indep and Build-Conflicts-Indep fields must be satisfied when any of the following targets is invoked: build, build-indep, binary and binary-indep.
Il est possible de vérifier cela avec pbuilder. Par exemple, pour vérifier que la cible “clean” du debian/rules peut-être lancée uniquement avec les Build-Depends :
pdebuild -- --binary-arch --debbuildopts -S
“–binary-arch” permet de ne prendre en compte que les Build-Depends dans la résolution de dépendance
“-S” permet de spécifier à dpkg-buildpackage de ne construire que le paquet source