Ticket #745 (new defect)

Opened 3 years ago

Last modified 15 months ago

cabal-install sometimes gives empty build-log and no build-summary

Reported by: igloo Owned by:
Priority: normal Milestone: cabal-install-0.16
Component: cabal-install tool Version: HEAD
Severity: normal Keywords:
Cc: Difficulty: unknown
GHC Version: Platform:

Description

Building NaturalSort-0.2.1 with GHC 7.0.1 RC 1:

$ cabal install --build-summary=log.bs --build-log=log.bl
Resolving dependencies...
Warning: NaturalSort.cabal: This package requires Cabal version: >=1.6 && <1.9
cabal: Error: some packages failed to install:
NaturalSort-0.2.1 failed during the configure step. The exception was:
user error (The package requires Cabal library version -any && >=1.6 && <1.9
but no suitable version is installed.)
$ cat log.bs
cat: log.bs: No such file or directory
$ cat log.bl
$ 

I would like the build log to contain the error.

I have

$ cabal --version
cabal-install version 0.9.2
using version 1.9.2 of the Cabal library 

but this is not a released version; if nothing else, I have the #697 patch applied.

Change History

Changed 15 months ago by kosmikus

  • milestone set to cabal-install-0.16
Note: See TracTickets for help on using tickets.