Hi all, According to my reading of debian-policy 4.8 and 7.6, this should be correct: debian/rules: build: build-indep build-arch build-indep: build arch-indep stuff (like docs) build-arch: configure build some binaries However the autobuilders use debian/rules build instead of debian/rules binary-arch and do not install Build-Depends-Indep. For eg: http://buildd.debian.org/fetch.php?&pkg=mapserver&ver=4.8.1-1&arch=ia64&stamp=1140357449&file=log&as=raw http://buildd.debian.org/build.php?&pkg=mapserver So, I'm thinking of switching the build target to something like this: # This is the correct, policy-compliant build target #build: build-indep build-arch # This is the incorrect, non-policy compliant build target # it is necessary because the auto-builders use build, but don't install Build-Depends-Indep build: build-arch With a comment in debian/changelog like this: * Make the build target no longer depend on build-indep. This is not policy-compliant (see 7.6 and 4.8), but it is needed to work around the fact that the autobuilders call debian/rules build (instead of build-arch), but do not install Build-Depends-Indep packages. build-indep is an indirect dependency of the binary and binary-indep targets, so non-autobuilder builds will still work. Is this the correct work-around for this problem? or should I put the Build-Depends-Indep packages into Build-Depends and let the autobuilders build the docs, but not make them into packages (seems like this is a bad thing to do, since it increases build times and seems wasteful)? -- bye, pabs http://wiki.debian.org/PaulWise
Attachment:
signature.asc
Description: This is a digitally signed message part