[R-pkg-team] Bug#893895: Bug#893895: dh-r: versioned dependencies are incorrect when epochs are present

Graham Inggs ginggs at debian.org
Sun May 27 17:56:54 BST 2018


On 27 May 2018 at 10:24, Andreas Tille <tille at debian.org> wrote:
> Could you please be more specific, what exactly is the problem with
> epochs?

The R package's DESCRIPTION might have Depends: rsdmx (>= 0.6) which
dh-r will translate to Depends: r-cran-rsdmx (>= 0.6) in
debian/control, but that will be satisfied by r-cran-rsdmx
r-cran-rsdmx/1:0.5-11+dfsg-1 in the archive.

> How can I reproduce the problem?

Either find an R package with a versioned dependency on a package with
an epoch, or make one by editing an existing package's DESCRIPTION.

I had a quick look though the R packages [1] (I know that's not all),
but there was only 1 out of 105 package with an epoch.  I wonder if
the simplest would be for dh-r to hold a table of the packages that
have an epoch > 0 as well as the epoch's value, and then simply add
the epoch where required.  If a package gets an epoch, it only needs
to be recorded in one place.

[1] https://qa.debian.org/developer.php?login=r-pkg-team@alioth-lists.debian.net



More information about the R-pkg-team mailing list