-
Notifications
You must be signed in to change notification settings - Fork 113
Build Failure On Debian 10 in Build.Md #5
Comments
Tried again running everything as root; same error |
This is almost certainly due to lack of system RAM. How much do you have. I doubt this will build with less than 8GB of RAM. |
Increased RAM from 2GB to 4GB and it failed again. This time error: lens > copy/register -- While building package libsystemd-journal-1.4.4 using: |
Going to restart with clean environment with 4GB |
Only 2GB @erikd - upping to 4GB first will then try 8GB |
On 4GB and 8GB RAM getting this error. Think its to do with o/s packages and not RAM now. Thoughts? WARNING: Ignoring th-lift-instances's bounds on th-lift (>=0.8); using th-lift-0.7.11. -- While building package libsystemd-journal-1.4.4 using: |
I think it is indeed related to missing packages - see line libsystemd-journal > Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5: The program 'pkg-config' version |
I tried to adapt the build rules for Debian 10 based on what is in the tutorials. Installed the following packages on Debian 10:
git libgmp-dev zlib1g-dev libsystemd-dev ncurses-dev g++ libffi-dev make
All instructions were followed up to and including stack install
A lot of log messages appeared punctuated by the following:
...
...
Cabal > [141 of 220] Compiling Distribution.Simple.Utils
Cabal > [142 of 220] Compiling Distribution.Utils.NubList
Cabal > [143 of 220] Compiling Distribution.Utils.LogProgress
Cabal > [144 of 220] Compiling Distribution.Simple.Program.ResponseFile
Cabal > [145 of 220] Compiling Distribution.Simple.Program.Find
Cabal > [146 of 220] Compiling Distribution.Simple.Program.Types
Cabal > [147 of 220] Compiling Distribution.Simple.Program.Run
Cabal > [148 of 220] Compiling Distribution.Simple.Program.Script
Cabal > [149 of 220] Compiling Distribution.Simple.Program.Hpc
Cabal > [150 of 220] Compiling Distribution.Simple.Glob
Cabal > [151 of 220] Compiling Distribution.Simple.Compiler
Cabal > [152 of 220] Compiling Distribution.Simple.GHC.ImplInfo
Cabal > [153 of 220] Compiling Distribution.Simple.Program.GHC
Cabal > [154 of 220] Compiling Distribution.Simple.Program.Builtin
Cabal > [155 of 220] Compiling Distribution.Simple.Program.Db
Cabal > [156 of 220] Compiling Distribution.Simple.Program
Cabal > [157 of 220] Compiling Distribution.Simple.Program.Strip
Cabal > [158 of 220] Compiling Distribution.Simple.Command
Cabal > [159 of 220] Compiling Distribution.Simple.Setup
Cabal > ghc: internal error: Unable to commit 1048576 bytes of memory
Cabal > (GHC version 8.6.5 for x86_64_unknown_linux)
Cabal > Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
-- While building package Cabal-2.4.1.0 using:
/home/cardano/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.4.0.1 build --ghc-options " -fdiagnostics-color=always"
Process exited with code: ExitFailure (-6)
Expectation was that the build would complete without error.
The text was updated successfully, but these errors were encountered: