Hi Dirk,
On Tue, Aug 31, 2021 at 06:37:09AM -0500, Dirk Eddelbuettel wrote:
> | 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.
It worked flawlessly and I consider it a pretty sensible helper for many
packages.
> | I attached a patch which also includes a versioned Depends on libboost-dev.
>
> Thanks.
You are welcome.
> 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.
I think cheating with different Debian versions is one thing but IMHO
the versions inside the package (I mean Debian package version and the
version inside DESCRIPTION) should match no matter what actual libboost
version is in Debian.
Kind regards
Andreas.
> 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]
>
--
http://fam-tille.de