Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whitespace in build.cmd arguments can cause build failure #8724

Closed
nategraf opened this issue Aug 10, 2017 · 1 comment
Closed

Whitespace in build.cmd arguments can cause build failure #8724

nategraf opened this issue Aug 10, 2017 · 1 comment

Comments

@nategraf
Copy link
Contributor

The command:
build.cmd release x64␣enforcepgo -priority=1
build correctly, but
build.cmd release x64␣␣enforcepgo -priority=1 (Two spaces between x64 and enforcepgo)
will fail with the [1] as it's output.

This was first on this Jenkins build

[1]

Tools are already initialized.
Running: C:\Users\vigraf\coreclr\Tools\dotnetcli\dotnet.exe C:\Users\vigraf\coreclr\Tools\run.exe C:\Users\vigraf\coreclr\config.json build -Project=C:\Users\vigraf\coreclr\bin\obj\Windows_NT.x64.Release\install.vcxproj -MsBuildLog=/flp:Verbosity=normal;LogFile="C:\Users\vigraf\coreclr\bin\Logs\CoreCLR_Windows_NT__x64__Release.log" -MsBuildWrn=/flp1:WarningsOnly;LogFile="C:\Users\vigraf\coreclr\bin\Logs\CoreCLR_Windows_NT__x64__Release.wrn" -MsBuildErr=/flp2:ErrorsOnly;LogFile="C:\Users\vigraf\coreclr\bin\Logs\CoreCLR_Windows_NT__x64__Release.err" -configuration=Release  -BuildOS=Windows_NT -BuildType=Release -BuildArch=x64  release x64 enforcepgo  skiptests -priority=1
Error: Parameter not recognized: release.
Our dev workflow has changed! Use -? for help in the new options we have and how to pass parameters now.
BUILD: Error: native component build failed. Refer to the build log files for details:
    "C:\Users\vigraf\coreclr\bin\Logs\CoreCLR_Windows_NT__x64__Release.log"
    "C:\Users\vigraf\coreclr\bin\Logs\CoreCLR_Windows_NT__x64__Release.wrn"
    "C:\Users\vigraf\coreclr\bin\Logs\CoreCLR_Windows_NT__x64__Release.err"

Connected: 13275

@nategraf
Copy link
Contributor Author

It is an issue in build.cmd Jose and Daniel helped me track it down, and dotnet/coreclr#13320 is a fix

@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant