{"action":"created","issue":{"url":"https://api.github.com/repos/gittup/tup/issues/219","labels_url":"https://api.github.com/repos/gittup/tup/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/gittup/tup/issues/219/comments","events_url":"https://api.github.com/repos/gittup/tup/issues/219/events","html_url":"https://github.com/gittup/tup/issues/219","id":56444386,"number":219,"title":"Hello World fails on Windows","user":{"login":"marler8997","id":304904,"avatar_url":"https://avatars.githubusercontent.com/u/304904?v=3","gravatar_id":"","url":"https://api.github.com/users/marler8997","html_url":"https://github.com/marler8997","followers_url":"https://api.github.com/users/marler8997/followers","following_url":"https://api.github.com/users/marler8997/following{/other_user}","gists_url":"https://api.github.com/users/marler8997/gists{/gist_id}","starred_url":"https://api.github.com/users/marler8997/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marler8997/subscriptions","organizations_url":"https://api.github.com/users/marler8997/orgs","repos_url":"https://api.github.com/users/marler8997/repos","events_url":"https://api.github.com/users/marler8997/events{/privacy}","received_events_url":"https://api.github.com/users/marler8997/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-03T22:01:09Z","updated_at":"2015-02-06T21:49:49Z","closed_at":null,"body":"tup fails saying that is was unable to save dependencies after invoking a compiler on windows to create a .exe file.\r\n\r\nOn Windows (tup v0.7.3-18-g8e63ea4)\r\n```\r\ndir\r\n    test.c\r\n    Tupfile\r\n```\r\ntest.c\r\n----\r\n```C\r\n#include <stdio.h>\r\nint main(int argc, char* argv[])\r\n{\r\n  printf(\"Hello, World\\n\");\r\n  return 0;\r\n}\r\n```\r\nTupfile\r\n----\r\n```\r\n: test.c |> cl /c test.c |> test.obj\r\n: test.obj |> cl test.obj |> test.exe\r\n```\r\n\r\n```batch\r\nREM run from Visual Studio Command prompt (to have the \"cl\" program in the path)\r\n> tup init\r\n> tup upd\r\n[ tup ] [0.007s] Scanning filesystem...\r\n[ tup ] [0.020s] Reading in new environment variables...\r\n[ tup ] [0.030s] Parsing Tupfiles...\r\n 1) [0.004s] .\r\n [ ] 100%\r\n[ tup ] [0.039s] No files to delete.\r\n[ tup ] [0.041s] Generating .gitignore files...\r\n[ tup ] [0.049s] Executing Commands...\r\n 1) [0.061s] cl /c test.c\r\nMicrosoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86\r\nCopyright (C) Microsoft Corporation.  All rights reserved.\r\n\r\ntest.c\r\n* 2) cl test.obj\r\nMicrosoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86\r\nCopyright (C) Microsoft Corporation.  All rights reserved.\r\n\r\nMicrosoft (R) Incremental Linker Version 10.00.40219.01\r\nCopyright (C) Microsoft Corporation.  All rights reserved.\r\n\r\n/out:test.exe\r\ntest.obj\r\nUnable to retrieve WOW64 info\r\n *** tup errors ***\r\ntup error: Expected to write to file 'test.exe' from cmd 24 but didn't\r\n *** Command ID=24 ran successfully, but tup failed to save the dependencies.\r\n [  ] 100%\r\n *** tup: 1 job failed.\r\n```\r\n\r\nThe `test.exe` program was created but tup still shows an error.  I just got started with tup so I don't know what's going on.  Is this a bug or am I doing something wrong?\r\n\r\nNote: same error when using dmd (The D Language compiler)."},"comment":{"url":"https://api.github.com/repos/gittup/tup/issues/comments/73318969","html_url":"https://github.com/gittup/tup/issues/219#issuecomment-73318969","issue_url":"https://api.github.com/repos/gittup/tup/issues/219","id":73318969,"user":{"login":"KamilSzczygiel","id":8592894,"avatar_url":"https://avatars.githubusercontent.com/u/8592894?v=3","gravatar_id":"","url":"https://api.github.com/users/KamilSzczygiel","html_url":"https://github.com/KamilSzczygiel","followers_url":"https://api.github.com/users/KamilSzczygiel/followers","following_url":"https://api.github.com/users/KamilSzczygiel/following{/other_user}","gists_url":"https://api.github.com/users/KamilSzczygiel/gists{/gist_id}","starred_url":"https://api.github.com/users/KamilSzczygiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KamilSzczygiel/subscriptions","organizations_url":"https://api.github.com/users/KamilSzczygiel/orgs","repos_url":"https://api.github.com/users/KamilSzczygiel/repos","events_url":"https://api.github.com/users/KamilSzczygiel/events{/privacy}","received_events_url":"https://api.github.com/users/KamilSzczygiel/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T21:49:49Z","updated_at":"2015-02-06T21:49:49Z","body":"Try an older version of tup - I'm not on Windows right now, but it all worked flawlessly some time ago. Maybe recent addition of 64-bit support for Windows broke something? Try a version from around September - I was using it myself and it worked fine."}}