Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-24297

Android native modules build is getting failed with Android NDK r13b

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 7.0.0
    • Component/s: Android
    • Labels:
    • Environment:
    • Story Points:
      13
    • Sprint:
      2017 Sprint 09 SDK

      Description

      Cannot build an Android module with a blank, unedited template. Log below:

      1/5/2017, 1:47:29 AM
       
      Operating System
        Name                        = Mac OS X
        Version                     = 10.11.4
        Architecture                = 64bit
        # CPUs                      = 4
        Memory                      = 17179869184
       
      Node.js
        Node.js Version             = 6.9.1
        npm Version                 = 3.10.8
       
      Titanium CLI
        CLI Version                 = 5.0.11
       
      Titanium SDK
        SDK Version                 = 6.0.1.GA
        SDK Path                    = /Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA
        Target Platform             = android
       
      Command
        /usr/local/bin/node /Users/devtest/.appcelerator/install/6.1.0/package/node_modules/titanium/lib/titanium.js build run --platform android --project-dir /Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/android --build-only --no-colors --no-progress-bars --no-prompt --no-banner --prompt-type socket-bundle --prompt-port 64782 --config-file /var/folders/mh/dqh1sgn122j964t0c3f364mm0000gn/T/build-1483598843862.json --log-level info --no-banner --project-dir /Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/android
       
      [INFO] :   javac Max Memory: 256M
      [INFO] :   javac Source: 1.6
      [INFO] :   javac Target: 1.6
      [INFO] :   dx Max Memory: 1024M
      [INFO] :   buildBinClassesDir: /Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/android/build/classes
      [INFO] :   Assets Dir: /Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/assets
      [INFO] :   Documentation Dir: /Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/documentation
      [INFO] :   Example Dir: /Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/example
      [INFO] :   Platform Dir: /Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/android/platform
      [INFO] :   Resources Dir: /Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/android/Resources
      Generating java files from the .aidl files
      [INFO] :   No aidl files to compile
      Compiling Module Java source files
      [INFO] :   Building Java source files: /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/javac "-J-Xmx256M" "-encoding" "utf8" "-classpath" "/Users/devtest/Documents/Android SDK/platforms/android-23/android.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/lib/closure-compiler.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/lib/titanium-debug.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/lib/titanium-profiler.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/lib/titanium-verify.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-accelerometer.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-analytics.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-android.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-app.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-appcompat.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-calendar.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-cardview.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-contacts.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-database.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-filesystem.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-geolocation.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-gesture.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-locale.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-map.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-media.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-network.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-platform.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-ui.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-utils.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-xml.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/android-support-multidex.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/android-support-v4.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/android-support-v7-appcompat.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/aps-analytics.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/cardview-v7-23.0.1.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/freemarker.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/jaxen-1.1.1.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/json_simple-1.1.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/kroll-apt.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/kroll-common.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/kroll-v8.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/nineoldandroids-appc-2.4.0.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/ti-commons-codec-1.3.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/titanium.jar" "-d" "/Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/android/build/classes" "-target" "1.6" "-g" "-source" "1.6" "@/Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/android/java-sources.txt" "-processor" "org.appcelerator.kroll.annotations.generator.KrollJSONGenerator" "-s" "/Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/android/build/generated/json" "-Akroll.jsonFile=unedited-test-module.json" "-Akroll.jsonPackage=org.appcelerator.titanium.bindings"
      Generating runtime bindings
      [INFO] :   Generate v8 bindings: /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java "-classpath" "/Users/devtest/Documents/Android SDK/platforms/android-23/android.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/lib/closure-compiler.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/lib/titanium-debug.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/lib/titanium-profiler.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/lib/titanium-verify.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-accelerometer.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-analytics.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-android.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-app.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-appcompat.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-calendar.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-cardview.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-contacts.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-database.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-filesystem.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-geolocation.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-gesture.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-locale.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-map.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-media.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-network.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-platform.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-ui.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-utils.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/modules/titanium-xml.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/android-support-multidex.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/android-support-v4.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/android-support-v7-appcompat.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/aps-analytics.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/cardview-v7-23.0.1.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/freemarker.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/jaxen-1.1.1.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/json_simple-1.1.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/kroll-apt.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/kroll-common.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/kroll-v8.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/nineoldandroids-appc-2.4.0.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/ti-commons-codec-1.3.jar:/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/titanium.jar" "org.appcelerator.kroll.annotations.generator.KrollBindingGenerator" "/Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/android/build/generated/jni" "true" "com.ironstrong.bt.android" "/Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/android/build/generated/json/org/appcelerator/titanium/bindings/unedited-test-module.json"
      [INFO] :   Producing [ModuleName]Bootstrap files using /Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/android/build/generated/json/org/appcelerator/titanium/bindings/unedited-test-module.json
      Generating BootstrapJS.cpp from bootstrap.js
      [INFO] :   Running the Android NDK ndk-build
      [ERROR] :  Failed to run ndk-build
      [ERROR] :  
      [ERROR] :  jni/Android.mk:35: warning: overriding commands for target `/Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/android/build/generated/KrollGeneratedBindings.cpp'
      [ERROR] :  jni/Android.mk:35: warning: ignoring old commands for target `/Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/android/build/generated/KrollGeneratedBindings.cpp'
      [ERROR] :  warning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option]
      [ERROR] :  In file included from jni/com.ironstrong.bt.android.AndroidBluetoothIronstrongModule.cpp:12:
      [ERROR] :  /Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:57:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
      2017-01-05T06:47:33.950Z | ERROR  | An uncaught exception was thrown!
      [sprintf] %ld,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,jni/com.ironstrong.bt.android.AndroidBluetoothIronstrongModule.cpp:131:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security],                        LOGE(TAG, error);,                                  ^~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,jni/com.ironstrong.bt.android.AndroidBluetoothIronstrongModule.cpp:195:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security],                        LOGE(TAG, error);,                                  ^~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,jni/com.ironstrong.bt.android.AndroidBluetoothIronstrongModule.cpp:257:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security],                        LOGE(TAG, error);,                                  ^~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,5 warnings generated.,warning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option],In file included from jni/com.ironstrong.bt.android.ExampleProxy.cpp:12:,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:57:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat],                LOGE(tag, "Finished %s (%d ms)", description, AndroidUtil::getCurrentMillis() - start);,                                        ~~                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~,                                        %ld,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,jni/com.ironstrong.bt.android.ExampleProxy.cpp:130:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security],                        LOGE(TAG, error);,                                  ^~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,jni/com.ironstrong.bt.android.ExampleProxy.cpp:192:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security],                        LOGE(TAG, error);,                                  ^~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,jni/com.ironstrong.bt.android.ExampleProxy.cpp:269:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security],                        LOGE(TAG, error);,                                  ^~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,jni/com.ironstrong.bt.android.ExampleProxy.cpp:348:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security],                        LOGE(TAG, error);,                                  ^~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,jni/com.ironstrong.bt.android.ExampleProxy.cpp:410:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security],                        LOGE(TAG, error);,                                  ^~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,7 warnings generated.,warning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option],In file included from jni/../AndroidBluetoothIronstrongBootstrap.cpp:12:,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:57:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat],                LOGE(tag, "Finished %s (%d ms)", description, AndroidUtil::getCurrentMillis() - start);,                                        ~~                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~,                                        %ld,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,In file included from jni/../AndroidBluetoothIronstrongBootstrap.cpp:19:,/Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/android/build/generated/KrollGeneratedBindings.gperf:14:8: error: forward declaration of struct cannot have a nested name specifier,struct titanium::bindings::BindEntry;,       ^~~~~~~~~~~~~~~~~~~~,/Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/android/build/generated/KrollGeneratedBindings.gperf:25:11: warning: 'register' storage class specifier is deprecated and incompatible with C++1z [-Wdeprecated-register],          register const char *s = wordlist[key].name;,          ^~~~~~~~~,3 warnings and 1 error generated.,make: *** [/Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/android/build/generated/obj/local/armeabi-v7a/objs/com.ironstrong.bt.android/__/AndroidBluetoothIronstrongBootstrap.o] Error 1"
      2017-01-05T06:47:33.951Z | ERROR  | [sprintf] %ld,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,jni/com.ironstrong.bt.android.AndroidBluetoothIronstrongModule.cpp:131:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security],                        LOGE(TAG, error);,                                  ^~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,jni/com.ironstrong.bt.android.AndroidBluetoothIronstrongModule.cpp:195:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security],                        LOGE(TAG, error);,                                  ^~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,jni/com.ironstrong.bt.android.AndroidBluetoothIronstrongModule.cpp:257:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security],                        LOGE(TAG, error);,                                  ^~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,5 warnings generated.,warning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option],In file included from jni/com.ironstrong.bt.android.ExampleProxy.cpp:12:,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:57:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat],                LOGE(tag, "Finished %s (%d ms)", description, AndroidUtil::getCurrentMillis() - start);,                                        ~~                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~,                                        %ld,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,jni/com.ironstrong.bt.android.ExampleProxy.cpp:130:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security],                        LOGE(TAG, error);,                                  ^~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,jni/com.ironstrong.bt.android.ExampleProxy.cpp:192:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security],                        LOGE(TAG, error);,                                  ^~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,jni/com.ironstrong.bt.android.ExampleProxy.cpp:269:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security],                        LOGE(TAG, error);,                                  ^~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,jni/com.ironstrong.bt.android.ExampleProxy.cpp:348:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security],                        LOGE(TAG, error);,                                  ^~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,jni/com.ironstrong.bt.android.ExampleProxy.cpp:410:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security],                        LOGE(TAG, error);,                                  ^~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,7 warnings generated.,warning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option],In file included from jni/../AndroidBluetoothIronstrongBootstrap.cpp:12:,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:57:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat],                LOGE(tag, "Finished %s (%d ms)", description, AndroidUtil::getCurrentMillis() - start);,                                        ~~                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~,                                        %ld,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:34:40: note: expanded from macro 'LOGE',#define LOGE(tag, ...) LOG(ERROR, tag, __VA_ARGS__),                                       ^~~~~~~~~~~,/Users/devtest/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA/android/native/include/AndroidUtil.h:14:74: note: expanded from macro 'LOG',#define LOG(level, tag, ...) __android_log_print(_LOG_LEVEL(level), tag, __VA_ARGS__),                                                                         ^~~~~~~~~~~,In file included from jni/../AndroidBluetoothIronstrongBootstrap.cpp:19:,/Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/android/build/generated/KrollGeneratedBindings.gperf:14:8: error: forward declaration of struct cannot have a nested name specifier,struct titanium::bindings::BindEntry;,       ^~~~~~~~~~~~~~~~~~~~,/Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/android/build/generated/KrollGeneratedBindings.gperf:25:11: warning: 'register' storage class specifier is deprecated and incompatible with C++1z [-Wdeprecated-register],          register const char *s = wordlist[key].name;,          ^~~~~~~~~,3 warnings and 1 error generated.,make: *** [/Users/devtest/Documents/Appcelerator_Studio_Workspace/unedited-test-module/android/build/generated/obj/local/armeabi-v7a/objs/com.ironstrong.bt.android/__/AndroidBluetoothIronstrongBootstrap.o] Error 1"
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                webtys Bryant T.
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-10404
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code