* installing *source* package ‘BayesFM’ ...
** package ‘BayesFM’ successfully unpacked and MD5 sums checked
** using staged installation
checking for grep that handles long lines and -e... /usr/bin/grep
checking for a sed that does not truncate output... /usr/bin/sed
checking for Fortran compiler... /usr/local/clang18/bin/flang-new
configure: WARNING: the Fortran code contained in this package will be compiled with /usr/local/clang18/bin/flang-new. Please contact package maintainer if compilation fails.
** libs
using C compiler: ‘clang version 18.1.2’
using Fortran compiler: ‘flang-new version 18.1.2’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/BayesFM/src'
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c init.c -o init.o
/usr/local/clang18/bin/flang-new  -fpic  -O2 -pedantic  -c  global.f95 -o global.o
/usr/local/clang18/bin/flang-new  -fpic  -O2 -pedantic  -c  mcmc_progress.f95 -o mcmc_progress.o
error: loc("/data/gannet/ripley/R/packages/tests-clang/BayesFM/src/mcmc_progress.f95":1:1): /data/gannet/ripley/Sources2/LLVM/18/llvm-project-18.1.2.src/flang/lib/Lower/CallInterface.cpp:949: not yet implemented: support for polymorphic types
LLVM ERROR: aborting
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:221: mcmc_progress.o] Error 1
/usr/local/clang18/bin/flang-new  -fpic  -O2 -pedantic  -c  matrix.f95 -o matrix.o
/usr/local/clang18/bin/flang-new  -fpic  -O2 -pedantic  -c  probability.f95 -o probability.o
/usr/local/clang18/bin/flang-new  -fpic  -O2 -pedantic  -c  covariates.f95 -o covariates.o
error: loc("/data/gannet/ripley/R/packages/tests-clang/BayesFM/src/covariates.f95":1:1): /data/gannet/ripley/Sources2/LLVM/18/llvm-project-18.1.2.src/flang/lib/Lower/CallInterface.cpp:949: not yet implemented: support for polymorphic types
LLVM ERROR: aborting
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:221: covariates.o] Error 1
/usr/local/clang18/bin/flang-new  -fpic  -O2 -pedantic  -c  indicators_dedic.f95 -o indicators_dedic.o
error: loc("/data/gannet/ripley/R/packages/tests-clang/BayesFM/src/indicators_dedic.f95":1:1): /data/gannet/ripley/Sources2/LLVM/18/llvm-project-18.1.2.src/flang/lib/Lower/CallInterface.cpp:949: not yet implemented: support for polymorphic types
LLVM ERROR: aborting
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:221: indicators_dedic.o] Error 1
/usr/local/clang18/bin/flang-new  -fpic  -O2 -pedantic  -c  loading_idioprec.f95 -o loading_idioprec.o
./loading_idioprec.f95:89:7: warning: Pointer target is not a definable variable
        fp => fac(:, dedic)
        ^^^^^^^^^^^^^^^^^^^
./loading_idioprec.f95:73:38: Declaration of 'fp'
      real(r8),             pointer :: fp(:) => null()
                                       ^^
./loading_idioprec.f95:89:7: because: 'fac' is an INTENT(IN) dummy argument
        fp => fac(:, dedic)
        ^^^^^^^^^^^^^^^^^^^
./loading_idioprec.f95:72:38: Declaration of 'fac'
      real(r8), intent(in), target  :: fac(:,:)
                                       ^^^
error: loc("/data/gannet/ripley/R/packages/tests-clang/BayesFM/src/loading_idioprec.f95":1:1): /data/gannet/ripley/Sources2/LLVM/18/llvm-project-18.1.2.src/flang/lib/Lower/CallInterface.cpp:949: not yet implemented: support for polymorphic types
LLVM ERROR: aborting
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:221: loading_idioprec.o] Error 1
/usr/local/clang18/bin/flang-new  -fpic  -O2 -pedantic  -c  measurement.f95 -o measurement.o
error: loc("/data/gannet/ripley/R/packages/tests-clang/BayesFM/src/measurement.f95":1:1): /data/gannet/ripley/Sources2/LLVM/18/llvm-project-18.1.2.src/flang/lib/Lower/CallInterface.cpp:949: not yet implemented: support for polymorphic types
LLVM ERROR: aborting
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:221: measurement.o] Error 1
/usr/local/clang18/bin/flang-new  -fpic  -O2 -pedantic  -c  simul_nfac_prior.f95 -o simul_nfac_prior.o
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/BayesFM/src'
ERROR: compilation failed for package ‘BayesFM’
* removing ‘/data/gannet/ripley/R/packages/tests-clang/BayesFM.Rcheck/BayesFM’