-
Type:
Bug
-
Resolution: Invalid
-
Priority:
Major
-
Environment:
Windows 7 64-bit, Git for Windows 1.9.4
Not enough help from BuildTools.jar to debug the "You must run this jar through bash (msysgit)" error.
Could some kind of debug log be added to make it easier to debug reason for msg, other than bug the developers?
Also, would be helpful to know the specific checks made by BuildTools to determine that cmd.exe is being used (or that bash is not), so those requirements can be checked if the error occurs.
It appears many people get this error from running compile thru cmd.exe, but when it occurs while trying to java BuildTools thru git bash shell, it appears to be a dumb user error, even though the steps from the BuildTools install instructions were ostensibly followed.
From GunfighterJ in http://www.spigotmc.org/threads/errors-building-spigot-read-this-first.36985/:
"That error occurs in one of 2 ways, you ran the command in normal command prompt, or a compiling step failed. Pastebin the output from running the command."
Running on Win 7 Pro, 64-bit.
Here's a pastebin of my bash steps and the error msg output: http://www.pastebin.ca/2885882
Here's a pastebin of the output from the "set" shell command: http://www.pastebin.ca/2885781
Git for Windows appears to install OK. msysGit installed OK, but I had to copy libiconv-2.dll from C:\msysgit\mingw\bin over to C:\msysgit\bin and C:\msysgit\libexec\git-core, to avoid an error for it after every command.