{ "id": "166576", "key": "TIMOB-24480", "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": "19275", "description": "Patch release for 6.0.x regressions or important fixes", "name": "Release 6.0.3", "archived": false, "released": true, "releaseDate": "2017-03-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-03-20T19:07:18.000+0000", "created": "2017-03-13T15:17:07.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "18928", "name": "Release 6.0.2", "archived": false, "released": true, "releaseDate": "2017-02-27" } ], "issuelinks": [ { "id": "54556", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "163549", "key": "TIMOB-23967", "fields": { "summary": "Android: appc run based module builds fail due to double-namespaced classes in KrollGeneratedBindings.gperf", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "54558", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "166529", "key": "TIMOB-24470", "fields": { "summary": "Android: Fails to build modules that contain additional java files inside plugins folder or test folders not intended to be in distributed module", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "54606", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "166718", "key": "TIMOB-24524", "fields": { "summary": "Android: module build fails for some native modules with 'mthodMap is not defined'", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2017-03-21T14:38:46.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" }, { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "I know we'd like to make the full cut over to using the node-based module builds, but all of our existing modules are still built using ant and I just tried to use {{appc run}} to build the hyperloop module on a 6.0.0 SDK. It failed with:\r\n\r\n{code}\r\n[INFO] Producing [ModuleName]Bootstrap files using /Users/cwilliams/repos/hyperloop.next/android/build/generated/json/org/appcelerator/titanium/bindings/hyperloop-android.json\r\nGenerating BootstrapJS.cpp from bootstrap.js\r\n[INFO] Running the Android NDK ndk-build\r\n[ERROR] Failed to run ndk-build\r\n[ERROR] \r\n[ERROR] jni/Android.mk:35: warning: overriding commands for target `/Users/cwilliams/repos/hyperloop.next/android/build/generated/KrollGeneratedBindings.cpp'\r\n[ERROR] jni/Android.mk:35: warning: ignoring old commands for target `/Users/cwilliams/repos/hyperloop.next/android/build/generated/KrollGeneratedBindings.cpp'\r\n[ERROR] In file included from jni/../HyperloopBootstrap.cpp:19:0:\r\n[ERROR] /Users/cwilliams/repos/hyperloop.next/android/build/generated/KrollGeneratedBindings.gperf:18:28: warning: declaration 'struct titanium::bindings::BindEntry' does not declare anything\r\n[ERROR] struct titanium::bindings::BindEntry;\r\n[ERROR] ^\r\n[ERROR] In file included from jni/../HyperloopBootstrap.cpp:19:0:\r\n[ERROR] /Users/cwilliams/repos/hyperloop.next/android/build/generated/KrollGeneratedBindings.gperf: In static member function 'static titanium::bindings::BindEntry* HyperloopBindings::lookupGeneratedInit(const char*, unsigned int)':\r\n[ERROR] /Users/cwilliams/repos/hyperloop.next/android/build/generated/KrollGeneratedBindings.gperf:20:43: error: 'hyperloop::hyperloop' has not been declared\r\n[ERROR] hyperloop.BaseProxy,::hyperloop::hyperloop::BaseProxy::bindProxy,::hyperloop::hyperloop::BaseProxy::dispose\r\n[ERROR] ^\r\n[ERROR] /Users/cwilliams/repos/hyperloop.next/android/build/generated/KrollGeneratedBindings.gperf:20:88: error: 'hyperloop::hyperloop' has not been declared\r\n[ERROR] hyperloop.BaseProxy,::hyperloop::hyperloop::BaseProxy::bindProxy,::hyperloop::hyperloop::BaseProxy::dispose\r\n[ERROR] ^\r\n[ERROR] In file included from jni/../HyperloopBootstrap.cpp:19:0:\r\n[ERROR] /Users/cwilliams/repos/hyperloop.next/android/build/generated/KrollGeneratedBindings.gperf:21:44: error: 'hyperloop::hyperloop' has not been declared\r\n[ERROR] hyperloop.ClassProxy,::hyperloop::hyperloop::ClassProxy::bindProxy,::hyperloop::hyperloop::ClassProxy::dispose\r\n[ERROR] ^\r\n[ERROR] /Users/cwilliams/repos/hyperloop.next/android/build/generated/KrollGeneratedBindings.gperf:21:90: error: 'hyperloop::hyperloop' has not been declared\r\n[ERROR] hyperloop.ClassProxy,::hyperloop::hyperloop::ClassProxy::bindProxy,::hyperloop::hyperloop::ClassProxy::dispose\r\n[ERROR] ^\r\n[ERROR] In file included from jni/../HyperloopBootstrap.cpp:19:0:\r\n[ERROR] /Users/cwilliams/repos/hyperloop.next/android/build/generated/KrollGeneratedBindings.gperf:24:47: error: 'hyperloop::hyperloop' has not been declared\r\n[ERROR] hyperloop.InstanceProxy,::hyperloop::hyperloop::InstanceProxy::bindProxy,::hyperloop::hyperloop::InstanceProxy::dispose\r\n[ERROR] ^\r\n[ERROR] /Users/cwilliams/repos/hyperloop.next/android/build/generated/KrollGeneratedBindings.gperf:24:96: error: 'hyperloop::hyperloop' has not been declared\r\n[ERROR] hyperloop.InstanceProxy,::hyperloop::hyperloop::InstanceProxy::bindProxy,::hyperloop::hyperloop::InstanceProxy::dispose\r\n[ERROR] ^\r\n[ERROR] In file included from jni/../HyperloopBootstrap.cpp:19:0:\r\n[ERROR] /Users/cwilliams/repos/hyperloop.next/android/build/generated/KrollGeneratedBindings.gperf:23:54: error: 'hyperloop::hyperloop' has not been declared\r\n[ERROR] hyperloop.DynamicSubclassProxy,::hyperloop::hyperloop::DynamicSubclassProxy::bindProxy,::hyperloop::hyperloop::DynamicSubclassProxy::dispose\r\n[ERROR] ^\r\n[ERROR] /Users/cwilliams/repos/hyperloop.next/android/build/generated/KrollGeneratedBindings.gperf:23:110: error: 'hyperloop::hyperloop' has not been declared\r\n[ERROR] hyperloop.DynamicSubclassProxy,::hyperloop::hyperloop::DynamicSubclassProxy::bindProxy,::hyperloop::hyperloop::DynamicSubclassProxy::dispose\r\n[ERROR] ^\r\n[ERROR] In file included from jni/../HyperloopBootstrap.cpp:19:0:\r\n[ERROR] /Users/cwilliams/repos/hyperloop.next/android/build/generated/KrollGeneratedBindings.gperf:22:56: error: 'hyperloop::hyperloop' has not been declared\r\n[ERROR] hyperloop.InterfaceSubclassProxy,::hyperloop::hyperloop::InterfaceSubclassProxy::bindProxy,::hyperloop::hyperloop::InterfaceSubclassProxy::dispose\r\n[ERROR] ^\r\n[ERROR] /Users/cwilliams/repos/hyperloop.next/android/build/generated/KrollGeneratedBindings.gperf:22:114: error: 'hyperloop::hyperloop' has not been declared\r\n[ERROR] hyperloop.InterfaceSubclassProxy,::hyperloop::hyperloop::InterfaceSubclassProxy::bindProxy,::hyperloop::hyperloop::InterfaceSubclassProxy::dispose\r\n[ERROR] ^\r\n[ERROR] make: *** [/Users/cwilliams/repos/hyperloop.next/android/build/generated/obj/local/armeabi-v7a/objs/hyperloop/__/HyperloopBootstrap.o] Error 1\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: appc run based module builds fail due to double-namespaced classes in KrollGeneratedBindings.gperf", "creator": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "environment": null, "closedSprints": [ { "id": 741, "state": "closed", "name": "2016 Sprint 22 SDK", "startDate": "2016-10-22T00:02:29.945Z", "endDate": "2016-11-05T00:02:00.000Z", "completeDate": "2016-11-07T04:38:58.335Z", "originBoardId": 114 }, { "id": 854, "state": "closed", "name": "2017 Sprint 06 SDK", "startDate": "2017-03-12T19:14:58.337Z", "endDate": "2017-03-26T19:14:00.000Z", "completeDate": "2017-03-26T22:01:15.828Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "411407", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "This is still occurring in ti.facebook module builds on our CI system, and I can reproduce locally on 6.0.2.GA. The error stems from pre-pending the module namespace to the proxy class names even when the full proxy name already includes the module namespace in it.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2017-03-13T15:19:01.000+0000", "updated": "2017-03-13T15:19:01.000+0000" }, { "id": "411418", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/8882\r\n6_0_X: https://github.com/appcelerator/titanium_mobile/pull/8883", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2017-03-13T17:20:02.000+0000", "updated": "2017-03-13T17:20:02.000+0000" }, { "id": "412093", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~cwilliams] Can you give me some guidance on how to validate this ticket? Do I just create an app with hyperloop enabled and add ti.facebook module to the project? If you have a suggested test case or demo app, that would help greatly.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-14T16:59:16.000+0000", "updated": "2017-03-14T16:59:16.000+0000" }, { "id": "412485", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~amukherjee] This has nothing to do with Hyperloop. Use this PR to build the Facebook module with {{appc run -p android --build-only}}.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-03-15T11:59:37.000+0000", "updated": "2017-03-15T11:59:37.000+0000" }, { "id": "412601", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Merged PR's waiting for build to close ticket.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-15T18:41:34.000+0000", "updated": "2017-03-15T18:41:34.000+0000" }, { "id": "412612", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with SDK 6.1.0.v20170315131319 & 6.0.3.v20170315114122.\r\n\r\nClosing.\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-15T20:54:36.000+0000", "updated": "2017-03-15T20:54:36.000+0000" }, { "id": "413632", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "I still get those build issues with 6.0.3.RC (6.0.3.v20170317093820) and {{appc run -p android --build-only}}. Building with {{ant clean; ant;}} works.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-03-18T10:26:45.000+0000", "updated": "2017-03-18T10:26:45.000+0000" }, { "id": "413667", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "I'm also still getting the issue in the ti.facebook build. Not sure why.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2017-03-20T15:12:40.000+0000", "updated": "2017-03-20T15:12:40.000+0000" }, { "id": "413849", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "6_0_X: https://github.com/appcelerator/titanium_mobile/pull/8895\r\n\r\nPlease note that master builds *should* work fine, there was a one-line missing change on the 6_0_X fix.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2017-03-20T17:54:55.000+0000", "updated": "2017-03-20T17:54:55.000+0000" }, { "id": "414150", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\nBuilt {{ti.facebook}} module without any issues.\r\n\r\nClosing.\r\n\r\nAppc Studio : 4.8.1.201612050850\r\nSDK Version : 6.0.3.v20170320120738\r\nMac OS Version : 10.12.3\r\nXcode Version : Xcode 8.2.1 Build version 8C1002\r\nAppc CLI AND Appc NPM : {\"NPM\":\"4.2.8\",\"CLI\":\"6.1.0\"}\r\nTi CLI : 5.0.11\r\nAlloy : 1.9.5\r\nNode : v4.6.0\r\n\r\n\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T00:46:09.000+0000", "updated": "2017-03-21T00:46:09.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }