{ "id": "83550", "key": "TIMOB-6553", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "12090", "description": "", "name": "Sprint 2011-50", "archived": true, "released": true, "releaseDate": "2011-12-19" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-12-13T16:43:56.000+0000", "created": "2011-12-09T17:52:02.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "branch-v8", "merge-1.8.0.1", "verified-1.8.0.1" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2012-10-17T14:53:58.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Building the Bump 2.0 module for Android throws an error during the build. \r\n\r\nThe build output is as follows:\r\n\r\n{code}\r\nJEnglish-MBP:bump jenglish$ ant\r\nBuildfile: /Users/jenglish/titanium_mobile_modules/android/bump/build.xml\r\n\r\ninit:\r\n [mkdir] Created dir: /Users/jenglish/titanium_mobile_modules/android/bump/build/classes\r\n [mkdir] Created dir: /Users/jenglish/titanium_mobile_modules/android/bump/dist\r\n\r\nprocess.annotations:\r\n [mkdir] Created dir: /Users/jenglish/titanium_mobile_modules/android/bump/build/generated/json\r\n [javac] Compiling 2 source files to /Users/jenglish/titanium_mobile_modules/android/bump/build/classes\r\n [javac] Note: [KrollBindingGen] Running Kroll binding generator.\r\n [javac] Note: [KrollBindingGen] No binding data found, creating new data file: org.appcelerator.titanium.bindings/bump.json\r\n [javac] Note: [KrollBindingGen] Found binding for module bump\r\n [javac] Note: [KrollBindingGen] Generating JSON: /Users/jenglish/titanium_mobile_modules/android/bump/build/generated/json/org/appcelerator/titanium/bindings/bump.json\r\n [javac] warning: The following options were not recognized by any processor: '[kroll.checkTiContext]'\r\n [javac] Note: /Users/jenglish/titanium_mobile_modules/android/bump/src/ti/modules/titanium/bump/BumpModule.java uses or overrides a deprecated API.\r\n [javac] Note: Recompile with -Xlint:deprecation for details.\r\n\r\ngenerate.rhino.bindings:\r\n [java] Generating /Users/jenglish/titanium_mobile_modules/android/bump/build/generated/java/ti/bump/BumpModulePrototype.java\r\n [java] Generating /Users/jenglish/titanium_mobile_modules/android/bump/build/generated/java/bumpGeneratedBindings.java\r\n\r\ngenerate.rhino.idswitch:\r\n [echo] Generating IDs for /Users/jenglish/titanium_mobile_modules/android/bump/build/generated/java/bumpGeneratedBindings.java\r\n [echo] Generating IDs for /Users/jenglish/titanium_mobile_modules/android/bump/build/generated/java/ti/bump/BumpModulePrototype.java\r\n\r\ngenerate.v8.bindings:\r\n [java] Generating /Users/jenglish/titanium_mobile_modules/android/bump/build/generated/jni/ti.bump.BumpModule.h\r\n [java] Generating /Users/jenglish/titanium_mobile_modules/android/bump/build/generated/jni/ti.bump.BumpModule.cpp\r\n\r\ngenerate.bindings:\r\n\r\npre.compile:\r\n\r\nndk.build:\r\n [copy] Copying 1 file to /Users/jenglish/titanium_mobile_modules/android/bump/build/generated\r\n [copy] Copying 1 file to /Users/jenglish/titanium_mobile_modules/android/bump/build/generated/jni\r\n [exec] jni/Android.mk:24: warning: overriding commands for target `/Users/jenglish/titanium_mobile_modules/android/bump/build/generated/KrollGeneratedBindings.cpp'\r\n [exec] jni/Android.mk:24: warning: ignoring old commands for target `/Users/jenglish/titanium_mobile_modules/android/bump/build/generated/KrollGeneratedBindings.cpp'\r\n [exec] jni/Android.mk:27: warning: overriding commands for target `/Users/jenglish/titanium_mobile_modules/android/bump/build/generated/BootstrapJS.cpp'\r\n [exec] jni/Android.mk:27: warning: ignoring old commands for target `/Users/jenglish/titanium_mobile_modules/android/bump/build/generated/BootstrapJS.cpp'\r\n [exec] Compile++ thumb : ti.bump <= ti.bump.BumpModule.cpp\r\n [exec] gperf -L C++ -E -t \"/Users/jenglish/titanium_mobile_modules/android/bump/build/generated/KrollGeneratedBindings.gperf\" > \"/Users/jenglish/titanium_mobile_modules/android/bump/build/generated/KrollGeneratedBindings.cpp\"\r\n [exec] \"/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/module/android/js2c.py\" \"/Users/jenglish/titanium_mobile_modules/android/bump/build/generated/BootstrapJS.cpp\" \"/Users/jenglish/titanium_mobile_modules/android/bump/build/generated/bootstrap.js\"\r\n [exec] Compile++ thumb : ti.bump <= BumpBootstrap.cpp\r\n [exec] In file included from jni/../BumpBootstrap.cpp:17:\r\n [exec] /Users/jenglish/titanium_mobile_modules/android/bump/build/generated/KrollGeneratedBindings.gperf:13: warning: declaration 'struct titanium::bindings::BindEntry' does not declare anything\r\n [exec] jni/../BumpBootstrap.cpp: In function 'v8::Handle Bump_getBinding(const v8::Arguments&)':\r\n [exec] jni/../BumpBootstrap.cpp:47: error: '::BumpBindings' has not been declared\r\n [exec] jni/../BumpBootstrap.cpp: In function 'void Bump_dispose()':\r\n [exec] jni/../BumpBootstrap.cpp:92: error: '::BumpBindings' has not been declared\r\n [exec] make: *** [/Users/jenglish/titanium_mobile_modules/android/bump/build/generated/obj/local/armeabi/objs/ti.bump/__/BumpBootstrap.o] Error 1\r\n\r\nBUILD FAILED\r\n/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/module/android/build.xml:226: exec returned: 2\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Modules: Unable to build Bump module", "creator": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "environment": "SDK: 1.8.0.1.RC1\r\nRuntimes: Android V8/Rhino\r\nOS: OSX Snow Leopard\r\n\r\nUsing the \"apilevel2\" branch of the module source located in my fork of the modules repository", "comment": { "comments": [ { "id": "176525", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with OSX 10.6.8 with 1.8.0.1.RC3, Builds Successfully, need to verify in 1.9.0 before closing", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-19T11:34:54.000+0000", "updated": "2011-12-19T11:34:54.000+0000" }, { "id": "178968", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing bug. Already verified fix on 1.8.0.1", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-11T15:29:52.000+0000", "updated": "2012-01-11T15:29:52.000+0000" }, { "id": "223962", "author": { "name": "amandagl", "key": "amandagl", "displayName": "Amanda Glosson", "active": true, "timeZone": "America/New_York" }, "body": "Any ideas what I could be doing wrong if I am still experiencing this error with SDK 2.1.2 (Android V8) on windows 7 ? This is the log from building my module:\r\n\r\n{code}\r\nBuildfile: C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build.xml\r\ninit:\r\nprocess.annotations:\r\n [javac] Compiling 2 source files to C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\classes\r\n [javac] Note: [KrollBindingGen] Running Kroll binding generator.\r\n [javac] Note: [KrollBindingGen] Succesfully loaded existing binding data: C:/Users/AmandaMa/TitaniumModulesWorkspace/build/generated/json/org/appcelerator/titanium/bindings/titaniummodulesworkspace.json\r\n [javac] Note: [KrollBindingGen] Found binding for module BBSwiperStateChangeListener\r\n [javac] Note: [KrollBindingGen] Found binding for proxy Swiper\r\n [javac] Note: [KrollBindingGen] Generating JSON: file:/C:/Users/AmandaMa/TitaniumModulesWorkspace/build/generated/json/org/appcelerator/titanium/bindings/titaniummodulesworkspace.json\r\n [javac] warning: The following options were not recognized by any processor: '[kroll.checkTiContext]'\r\ngenerate.rhino.bindings:\r\n [java] Generating C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\java\\com\\blackbaud\\RoamDataModuleTest\\ExampleProxyPrototype.java\r\n [java] Generating C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\java\\com\\blackbaud\\RoamDataModuleTest\\BBSwiperStateChangeListenerPrototype.java\r\n [java] Generating C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\java\\com\\blackbaud\\RoamDataModuleTest\\TitaniummodulesworkspaceModulePrototype.java\r\n [java] Generating C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\java\\com\\blackbaud\\RoamDataModuleTest\\BBSwiperStateChangeListenerModulePrototype.java\r\n [java] Generating C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\java\\com\\blackbaud\\RoamDataModuleTest\\SwiperProxyPrototype.java\r\n [java] Generating C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\java\\titaniummodulesworkspaceGeneratedBindings.java\r\ngenerate.rhino.idswitch:\r\n [echo] Generating IDs for C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\java\\com\\blackbaud\\RoamDataModuleTest\\BBSwiperStateChangeListenerBootstrap.java\r\n [echo] Generating IDs for C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\java\\com\\blackbaud\\RoamDataModuleTest\\BBSwiperStateChangeListenerModulePrototype.java\r\n [echo] Generating IDs for C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\java\\com\\blackbaud\\RoamDataModuleTest\\BBSwiperStateChangeListenerPrototype.java\r\n [echo] Generating IDs for C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\java\\com\\blackbaud\\RoamDataModuleTest\\ExampleProxyPrototype.java\r\n [echo] Generating IDs for C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\java\\com\\blackbaud\\RoamDataModuleTest\\SwiperProxyPrototype.java\r\n [echo] Generating IDs for C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\java\\com\\blackbaud\\RoamDataModuleTest\\TitaniummodulesworkspaceBootstrap.java\r\n [echo] Generating IDs for C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\java\\com\\blackbaud\\RoamDataModuleTest\\TitaniummodulesworkspaceModulePrototype.java\r\n [echo] Generating IDs for C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\java\\titaniummodulesworkspaceGeneratedBindings.java\r\ngenerate.v8.bindings:\r\n [java] Generating C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\jni\\com.blackbaud.RoamDataModuleTest.ExampleProxy.h\r\n [java] Generating C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\jni\\com.blackbaud.RoamDataModuleTest.ExampleProxy.cpp\r\n [java] Generating C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\jni\\com.blackbaud.RoamDataModuleTest.BBSwiperStateChangeListener.h\r\n [java] Generating C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\jni\\com.blackbaud.RoamDataModuleTest.BBSwiperStateChangeListener.cpp\r\n [java] Generating C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\jni\\com.blackbaud.RoamDataModuleTest.TitaniummodulesworkspaceModule.h\r\n [java] Generating C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\jni\\com.blackbaud.RoamDataModuleTest.TitaniummodulesworkspaceModule.cpp\r\n [java] Generating C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\jni\\com.blackbaud.RoamDataModuleTest.BBSwiperStateChangeListenerModule.h\r\n [java] Generating C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\jni\\com.blackbaud.RoamDataModuleTest.BBSwiperStateChangeListenerModule.cpp\r\n [java] Generating C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\jni\\com.blackbaud.RoamDataModuleTest.SwiperProxy.h\r\n [java] Generating C:\\Users\\AmandaMa\\TitaniumModulesWorkspace\\build\\generated\\jni\\com.blackbaud.RoamDataModuleTest.SwiperProxy.cpp\r\ngenerate.bindings:\r\npre.compile:\r\njs.compile:\r\nndk.build:\r\n [copy] Copying 57 files to C:\\Users\\AmandaMa\\AppData\\Local\\Temp\\AmandaMa\\titaniummodulesworkspace-generated\r\n [exec] jni/Android.mk:24: warning: overriding commands for target `C:/Users/AmandaMa/AppData/Local/Temp/AmandaMa/titaniummodulesworkspace-generated/KrollGeneratedBindings.cpp'\r\n [exec] jni/Android.mk:24: warning: ignoring old commands for target `C:/Users/AmandaMa/AppData/Local/Temp/AmandaMa/titaniummodulesworkspace-generated/KrollGeneratedBindings.cpp'\r\n [exec] jni/Android.mk:27: warning: overriding commands for target `C:/Users/AmandaMa/AppData/Local/Temp/AmandaMa/titaniummodulesworkspace-generated/BootstrapJS.cpp'\r\n [exec] jni/Android.mk:27: warning: ignoring old commands for target `C:/Users/AmandaMa/AppData/Local/Temp/AmandaMa/titaniummodulesworkspace-generated/BootstrapJS.cpp'\r\n [exec] jni/Android.mk:24: warning: overriding commands for target `C:/Users/AmandaMa/AppData/Local/Temp/AmandaMa/titaniummodulesworkspace-generated/KrollGeneratedBindings.cpp'\r\n [exec] jni/Android.mk:24: warning: ignoring old commands for target `C:/Users/AmandaMa/AppData/Local/Temp/AmandaMa/titaniummodulesworkspace-generated/KrollGeneratedBindings.cpp'\r\n [exec] jni/Android.mk:27: warning: overriding commands for target `C:/Users/AmandaMa/AppData/Local/Temp/AmandaMa/titaniummodulesworkspace-generated/BootstrapJS.cpp'\r\n [exec] jni/Android.mk:27: warning: ignoring old commands for target `C:/Users/AmandaMa/AppData/Local/Temp/AmandaMa/titaniummodulesworkspace-generated/BootstrapJS.cpp'\r\n [exec] \"Compile++ thumb : com.blackbaud.RoamDataModuleTest <= com.blackbaud.RoamDataModuleTest.BBSwiperStateChangeListener.cpp\r\n [exec] In file included from jni/com.blackbaud.RoamDataModuleTest.BBSwiperStateChangeListener.h:10:0,\r\n [exec] from jni/com.blackbaud.RoamDataModuleTest.BBSwiperStateChangeListener.cpp:10:\r\n [exec] C:/Android/android-ndk-r8b/platforms/android-3/arch-arm/usr/include/jni.h:592:13: note: the mangling of 'va_list' has changed in GCC 4.4\r\n [exec] \"Compile++ thumb : com.blackbaud.RoamDataModuleTest <= com.blackbaud.RoamDataModuleTest.BBSwiperStateChangeListenerModule.cpp\r\n [exec] In file included from jni/com.blackbaud.RoamDataModuleTest.BBSwiperStateChangeListenerModule.h:10:0,\r\n [exec] from jni/com.blackbaud.RoamDataModuleTest.BBSwiperStateChangeListenerModule.cpp:10:\r\n [exec] C:/Android/android-ndk-r8b/platforms/android-3/arch-arm/usr/include/jni.h:592:13: note: the mangling of 'va_list' has changed in GCC 4.4\r\n [exec] \"Compile++ thumb : com.blackbaud.RoamDataModuleTest <= com.blackbaud.RoamDataModuleTest.ExampleProxy.cpp\r\n [exec] In file included from jni/com.blackbaud.RoamDataModuleTest.ExampleProxy.h:10:0,\r\n [exec] from jni/com.blackbaud.RoamDataModuleTest.ExampleProxy.cpp:10:\r\n [exec] C:/Android/android-ndk-r8b/platforms/android-3/arch-arm/usr/include/jni.h:592:13: note: the mangling of 'va_list' has changed in GCC 4.4\r\n [exec] \"Compile++ thumb : com.blackbaud.RoamDataModuleTest <= com.blackbaud.RoamDataModuleTest.SwiperProxy.cpp\r\n [exec] In file included from jni/com.blackbaud.RoamDataModuleTest.SwiperProxy.h:10:0,\r\n [exec] from jni/com.blackbaud.RoamDataModuleTest.SwiperProxy.cpp:10:\r\n [exec] C:/Android/android-ndk-r8b/platforms/android-3/arch-arm/usr/include/jni.h:592:13: note: the mangling of 'va_list' has changed in GCC 4.4\r\n [exec] \"Compile++ thumb : com.blackbaud.RoamDataModuleTest <= com.blackbaud.RoamDataModuleTest.TitaniummodulesworkspaceModule.cpp\r\n [exec] In file included from jni/com.blackbaud.RoamDataModuleTest.TitaniummodulesworkspaceModule.h:10:0,\r\n [exec] from jni/com.blackbaud.RoamDataModuleTest.TitaniummodulesworkspaceModule.cpp:10:\r\n [exec] C:/Android/android-ndk-r8b/platforms/android-3/arch-arm/usr/include/jni.h:592:13: note: the mangling of 'va_list' has changed in GCC 4.4\r\n [exec] \"Compile++ thumb : com.blackbaud.RoamDataModuleTest <= BBSwiperStateChangeListenerBootstrap.cpp\r\n [exec] In file included from jni/../BBSwiperStateChangeListenerBootstrap.cpp:9:0:\r\n [exec] C:/Android/android-ndk-r8b/platforms/android-3/arch-arm/usr/include/jni.h:592:13: note: the mangling of 'va_list' has changed in GCC 4.4\r\n [exec] In file included from jni/../BBSwiperStateChangeListenerBootstrap.cpp:17:0:\r\n [exec] C:/Users/AmandaMa/AppData/Local/Temp/AmandaMa/titaniummodulesworkspace-generated/KrollGeneratedBindings.gperf:14:28: warning: declaration 'struct titanium::bindings::BindEntry' does not declare anything [enabled by default]\r\n [exec] jni/../BBSwiperStateChangeListenerBootstrap.cpp: In function 'v8::Handle BBSwiperStateChangeListener_getBinding(const v8::Arguments&)':\r\n [exec] jni/../BBSwiperStateChangeListenerBootstrap.cpp:47:48: error: '::BBSwiperStateChangeListenerBindings' has not been declared\r\n [exec] jni/../BBSwiperStateChangeListenerBootstrap.cpp: In function 'void BBSwiperStateChangeListener_dispose()':\r\n [exec] jni/../BBSwiperStateChangeListenerBootstrap.cpp:92:6: error: '::BBSwiperStateChangeListenerBindings' has not been declared\r\n [exec] jni/../BBSwiperStateChangeListenerBootstrap.cpp: In function 'void Java_com_blackbaud_RoamDataModuleTest_BBSwiperStateChangeListenerBootstrap_nativeBootstrap(JNIEnv*, jobject)':\r\n [exec] jni/../BBSwiperStateChangeListenerBootstrap.cpp:115:49: error: '::BBSwiperStateChangeListenerBindings' has not been declared\r\n [exec] make: *** [C:\\Users\\AmandaMa\\AppData\\Local\\Temp\\/AmandaMa/titaniummodulesworkspace-generated/obj/local/armeabi/objs/com.blackbaud.RoamDataModuleTest/__/BBSwiperStateChangeListenerBootstrap.o] Error 1\r\n\r\nBUILD FAILED\r\nC:\\Users\\AmandaMa\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\2.1.2.GA\\module\\android\\build.xml:362: The following error occurred while executing this line:\r\nC:\\Users\\AmandaMa\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\2.1.2.GA\\module\\android\\build.xml:317: exec returned: 2\r\n\r\nTotal time: 6 seconds\r\n{code}\r\n", "updateAuthor": { "name": "amandagl", "key": "amandagl", "displayName": "Amanda Glosson", "active": true, "timeZone": "America/New_York" }, "created": "2012-10-17T13:59:18.000+0000", "updated": "2012-10-17T13:59:18.000+0000" }, { "id": "223964", "author": { "name": "amandagl", "key": "amandagl", "displayName": "Amanda Glosson", "active": true, "timeZone": "America/New_York" }, "body": "I built the same module code against SDK 2.0.2 and it built fine. strange.", "updateAuthor": { "name": "amandagl", "key": "amandagl", "displayName": "Amanda Glosson", "active": true, "timeZone": "America/New_York" }, "created": "2012-10-17T14:53:58.000+0000", "updated": "2012-10-17T14:53:58.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }