Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11989] Tooling: Cannot build Titanium SDK from source on Windows

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2012-12-07T00:53:13.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTooling
Labelsn/a
ReporterBenjamin Hatfield
AssigneeChris Barber
Created2012-12-07T00:00:35.000+0000
Updated2017-03-30T20:38:12.000+0000

Description

REPRODUCTION: Follow these directions to install the tools and utilities to build the SDK from source: https://wiki.appcelerator.org/display/guides2/Building+the+Titanium+SDK+From+Source Note: Due to a scons bug, all paths should NOT contain spaces. RESULTS:
C:\Users\Ben\AppData\Local\projects\titanium_mobile>scons
scons: Reading SConscript files ...
WindowsError: [Error 2] The system cannot find the file specified:
  File "C:\Users\Ben\AppData\Local\projects\titanium_mobile\SConstruct", line 6:
    import package
  File "C:\Users\Ben\AppData\Local\projects\titanium_mobile\site_scons\package.py", line 36:
    p = subprocess.Popen([gitCmd,"show","--abbrev-commit","--no-color"],stderr=subprocess.PIPE, stdout=subprocess.PIPE)
  File "C:\Python27\lib\subprocess.py", line 679:
    errread, errwrite)
  File "C:\Python27\lib\subprocess.py", line 896:
    startupinfo)
OTHER INFO: The git command is no longer wrapped with git.cmd and is now a git.exe binary. See commit five months ago: https://github.com/msysgit/msysgit/commit/bcb6b06cca1cd7382055898649f4403c83743f7b#cmd/git.exe Reverting this commit on titanium_mobile fixed the issue: https://github.com/appcelerator/titanium_mobile/commit/79f2d4585f01f2fa9ff67e40088b9a97ec584893

Comments

  1. Chris Barber 2012-12-07

    NOBODY has ever been able to build the Titanium SDK from source on Windows. It's impossible. Once you get past the issue with git, then there's a ton of additional issues.
  2. Chris Barber 2012-12-07

    Not to mention, this ticket will be obsolete when I rewrite scons. Here's the ticket: TIMOB-11807.
  3. Chris Barber 2012-12-07

    Decided to just squash this since we're planning on trashing scons anyways when I write TIMOB-11807.
  4. Dan Peleg 2014-04-18

    This bug still occures
  5. Lee Morris 2017-03-30

    Closing ticket as "Won't Fix". There has been no update for a number of years. If there is any problem, please open a new ticket.

JSON Source