{ "id": "83551", "key": "TIMOB-6554", "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-12T09:51:35.000+0000", "created": "2011-12-09T17:59:20.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "branch-v8" ], "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": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-12-19T12:49:35.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": "When building several of the 2.0 versions of the modules, receiving an error of \"error: 'V8Util' has not been declared\" during the ndk.build step.\r\n\r\nOccurs on the imagefactory and styledlabel modules (as well as a couple of others).\r\n\r\nThe build output for the imagefactory module is as follows:\r\n\r\n{code}\r\nJEnglish-MBP:imagefactory jenglish$ ant\r\nBuildfile: /Users/jenglish/titanium_mobile_modules/android/imagefactory/build.xml\r\n\r\ninit:\r\n [mkdir] Created dir: /Users/jenglish/titanium_mobile_modules/android/imagefactory/build/classes\r\n [mkdir] Created dir: /Users/jenglish/titanium_mobile_modules/android/imagefactory/dist\r\n\r\nprocess.annotations:\r\n [mkdir] Created dir: /Users/jenglish/titanium_mobile_modules/android/imagefactory/build/generated/json\r\n [javac] Compiling 2 source files to /Users/jenglish/titanium_mobile_modules/android/imagefactory/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/imagefactory.json\r\n [javac] Note: [KrollBindingGen] Found binding for module ImageFactory\r\n [javac] Note: [KrollBindingGen] Generating JSON: /Users/jenglish/titanium_mobile_modules/android/imagefactory/build/generated/json/org/appcelerator/titanium/bindings/imagefactory.json\r\n [javac] warning: The following options were not recognized by any processor: '[kroll.checkTiContext]'\r\n\r\ngenerate.rhino.bindings:\r\n [java] Generating /Users/jenglish/titanium_mobile_modules/android/imagefactory/build/generated/java/ti/imagefactory/ImageFactoryModulePrototype.java\r\n [java] Generating /Users/jenglish/titanium_mobile_modules/android/imagefactory/build/generated/java/imagefactoryGeneratedBindings.java\r\n\r\ngenerate.rhino.idswitch:\r\n [echo] Generating IDs for /Users/jenglish/titanium_mobile_modules/android/imagefactory/build/generated/java/imagefactoryGeneratedBindings.java\r\n [echo] Generating IDs for /Users/jenglish/titanium_mobile_modules/android/imagefactory/build/generated/java/ti/imagefactory/ImageFactoryModulePrototype.java\r\n\r\ngenerate.v8.bindings:\r\n [java] Generating /Users/jenglish/titanium_mobile_modules/android/imagefactory/build/generated/jni/ti.imagefactory.ImageFactoryModule.h\r\n [java] Generating /Users/jenglish/titanium_mobile_modules/android/imagefactory/build/generated/jni/ti.imagefactory.ImageFactoryModule.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/imagefactory/build/generated\r\n [copy] Copying 1 file to /Users/jenglish/titanium_mobile_modules/android/imagefactory/build/generated/jni\r\n [exec] Compile++ thumb : ti.imagefactory <= ti.imagefactory.ImageFactoryModule.cpp\r\n [exec] jni/Android.mk:24: warning: overriding commands for target `/Users/jenglish/titanium_mobile_modules/android/imagefactory/build/generated/KrollGeneratedBindings.cpp'\r\n [exec] jni/Android.mk:24: warning: ignoring old commands for target `/Users/jenglish/titanium_mobile_modules/android/imagefactory/build/generated/KrollGeneratedBindings.cpp'\r\n [exec] jni/Android.mk:27: warning: overriding commands for target `/Users/jenglish/titanium_mobile_modules/android/imagefactory/build/generated/BootstrapJS.cpp'\r\n [exec] jni/Android.mk:27: warning: ignoring old commands for target `/Users/jenglish/titanium_mobile_modules/android/imagefactory/build/generated/BootstrapJS.cpp'\r\n [exec] jni/ti.imagefactory.ImageFactoryModule.cpp: In static member function 'static v8::Handle ti::imagefactory::ImageFactoryModule::compress(const v8::Arguments&)':\r\n [exec] jni/ti.imagefactory.ImageFactoryModule.cpp:172: error: 'V8Util' has not been declared\r\n [exec] jni/ti.imagefactory.ImageFactoryModule.cpp: In static member function 'static v8::Handle ti::imagefactory::ImageFactoryModule::compressToFile(const v8::Arguments&)':\r\n [exec] jni/ti.imagefactory.ImageFactoryModule.cpp:421: error: 'V8Util' has not been declared\r\n [exec] make: *** [/Users/jenglish/titanium_mobile_modules/android/imagefactory/build/generated/obj/local/armeabi/objs/ti.imagefactory/ti.imagefactory.ImageFactoryModule.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: Module: \"'V8Util' has not been declared\" error when building modules", "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: OS X Snow Leopard\r\n\r\nUsing the 'apilevel2' branch of the module source located in my fork of the modules repository", "comment": { "comments": [ { "id": "176527", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Contacted Jeff English, he will verify this fix.", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-19T11:42:37.000+0000", "updated": "2011-12-19T11:42:37.000+0000" }, { "id": "176536", "author": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "body": "Verified to build correctly in both 1.8.0.1.RC3 and 1.9.0", "updateAuthor": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "created": "2011-12-19T12:42:23.000+0000", "updated": "2011-12-19T12:42:23.000+0000" }, { "id": "176537", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix by Jeff English, occurred with imagefactory and styledlabel", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-19T12:49:35.000+0000", "updated": "2011-12-19T12:49:35.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }