[GHC] #8738: msys2 fails cabal01 test
GHC
ghc-devs at haskell.org
Wed Feb 5 03:57:12 UTC 2014
#8738: msys2 fails cabal01 test
--------------------------+------------------------------------------------
Reporter: ezyang | Owner:
Type: bug | Status: new
Priority: low | Milestone:
Component: Test | Version: 7.8.1-rc1
Suite | Operating System: Windows
Keywords: | Type of failure: Incorrect result at runtime
Architecture: | Test Case: cabal01
Unknown/Multiple | Blocking:
Difficulty: |
Unknown |
Blocked By: |
Related Tickets: |
--------------------------+------------------------------------------------
msys2 with 64-bit GHC has an odd failure here:
{{{
=====> cabal01(normal) 81 of 3859 [0, 0, 0]
cd ./cabal/cabal01 && $MAKE -s --no-print-directory cabal01 VANILLA
=--enable-library-vanilla PROF=--disable-library-profiling DYN=--disable-
shared </dev/null >cabal01.run.stdout 2>cabal01.run.stderr
Actual stdout output differs from expected:
--- ./cabal/cabal01/cabal01.stdout-mingw32 2014-02-02
04:48:11.233000000 +0000
+++ ./cabal/cabal01/cabal01.run.stdout 2014-02-05 03:09:28.998400000
+0000
@@ -1,9 +1,9 @@
install1:
bin
-test-1.0
+x86_64-windows-ghc-7.9.20140205
install2:
bin
-test-1.0
+x86_64-windows-ghc-7.9.20140205
dist:
build
package.conf.inplace
}}}
This is because setup is selecting this directory as the location for the
installation:
{{{
/inplace/bin/ghc-pkg.exe' --package-
db=local.db'C:/msys64/home/Administrator/ghc
Configuring test-1.0...
Warning: No 'build-type' specified. If you do not need a custom Setup.hs
or
./configure script then use 'build-type: Simple'.
Dependency base >=1.0: using base-4.7.0.0
"C:/msys64/home/Administrator/ghc/inplace/bin/ghc-stage2.exe" "--info"
Using Cabal-1.18.1.3 compiled by ghc-7.9
Using compiler: ghc-7.9.20140205
Using install prefix:
C:/msys64/home/Administrator/ghc/testsuite/tests/cabal/cabal01/install
Binaries installed in:
C:/msys64/home/Administrator/ghc/testsuite/tests/cabal/cabal01/install\bin
Libraries installed in:
C:/msys64/home/Administrator/ghc/testsuite/tests/cabal/cabal01/install\x86_64
-windows-ghc-7.9.20140205\test-1.0
Private binaries installed in:
C:/msys64/home/Administrator/ghc/testsuite/tests/cabal/cabal01/install\test-1.0
Data files installed in:
C:/msys64/home/Administrator/ghc/testsuite/tests/cabal/cabal01/install\x86_64
-windows-ghc-7.9.20140205\test-1.0
Documentation installed in:
C:/msys64/home/Administrator/ghc/testsuite/tests/cabal/cabal01/install\doc\x86_64
-windows-ghc-7.9.20140205\test-1.0
Configuration files installed in:
C:/msys64/home/Administrator/ghc/testsuite/tests/cabal/cabal01/install\etc
Administrator at EZYANG-W2K8 ~/ghc/testsuite/tests/cabal/cabal01
$ ./setup.exe copy -v
directory dist\doc\html\test does exist: False
Installing library in
C:/msys64/home/Administrator/ghc/testsuite/tests/cabal/cabal01/install\x86_64
-windows-ghc-7.9.20140205\test-1.0
Installing executable(s) in
C:/msys64/home/Administrator/ghc/testsuite/tests/cabal/cabal01/install\bin
Warning: The directory
C:/msys64/home/Administrator/ghc/testsuite/tests/cabal/cabal01/install\bin
is
not in the system search path.
creating
C:\msys64\home\Administrator\ghc\testsuite\tests\cabal\cabal01\install\x86_64
-windows-ghc-7.9.20140205\test-1.0
creating
C:\msys64\home\Administrator\ghc\testsuite\tests\cabal\cabal01\install\x86_64
-windows-ghc-7.9.20140205
creating
C:\msys64\home\Administrator\ghc\testsuite\tests\cabal\cabal01\install
creating
C:\msys64\home\Administrator\ghc\testsuite\tests\cabal\cabal01\install\x86_64
-windows-ghc-7.9.20140205
creating
C:\msys64\home\Administrator\ghc\testsuite\tests\cabal\cabal01\install\x86_64
-windows-ghc-7.9.20140205\test-1.0
creating
C:\msys64\home\Administrator\ghc\testsuite\tests\cabal\cabal01\install\x86_64
-windows-ghc-7.9.20140205\test-1.0\B
Installing dist\build\A.hi to
C:/msys64/home/Administrator/ghc/testsuite/tests/cabal/cabal01/install\x86_64
-windows-ghc-7.9.20140205\test-1.0\A.hi
Installing dist\build\B\A.hi to
C:/msys64/home/Administrator/ghc/testsuite/tests/cabal/cabal01/install\x86_64
-windows-ghc-7.9.20140205\test-1.0\B\A.hi
creating
C:\msys64\home\Administrator\ghc\testsuite\tests\cabal\cabal01\install\x86_64
-windows-ghc-7.9.20140205\test-1.0
Installing dist\build\libHStest-1.0.a to
C:/msys64/home/Administrator/ghc/testsuite/tests/cabal/cabal01/install\x86_64
-windows-ghc-7.9.20140205\test-1.0\libHStest-1.0.a
creating
C:\msys64\home\Administrator\ghc\testsuite\tests\cabal\cabal01\install\x86_64
-windows-ghc-7.9.20140205\test-1.0
Installing dist\build\HStest-1.0.o to
C:/msys64/home/Administrator/ghc/testsuite/tests/cabal/cabal01/install\x86_64
-windows-ghc-7.9.20140205\test-1.0\HStest-1.0.o
creating
C:\msys64\home\Administrator\ghc\testsuite\tests\cabal\cabal01\install\bin
Installing executable dist\build\testA\testA.exe to
C:/msys64/home/Administrator/ghc/testsuite/tests/cabal/cabal01/install\bin\testA.exe
C:\msys64\ghc-7.6.3\mingw\bin\strip.exe
C:/msys64/home/Administrator/ghc/testsuite/tests/cabal/cabal01/install\bin\testA.exe
creating
C:\msys64\home\Administrator\ghc\testsuite\tests\cabal\cabal01\install\bin
Installing executable dist\build\testB\testB.exe to
C:/msys64/home/Administrator/ghc/testsuite/tests/cabal/cabal01/install\bin\testB.exe
C:\msys64\ghc-7.6.3\mingw\bin\strip.exe
C:/msys64/home/Administrator/ghc/testsuite/tests/cabal/cabal01/install\bin\testB.exe
}}}
Perhaps a cabal developer can stare at the relevant codepath and figure
out why this directory name is being selected?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8738>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list