ponylang/corral

Corral reports error from primary compilation step

btab opened this issue · 10 comments

btab commented

On Windows (git bash).

ponyc -o build/release semver works fine and results in a 0 exit code

corral run -- ponyc -o build/release semver reports...

run: ponyc -o build/release semver
  exit: Exited(-1)
  out:
  err:
make: *** [build/release/semver.exe] Error -1
$ ponyc -v
0.35.0 [release]
Compiled with: LLVM 9.0.1 -- MSVC-19.25.28612.0-x64 1925

$ corral version
version: 0.3.4-e152293

Can you move this issue to the corral repository, i am 100% sure this is a corral issue.

I'm transferring this to corral.

@btab can you please report your PATH as being present in your git bash? Can you also report the path environment variable you can get from windows?

also can you try the same on cmd or powershell?

Seems to be fixed by ponylang/ponyc#3559

btab commented

For completeness, @mfelsche...

From both Powershell and cmd I get the exact same result.

The PATH has a bunch of personal stuff on it so I won't share it but it's the same in cmd and git bash aside from the relevant path substitution. So, for example, in git bash...

/c/Users/andre/src/corral/build/release

...vs, the following in cmd...

C:\Users\andre\src\corral\build\release

@btab Yeah, this is a bug recently introduced in the pony standard library that impacts only on Windows.

btab commented

Indeed. I'll pull it down once the PR succeeds and verify the fix locally as well.

Fix is now on ponyc master.

btab commented

Latest corral + latest ponyc did fix the issue for me.