[R-pkg-team] Bug#963392: [Help] Re: r-cran-rstanarm: FTBFS: error: (converted from warning) TBB library not found.

Shayan Doust hello at shayandoust.me
Tue Sep 22 18:44:39 BST 2020


Hello Andreas,

Yes, this does seem like a local issue to r-cran-rcppparallel.

tbb and variants are loaded when r-cran-rcppparallel is imported, as seen in
[hooks.R]. The function of interest is 'tbbLibPath()', which seems to depict tbb
library path.

With some more investigation, you can see this function within [build.R]. You
can see for all supported platforms apart from Windows and Sparc systems, it
seems like it expects the library to be situated under lib/ (due to the first
argument used within system.file()).

I'll try to write a simple patch for this hook file. For a Debian package, this
assumption for library location is plain wrong.

Kind regards,
Shayan Doust


[hooks.R]:
https://github.com/RcppCore/RcppParallel/blob/b216ba27dcbd3c523932bd918b6dd0b1b08d3566/R/hooks.R#L8
[build.R]:
https://github.com/RcppCore/RcppParallel/blob/b216ba27dcbd3c523932bd918b6dd0b1b08d3566/R/build.R#L66

On Tue, 8 Sep 2020 20:32:53 +0200 Andreas Tille <andreas at an3as.eu> wrote:
> Control: tags -1 help
> 
> Hi,
> 
> any help why TBB is not found?  I think this issue is actually causes by
> r-cran-rcppparallel since the code copy of libtbb was removed there -
> but it seems to not provide the Debian packaged lib properly.
> 
> Kind regards
> 
>     Andreas.
> 
> -- 
> http://fam-tille.de
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x6D7D441919D02395.asc
Type: application/pgp-keys
Size: 8810 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/r-pkg-team/attachments/20200922/1572befc/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/r-pkg-team/attachments/20200922/1572befc/attachment.sig>


More information about the R-pkg-team mailing list