[ https://issues.apache.org/jira/browse/PROTON-392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rafael H. Schloming updated PROTON-392: --------------------------------------- Fix Version/s: (was: 0.6) > proton-jni build fails > ---------------------- > > Key: PROTON-392 > URL: https://issues.apache.org/jira/browse/PROTON-392 > Project: Qpid Proton > Issue Type: Bug > Components: proton-j > Environment: OS X > Reporter: Hiram Chirino > > Scanning dependencies of target proton-jni > [ 79%] Building Java objects for proton-jni.jar > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/codec/jni/JNIDataFactory.java:25: > error: cannot find symbol > import org.apache.qpid.proton.jni.JNIFactory; > ^ > symbol: class JNIFactory > location: package org.apache.qpid.proton.jni > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/codec/jni/JNIDataFactory.java:27: > error: cannot find symbol > public class JNIDataFactory extends JNIFactory implements DataFactory > ^ > symbol: class JNIFactory > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNIEngineFactory.java:28: > error: cannot find symbol > import org.apache.qpid.proton.jni.JNIFactory; > ^ > symbol: class JNIFactory > location: package org.apache.qpid.proton.jni > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNIEngineFactory.java:30: > error: cannot find symbol > public class JNIEngineFactory extends JNIFactory implements EngineFactory > ^ > symbol: class JNIFactory > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNISsl.java:24: > error: cannot find symbol > import static > org.apache.qpid.proton.jni.ExceptionHelper.checkProtonCReturnValue; > ^ > symbol: class ExceptionHelper > location: package org.apache.qpid.proton.jni > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNISsl.java:24: > error: static import only from classes and interfaces > import static > org.apache.qpid.proton.jni.ExceptionHelper.checkProtonCReturnValue; > ^ > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNISslDomain.java:22: > error: cannot find symbol > import static > org.apache.qpid.proton.jni.ExceptionHelper.checkProtonCReturnValue; > ^ > symbol: class ExceptionHelper > location: package org.apache.qpid.proton.jni > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNISslDomain.java:22: > error: static import only from classes and interfaces > import static > org.apache.qpid.proton.jni.ExceptionHelper.checkProtonCReturnValue; > ^ > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/message/jni/JNIMessageFactory.java:28: > error: cannot find symbol > import org.apache.qpid.proton.jni.JNIFactory; > ^ > symbol: class JNIFactory > location: package org.apache.qpid.proton.jni > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/message/jni/JNIMessageFactory.java:32: > error: cannot find symbol > public class JNIMessageFactory extends JNIFactory implements MessageFactory > ^ > symbol: class JNIFactory > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/messenger/jni/JNIMessengerFactory.java:23: > error: cannot find symbol > import org.apache.qpid.proton.jni.JNIFactory; > ^ > symbol: class JNIFactory > location: package org.apache.qpid.proton.jni > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/messenger/jni/JNIMessengerFactory.java:28: > error: cannot find symbol > public class JNIMessengerFactory extends JNIFactory implements > MessengerFactory > ^ > symbol: class JNIFactory > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/codec/jni/JNIDataFactory.java:27: > error: JNIDataFactory is not abstract and does not override abstract method > getImplementationType() in ProtonFactory > public class JNIDataFactory extends JNIFactory implements DataFactory > ^ > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNIEngineFactory.java:30: > error: JNIEngineFactory is not abstract and does not override abstract > method getImplementationType() in ProtonFactory > public class JNIEngineFactory extends JNIFactory implements EngineFactory > ^ > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNISsl.java:80: > error: cannot find symbol > checkProtonCReturnValue(retVal); > ^ > symbol: method checkProtonCReturnValue(int) > location: class JNISsl > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNISsl.java:88: > error: cannot find symbol > checkProtonCReturnValue(retVal); > ^ > symbol: method checkProtonCReturnValue(int) > location: class JNISsl > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNISslDomain.java:79: > error: cannot find symbol > checkProtonCReturnValue(retVal); > ^ > symbol: method checkProtonCReturnValue(int) > location: class JNISslDomain > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNISslDomain.java:107: > error: cannot find symbol > checkProtonCReturnValue(retVal); > ^ > symbol: method checkProtonCReturnValue(int) > location: class JNISslDomain > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNISslDomain.java:122: > error: cannot find symbol > checkProtonCReturnValue(retVal); > ^ > symbol: method checkProtonCReturnValue(int) > location: class JNISslDomain > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNISslDomain.java:137: > error: cannot find symbol > checkProtonCReturnValue(retVal); > ^ > symbol: method checkProtonCReturnValue(int) > location: class JNISslDomain > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/message/jni/JNIMessageFactory.java:32: > error: JNIMessageFactory is not abstract and does not override abstract > method getImplementationType() in ProtonFactory > public class JNIMessageFactory extends JNIFactory implements MessageFactory > ^ > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/messenger/jni/JNIMessengerFactory.java:28: > error: JNIMessengerFactory is not abstract and does not override abstract > method getImplementationType() in ProtonFactory > public class JNIMessengerFactory extends JNIFactory implements > MessengerFactory > ^ > Note: > /Users/chirino/sandbox/qpid-proton/proton-c/bindings/java/src/main/java/org/apache/qpid/proton/engine/jni/JNILink.java > uses or overrides a deprecated API. > Note: Recompile with -Xlint:deprecation for details. > Note: Some input files use unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > 22 errors > make[2]: *** > [proton-c/bindings/java/CMakeFiles/proton-jni.dir/java_compiled_proton-jni] > Error 1 > make[1]: *** [proton-c/bindings/java/CMakeFiles/proton-jni.dir/all] Error 2 > make: *** [all] Error 2 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira