Bug#795644: git-annex: configure eats all memory

2015-08-18 Thread Joachim Breitner
Hi, Am Montag, den 17.08.2015, 14:42 -0400 schrieb Joey Hess: Joachim Breitner wrote: If we can isolate the problem nicely, I’ll be happy to discuss this with upstream. deboostrap sid in chroot: mount -t proc proc /proc apt-get -y install ghc libghc-ifelse-dev libghc-missingh-dev

Bug#795644: git-annex: configure eats all memory

2015-08-17 Thread Joey Hess
Joachim Breitner wrote: I think I got it: Cabal tries to infer what feature are supported by looking at the dependencies, and their flags, and mumble mumble complex search space. Except while Cabal falls over, cabal-install does not. For example: joey@kite:~/git-annexdpkg-checkbuilddeps

Bug#795644: git-annex: configure eats all memory

2015-08-17 Thread Joachim Breitner
HI, Am Montag, den 17.08.2015, 12:03 -0400 schrieb Joey Hess: So, why does Cabal's dependency resolver perform so much worse than cabal-install's? that is a good question, especially as Cabal has less to do (i.e. only consider installed packages). If we can isolate the problem nicely, I’ll be

Bug#795644: git-annex: configure eats all memory

2015-08-17 Thread Joey Hess
Joachim Breitner wrote: If we can isolate the problem nicely, I’ll be happy to discuss this with upstream. deboostrap sid in chroot: mount -t proc proc /proc apt-get -y install ghc libghc-ifelse-dev libghc-missingh-dev libghc-unix-compat-dev libghc-data-default-dev libghc-exceptions-dev

Bug#795644: git-annex: configure eats all memory

2015-08-17 Thread Joey Hess
Joey Hess wrote: apt-get -y install ghc libghc-ifelse-dev libghc-missingh-dev libghc-unix-compat-dev libghc-data-default-dev libghc-exceptions-dev libghc-http-types-dev libghc-bloomfilter-dev libghc-old-locale-dev libghc-resourcet-dev libghc-monad-control-dev libghc-edit-distance-dev

Bug#795644: git-annex: configure eats all memory

2015-08-16 Thread Joachim Breitner
Hi, I had a quick tired look yesterday, and I observed that it happens on my machine as well (so it is not mips-specific). It happened when just running ghc --make Setup; ./Setup configure directly, it happened with dpkg-buildpackage -d, but not within sbuild, which creates a clean environment.

Bug#795644: git-annex: configure eats all memory

2015-08-16 Thread Joachim Breitner
Hi, Am Sonntag, den 16.08.2015, 09:45 +0200 schrieb Joachim Breitner: I had a quick tired look yesterday, and I observed that it happens on my machine as well (so it is not mips-specific). It happened when just running ghc --make Setup; ./Setup configure directly, it happened with

Bug#795644: git-annex: configure eats all memory

2015-08-16 Thread Joachim Breitner
Hi, Am Sonntag, den 16.08.2015, 12:05 +0200 schrieb Joachim Breitner: I am debugging this by passing +RTS -M300M to Setup configure, to make it abort when it starts eating too much memory. The problem seems to be in Cabal, namely mappend and simplifyCondTree in

Bug#795644: git-annex: configure eats all memory

2015-08-15 Thread Richard Hartmann
Package: git-annex Version: 5.20150812-1 Severity: serious Justification: fails to build from source (but built successfully in the past)