[GHC] #9626: Test command lines munged on Windows when running on msys Python

#9626: Test command lines munged on Windows when running on msys Python -------------------------------------+------------------------------------- Reporter: gintas | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 7.9 Keywords: | Operating System: Windows Architecture: Unknown/Multiple | Type of failure: Building Difficulty: Unknown | GHC failed Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- On Windows, the test runner works fine if run under Windows-native Python, but fails with the msys Python because of the heuristic transformations that msys applies to all binary invocations of non-msys binaries (such as timeout.exe) by msys binaries (such as python). This is relatively easy to sidestep by going through /usr/bin/cmd in msys which sidesteps the argument munging. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9626 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9626: Test command lines munged on Windows when running on msys Python -------------------------------------+------------------------------------- Reporter: gintas | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build | Version: 7.9 System | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: Windows | Difficulty: Unknown Type of failure: Building | Blocked By: GHC failed | Related Tickets: Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by gintas): Example error when run under msys2 Python: =====> gadt2(optasm) 2 of 76 [0, 5, 0] cd . && 'C:/msys64/home/gintas/ghc3/inplace/bin/ghc-stage2.exe' -fforce- recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -o gadt2 gadt2.hs -O -fasm >gadt2.comp.stderr 2>&1 Compile failed (status 32512) errors were: sh: C;C:\msys64\msys64\home\gintas\ghc3\inplace\bin\ghc-stage2.exe: No such file or directory -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9626#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9626: Test command lines munged on Windows when running on msys Python -------------------------------------+------------------------------------- Reporter: gintas | Owner: Type: bug | Status: patch Priority: normal | Milestone: Component: Build | Version: 7.9 System | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: Windows | Difficulty: Unknown Type of failure: Building | Blocked By: GHC failed | Related Tickets: Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by gintas): * status: new => patch -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9626#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9626: Test command lines munged on Windows when running on msys Python -------------------------------------+------------------------------------- Reporter: gintas | Owner: Type: bug | Status: patch Priority: normal | Milestone: Component: Build | Version: 7.9 System | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: Windows | Difficulty: Unknown Type of failure: Building | Blocked By: GHC failed | Related Tickets: Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by gintas): This may have been fixed by a recent release of msys2, but I am not sure. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9626#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9626: Test command lines munged on Windows when running on msys Python
-------------------------------------+-------------------------------------
Reporter: gintas | Owner:
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Build | Version: 7.9
System | Keywords:
Resolution: | Architecture: Unknown/Multiple
Operating System: Windows | Difficulty: Unknown
Type of failure: Building | Blocked By:
GHC failed | Related Tickets:
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Comment (by Austin Seipp

#9626: Test command lines munged on Windows when running on msys Python -------------------------------------+------------------------------------- Reporter: gintas | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.10.1 Component: Build | Version: 7.9 System | Keywords: Resolution: fixed | Architecture: Unknown/Multiple Operating System: Windows | Difficulty: Unknown Type of failure: Building | Blocked By: GHC failed | Related Tickets: Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: patch => closed * resolution: => fixed * milestone: => 7.10.1 Comment: Merged, thanks Gintas! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9626#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9626: Test command lines munged on Windows when running on msys Python -------------------------------------+------------------------------------- Reporter: gintas | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.10.1 Component: Build System | Version: 7.9 Resolution: fixed | Keywords: Operating System: Windows | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by ezyang): See #10441 for this apparently breaking in a recent version of msys2. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9626#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9626: Test command lines munged on Windows when running on msys Python
-------------------------------------+-------------------------------------
Reporter: gintas | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 7.10.1
Component: Build System | Version: 7.9
Resolution: fixed | Keywords:
Operating System: Windows | Architecture:
Type of failure: Building GHC | Unknown/Multiple
failed | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by Thomas Miedema
participants (1)
-
GHC