nativelibs4java / JNAerator

JNAerator: native bindings generator for JNA / BridJ / Node.js
http://jnaerator.googlecode.com
504 stars 108 forks source link

Fails to build on Mac #113

Open mouse07410 opened 7 years ago

mouse07410 commented 7 years ago

mac OS X 10.11.6, JDK-1.8.0_131, maven-3.5.0:

. . . . .
2017-06-12 14:41:43:107 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - --- maven-compiler-plugin:3.2:compile (default-compile) @ jnaerator-runtime ---
2017-06-12 14:41:43:114 -0400 [main] INFO org.apache.maven.plugin.compiler.CompilerMojo - Changes detected - recompiling the module!
2017-06-12 14:41:43:115 -0400 [main] INFO org.codehaus.plexus.compiler.javac.JavacCompiler - Compiling 37 source files to /Users/ur20980/Src/JNAerator/jnaerator-runtime/target/classes
2017-06-12 14:41:43:380 -0400 [main] INFO org.apache.maven.plugin.compiler.CompilerMojo - -------------------------------------------------------------
2017-06-12 14:41:43:380 -0400 [main] ERROR org.apache.maven.plugin.compiler.CompilerMojo - COMPILATION ERROR : 
2017-06-12 14:41:43:380 -0400 [main] INFO org.apache.maven.plugin.compiler.CompilerMojo - -------------------------------------------------------------
2017-06-12 14:41:43:380 -0400 [main] ERROR org.apache.maven.plugin.compiler.CompilerMojo - /Users/ur20980/Src/JNAerator/jnaerator-runtime/src/main/java/com/ochafik/lang/jnaerator/runtime/LibraryExtractor.java:[262,45] no suitable method found for loadLibrary(java.lang.String,java.lang.Class<capture#1 of ?>,java.util.Map<java.lang.Object,java.lang.Object>)
    method com.sun.jna.Native.<T>loadLibrary(java.lang.Class<T>) is not applicable
      (cannot infer type-variable(s) T
        (actual and formal argument lists differ in length))
    method com.sun.jna.Native.<T>loadLibrary(java.lang.Class<T>,java.util.Map<java.lang.String,?>) is not applicable
      (cannot infer type-variable(s) T
        (actual and formal argument lists differ in length))
    method com.sun.jna.Native.<T>loadLibrary(java.lang.String,java.lang.Class<T>) is not applicable
      (cannot infer type-variable(s) T
        (actual and formal argument lists differ in length))
    method com.sun.jna.Native.<T>loadLibrary(java.lang.String,java.lang.Class<T>,java.util.Map<java.lang.String,?>) is not applicable
      (cannot infer type-variable(s) T
        (argument mismatch; java.util.Map<java.lang.Object,java.lang.Object> cannot be converted to java.util.Map<java.lang.String,?>))
2017-06-12 14:41:43:380 -0400 [main] INFO org.apache.maven.plugin.compiler.CompilerMojo - 1 error
2017-06-12 14:41:43:380 -0400 [main] INFO org.apache.maven.plugin.compiler.CompilerMojo - -------------------------------------------------------------
2017-06-12 14:41:43:381 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------
2017-06-12 14:41:43:381 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Reactor Summary:
2017-06-12 14:41:43:381 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - 
2017-06-12 14:41:43:381 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Anarres JCPP (with JNAerator modifications) ........ SUCCESS [  9.853 s]
2017-06-12 14:41:43:381 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - JNAerator Parent Project ........................... SUCCESS [  0.023 s]
2017-06-12 14:41:43:381 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - OChafik's General Utilities ........................ SUCCESS [  5.997 s]
2017-06-12 14:41:43:382 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - OChafik's Swing Utilities .......................... SUCCESS [  9.627 s]
2017-06-12 14:41:43:382 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - JNAerator Runtime .................................. FAILURE [  0.325 s]
2017-06-12 14:41:43:382 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - JNAerator Rococoa Runtime .......................... SKIPPED
2017-06-12 14:41:43:382 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - JNAerator Parser ................................... SKIPPED
2017-06-12 14:41:43:382 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - JNAerator CLI and Studio Tools ..................... SKIPPED
2017-06-12 14:41:43:382 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - JNAerator Maven Plugin ............................. SKIPPED
2017-06-12 14:41:43:382 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------
2017-06-12 14:41:43:382 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - BUILD FAILURE
2017-06-12 14:41:43:382 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------
2017-06-12 14:41:43:382 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Total time: 26.316 s
2017-06-12 14:41:43:382 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Finished at: 2017-06-12T14:41:43-04:00
2017-06-12 14:41:43:587 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Final Memory: 43M/459M
2017-06-12 14:41:43:587 -0400 [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------
2017-06-12 14:41:43:590 -0400 [main] ERROR org.apache.maven.cli.MavenCli - Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project jnaerator-runtime: Compilation failure
2017-06-12 14:41:43:590 -0400 [main] ERROR org.apache.maven.cli.MavenCli - /Users/ur20980/Src/JNAerator/jnaerator-runtime/src/main/java/com/ochafik/lang/jnaerator/runtime/LibraryExtractor.java:[262,45] no suitable method found for loadLibrary(java.lang.String,java.lang.Class<capture#1 of ?>,java.util.Map<java.lang.Object,java.lang.Object>)
2017-06-12 14:41:43:590 -0400 [main] ERROR org.apache.maven.cli.MavenCli -     method com.sun.jna.Native.<T>loadLibrary(java.lang.Class<T>) is not applicable
2017-06-12 14:41:43:590 -0400 [main] ERROR org.apache.maven.cli.MavenCli -       (cannot infer type-variable(s) T
2017-06-12 14:41:43:590 -0400 [main] ERROR org.apache.maven.cli.MavenCli -         (actual and formal argument lists differ in length))
2017-06-12 14:41:43:590 -0400 [main] ERROR org.apache.maven.cli.MavenCli -     method com.sun.jna.Native.<T>loadLibrary(java.lang.Class<T>,java.util.Map<java.lang.String,?>) is not applicable
2017-06-12 14:41:43:590 -0400 [main] ERROR org.apache.maven.cli.MavenCli -       (cannot infer type-variable(s) T
2017-06-12 14:41:43:590 -0400 [main] ERROR org.apache.maven.cli.MavenCli -         (actual and formal argument lists differ in length))
2017-06-12 14:41:43:590 -0400 [main] ERROR org.apache.maven.cli.MavenCli -     method com.sun.jna.Native.<T>loadLibrary(java.lang.String,java.lang.Class<T>) is not applicable
2017-06-12 14:41:43:590 -0400 [main] ERROR org.apache.maven.cli.MavenCli -       (cannot infer type-variable(s) T
2017-06-12 14:41:43:590 -0400 [main] ERROR org.apache.maven.cli.MavenCli -         (actual and formal argument lists differ in length))
2017-06-12 14:41:43:590 -0400 [main] ERROR org.apache.maven.cli.MavenCli -     method com.sun.jna.Native.<T>loadLibrary(java.lang.String,java.lang.Class<T>,java.util.Map<java.lang.String,?>) is not applicable
2017-06-12 14:41:43:590 -0400 [main] ERROR org.apache.maven.cli.MavenCli -       (cannot infer type-variable(s) T
2017-06-12 14:41:43:591 -0400 [main] ERROR org.apache.maven.cli.MavenCli -         (argument mismatch; java.util.Map<java.lang.Object,java.lang.Object> cannot be converted to java.util.Map<java.lang.String,?>))
2017-06-12 14:41:43:591 -0400 [main] ERROR org.apache.maven.cli.MavenCli - 
2017-06-12 14:41:43:591 -0400 [main] ERROR org.apache.maven.cli.MavenCli - -> [Help 1]
2017-06-12 14:41:43:591 -0400 [main] ERROR org.apache.maven.cli.MavenCli - 
2017-06-12 14:41:43:591 -0400 [main] ERROR org.apache.maven.cli.MavenCli - To see the full stack trace of the errors, re-run Maven with the -e switch.
2017-06-12 14:41:43:591 -0400 [main] ERROR org.apache.maven.cli.MavenCli - Re-run Maven using the -X switch to enable full debug logging.
2017-06-12 14:41:43:591 -0400 [main] ERROR org.apache.maven.cli.MavenCli - 
2017-06-12 14:41:43:591 -0400 [main] ERROR org.apache.maven.cli.MavenCli - For more information about the errors and possible solutions, please read the following articles:
2017-06-12 14:41:43:591 -0400 [main] ERROR org.apache.maven.cli.MavenCli - [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
2017-06-12 14:41:43:591 -0400 [main] ERROR org.apache.maven.cli.MavenCli - 
2017-06-12 14:41:43:591 -0400 [main] ERROR org.apache.maven.cli.MavenCli - After correcting the problems, you can resume the build with the command
2017-06-12 14:41:43:591 -0400 [main] ERROR org.apache.maven.cli.MavenCli -   mvn <goals> -rf :jnaerator-runtime
$