On 31 August 2021 at 10:45, Andreas Tille wrote: | Package: r-cran-bh | Version: 1.74.0-1 | Severity: important | Tags: patch | X-Debbugs-Cc: [email protected] | | Hi, | | I intend to upgrade r-cran-openmx and when trying to build I get: | | Error: package 'BH' 1.66.0-1 was found, but >= 1.69.0.1 is required by '.' | | I guess this is since the DESCRIPTION file does not properly declares | the version number.
r-cran-bh in Debian is/was still somewhat of a 'hack' as it pretends to be a package it is not, but it appears to have done its job. So updating it is fine. | I attached a patch which also includes a versioned Depends on libboost-dev. Thanks. In the beginning I updated BH when our libboost(-dev) updated, but Debian's feel behind. I can't automagically keep these in sync as we'd be lying, but in this case it is the right move as a few Boost libraries did change (and even require C++14). So will apply this. Dirk | Kind regards | | Andreas. | | | --- a/DESCRIPTION | +++ b/DESCRIPTION | @@ -1,7 +1,7 @@ | Package: BH | Type: Package | Title: Boost C++ Header Files -- Metapackage | -Version: 1.66.0-1 | +Version: 1.74.0-1 | Date: 2018-02-12 | Author: Dirk Eddelbuettel, John W. Emerson and Michael J. Kane | Maintainer: Dirk Eddelbuettel <[email protected]> | --- 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}, libboost-dev (>= 1.74.0) | 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 | | | | -- System Information: | Debian Release: 11.0 | APT prefers testing | APT policy: (501, 'testing'), (50, 'buildd-unstable'), (50, 'unstable'), (5, 'experimental'), (1, 'buildd-experimental') | Architecture: amd64 (x86_64) | | Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads) | Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE:de | Shell: /bin/sh linked to /bin/dash | Init: systemd (via /run/systemd/system) | LSM: AppArmor: enabled | | Versions of packages r-cran-bh depends on: | ii libboost-dev 1.74.0.3 | | r-cran-bh recommends no packages. | | r-cran-bh suggests no packages. | | -- no debconf information -- https://dirk.eddelbuettel.com | @eddelbuettel | [email protected]

