webrtc-jingle-client icon indicating copy to clipboard operation
webrtc-jingle-client copied to clipboard

Unable to build the project on my ubuntu

Open elippo opened this issue 11 years ago • 6 comments

Hello,

As per the documentation and after installing all the requirements needed, i am running the "badit_android.py". I got the below error. I surfed the web and didn't find any useful solution. So can you advice me how to solve this error ? I need to build this project in the terminal in order to lunch the project later on eclipse.

INFO:main:Running with: INFO:main: profile: default_debug INFO:main: log-level: INFO INFO:main: task-mask: 29 INFO:main: serial: None INFO:main:=> Build = mvn install --activate-profiles default_debug [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Tuenti Voice Client Parent [INFO] Tuenti Voice Client Core [INFO] Tuenti Voice Client Native Library [INFO] Tuenti Voice Client AIDL [INFO] Tuenti Voice Client Example [INFO] [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1 [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Tuenti Voice Client Parent 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ voice-parent --- [INFO] Installing /root/webrtcjingleproject/trunk/android/pom.xml to /root/.m2/repository/com/tuenti/voice/voice-parent/1.0-SNAPSHOT/voice-parent-1.0-SNAPSHOT.pom [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Tuenti Voice Client Core 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven-version) @ voice-core --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ voice-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /root/webrtcjingleproject/trunk/android/voice-client-core/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ voice-core --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ voice-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /root/webrtcjingleproject/trunk/android/voice-client-core/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ voice-core --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ voice-core --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ voice-core --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ voice-core --- [INFO] Installing /root/webrtcjingleproject/trunk/android/voice-client-core/target/voice-core-1.0-SNAPSHOT.jar to /root/.m2/repository/com/tuenti/voice/voice-core/1.0-SNAPSHOT/voice-core-1.0-SNAPSHOT.jar [INFO] Installing /root/webrtcjingleproject/trunk/android/voice-client-core/pom.xml to /root/.m2/repository/com/tuenti/voice/voice-core/1.0-SNAPSHOT/voice-core-1.0-SNAPSHOT.pom [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Tuenti Voice Client Native Library 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- android-maven-plugin:3.5.3:generate-sources (default-generate-sources) @ voice-native --- [WARNING] Error injecting: com.jayway.maven.plugins.android.phase01generatesources.GenerateSourcesMojo java.lang.NoClassDefFoundError: Lorg/sonatype/aether/RepositorySystem; at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2397) at java.lang.Class.getDeclaredFields(Class.java:1806) at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:661) at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:366) at com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies(ConstructorBindingImpl.java:165) at com.google.inject.internal.InjectorImpl.getInternalDependencies(InjectorImpl.java:609) at com.google.inject.internal.InjectorImpl.cleanup(InjectorImpl.java:565) at com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:551) at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:865) at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:790) at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:278) at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:210) at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:986) at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1019) at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:982) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032) at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55) at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) at org.eclipse.sisu.plexus.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:133) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109) at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47) at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047) at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82) at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:252) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:462) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:120) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213) at org.apache.maven.cli.MavenCli.main(MavenCli.java:157) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: java.lang.ClassNotFoundException: org.sonatype.aether.RepositorySystem at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227) ... 57 more [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Tuenti Voice Client Parent ........................ SUCCESS [ 0.290 s] [INFO] Tuenti Voice Client Core .......................... SUCCESS [ 1.883 s] [INFO] Tuenti Voice Client Native Library ................ FAILURE [ 0.411 s] [INFO] Tuenti Voice Client AIDL .......................... SKIPPED [INFO] Tuenti Voice Client Example ....................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.163 s [INFO] Finished at: 2014-05-20T09:32:12+02:00 [INFO] Final Memory: 15M/165M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.5.3:generate-sources (default-generate-sources) on project voice-native: Execution default-generate-sources of goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.5.3:generate-sources failed: A required class was missing while executing com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.5.3:generate-sources: Lorg/sonatype/aether/RepositorySystem; [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.5.3 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/root/.m2/repository/com/jayway/maven/plugins/android/generation2/android-maven-plugin/3.5.3/android-maven-plugin-3.5.3.jar [ERROR] urls[1] = file:/root/.m2/repository/com/android/tools/build/builder/0.3/builder-0.3.jar [ERROR] urls[2] = file:/root/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.1.1/sisu-inject-bean-2.1.1.jar [ERROR] urls[3] = file:/root/.m2/repository/org/sonatype/sisu/sisu-guice/2.9.4/sisu-guice-2.9.4-no_aop.jar [ERROR] urls[4] = file:/root/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar [ERROR] urls[5] = file:/root/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar [ERROR] urls[6] = file:/root/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar [ERROR] urls[7] = file:/root/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar [ERROR] urls[8] = file:/root/.m2/repository/org/apache/maven/maven-archiver/2.5/maven-archiver-2.5.jar [ERROR] urls[9] = file:/root/.m2/repository/emma/emma/2.1.5320/emma-2.1.5320.jar [ERROR] urls[10] = file:/root/.m2/repository/org/codehaus/plexus/plexus-archiver/2.3/plexus-archiver-2.3.jar [ERROR] urls[11] = file:/root/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar [ERROR] urls[12] = file:/root/.m2/repository/org/codehaus/plexus/plexus-io/2.0.6/plexus-io-2.0.6.jar [ERROR] urls[13] = file:/root/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.10/plexus-utils-3.0.10.jar [ERROR] urls[14] = file:/root/.m2/repository/commons-jxpath/commons-jxpath/1.3/commons-jxpath-1.3.jar [ERROR] urls[15] = file:/root/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar [ERROR] urls[16] = file:/root/.m2/repository/org/ow2/asm/asm/4.1/asm-4.1.jar [ERROR] urls[17] = file:/root/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar [ERROR] urls[18] = file:/root/.m2/repository/org/sonatype/aether/aether-util/1.13.1/aether-util-1.13.1.jar [ERROR] urls[19] = file:/root/.m2/repository/com/github/rtyley/android-screenshot-paparazzo/1.8/android-screenshot-paparazzo-1.8.jar [ERROR] urls[20] = file:/root/.m2/repository/com/android/ddmlib/ddmlib/r16/ddmlib-r16.jar [ERROR] urls[21] = file:/root/.m2/repository/com/madgag/animated-gif-lib/1.0/animated-gif-lib-1.0.jar [ERROR] urls[22] = file:/root/.m2/repository/com/github/rtyley/android-screenshot-celebrity/1.8/android-screenshot-celebrity-1.8.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[project>com.tuenti.voice:voice-native:1.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]] [ERROR] [ERROR] -----------------------------------------------------: org.sonatype.aether.RepositorySystem [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :voice-native ERROR:main:[KO] Build = mvn install --activate-profiles default_debug

elippo avatar May 20 '14 06:05 elippo

just try with mvn 3.5.0

chathudan avatar May 20 '14 06:05 chathudan

I didn't found mvn with version 3.5.0 on the web. Note that my current mvn -version is :

Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T19:37:52+02:00) Maven home: /usr/local/apache-maven/apache-maven-3.2.1 Java version: 1.7.0_51, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.8.0-19-generic", arch: "amd64", family: "unix"

elippo avatar May 20 '14 07:05 elippo

ooph sorry it should 3.0.5

chathudan avatar May 20 '14 07:05 chathudan

I've installed maven 3.0.5 and it skipped the above error. But now another error appears. Any idea ?

INFO:main:Running with: INFO:main: profile: default_debug INFO:main: log-level: INFO INFO:main: task-mask: 29 INFO:main: serial: None INFO:main:=> Build = mvn install --activate-profiles default_debug [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Tuenti Voice Client Parent [INFO] Tuenti Voice Client Core [INFO] Tuenti Voice Client Native Library [INFO] Tuenti Voice Client AIDL [INFO] Tuenti Voice Client Example [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Tuenti Voice Client Parent 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ voice-parent --- [INFO] Installing /root/webrtcjingleproject/trunk/android/pom.xml to /root/.m2/repository/com/tuenti/voice/voice-parent/1.0-SNAPSHOT/voice-parent-1.0-SNAPSHOT.pom [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Tuenti Voice Client Core 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven-version) @ voice-core --- [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ voice-core --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /root/webrtcjingleproject/trunk/android/voice-client-core/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ voice-core --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ voice-core --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /root/webrtcjingleproject/trunk/android/voice-client-core/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ voice-core --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ voice-core --- [INFO] No tests to run. [INFO] Surefire report directory: /root/webrtcjingleproject/trunk/android/voice-client-core/target/surefire-reports


T E S T S

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ voice-core --- [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ voice-core --- [INFO] Installing /root/webrtcjingleproject/trunk/android/voice-client-core/target/voice-core-1.0-SNAPSHOT.jar to /root/.m2/repository/com/tuenti/voice/voice-core/1.0-SNAPSHOT/voice-core-1.0-SNAPSHOT.jar [INFO] Installing /root/webrtcjingleproject/trunk/android/voice-client-core/pom.xml to /root/.m2/repository/com/tuenti/voice/voice-core/1.0-SNAPSHOT/voice-core-1.0-SNAPSHOT.pom [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Tuenti Voice Client Native Library 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- android-maven-plugin:3.5.3:generate-sources (default-generate-sources) @ voice-native --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ voice-native --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /root/webrtcjingleproject/trunk/android/voice-client-native/src/main/resources [INFO] [INFO] --- android-maven-plugin:3.5.3:ndk-build (default-ndk-build) @ voice-native --- [INFO] Creating native output directory /root/webrtcjingleproject/trunk/android/voice-client-native/libs/armeabi [INFO] executing 4 parallel jobs [INFO] /root/Documents/android-ndk-r8e/ndk-build [-C, /root/webrtcjingleproject/trunk/android/voice-client-native, NDK_APPLICATION_MK=jni/default_debug.mk, -j, 4, NDK_APP_OUT=/root/webrtcjingleproject/trunk/android/voice-client-native/obj/default_debug, all] [INFO] /bin/sh: 1: /root/Documents/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: not found [INFO] Traceback (most recent call last): [INFO] File "jni/../../../third_party/webrtc/build/generate_asm_header.py", line 74, in [INFO] main(sys.argv[1:]) [INFO] File "jni/../../../third_party/webrtc/build/generate_asm_header.py", line 50, in main [INFO] subprocess.check_call(compiler_command, shell=True) [INFO] File "/usr/lib/python2.7/subprocess.py", line 542, in check_call [INFO] raise CalledProcessError(retcode, cmd) [INFO] subprocess.CalledProcessError: Command '/root/Documents/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc -Ijni/../../../third_party/webrtc/modules/audio_processing/aecm -Ijni/../../../third_party -Ijni/../../../third_party/webrtc -Ijni/../../../third_party/webrtc/../ -Ijni/../../../third_party/webrtc/modules/audio_processing/utility -Ijni/../../../third_party/webrtc/common_audio/signal_processing/include -Ijni/../../../third_party/webrtc/system_wrappers/interface -Ijni/../../../third_party/webrtc/modules/audio_processing/aecm/include -isystem /root/Documents/android-ndk-r8e/platforms/android-9/arch-arm/usr/include -S jni/../../../third_party/webrtc/modules/audio_processing/aecm/aecm_core_neon_offsets.c -o jni/../../../third_party/webrtc/modules/audio_processing/aecm/aecm_core_neon_offsets.s' returned non-zero exit status 127 [INFO] /bin/sh: 1: /root/Documents/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: not found [INFO] Traceback (most recent call last): [INFO] File "jni/../../../third_party/webrtc/build/generate_asm_header.py", line 74, in [INFO] main(sys.argv[1:]) [INFO] File "jni/../../../third_party/webrtc/build/generate_asm_header.py", line 50, in main [INFO] subprocess.check_call(compiler_command, shell=True) [INFO] File "/usr/lib/python2.7/subprocess.py", line 542, in check_call [INFO] raise CalledProcessError(retcode, cmd) [INFO] subprocess.CalledProcessError: Command '/root/Documents/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc -Ijni/../../../third_party/webrtc/modules/audio_processing/ns/include -Ijni/../../../third_party/webrtc/modules/audio_processing/ns -Ijni/../../../third_party -Ijni/../../../third_party/webrtc -Ijni/../../../third_party/webrtc/modules/audio_processing/utility -Ijni/../../../third_party/webrtc/common_audio/signal_processing/include -Ijni/../../../third_party/webrtc/system_wrappers/interface -isystem /root/Documents/android-ndk-r8e/platforms/android-9/arch-arm/usr/include -S jni/../../../third_party/webrtc/modules/audio_processing/ns/nsx_core_neon_offsets.c -o jni/../../../third_party/webrtc/modules/audio_processing/ns/nsx_core_neon_offsets.s' returned non-zero exit status 127 [INFO] make: /root/Documents/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-g++: Command not found [INFO] make: *** [/root/webrtcjingleproject/trunk/android/voice-client-native/obj/default_debug/local/armeabi/objs-debug/jingle/talk/base/dbus.o] Error 127 [INFO] make: *** Waiting for unfinished jobs.... [INFO] make: /root/Documents/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-g++: Command not found [INFO] make: *** [/root/webrtcjingleproject/trunk/android/voice-client-native/obj/default_debug/local/armeabi/objs-debug/jingle/talk/base/libdbusglibsymboltable.o] Error 127 [ERROR] Error while executing: ANDROID-040-001: Could not execute: Command = /bin/sh -c cd /root/webrtcjingleproject/trunk/android/voice-client-native && /root/Documents/android-ndk-r8e/ndk-build -C /root/webrtcjingleproject/trunk/android/voice-client-native NDK_APPLICATION_MK=jni/default_debug.mk -j 4 NDK_APP_OUT=/root/webrtcjingleproject/trunk/android/voice-client-native/obj/default_debug all, Result = 2 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Tuenti Voice Client Parent ........................ SUCCESS [0.168s] [INFO] Tuenti Voice Client Core .......................... SUCCESS [1.731s] [INFO] Tuenti Voice Client Native Library ................ FAILURE [4.648s] [INFO] Tuenti Voice Client AIDL .......................... SKIPPED [INFO] Tuenti Voice Client Example ....................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.849s [INFO] Finished at: Tue May 20 10:52:04 EEST 2014 [INFO] Final Memory: 14M/165M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.5.3:ndk-build (default-ndk-build) on project voice-native: ANDROID-040-001: Could not execute: Command = /bin/sh -c cd /root/webrtcjingleproject/trunk/android/voice-client-native && /root/Documents/android-ndk-r8e/ndk-build -C /root/webrtcjingleproject/trunk/android/voice-client-native NDK_APPLICATION_MK=jni/default_debug.mk -j 4 NDK_APP_OUT=/root/webrtcjingleproject/trunk/android/voice-client-native/obj/default_debug all, Result = 2 -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :voice-native ERROR:main:[KO] Build = mvn install --activate-profiles default_debug

elippo avatar May 20 '14 07:05 elippo

Finally after changing the combination to maven to 3.0.5 and ndk r8e-linux, the native libraries are now created (.so) and the project is running. But a new problem occurs when the xmpp login is established. Any idea why that error is occuring ? Kindly find below the error.

05-21 14:33:53.801: I/c-libjingle-webrtc(18228): ClientSignalingThread::Login 05-21 14:33:53.806: I/libjingle(18228): Making key pair 05-21 14:33:53.986: I/libjingle(18228): Returning key pair 05-21 14:33:53.986: I/libjingle(18228): Making certificate for nabz 05-21 14:33:53.996: I/libjingle(18228): Returning certificate 05-21 14:33:54.001: V/libjingle(18228): [1/2] Certificate: 05-21 14:33:54.001: V/libjingle(18228): Data: 05-21 14:33:54.001: V/libjingle(18228): Version: 1 (0x0) 05-21 14:33:54.001: V/libjingle(18228): Serial Number: 05-21 14:33:54.001: V/libjingle(18228): 9e:34:5c:71:67:62:21:d5 05-21 14:33:54.001: V/libjingle(18228): Signature Algorithm: sha1WithRSAEncryption 05-21 14:33:54.001: V/libjingle(18228): Issuer: CN=nabz 05-21 14:33:54.001: V/libjingle(18228): Validity 05-21 14:33:54.001: V/libjingle(18228): Not Before: May 20 11:33:53 2014 GMT 05-21 14:33:54.001: V/libjingle(18228): Not After : May 21 11:33:53 2015 GMT 05-21 14:33:54.001: V/libjingle(18228): Subject: CN=nabz 05-21 14:33:54.001: V/libjingle(18228): Subject Public Key Info: 05-21 14:33:54.001: V/libjingle(18228): Public Key Algorithm: rsaEncryption 05-21 14:33:54.001: V/libjingle(18228): Public-Key: (1024 bit) 05-21 14:33:54.001: V/libjingle(18228): Modulus: 05-21 14:33:54.001: V/libjingle(18228): 00:cc:84:d6:e3:d6:83:c1:a1:1a:88:72:1f:c8:3b: 05-21 14:33:54.001: V/libjingle(18228): 03:bc:22:89:c6:95:8e:68:f6:91:00:54:d3:9a:b7: 05-21 14:33:54.001: V/libjingle(18228): d7:9b:7c:66:81:42:0f:f4:e2:e7:15:d7:64:41:ae: 05-21 14:33:54.001: V/libjingle(18228): 6d:2d:b7:f7:35:0a:e2:d9:21:b9:9f:3e:e9:23:90: 05-21 14:33:54.001: V/libjingle(18228): 61:08:8e:e0:8a:04:0c:ed:ec:78:8d:ec:75:a1:23: 05-21 14:33:54.001: V/libjingle(18228): 8b:1d:35:8f:63:44:5d:4f:32:94:1a:6c:34:f7:7c: 05-21 14:33:54.001: V/libjingle(18228): f6:11:63:97:c7:71:2b:4d:13:f5:f1:0c:cd:cd:b0: 05-21 14:33:54.001: V/libjingle(18228): 82:e4:e3:71:a9:9b:9 05-21 14:33:54.001: V/libjingle(18228): [2/2] f:92:41:43:01:98:32:bb:8e: 05-21 14:33:54.001: V/libjingle(18228): d8:db:a2:12:c4:69:10:dd:53 05-21 14:33:54.001: V/libjingle(18228): Exponent: 65537 (0x10001) 05-21 14:33:54.001: V/libjingle(18228): Signature Algorithm: sha1WithRSAEncryption 05-21 14:33:54.001: V/libjingle(18228): 38:cf:25:7c:14:22:38:79:44:b3:e1:96:26:d3:1f:1c:18:e7: 05-21 14:33:54.001: V/libjingle(18228): d1:eb:bd:89:83:0b:93:b1:08:d7:71:d5:2d:58:20:97:80:cf: 05-21 14:33:54.001: V/libjingle(18228): 09:dd:6d:a2:ad:7a:96:97:04:33:fe:77:f9:d8:02:5a:72:df: 05-21 14:33:54.001: V/libjingle(18228): 28:bf:2d:e9:80:f8:e8:3c:18:c7:42:f7:49:6c:4b:ba:db:b2: 05-21 14:33:54.001: V/libjingle(18228): 71:1a:17:14:3a:e3:e7:ff:1b:f0:0c:c9:94:3d:b5:ad:a1:a2: 05-21 14:33:54.001: V/libjingle(18228): af:31:70:1c:8f:f9:72:2b:88:2e:b2:14:ea:e6:c6:3c:fd:92: 05-21 14:33:54.001: V/libjingle(18228): 7a:74:26:38:ea:b3:bf:36:54:ed:e7:3c:c0:0d:aa:d2:9e:e6: 05-21 14:33:54.001: V/libjingle(18228): 9d:97 05-21 14:33:54.001: I/libjingle(18228): ClientSignalingThread::OnMessage: MSG_LOGIN 05-21 14:33:54.001: I/c-libjingle-webrtc(18228): ClientSignalingThread::LoginS 05-21 14:33:54.001: I/c-libjingle-webrtc(18228): TXmppPump::TXmppPump 05-21 14:33:54.001: I/c-libjingle-webrtc(18228): TXmppPump::DoLogin 05-21 14:33:54.001: I/c-libjingle-webrtc(18228): TXmppPump::DoLogin - logging on 05-21 14:33:54.001: I/libjingle(18228): ClientSignalingThread::OnMessage: MSG_XMPP_STATE 05-21 14:33:54.001: D/AuthenticationTask(18228): handleXmppStateChanged 1 05-21 14:33:54.001: V/libjingle(18228): Resolving addr in PhysicalSocket::Connect 05-21 14:33:55.181: V/libjingle(18228): XmppLoginTask::Advance - No error 05-21 14:33:55.181: V/libjingle(18228): XmppLoginTask::Advance - LOGINSTATE_STREAMSTART_SENT 05-21 14:33:55.181: I/libjingle(18228): SEND >>>>>>>>>>>>>>>> : Wed May 21 14:33:55 2014 05-21 14:33:55.181: I/libjingle(18228): <stream:stream to="nabz" xml:lang="" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client"> 05-21 14:33:55.186: I/libjingle(18228): ClientSignalingThread::OnMessage: MSG_XMPP_STATE 05-21 14:33:55.186: D/AuthenticationTask(18228): handleXmppStateChanged 2 05-21 14:33:55.311: I/libjingle(18228): RECV <<<<<<<<<<<<<<<< : Wed May 21 14:33:55 2014 05-21 14:33:55.311: I/libjingle(18228): 05-21 14:33:55.311: I/libjingle(18228): <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="xmpptesting.mydomain.net" id="63cabaec" xml:lang="" version="1.0"> 05-21 14:33:55.311: V/libjingle(18228): XmppLoginTask::Advance - LOGINSTATE_STREAMSTART_SENT 05-21 14:33:57.171: I/libjingle(18228): RECV <<<<<<<<<<<<<<<< : Wed May 21 14:33:57 2014 05-21 14:33:57.171: I/libjingle(18228): stream:features 05-21 14:33:57.171: I/libjingle(18228): 05-21 14:33:57.171: I/libjingle(18228): 05-21 14:33:57.171: I/libjingle(18228): 05-21 14:33:57.171: I/libjingle(18228): 05-21 14:33:57.171: I/libjingle(18228): DIGEST-MD5 05-21 14:33:57.171: I/libjingle(18228): 05-21 14:33:57.171: I/libjingle(18228): 05-21 14:33:57.171: I/libjingle(18228): PLAIN 05-21 14:33:57.171: I/libjingle(18228): 05-21 14:33:57.171: I/libjingle(18228): 05-21 14:33:57.171: I/libjingle(18228): ANONYMOUS 05-21 14:33:57.171: I/libjingle(18228): 05-21 14:33:57.171: I/libjingle(18228): 05-21 14:33:57.171: I/libjingle(18228): CRAM-MD5 05-21 14:33:57.171: I/libjingle(18228): 05-21 14:33:57.171: I/libjingle(18228): 05-21 14:33:57.171: I/libjingle(18228): 05-21 14:33:57.171: I/libjingle(18228): 05-21 14:33:57.171: I/libjingle(18228): zlib 05-21 14:33:57.171: I/libjingle(18228): 05-21 14:33:57.171: I/libjingle(18228): 05-21 14:33:57.171: I/libjingle(18228): 05-21 14:33:57.171: I/libjingle(18228): 05-21 14:33:57.171: I/libjingle(18228): /stream:features 05-21 14:33:57.171: V/libjingle(18228): XmppLoginTask::Advance - LOGINSTATE_STARTED_XMPP 05-21 14:33:57.171: V/libjingle(18228): XmppLoginTask::Advance - LOGINSTATE_AUTH_INIT 05-21 14:33:57.176: V/libjingle(18228): XmppLoginTask::Advance - LOGINSTATE_SASL_RUNNING 05-21 14:33:57.176: I/libjingle(18228): SEND >>>>>>>>>>>>>>>> : Wed May 21 14:33:57 2014 05-21 14:33:57.176: I/libjingle(18228):
05-21 14:33:57.176: I/libjingle(18228): 05-21 14:33:57.176: I/libjingle(18228): ## TEXT REMOVED ## 05-21 14:33:57.176: I/libjingle(18228): 05-21 14:33:57.371: I/libjingle(18228): RECV <<<<<<<<<<<<<<<< : Wed May 21 14:33:57 2014 05-21 14:33:57.371: I/libjingle(18228):/stream:stream 05-21 14:33:57.371: I/libjingle(18228): ClientSignalingThread::OnXmppError: ERROR_DOCUMENT_CLOSED - Closed by/stream:stream 05-21 14:33:57.371: I/c-libjingle-webrtc(18228): ClientSignalingThread::ResetMedia 05-21 14:33:57.371: I/libjingle(18228): ClientSignalingThread::OnMessage: MSG_XMPP_ERROR 05-21 14:33:57.376: D/AuthenticationTask(18228): handleXmppError 9 05-21 14:33:57.376: I/c-libjingle-webrtc(18228): TXmppPump::~TXmppPump this@(0x78600098) 05-21 14:33:57.376: I/c-libjingle-webrtc(18228): TXmppSocket::~TXmppSocket this@(0x785fe848) 05-21 14:33:57.376: I/c-libjingle-webrtc(18228): TXmppAuth::~TXmppAuth this@(0x785fdea8) 05-21 14:33:57.376: E/libjingle(18228): Error(xmppclient.cc:372): socket_ already reset 05-21 14:33:57.381: I/libjingle(18228): ClientSignalingThread::OnMessage: MSG_XMPP_STATE 05-21 14:33:57.381: D/AuthenticationTask(18228): handleXmppStateChanged 4 05-21 14:33:57.381: I/c-libjingle-webrtc(18228): Java_com_tuenti_voice_core_VoiceClient_nativeRelease 05-21 14:33:57.381: I/c-libjingle-webrtc(18228): VoiceClient::~VoiceClient 05-21 14:33:57.381: I/c-libjingle-webrtc(18228): ClientSignalingThread::~ClientSignalingThread 05-21 14:33:57.381: I/c-libjingle-webrtc(18228): ClientSignalingThread::Disconnect 05-21 14:33:57.381: I/libjingle(18228): ClientSignalingThread::OnMessage: MSG_DISCONNECT 05-21 14:33:57.381: I/c-libjingle-webrtc(18228): ClientSignalingThread::DisconnectS

elippo avatar May 21 '14 12:05 elippo

Maybe this helps. https://github.com/lukeweber/webrtc-jingle-client/issues/125

I would check client_defines.h xmpp_comptibility as the current system was geared to connect to gmail.

lukeweber avatar Jun 30 '14 17:06 lukeweber