[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building of r-cran-prophet failed



Hi Dirk,

On Mon, Jul 30, 2018 at 06:21:12AM -0500, Dirk Eddelbuettel wrote:
> | ...
> | Compiling model (this will take a minute...)
> | Writing model to: /build/r-cran-prophet-0.3.0.1/debian/r-cran-prophet/usr/lib/R/site-library/prophet/libs
> | Compiling using binary: /usr/lib/R/bin
> | Error in rstan::stan_model(stanc_ret = model.stanc, model_name = "prophet_model") : 
> |   Boost not found; call install.packages('BH')
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> Seems BH related.

Obviously.  However, I wonder whether the issue is really in prophet or
rather in rstan.  Prophet itself does not have any explicit BH
dependency but rstan has and the error line seem to indicate that the
problem is there.  I checked rstan test before writing my mail (should
have probably mentioned this here) which runs without problem.
 
> | * removing '/build/r-cran-prophet-0.3.0.1/debian/r-cran-prophet/usr/lib/R/site-library/prophet'
> | dh_auto_install: R CMD INSTALL -l /build/r-cran-prophet-0.3.0.1/debian/r-cran-prophet/usr/lib/R/site-library --clean . "--built-timestamp='Sun, 29 Jul 2018 11:55:03 +0200'" returned exit code 1
> | make: *** [debian/rules:4: binary] Error 2
> | ...
> | 
> | 
> | I confirm that r-cran-bh is installed via Build-Depends which in
> | turned installed 
> | 
> | # dpkg --get-selections | grep boost
> | libboost-dev:amd64                              install
> | libboost-filesystem1.62.0:amd64                 install
> | libboost-iostreams1.62.0:amd64                  install
> | libboost-system1.62.0:amd64                     install
> | libboost1.62-dev:amd64                          install
> | 
> | 
> | Has anybody a clue why this does not build as expected?
> 
> You may have to tweak its configure script to convince it that an empty BH /
> no BH (as we do here to save space) is viable.  It would not know as this is
> a Debian-only hack.

Hmmmm, prophet does not have any configure script.

Kind regards

     Andreas.

-- 
http://fam-tille.de


Reply to: