Skip to content

Instantly share code, notes, and snippets.

@robinp
Created January 15, 2017 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robinp/184fdbe1a4d199601c444439e7c6464e to your computer and use it in GitHub Desktop.
Save robinp/184fdbe1a4d199601c444439e7c6464e to your computer and use it in GitHub Desktop.
Free error when building x
Version 1.3.2 x86_64 hpack-0.15.0
2017-01-15 13:19:20.527963: [debug] Checking for project config at: /tmp/test/stack.yaml
@(Stack/Config.hs:863:9)
2017-01-15 13:19:20.528435: [debug] Loading project config file stack.yaml
@(Stack/Config.hs:881:13)
2017-01-15 13:19:20.536204: [debug] Trying to decode /home/ron/.stack/build-plan-cache/x86_64-linux/lts-6.27.cache
@(Data/Store/VersionTagged.hs:68:5)
2017-01-15 13:19:20.565045: [debug] Success decoding /home/ron/.stack/build-plan-cache/x86_64-linux/lts-6.27.cache
@(Data/Store/VersionTagged.hs:72:13)
2017-01-15 13:19:20.573642: [debug] Run process: /sbin/ldconfig -p
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.575789: [debug] Process finished in 1ms: /sbin/ldconfig -p
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.576219: [debug] Run process: /usr/bin/gcc -v
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.577632: [debug] Process finished in 1ms: /usr/bin/gcc -v
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.577794: [debug] PIE enabled
@(Stack/Setup.hs:574:17)
2017-01-15 13:19:20.579395: [debug] Found shared library libtinfo.so.5 in /usr/lib
@(Stack/Setup.hs:563:38)
2017-01-15 13:19:20.579609: [debug] Did not find shared library libtinfo.so.6
@(Stack/Setup.hs:564:38)
2017-01-15 13:19:20.579737: [debug] Found shared library libncursesw.so.6 in 'ldconfig -p' output
@(Stack/Setup.hs:550:29)
2017-01-15 13:19:20.579879: [debug] Found shared library libgmp.so.10 in 'ldconfig -p' output
@(Stack/Setup.hs:550:29)
2017-01-15 13:19:20.580059: [debug] Did not find shared library libgmp.so.3
@(Stack/Setup.hs:564:38)
2017-01-15 13:19:20.580285: [debug] Using standard GHC build
@(Stack/Setup.hs:597:9)
2017-01-15 13:19:20.580953: [debug] Getting Cabal package version
@(Stack/GhcPkg.hs:189:5)
2017-01-15 13:19:20.581171: [debug] Run process: /home/ron/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.581717: [debug] Getting global package database location
@(Stack/GhcPkg.hs:55:5)2017-01-15 13:19:20.580943: [debug] Asking GHC for its version
@(Stack/Setup/Installed.hs:103:13)
2017-01-15 13:19:20.585684: [debug] Run process: /home/ron/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Read.hs:306:3)2017-01-15 13:19:20.585866: [debug] Run process: /home/ron/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc --numeric-version
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.604782: [debug] Process finished in 23ms: /home/ron/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.612791: [debug] Process finished in 26ms: /home/ron/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc --numeric-version
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.614226: [debug] Process finished in 28ms: /home/ron/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.614421: [debug] Resolving package entries
@(Stack/Setup.hs:252:5)
2017-01-15 13:19:20.614793: [debug] Run process: /home/ron/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg init /tmp/test/.stack-work/install/x86_64-linux/lts-6.27/7.10.3/pkgdb/
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.626400: [debug] Process finished in 11ms: /home/ron/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg init /tmp/test/.stack-work/install/x86_64-linux/lts-6.27/7.10.3/pkgdb/
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.626687: [debug] Starting to execute command inside EnvConfig
@(Stack/Runners.hs:163:18)
2017-01-15 13:19:20.626754: [debug] Parsing the cabal files of the local packages
@(Stack/Build/Source.hs:298:5)
2017-01-15 13:19:20.627465: [debug] Parsing the targets
@(Stack/Build/Source.hs:235:5)
2017-01-15 13:19:20.627694: [debug] Start: getPackageFiles /tmp/test/x/x.cabal
@(Stack/Package.hs:250:21)
2017-01-15 13:19:20.628222: [debug] Finished in 0ms: getPackageFiles /tmp/test/x/x.cabal
@(Stack/Package.hs:250:21)
2017-01-15 13:19:20.628386: [debug] Finding out which packages are already installed
@(Stack/Build/Installed.hs:68:5)
2017-01-15 13:19:20.628651: [debug] Run process: /home/ron/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.660265: [debug] Process finished in 31ms: /home/ron/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.685640: [debug] Ignoring package haskeline due to wanting version 0.7.2.3 instead of 0.7.2.1
@(Stack/Build/Installed.hs:191:5)
2017-01-15 13:19:20.685865: [debug] Ignoring package terminfo due to wanting version 0.4.0.2 instead of 0.4.0.1
@(Stack/Build/Installed.hs:191:5)
2017-01-15 13:19:20.686826: [debug] Ignoring package Cabal due to wanting version 1.22.8.0 instead of 1.22.5.0
@(Stack/Build/Installed.hs:191:5)
2017-01-15 13:19:20.687165: [debug] Run process: /home/ron/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg --user --no-user-package-db --package-db /home/ron/.stack/snapshots/x86_64-linux/lts-6.27/7.10.3/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.810386: [debug] Process finished in 123ms: /home/ron/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg --user --no-user-package-db --package-db /home/ron/.stack/snapshots/x86_64-linux/lts-6.27/7.10.3/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.812107: [debug] Run process: /home/ron/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg --user --no-user-package-db --package-db /tmp/test/.stack-work/install/x86_64-linux/lts-6.27/7.10.3/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.832836: [debug] Process finished in 20ms: /home/ron/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg --user --no-user-package-db --package-db /tmp/test/.stack-work/install/x86_64-linux/lts-6.27/7.10.3/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.833356: [debug] Constructing the build plan
@(Stack/Build/ConstructPlan.hs:159:5)
2017-01-15 13:19:20.836135: [debug] Checking if we are going to build multiple executables with the same name
@(Stack/Build.hs:196:5)
2017-01-15 13:19:20.836281: [debug] Executing the build plan
@(Stack/Build/Execute.hs:454:5)
2017-01-15 13:19:20.837045: [debug] Getting global package database location
@(Stack/GhcPkg.hs:55:5)
2017-01-15 13:19:20.837121: [debug] Run process: /home/ron/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.857253: [debug] Process finished in 20ms: /home/ron/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.858162: [debug] Encoding /tmp/test/x/.stack-work/dist/x86_64-linux/Cabal-1.22.5.0/stack-build-cache
@(Data/Store/VersionTagged.hs:51:5)
2017-01-15 13:19:20.858434: [debug] Finished writing /tmp/test/x/.stack-work/dist/x86_64-linux/Cabal-1.22.5.0/stack-build-cache
@(Data/Store/VersionTagged.hs:55:5)
2017-01-15 13:19:20.858501: [info] x-0.1.0.0: build (lib)
@(Stack/Build/Execute.hs:826:23)
2017-01-15 13:19:20.858672: [debug] Run process: /home/ron/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_1.22.5.0_ghc-7.10.3 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.22.5.0 build lib:x --ghc-options " -ddump-hi -ddump-to-file"
@(System/Process/Read.hs:306:3)
2017-01-15 13:19:20.898025: [info] Preprocessing library x-0.1.0.0...
@(Stack/Build/Execute.hs:1013:67)
2017-01-15 13:19:20.971815: [info] [1 of 1] Compiling Lib ( src/Lib.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Lib.o )
@(Stack/Build/Execute.hs:1013:67)
2017-01-15 13:19:21.189262: [warn] src/tcmalloc.cc:283] Attempt to free invalid pointer 0x1d97540
@(Stack/Build/Execute.hs:1013:67)
2017-01-15 13:19:21.344372: [debug] Start: getPackageFiles /tmp/test/x/x.cabal
@(Stack/Package.hs:250:21)
2017-01-15 13:19:21.345232: [debug] Finished in 0ms: getPackageFiles /tmp/test/x/x.cabal
@(Stack/Package.hs:250:21)
2017-01-15 13:19:21.345594: [debug] Encoding /tmp/test/x/.stack-work/dist/x86_64-linux/Cabal-1.22.5.0/stack-build-cache
@(Data/Store/VersionTagged.hs:51:5)
2017-01-15 13:19:21.345808: [debug] Finished writing /tmp/test/x/.stack-work/dist/x86_64-linux/Cabal-1.22.5.0/stack-build-cache
@(Data/Store/VersionTagged.hs:55:5)
-- While building package x-0.1.0.0 using:
/home/ron/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_1.22.5.0_ghc-7.10.3 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.22.5.0 build lib:x --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure (-6)
{-# LANGUAGE QuasiQuotes #-}
module Lib where
import NeatInterpolation
renderXmlRequest = [text|apple|]
# resolver: lts-7.15
resolver: lts-6.27
packages:
- 'x'
dump-logs: all
name: x
version: 0.1.0.0
synopsis: Initial project template from stack
description: Please see README.md
homepage: https://github.com/robinp/test#readme
license: BSD3
license-file: LICENSE
author: Robin Palotai
maintainer: palotai.robin@gmail.com
copyright: 2017 Robin Palotai
category: Web
build-type: Simple
cabal-version: >=1.10
library
hs-source-dirs: src
exposed-modules: Lib
build-depends: base >= 4.7 && < 5
, leveldb-haskell
, neat-interpolation
, text-format
default-language: Haskell2010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment