[R-pkg-team] Bug#1002525: r-cran-tmb: autopkgtest needs update for new version of rmatrix: Package version inconsistency detected.

Paul Gevers elbrus at debian.org
Thu Dec 23 19:03:21 GMT 2021


Source: r-cran-tmb
Version: 1.7.22-1
Severity: serious
X-Debbugs-CC: debian-ci at lists.debian.org, rmatrix at packages.debian.org
Tags: sid bookworm
User: debian-ci at lists.debian.org
Usertags: needs-update
Control: affects -1 src:rmatrix

Dear maintainer(s),

With a recent upload of rmatrix the autopkgtest of r-cran-tmb fails in 
testing when that autopkgtest is run with the binary packages of rmatrix 
from unstable. It passes when run with only packages from testing. In 
tabular form:

                        pass            fail
rmatrix                from testing    1.4-0-1
r-cran-tmb             from testing    1.7.22-1
all others             from testing    from testing

I copied some of the output at the bottom of this report. It seems the 
binary embeds the version of rmatrix it's build against without 
declaring proper versioned Dependencies to reflect that.

Currently this regression is blocking the migration of rmatrix to 
testing [1]. Of course, rmatrix shouldn't just break your autopkgtest 
(or even worse, your package), but it seems to me that the change in 
rmatrix was intended and your package needs to update to the new situation.

If this is a real problem in your package (and not only in your 
autopkgtest), the right binary package(s) from rmatrix should really add 
a versioned Breaks on the unfixed version of (one of your) package(s). 
Note: the Breaks is nice even if the issue is only in the autopkgtest as 
it helps the migration software to figure out the right versions to 
combine in the tests.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=rmatrix

https://ci.debian.net/data/autopkgtest/testing/amd64/r/r-cran-tmb/17813190/log.gz


R version 4.1.2 (2021-11-01) -- "Bird Hippie"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> options("warn" = 2); library(TMB)
Error: package or namespace load failed for ‘TMB’:
  .onLoad failed in loadNamespace() for 'TMB', details:
   call: checkMatrixPackageVersion()
   error: (converted from warning) Package version inconsistency detected.
TMB was built with Matrix version 1.3.4
Current Matrix version is 1.4.0
Please re-install 'TMB' from source using install.packages('TMB', type = 
'source') or ask CRAN for a binary version of 'TMB' matching CRAN's 
'Matrix' package
Execution halted
autopkgtest [16:11:05]: test r-cran-matrix_compatibility

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/r-pkg-team/attachments/20211223/82d72823/attachment-0001.sig>


More information about the R-pkg-team mailing list