https://bugs.winehq.org/show_bug.cgi?id=52571
Bug ID: 52571 Summary: batch token parsing regression Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: dragonwarriorxtreme@gmail.com Distribution: ---
This is easily demonstrated with vcvars script batch files in Visual Studio 2015, on amd64.
) ) ) ) ) Can't recognize 'x86' as an internal or external command, or batch script. Can't recognize '\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64;C:\windows\system32;C:\win
dows;C:\windows\system32\wbem;C:\windows\system32\WindowsPowershell\v1.0' as an internal or external command, or batch script.
Can't recognize 'x86' as an internal or external command, or batch script. Can't recognize '\Windows Kits\NETFXSDK\4.6.1\include\um;' as an internal or external command, or bat
ch script.
Can't recognize 'x86' as an internal or external command, or batch script. Can't recognize '\Windows Kits\NETFXSDK\4.6.1\lib\um\x86;' as an internal or external command, or bat
ch script.
Can't recognize 'x86' as an internal or external command, or batch script. Can't recognize '\Microsoft Visual Studio 14.0\Team Tools\Performance Tools\x64;C:\Program Files ' as
an internal or external command, or batch script.
Can't recognize 'x86' as an internal or external command, or batch script.
... etc ...
1. Install Visual Studio 2015 (latest Wine-git works around ncrypt limitations) or the v140/v141 build tools using 2017 (already works). What I did personally (was attempting to compile x86 programs on an x64 install before I hit this bug): 2. cd C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_x86 3. wine cmd /K vcvarsamd64_x86.bat
https://bugs.winehq.org/show_bug.cgi?id=52571
dragonwarriorxtreme@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |minor Summary|batch token parsing |vcvarsall.bat in Visual |regression |Studio 2015 is partially | |broken Distribution|--- |Debian Version|unspecified |8.16
https://bugs.winehq.org/show_bug.cgi?id=52571
--- Comment #1 from dragonwarriorxtreme@gmail.com --- With the latest changes to wcmd, vcvarsall now gets through, although there are still some errors that we fail to comply with:
Can't recognize 'x86' as an internal or external command, or batch script. Can't recognize '\Windows Kits\10' as an internal or external command, or batch script. Can't recognize '\Windows Kits\8.1\include\shared;C:\Program Files ' as an internal or external command, or batch script. Can't recognize 'x86' as an internal or external command, or batch script. Can't recognize '\Windows Kits\8.1\include\um;C:\Program Files ' as an internal or external command, or batch script. Can't recognize 'x86' as an internal or external command, or batch script. Can't recognize '\Windows Kits\8.1\include\winrt;' as an internal or external command, or batch script. Can't recognize '\Windows Kits\8.1\lib\winv6.3\um\x86;' as an internal or external command, or batch script.
These are the only errors in the batch file now, using amd64_x86 as the argument.