Skip to content

Instantly share code, notes, and snippets.

@23Skidoo
Created February 2, 2017 12:57
Show Gist options
  • Save 23Skidoo/01d15a0c3c1f0582c5b6da57b1c815e6 to your computer and use it in GitHub Desktop.
Save 23Skidoo/01d15a0c3c1f0582c5b6da57b1c815e6 to your computer and use it in GitHub Desktop.
Failing cabal-install integration test
..\cabal test integration-tests --show-details=streaming --test-option=--pattern=!exec --test-option=--hide-successes
Preprocessing test suite 'integration-tests' for cabal-install-1.25.0.0...
Generating manual page dist\build\cabal/cabal.1 ...
Running 1 test suites...
Test suite integration-tests: RUNNING...
Integration Tests
internal-libs
new_build.sh (ignoring stdout+stderr): FAIL (4.58s)
Unexpected exit status.
Exit status: ExitFailure 1
Working directory: C:\Users\appveyor\AppData\Local\Temp\cabal-install-test-1752
<stdout> was:
Resolving dependencies...
In order, the following will be built (use -v for more details):
- p-0.1.0.0 (lib:q) (first run)
- p-0.1.0.0 (exe:foo) (first run)
- p-0.1.0.0 (lib) (first run)
Configuring component lib:q from p-0.1.0.0...
Preprocessing library p-0.1.0.0...
[1 of 1] Compiling Q ( q\Q.hs, C:\Users\appveyor\AppData\Local\Temp\cabal-install-test-1752\dist-newstyle\build\x86_64-windows\ghc-8.0.1\p-0.1.0.0\c\q\build\q\Q.o )
Configuring component exe:foo from p-0.1.0.0...
Configuring component lib from p-0.1.0.0...
Preprocessing library p-0.1.0.0...
Preprocessing executable 'foo' for p-0.1.0.0...
[1 of 1] Compiling P ( p\P.hs, C:\Users\appveyor\AppData\Local\Temp\cabal-install-test-1752\dist-newstyle\build\x86_64-windows\ghc-8.0.1\p-0.1.0.0\build\P.o )
[1 of 1] Compiling Main ( Foo.hs, C:\Users\appveyor\AppData\Local\Temp\cabal-install-test-1752\dist-newstyle\build\x86_64-windows\ghc-8.0.1\p-0.1.0.0\c\foo\build\foo\foo-tmp\Main.o )
Linking C:\Users\appveyor\AppData\Local\Temp\cabal-install-test-1752\dist-newstyle\build\x86_64-windows\ghc-8.0.1\p-0.1.0.0\c\foo\build\foo\foo.exe ...
<stderr> was:
Warning: Packages using 'cabal-version: >= 1.10' must specify the
'default-language' field for each component (e.g. Haskell98 or Haskell2010).
If a component uses different languages in different modules then list the
other ones in the 'other-languages' field.
Warning: Packages using 'cabal-version: >= 1.10' must specify the
'default-language' field for each component (e.g. Haskell98 or Haskell2010).
If a component uses different languages in different modules then list the
other ones in the 'other-languages' field.
Warning: Packages using 'cabal-version: >= 1.10' must specify the
'default-language' field for each component (e.g. Haskell98 or Haskell2010).
If a component uses different languages in different modules then list the
other ones in the 'other-languages' field.
cabal.exe: Failed to build p-0.1.0.0. The failure occurred during the final
install step. The exception was:
user error
('C:\ProgramData\chocolatey\lib\ghc\tools\ghc-8.0.1\bin\ghc-pkg.exe' exited
with an error:
p-0.1.0.0: Warning: Unrecognized field abi-depends on line 21
p-0.1.0.0: Warning: Unrecognized field indefinite on line 9
p-0.1.0.0: Warning: haddock-interfaces:
C:\Users\appveyor\AppData\Local\Temp\cabal-install-test-1752\dist-newstyle\build\x86_64-windows\ghc-8.0.1\p-0.1.0.0\doc\html\p\p.haddock
doesn't exist or isn't a file
p-0.1.0.0: Warning: haddock-html:
C:\Users\appveyor\AppData\Local\Temp\cabal-install-test-1752\dist-newstyle\build\x86_64-windows\ghc-8.0.1\p-0.1.0.0\doc\html\p
doesn't exist or isn't a directory
ghc-pkg.exe:
C:\Users\appveyor\AppData\Local\Temp\cabal-install-test-1752\dist-newstyle\packagedb\ghc-8.0.1\package.cache:
you don't have permission to modify this file
)
1 out of 33 tests failed (80.66s)
Test suite integration-tests: FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment