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

Re: r-base-core upload to unstable does not respect freeze policy



Hi Santiago,

On Tue, Nov 11, 2014 at 10:24:11PM +0100, Santiago Vila wrote:
> > include /usr/share/R/debian/r-cran.mk
> > 
> > which contains:
> > 
> > rversion        := $(shell dpkg-query -W -f='$${Version}' r-base-dev)
> > ...
> >                 ## support ${R:Depends} via debian/${package}.substvars
> >                 echo "R:Depends=r-base-core (>= ${rversion})" >> debian/$(package).substvars
> 
> So, would this patch to the current r-base package improve things if
> applied to the version in unstable?
> 
> diff --git a/debian/r-cran.mk b/debian/r-cran.mk
> index e366f6b..0550173 100644
> --- a/debian/r-cran.mk
> +++ b/debian/r-cran.mk
> @@ -60,7 +60,7 @@ endif
>  #rversion	:= $(shell zcat /usr/share/doc/r-base-dev/changelog.Debian.gz | \
>  #			dpkg-parsechangelog -l- --count 1  | \
>  #			awk '/^Version/ {print $$2}')
> -rversion	:= $(shell dpkg-query -W -f='$${Version}' r-base-dev)
> +rversion	:= $(shell dpkg-query -W -f='$${Version}' r-base-dev | perl -ne 'print /([0-9]\.[0-9])/')
>  
>  ## we use these results for the to-be-installed-in directory
>  debRlib		:= $(CURDIR)/debian/$(package)/$(debRdir)

While this would create a versioned dependency relation which would
allow to migrate r-cran-epi to testing I'm personally lacking the
technical knowledge whether this is the correct solution.  From my point
of view the correct approach would be to create an r-base-core package
which declares a stable ABI and packages should depend from the ABI
version.  However, its way to late for implementing this in Jessie and
the R maintainer is not willing to do this anyway (at least he was not
when we discussed this in Wheezy freeze time[1]).

Kind regards

       Andreas.

[1] https://lists.debian.org/debian-devel/2013/04/msg00074.html
    https://lists.debian.org/debian-devel/2013/04/msg00281.html
    (and more in this thread and the according bug reports)

-- 
http://fam-tille.de


Reply to: