oracle / fastr

A high-performance implementation of the R programming language, built on GraalVM.
Other
623 stars 64 forks source link

building fastr fails #132

Open davecramer opened 4 years ago

davecramer commented 4 years ago

Mostly likely my issue but perhaps someone has the solution

Compiling com.oracle.truffle.llvm.tests.tck with javac-daemon(JDK 1.8)... [dependency com.oracle.truffle.llvm.runtime updated]
make[2]: *** [/Users/davec/projects/fastr/fastr/libdownloads/R-3.6.1/gnur.done] Error 2
make[1]: *** [makegnur] Error 2
make: *** [all] Error 2

/Users/davec/projects/fastr/fastr/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/builtin/RBuiltinRootNode.java:84: warning: [deprecation] <C>getLanguage(Class<C>) in ExecutableNode has been deprecated
        return Truffle.getRuntime().createCallTarget(new RBuiltinRootNode(getLanguage(RContext.getTruffleRLanguage()), factory, frameDescriptor, getFastPath()));
                                                                          ^
  where C is a type-variable:
    C extends TruffleLanguage declared in method <C>getLanguage(Class<C>)
/Users/davec/projects/fastr/fastr/com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/function/FunctionDefinitionNode.java:193: warning: [deprecation] <C>getLanguage(Class<C>) in ExecutableNode has been deprecated
        return getLanguage(RContext.getTruffleRLanguage());
               ^
  where C is a type-variable:
    C extends TruffleLanguage declared in method <C>getLanguage(Class<C>)
2 warnings
Building com.oracle.truffle.r.native with GNU Make failed
error while killing subprocess 14998 "/usr/local/openjdk1.8.0_242-jvmci-20.0-b02/Contents/Home/bin/java -d64 -cp /Users/davec/projects/fastr/mx/mxbuild/java/com.oracle.mxtool.compilerserver/bin:/usr/local/openjdk1.8.0_242-jvmci-20.0-b02/Contents/Home/lib/tools.jar com.oracle.mxtool.compilerserver.JavacDaemon -j 12": [Errno 3] No such process
1 build tasks failed
zslajchrt commented 4 years ago

Could you please attach the following log files?

/Users/davec/projects/fastr/fastr/libdownloads/R-3.6.1/config.log /Users/davec/projects/fastr/fastr/libdownloads/R-3.6.1/gnur_make.log

davecramer commented 4 years ago

gnur_make.log config.log

zslajchrt commented 4 years ago

It seems you have no Fortran installed: "configure:7472: error: No Fortran compiler found"

You can use gfortran and install it using the brew command. As gfortran is part of gcc, the brew command will be: brew install gcc.

po 2. 3. 2020 v 14:00 odesílatel Dave Cramer notifications@github.com napsal:

gnur_make.log https://github.com/oracle/fastr/files/4275490/gnur_make.log config.log https://github.com/oracle/fastr/files/4275491/config.log

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/oracle/fastr/issues/132?email_source=notifications&email_token=ABAOVVHN44JMLY4WNZHHQ7TRFOUYJA5CNFSM4K5S6KLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPGR3Y#issuecomment-593389807, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAOVVDVI6JJQ2U7PZ4YQM3RFOUYJANCNFSM4K5S6KLA .

steve-s commented 4 years ago

FYI: we've improved the documentation: https://github.com/oracle/fastr/blob/master/documentation/dev/building.md