"Showing last 10 lines of the build log"

Bardur Arantsson spam at scientician.net
Sun May 11 12:16:24 UTC 2014


On 2014-05-10 18:27, Bardur Arantsson wrote:
> (I'm currently using Cabal 1.18.)
> 
> Working with sandboxes and multiple cabal packages (via --add-source and
> a super-package which requires all the others), I've found that the
> 
>    Showing last 10 lines of the build log
> 
> feature is less useful than one would hope for. When restructuring code
> across multiple packages there's a lot of potential for huge error
> messages, *and* furthermore the most interesting lines in the build log
> are actually towards the *start* og the build log since that's where the
> *first* error shows up -- given the nature of compilers you generally
> always want to fix the first-occuring error first since that may fix
> subsequent errors.
> 
> So, here's a little feature request: Couldn't we just have cabal install
> spit out the full build log in case a build fails? Is there any real
> disadvantage that I'm not seeing?
> 

Lodged as

   https://github.com/haskell/cabal/pull/1856




More information about the cabal-devel mailing list