[R-pkg-devel] Fixing travis build fail due to fftwtools fatal error (fftw3.h: No such file or directory)
Marta Karaś
m@rt@@k@r@@@ @end|ng |rom gm@||@com
Thu Sep 10 04:09:18 CEST 2020
Dear all,
I have been facing travis build fail on linux xenial due to *fftwtools
fatal error* (fftw3.h: No such file or directory) with my R package. The
error appeared at a random time a few months ago (at a random time := I do
not link it with any fftwtools-function related change commit I did) and
persists.
There is not much I achieved in googling and trying to decipher it, sadly;
I am hoping maybe some Community members saw a similar error with their dev
work and can suggest a hint/solution?
Package GitHub: https://github.com/martakarass/runstats
Failed Travis job log:
https://travis-ci.com/github/martakarass/runstats/jobs/383037333
Error excerpt:
* installing *source* package ‘fftwtools’ ...
** package ‘fftwtools’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
gcc -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -I/usr/local/include -fpic
-g -O2 -c fftwtools.c -o fftwtools.o
fftwtools.c:28:18: fatal error: fftw3.h: No such file or directory
compilation terminated.
/opt/R/4.0.2/lib/R/etc/Makeconf:167: recipe for target 'fftwtools.o' failed
make: *** [fftwtools.o] Error 1
ERROR: compilation failed for package ‘fftwtools’
* removing ‘/home/travis/R/Library/fftwtools’
Error in i.p(...) :
(converted from warning) installation of package ‘fftwtools’ had non-zero
exit status
Calls: <Anonymous> ... with_rprofile_user -> with_envvar -> force -> force
-> i.p
Execution halted
The command "Rscript -e 'deps <- remotes::dev_package_deps(dependencies =
NA);remotes::install_deps(dependencies = TRUE);if (!all(deps$package %in%
installed.packages())) { message("missing: ", paste(setdiff(deps$package,
installed.packages()), collapse=", ")); q(status = 1, save = "no")}'"
failed and exited with 1 during .
Your build has been stopped.
Thank you,
Marta
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list