Your message dated Sat, 20 Oct 2018 08:38:10 -0500
with message-id <[email protected]>
and subject line Re: Bug#911291: r-cran-bh: Missleading version
has caused the Debian Bug report #911291,
regarding r-cran-bh: Missleading version
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
911291: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911291
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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 <[email protected]>  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


Thanks for maintaining r-cran-bh

       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.

--- End Message ---
--- Begin Message ---
This is a non-issue for us caused by a particularly package (r-cran-rstan)
requiring a newer Boost -- and getting a newer Boost by adjusting _its_
debian/control as it should.

The r-cran-bh package will continue to rely on the default Boost version in
Debian.

All this is pointless bickering anyway as r-cran-stan (and the related
r-cran-stanheaders) are currently the only users of r-cran-bh.

  > library(RcppAPT)             # CRAN package, needs our libapt-pkg-dev
  > getDepends("r-cran-bh")
       srcpkg       deppkg cmpop version
  1 r-cran-bh libboost-dev     0  (null)
  > reverseDepends("r-cran-bh")
               package version
  1       r-cran-rstan    1.65
  2 r-cran-stanheaders
  >

So let's just move on.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | [email protected]

--- End Message ---

Reply via email to