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

Re: Building of r-cran-prophet failed



On 30 July 2018 at 09:36, Andreas Tille wrote:
| Hi,
| 
| I injected r-cran-prophet packaging[1] into Salsa Git after two users in
| r-pkg BoF at DebConf were asking for it.  The preconditions
| r-cran-extradistr is freshly uploaded to new and the other predependency
| r-cran-rstan which in turn depends from r-cran-stanheaders are in Git
| and since some time in new queue.  When I build r-cran-prophet with these
| package it happens that I get a build error:
| 
| ...
| 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.

| * 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.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org


Reply to: