On 18 October 2018 at 11:15, Andreas Tille wrote: | Package: r-cran-bh | Severity: normal | | Hi, | | when I tried to build r-cran-rstan version 2.18.1 which is LinkingTo BH | (>= 1.66) I failed when building against r-cran-bh. I think r-cran-bh | should reflect the version of libboost which is really pulled in. When | depending from libboost-dev this is currently only boost 1.62. So while | the versioned Build-Depends of r-cran-rstan on (>= 1.66) seems to be | fullfilled it is not in reality. | | This could be solved by the following patch: | | diff --git a/debian/changelog b/debian/changelog | index bd0df4b..e612ed2 100644 | --- a/debian/changelog | +++ b/debian/changelog | @@ -1,3 +1,10 @@ | +r-cran-bh (1.67.0-0.1) UNRELEASED; urgency=medium | + | + * Non-maintainer upload. | + * Make sure libboost version matches version of r-cran-bh | + | + -- Andreas Tille <ti...@debian.org> Thu, 18 Oct 2018 11:12:10 +0200 | + | r-cran-bh (1.66.0-1) unstable; urgency=low | | * Initial metapackage (Closes: # 819389) | diff --git a/debian/control b/debian/control | index a6114be..a98b487 100644 | --- a/debian/control | +++ b/debian/control | @@ -11,7 +11,7 @@ Homepage: https://cran.r-project.org/package=BH | Package: r-cran-bh | Architecture: all | Multi-Arch: foreign | -Depends: ${misc:Depends}, libboost-dev | +Depends: ${misc:Depends}, libboost1.67-dev | Description: (Virtual) GNU R package to provide BH | The CRAN package BH provides a (large) subset of Boost. This package tricks | R into believing BH is installed when we just depend on the distribution's |
In principle, yes. In practice, not sure. I may miss when Boost updates -- ie yesterday when I was in a rush I convinced myself that Boost was at 1.62 (even though I subconsciously knew that wasn't right). So hard-wiring a version number that we cannot control for is not a good idea. | Thanks for maintaining r-cran-bh BH has been really useful for R and CRAN. It still creates a tough nut for us here. Dirk | Andreas. | | | -- System Information: | Debian Release: 9.5 | APT prefers stable-updates | APT policy: (500, 'stable-updates'), (500, 'stable') | Architecture: amd64 (x86_64) | | Kernel: Linux 4.9.0-6-amd64 (SMP w/1 CPU core) | Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) | Shell: /bin/sh linked to /bin/dash | Init: systemd (via /run/systemd/system) | | Versions of packages r-cran-bh depends on: | pn libboost-dev <none> | | r-cran-bh recommends no packages. | | r-cran-bh suggests no packages. -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org