[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#534684: lintian: build-depends-without-arch-dep gives false positives when debian/rules includes /usr/share/R/debian/r-cran.mk



Charles,

On 26 June 2009 at 19:32, Charles Plessy wrote:
| (Copy for information sent to r-base-dev@packages.debian.org.)
| 
| Dear lintian maintainers,
| 
| 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?

edd@ron:~/src/debian/CRAN$ grep -h ^Build-Depends-Indep */debian/control | head -5
Build-Depends-Indep: debhelper (>> 4.1.0), r-base-dev (>> 2.3.0), cdbs
Build-Depends-Indep: debhelper (>> 4.1.0), r-base-dev (>= 2.8.1), cdbs
Build-Depends-Indep: debhelper (>> 4.1.0), r-base-dev (>= 2.9.0), cdbs
Build-Depends-Indep: debhelper (>> 4.1.0), r-base-dev (>= 2.9.0), cdbs
Build-Depends-Indep: debhelper (>> 4.1.0), r-base-dev (>= 2.9.0), cdbs, r-cran-lattice (>= 0.10.11), r-cran-vr, r-cran-colorspace
edd@ron:~/src/debian/CRAN$

Granted, I have more packages with Build-Depends: as they produce a binary,
but if I understand the problem, your bugreport can be taken care of at your
end.

But then maybe I just misunderstand. If so, just set me straight :)

Dirk, who also maintains several dozen r-cran-* packages

| Because it implies three dependancies that can be in any order, I did not
| figure out how to add a proper entry in our @GLOBAL_CLEAN_DEPENDS to solve that
| problem…
| 
| Have a nice day,
| 
| -- Charles Plessy, Debian Med packaging team.
| 
| -- System Information:
| Debian Release: 5.0
|   APT prefers unstable
|   APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
| Architecture: powerpc (ppc64)
| 
| Kernel: Linux 2.6.26-1-powerpc64 (SMP w/2 CPU cores)
| Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
| Shell: /bin/sh linked to /bin/bash
| 
| Versions of packages lintian depends on:
| ii  binutils            2.18.1~cvs20080103-7 The GNU assembler, linker and bina
| ii  diffstat            1.45-2               produces graph of changes introduc
| ii  dpkg-dev            1.14.25              Debian package development tools
| ii  file                4.26-1               Determines file type using "magic"
| ii  gettext             0.17-4               GNU Internationalization utilities
| ii  intltool-debian     0.35.0+20060710.1    Help i18n of RFC822 compliant conf
| ii  libapt-pkg-perl     0.1.22+b1            Perl interface to libapt-pkg
| ii  libipc-run-perl     0.80-2               Perl module for running processes
| ii  libparse-debianchan 1.1.1-2              parse Debian changelogs and output
| ii  libtimedate-perl    1.1600-9             Time and date functions for Perl
| ii  liburi-perl         1.35.dfsg.1-1        Manipulates and accesses URI strin
| ii  man-db              2.5.2-4              on-line manual pager
| ii  perl [libdigest-sha 5.10.0-22            Larry Wall's Practical Extraction 
| 
| lintian recommends no packages.
| 
| Versions of packages lintian suggests:
| pn  binutils-multiarch            <none>     (no description available)
| ii  libtext-template-perl         1.45-1     Text::Template perl module
| ii  man-db                        2.5.2-4    on-line manual pager
| 
| -- no debconf information
| 
| 

-- 
Three out of two people have difficulties with fractions.



Reply to: