On Tue, Mar 22, 2011 at 11:45:13PM +0100, Julien Cristau wrote: > On Tue, Mar 22, 2011 at 23:32:03 +0100, Robert Luberda wrote: > > Cyril Brulebois writes: > > > your package FTBFS everywhere: > > > > I compiled it successfully before uploading. > > > > > | /usr/bin/make -f debian/rules american.xxl+.mwl british.xxl+.mwl > > > | make[2]: *** No rule to make target > > > `/usr/share/dict/american-english-insane', needed by `american.xxl+.mwl'. > > > Stop. > > > > The file is provided by wamerican-insane, which is mentioned in > > Build-Depends-Indep, however the package wasn't installed. > > > > Quoting the Debian Policy, chapter 7.7: > > > > build, build-indep, binary, and binary-indep > > > > The Build-Depends, Build-Conflicts, Build-Depends-Indep, and > > Build-Conflicts-Indep fields must be satisfied when these targets are > > invoked. > > > Policy disagrees with reality (longstanding issue). Packages needed for > the 'build' target need to be in Build-Depends.
Just for the record, sbuild implements the following behaviour: Build-Depends and Build-Conflicts are installed for all builds. Build-Depends-Indep and Build-Conflicts-Indep are additionally installed when building Architecture: all packages with --arch-all (which the buildds don't currently do, but sbuild supports). Should we wish to bring our behaviour in line with Policy, the apt and aptitude resolver code can be easily altered to do this. dpkg-buildpackage not supporting build-arch and build-indep in any form is the major blocker to sanely supporting Build-Depends-Indep, because it is still using the build target rather than the appropriate build-(arch|indep) targets. There are (very) old bugs about this; having it fully fixed for wheezy should be a release goal IMO--it's an old and important defect we should just get fixed. If you're not building arch-all packages, then I don't think it's legitimate to call build-indep and binary-indep, and hence to have the -Indep packages installed. However, dpkg-buildpackage using the wrong targets needs fixing first. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
signature.asc
Description: Digital signature