On 28 March 2017 at 10:09, Andreas Tille wrote: | Package: r-cran-rcppgsl | Version: 0.3.2-1 | Severity: grave | Tags: patch | Justification: renders package unusable | | [ Release team see below how to deal with newer upstream version in unstable | than in testing ] | | Dear Maintainer, | | *** Reporter, please consider answering these questions, where appropriate *** | | * What led up to the situation? | | On a machine without any R packages: | | $ sudo apt-get install r-cran-rcppgsl | $ echo "library(RcppGSL)" | LC_ALL=C R --no-save | | R version 3.3.3 (2017-03-06) -- "Another Canoe" | Copyright (C) 2017 The R Foundation for Statistical Computing | Platform: x86_64-pc-linux-gnu (64-bit) | | <... snip ...> | | > library(RcppGSL) | sh: 1: gsl-config: not found | Error : .onLoad failed in loadNamespace() for 'RcppGSL', details: | call: system("gsl-config --cflags", intern = TRUE) | error: error in running command | Error: package or namespace load failed for 'RcppGSL' | Execution halted
Ooops. | * What exactly did you do (or not do) that was effective (or | ineffective)? | | $ sudo apt-get install libgsl-dev | | * What was the outcome of this action? | | Problem fixed: | | $ echo "library(RcppGSL)" | LC_ALL=C R --no-save | | R version 3.3.3 (2017-03-06) -- "Another Canoe" | Copyright (C) 2017 The R Foundation for Statistical Computing | Platform: x86_64-pc-linux-gnu (64-bit) | | <... snip ...> | | > library(RcppGSL) | > | | This can be fixed easily by the following patch: | | $ diff -u debian/control.old debian/control | --- debian/control.old 2017-03-27 06:35:41.000000000 +0000 | +++ debian/control 2017-03-28 07:38:03.501032117 +0000 | @@ -11,7 +11,7 @@ | | Package: r-cran-rcppgsl | Architecture: any | -Depends: ${R:Depends}, ${shlibs:Depends}, ${misc:Depends} | +Depends: ${R:Depends}, ${shlibs:Depends}, ${misc:Depends}, libgsl-dev Right. | Recommends: ${R:Recommends} | Suggests: ${R:Suggests} | Description: 'Rcpp' Integration for 'GNU GSL' Vectors and Matrices | | | Alternatively this could be fixed by moving the script gsl-config from | package libgsl-dev to libgsl2. Since you are the maintainer of both I am wondering if it was in lbgsl0 before the move to 'gsl2'. I should check that. But the idea of relying on gsl-config is to compile against GSL from R, so I think we need the -dev package either way. I guess I'll make a quick fix. Dirk | packages this would be probably easy to do and may be this is the most | straightforward solution anyway if it turns out that the script is not | only needed for building packages against libgsl. | | This alternative solution would have another advantage: The problem is | that you violated freeze policy and have uploaded a newer upstream | version to unstable than it is currently in testing (which is affected | by the problem as well). If you want to fix the issue inside | r-cran-rcppgsl package you need to either convince the release team to | accept this new upstream version or revert the new version by using an | epoch. I have CCed the release team where you can get advise about the | most favourable solution for this issue. | | Kind regards | | Andreas. | | -- System Information: | Debian Release: 9.0 | APT prefers unstable | APT policy: (500, 'unstable'), (1, 'experimental') | Architecture: amd64 (x86_64) | | Kernel: Linux 4.9.0-0.bpo.2-amd64 | Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) | Shell: /bin/sh linked to /bin/dash | Init: unable to detect | | Versions of packages r-cran-rcppgsl depends on: | ii libc6 2.24-9 | ii libgcc1 1:6.3.0-10 | ii libgsl2 2.3+dfsg-1 | ii libstdc++6 6.3.0-10 | ii r-base-core [r-api-3] 3.3.3-1 | ii r-cran-rcpp 0.12.10-1 | | r-cran-rcppgsl recommends no packages. | | r-cran-rcppgsl suggests no packages. | | -- no debconf information -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org