Dirk Eddelbuettel wrote:
Charles, On 26 June 2009 at 19:32, Charles Plessy wrote:
[...]
many packages of the gnu-r section use a one-liner CDBS debian/rules file: include /usr/share/R/debian/r-cran.mk This will then include /usr/share/cdbs/1/rules/debhelper.mk, but since lintian does not see it in debian/rules, it throws an error of the ‘build-depends-without-arch-dep’ type for debhelper, cdbs, and r-base-dev (that provides /usr/share/R/debian/r-cran.mk).At the risk of asking a silly question: isn't that addressed by Build-Depends vs Build-Depends-Indep?
No. If the package is required to run the clean target (which I assume at least cdbs and debhelper are in this case), then it must be listed in Build-Depends, even if the package only produces arch-indep packages - see Policy 7.7.
Regards,Adam