{ "id": "122917", "key": "TIMOB-15820", "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": "15715", "description": "2013 Sprint 25", "name": "2013 Sprint 25", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "15717", "description": "2013 Sprint 25 Core", "name": "2013 Sprint 25 Core", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-12-05T07:21:23.000+0000", "created": "2013-11-26T01:57:08.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_build", "qe-testadded", "triage" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-07-28T19:04:09.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": "In certain terminal sessions, TMP and TMPDIR environment variables are not defined and it falls back to ~/tmp. The problem is that the CLI may request a temp directory and the temp library we use will generate ~/tmp/, but it won't recursively create the \"tmp\" folder.\r\n\r\nThe CLI should just ask the temp library for a temp path, then create the directory using wrench instead of relying on the temp library's mkdir function.", "attachment": [], "flagged": false, "summary": "CLI: Android build fails if temp directory does not exist", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "281443", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "+Bug occurs on:+\nMac OSX 10.9 Mavericks\nCLI: 3.2.0-alpha3\n\n+Test Case:+\n1. Open Finder and view you root harddrive\n2. Rename tmp to tmp2\n3. Create an Android project in the terminal\n4. Build the project\n\n+Terminal throws error:+\n{code}[ERROR] Emulator exited with error: 1\n[ERROR] NAND: could not create temp file for system NAND disk image: No such file or directory{code}", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-26T17:54:30.000+0000", "updated": "2013-11-26T17:54:30.000+0000" }, { "id": "282081", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5061\r\n3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5062", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-03T08:02:59.000+0000", "updated": "2013-12-05T05:25:33.000+0000" }, { "id": "282589", "author": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Verified FIXED using :\r\n\r\nAppc Studio - 3.2.0.201312042306\r\nSDK - 3.2.0.v20131204220843\r\nacs - 1.0.9\r\nAlloy - 1.3.0-beta\r\ntitanium - 3.2.0-beta\r\ntitanium-code-processor - 1.1.0-beta\r\nOS: Mac 10.9\r\nEmulator is launching and I am able to build Android project if temp directory does not exist", "updateAuthor": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-05T11:53:32.000+0000", "updated": "2013-12-05T11:53:32.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }