<div dir="ltr">Hi,<div><br></div><div> This is a box that used to work well. But today, I found that I could not install anything by cabal.</div><div><br></div><div> I removed ~/.ghc and ~/.cabal to start all userspace thing from the beginning.</div>
<div><br></div><div> I used Setup.hs to install Cabal, and bootstrap.sh to install cabal-install. All succeeded.</div><div><br></div><div> Then I tried to install data-default-class, I got following. Notice the ld fail near the end.</div>
<div><br></div><div> Versions: OS: Ubuntu Precise; ghc 7.8.2; Cabal/cabal-install: latest from github.</div><div><br></div><div><div>% cabal install -v3 data-default-class</div><div>Searching for ghc in path.</div><div>Found ghc at /usr/local/bin/ghc</div>
<div>("/usr/local/bin/ghc",["--numeric-version"])</div><div>/usr/local/bin/ghc is version 7.8.2</div><div>looking for tool ghc-pkg near compiler in /usr/local/bin</div><div>found ghc-pkg in /usr/local/bin/ghc-pkg</div>
<div>("/usr/local/bin/ghc-pkg",["--version"])</div><div>/usr/local/bin/ghc-pkg is version 7.8.2</div><div>("/usr/local/bin/ghc",["--supported-languages"])</div><div>("/usr/local/bin/ghc",["--info"])</div>
<div>Reading installed packages...</div><div>("/usr/local/bin/ghc-pkg",["dump","--global","-v0"])</div><div>("/usr/local/bin/ghc-pkg",["dump","--user","-v0"])</div>
<div>("/usr/local/bin/ghc",["--print-libdir"])</div><div>Reading available packages...</div><div>Warning: The package list for the local repo</div><div>'/home/local/ANT/shida/.cabal/packages/cabal-src/' is missing. The repo is</div>
<div>invalid.</div><div>Resolving dependencies...</div><div>targets: data-default-class</div><div>constraints: </div><div> base installed</div><div> ghc-prim installed</div><div> integer-gmp installed</div><div> stanzas data-default-class </div>
<div>preferences: </div><div>strategy: PreferAllLatest</div><div>[__0] trying: data-default-class-0.0.1 (user goal)</div><div>[__1] trying: base-4.7.0.0/installed-018... (dependency of data-default-class-0.0.1)</div><div>
[__2] trying: rts-1.0/installedbuil... (dependency of base-4.7.0.0/installed-018...)</div><div>[__3] trying: integer-gmp-0.5.1.0/installed-dc4... (dependency of base-4.7.0.0/installed-018...)</div><div>[__4] next goal: ghc-prim (dependency of base-4.7.0.0/installed-018...)</div>
<div>[__4] trying: ghc-prim-0.3.1.0/installed-948...</div><div>[__5] done</div><div>Ready to install data-default-class-0.0.1</div><div>Waiting for install task to finish...</div><div>Extracting</div><div>/home/local/ANT/shida/.cabal/packages/<a href="http://hackage.haskell.org/data-default-class/0.0.1/data-default-class-0.0.1.tar.gz">hackage.haskell.org/data-default-class/0.0.1/data-default-class-0.0.1.tar.gz</a></div>
<div>to /tmp/data-default-class-0.0.1-19534...</div><div>Updating data-default-class.cabal with the latest revision from the index.</div><div>Using internal setup method with build-type Simple and args:</div><div>["configure","--verbose=3","--ghc","--prefix=/home/local/ANT/shida/.cabal","--bindir=/home/local/ANT/shida/.cabal/bin","--libdir=/home/local/ANT/shida/.cabal/lib","--libsubdir=x86_64-linux-ghc-7.8.2/data-default-class-0.0.1","--libexecdir=/home/local/ANT/shida/.cabal/libexec","--datadir=/home/local/ANT/shida/.cabal/share","--datasubdir=x86_64-linux-ghc-7.8.2/data-default-class-0.0.1","--docdir=/home/local/ANT/shida/.cabal/share/doc/x86_64-linux-ghc-7.8.2/data-default-class-0.0.1","--htmldir=/home/local/ANT/shida/.cabal/share/doc/x86_64-linux-ghc-7.8.2/data-default-class-0.0.1/html","--haddockdir=/home/local/ANT/shida/.cabal/share/doc/x86_64-linux-ghc-7.8.2/data-default-class-0.0.1/html","--sysconfdir=/home/local/ANT/shida/.cabal/etc","--enable-split-objs","--user","--dependency=base=base-4.7.0.0-018311399e3b6350d5be3a16b144df9b","--disable-tests","--exact-configuration","--disable-benchmarks"]</div>
<div>Configuring data-default-class-0.0.1...</div><div>creating dist</div><div>Searching for ghc in path.</div><div>Found ghc at /usr/local/bin/ghc</div><div>("/usr/local/bin/ghc",["--numeric-version"])</div>
<div>/usr/local/bin/ghc is version 7.8.2</div><div>looking for tool ghc-pkg near compiler in /usr/local/bin</div><div>found ghc-pkg in /usr/local/bin/ghc-pkg</div><div>("/usr/local/bin/ghc-pkg",["--version"])</div>
<div>/usr/local/bin/ghc-pkg is version 7.8.2</div><div>("/usr/local/bin/ghc",["--supported-languages"])</div><div>("/usr/local/bin/ghc",["--info"])</div><div>Reading installed packages...</div>
<div>("/usr/local/bin/ghc-pkg",["dump","--global","-v0"])</div><div>("/usr/local/bin/ghc-pkg",["dump","--user","-v0"])</div><div>("/usr/local/bin/ghc",["--print-libdir"])</div>
<div>Dependency base ==<a href="http://4.7.0.0">4.7.0.0</a>: using base-4.7.0.0</div><div>Searching for alex in path.</div><div>Cannot find alex on the path</div><div>Searching for ar in path.</div><div>Found ar at /usr/bin/ar</div>
<div>Searching for c2hs in path.</div><div>Cannot find c2hs on the path</div><div>Searching for cpphs in path.</div><div>Cannot find cpphs on the path</div><div>Searching for ffihugs in path.</div><div>Cannot find ffihugs on the path</div>
<div>Searching for gcc in path.</div><div>Found gcc at /usr/bin/gcc</div><div>("/usr/bin/gcc",["-dumpversion"])</div><div>/usr/bin/gcc is version 4.6</div><div>Searching for greencard in path.</div><div>
Cannot find greencard on the path</div><div>Searching for haddock in path.</div><div>Found haddock at /usr/local/bin/haddock</div><div>("/usr/local/bin/haddock",["--version"])</div><div>/usr/local/bin/haddock is version 2.14.2</div>
<div>Searching for happy in path.</div><div>Cannot find happy on the path</div><div>Searching for hmake in path.</div><div>Cannot find hmake on the path</div><div>Searching for hpc in path.</div><div>Found hpc at /usr/local/bin/hpc</div>
<div>("/usr/local/bin/hpc",["version"])</div><div>/usr/local/bin/hpc is version 0.67</div><div>looking for tool hsc2hs near compiler in /usr/local/bin</div><div>found hsc2hs in /usr/local/bin/hsc2hs</div>
<div>("/usr/local/bin/hsc2hs",["--version"])</div><div>/usr/local/bin/hsc2hs is version 0.67</div><div>Searching for HsColour in path.</div><div>Cannot find HsColour on the path</div><div>Searching for hugs in path.</div>
<div>Cannot find hugs on the path</div><div>Searching for jhc in path.</div><div>Cannot find jhc on the path</div><div>Searching for ld in path.</div><div>Found ld at /usr/bin/ld</div><div>Environment: [("COLORFGBG","12;default;8"),("COLORTERM","rxvt-xpm"),("DBUS_SESSION_BUS_ADDRESS","unix:abstract=/tmp/dbus-5El0U8sCi8,guid=09290436e309789f9814dffc00000406"),("DEFAULTS_PATH","/usr/share/gconf/xmonad.default.path"),("DESKTOP_SESSION","xmonad"),("DISPLAY","<a href="http://10.69.208.185:0">10.69.208.185:0</a>"),("EDITOR","vim"),("GDMSESSION","xmonad"),("GPG_AGENT_INFO","/tmp/gpg-KKH3WT/S.gpg-agent:5467:1"),("GREP_COLOR","1;32"),("GREP_OPTIONS","--color=auto --exclude-dir=.cvs --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn"),("GTK_IM_MODULE","xim"),("HOME","/home/local/ANT/shida"),("LANG","C.UTF-8"),("LC_ALL","C.UTF-8"),("LC_CTYPE","C.UTF-8"),("LESS","-R"),("LOGNAME","shida"),("LSCOLORS","Gxfxcxdxbxegedabagacad"),("MANDATORY_PATH","/usr/share/gconf/xmonad.mandatory.path"),("NODE_PATH","/usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript"),("OLDPWD","/home/local/ANT/shida/src/git/cabal/cabal-install"),("PAGER","less"),("PATH","/usr/local/heroku/bin:.:/home/local/ANT/shida/.cabal/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/lightdm/lightdm:/usr/local/bin:/usr/bin:/bin"),("PULSE_SERVER","10.69.208.185"),("PWD","/home/local/ANT/shida"),("QT_IM_MODULE","xim"),("SHELL","/usr/bin/zsh"),("SHLVL","1"),("SSH_AGENT_PID","14748"),("SSH_AUTH_SOCK","/tmp/ssh-NeRVrYb14746/agent.14746"),("TERM","rxvt-unicode-256color"),("UBUNTU_MENUPROXY","libappmenu.so"),("USER","shida"),("VISUAL","vim"),("WINDOWID","14683293"),("XAUTHORITY","/home/local/ANT/shida/.Xauthority"),("XDG_CONFIG_DIRS","/etc/xdg/xdg-xmonad:/etc/xdg"),("XDG_DATA_DIRS","/usr/share/xmonad:/usr/local/share/:/usr/share/"),("XDG_SEAT_PATH","/org/freedesktop/DisplayManager/Seat1"),("XDG_SESSION_COOKIE","05ca21f0ee7e6a10e18260ac00001d83-1402975930.974487-843139146"),("XDG_SESSION_PATH","/org/freedesktop/DisplayManager/Session0"),("XMODIFIERS","@im=ibus"),("ZSH","/home/local/ANT/shida/.oh-my-zsh"),("_","/home/local/ANT/shida/.cabal/bin/cabal")]</div>
<div>("/usr/local/bin/ghc",["-c","/tmp/19534.c","-o","/tmp/19534.o"])</div><div>("/usr/bin/ld",["-x","-r","/tmp/19534.o","-o","/tmp/19535.o"])</div>
<div>Searching for lhc in path.</div><div>Cannot find lhc on the path</div><div>Searching for lhc-pkg in path.</div><div>Cannot find lhc-pkg on the path</div><div>Searching for nhc98 in path.</div><div>Cannot find nhc98 on the path</div>
<div>Searching for pkg-config in path.</div><div>Found pkg-config at /usr/bin/pkg-config</div><div>("/usr/bin/pkg-config",["--version"])</div><div>/usr/bin/pkg-config is version 0.26</div><div>Searching for strip in path.</div>
<div>Found strip at /usr/bin/strip</div><div>Searching for tar in path.</div><div>Found tar at /bin/tar</div><div>Searching for uhc in path.</div><div>Cannot find uhc on the path</div><div>Using Cabal-1.21.0.0 compiled by ghc-7.8</div>
<div>Using compiler: ghc-7.8.2</div><div>Using install prefix: /home/local/ANT/shida/.cabal</div><div>Binaries installed in: /home/local/ANT/shida/.cabal/bin</div><div>Libraries installed in:</div><div>/home/local/ANT/shida/.cabal/lib/x86_64-linux-ghc-7.8.2/data-default-class-0.0.1</div>
<div>Private binaries installed in: /home/local/ANT/shida/.cabal/libexec</div><div>Data files installed in:</div><div>/home/local/ANT/shida/.cabal/share/x86_64-linux-ghc-7.8.2/data-default-class-0.0.1</div><div>Documentation installed in:</div>
<div>/home/local/ANT/shida/.cabal/share/doc/x86_64-linux-ghc-7.8.2/data-default-class-0.0.1</div><div>Configuration files installed in: /home/local/ANT/shida/.cabal/etc</div><div>No alex found</div><div>Using ar found on system at: /usr/bin/ar</div>
<div>No c2hs found</div><div>No cpphs found</div><div>No ffihugs found</div><div>Using gcc version 4.6 found on system at: /usr/bin/gcc</div><div>Using ghc version 7.8.2 found on system at: /usr/local/bin/ghc</div><div>Using ghc-pkg version 7.8.2 found on system at: /usr/local/bin/ghc-pkg</div>
<div>No greencard found</div><div>Using haddock version 2.14.2 found on system at: /usr/local/bin/haddock</div><div>No happy found</div><div>Using haskell-suite found on system at: haskell-suite-dummy-location</div><div>Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location</div>
<div>No hmake found</div><div>Using hpc version 0.67 found on system at: /usr/local/bin/hpc</div><div>Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs</div><div>No hscolour found</div><div>No hugs found</div>
<div>No jhc found</div><div>Using ld found on system at: /usr/bin/ld</div><div>No lhc found</div><div>No lhc-pkg found</div><div>No nhc98 found</div><div>Using pkg-config version 0.26 found on system at: /usr/bin/pkg-config</div>
<div>Using strip found on system at: /usr/bin/strip</div><div>Using tar found on system at: /bin/tar</div><div>No uhc found</div><div>("/usr/bin/gcc",["/tmp/19534.c","-o","/tmp/19534","-D__GLASGOW_HASKELL__=708","-Dlinux_BUILD_OS=1","-Dx86_64_BUILD_ARCH=1","-Dlinux_HOST_OS=1","-Dx86_64_HOST_ARCH=1","-Idist/build/autogen","-I.","-I/usr/local/lib/ghc-7.8.2/base-4.7.0.0/include","-I/usr/local/lib/ghc-7.8.2/integer-gmp-0.5.1.0/include","-I/usr/local/lib/ghc-7.8.2/include","-L/usr/local/lib/ghc-7.8.2/base-4.7.0.0","-L/usr/local/lib/ghc-7.8.2/integer-gmp-0.5.1.0","-L/usr/local/lib/ghc-7.8.2/ghc-prim-0.3.1.0","-L/usr/local/lib/ghc-7.8.2/rts-1.0"])</div>
<div>Using internal setup method with build-type Simple and args:</div><div>["build","--verbose=3"]</div><div>Component build order: library</div><div>creating dist/build</div><div>creating dist/build/autogen</div>
<div>Building data-default-class-0.0.1...</div><div>Preprocessing library data-default-class-0.0.1...</div><div>Building library...</div><div>creating dist/build</div><div>Environment: [("COLORFGBG","12;default;8"),("COLORTERM","rxvt-xpm"),("DBUS_SESSION_BUS_ADDRESS","unix:abstract=/tmp/dbus-5El0U8sCi8,guid=09290436e309789f9814dffc00000406"),("DEFAULTS_PATH","/usr/share/gconf/xmonad.default.path"),("DESKTOP_SESSION","xmonad"),("DISPLAY","<a href="http://10.69.208.185:0">10.69.208.185:0</a>"),("EDITOR","vim"),("GDMSESSION","xmonad"),("GPG_AGENT_INFO","/tmp/gpg-KKH3WT/S.gpg-agent:5467:1"),("GREP_COLOR","1;32"),("GREP_OPTIONS","--color=auto --exclude-dir=.cvs --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn"),("GTK_IM_MODULE","xim"),("HOME","/home/local/ANT/shida"),("LANG","C.UTF-8"),("LC_ALL","C.UTF-8"),("LC_CTYPE","C.UTF-8"),("LESS","-R"),("LOGNAME","shida"),("LSCOLORS","Gxfxcxdxbxegedabagacad"),("MANDATORY_PATH","/usr/share/gconf/xmonad.mandatory.path"),("NODE_PATH","/usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript"),("OLDPWD","/home/local/ANT/shida/src/git/cabal/cabal-install"),("PAGER","less"),("PATH","/usr/local/heroku/bin:.:/home/local/ANT/shida/.cabal/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/lightdm/lightdm:/usr/local/bin:/usr/bin:/bin"),("PULSE_SERVER","10.69.208.185"),("PWD","/home/local/ANT/shida"),("QT_IM_MODULE","xim"),("SHELL","/usr/bin/zsh"),("SHLVL","1"),("SSH_AGENT_PID","14748"),("SSH_AUTH_SOCK","/tmp/ssh-NeRVrYb14746/agent.14746"),("TERM","rxvt-unicode-256color"),("UBUNTU_MENUPROXY","libappmenu.so"),("USER","shida"),("VISUAL","vim"),("WINDOWID","14683293"),("XAUTHORITY","/home/local/ANT/shida/.Xauthority"),("XDG_CONFIG_DIRS","/etc/xdg/xdg-xmonad:/etc/xdg"),("XDG_DATA_DIRS","/usr/share/xmonad:/usr/local/share/:/usr/share/"),("XDG_SEAT_PATH","/org/freedesktop/DisplayManager/Seat1"),("XDG_SESSION_COOKIE","05ca21f0ee7e6a10e18260ac00001d83-1402975930.974487-843139146"),("XDG_SESSION_PATH","/org/freedesktop/DisplayManager/Session0"),("XMODIFIERS","@im=ibus"),("ZSH","/home/local/ANT/shida/.oh-my-zsh"),("_","/home/local/ANT/shida/.cabal/bin/cabal")]</div>
<div>("/usr/local/bin/ghc",["--make","-v","-fbuilding-cabal-package","-O","-split-objs","-static","-dynamic-too","-dynosuf","dyn_o","-dynhisuf","dyn_hi","-outputdir","dist/build","-odir","dist/build","-hidir","dist/build","-stubdir","dist/build","-i","-idist/build","-i.","-idist/build/autogen","-Idist/build/autogen","-Idist/build","-optP-include","-optPdist/build/autogen/cabal_macros.h","-package-name","data-default-class-0.0.1","-hide-all-packages","-package-db","dist/package.conf.inplace","-package-id","base-4.7.0.0-018311399e3b6350d5be3a16b144df9b","-XHaskell98","Data.Default.Class"])</div>
<div>Glasgow Haskell Compiler, Version 7.8.2, stage 2 booted by GHC version 7.8.1</div><div>Using binary package database: /usr/local/lib/ghc-7.8.2/package.conf.d/package.cache</div><div>Using binary package database: /home/local/ANT/shida/.ghc/x86_64-linux-7.8.2/package.conf.d/package.cache</div>
<div>Using package config file: dist/package.conf.inplace</div><div>wired-in package ghc-prim mapped to ghc-prim-0.3.1.0-948744e1f99cc8bcc7c7d3ba60c7c2d8</div><div>wired-in package integer-gmp mapped to integer-gmp-0.5.1.0-dc47f6b546fc171f67a7f7d311684a99</div>
<div>wired-in package base mapped to base-4.7.0.0-018311399e3b6350d5be3a16b144df9b</div><div>wired-in package rts mapped to builtin_rts</div><div>wired-in package template-haskell mapped to template-haskell-2.9.0.0-dcc8c210fb02937e104bc1784d7b0f06</div>
<div>wired-in package dph-seq not found.</div><div>wired-in package dph-par not found.</div><div>Hsc static flags: </div><div>wired-in package ghc-prim mapped to ghc-prim-0.3.1.0-948744e1f99cc8bcc7c7d3ba60c7c2d8</div><div>
wired-in package integer-gmp mapped to integer-gmp-0.5.1.0-dc47f6b546fc171f67a7f7d311684a99</div><div>wired-in package base mapped to base-4.7.0.0-018311399e3b6350d5be3a16b144df9b</div><div>wired-in package rts mapped to builtin_rts</div>
<div>wired-in package template-haskell mapped to template-haskell-2.9.0.0-dcc8c210fb02937e104bc1784d7b0f06</div><div>wired-in package dph-seq not found.</div><div>wired-in package dph-par not found.</div><div>*** Chasing dependencies:</div>
<div>Chasing modules from: *Data.Default.Class</div><div>Stable obj: []</div><div>Stable BCO: []</div><div>Ready for upsweep</div><div> [NONREC</div><div> ModSummary {</div><div> ms_hs_date = 2014-06-23 03:29:30.794067064 UTC</div>
<div> ms_mod = data-default-class-0.0.1:Data.Default.Class,</div><div> ms_textual_imps = [import (implicit) Prelude]</div><div> ms_srcimps = []</div><div> }]</div><div>*** Deleting temp files:</div>
<div>Deleting: </div><div>compile: input file ./Data/Default/Class.hs</div><div>Created temporary directory: /tmp/ghc19596_0</div><div>*** Checking old interface for data-default-class-0.0.1:Data.Default.Class:</div><div>
[1 of 1] Compiling Data.Default.Class ( Data/Default/Class.hs, dist/build/Data/Default/Class.o )</div><div>*** Parser:</div><div>*** Renamer/typechecker:</div><div>*** Desugar:</div><div>Result size of Desugar (after optimization)</div>
<div> = {terms: 0, types: 0, coercions: 0}</div><div>*** Simplifier:</div><div>Result size of Simplifier = {terms: 0, types: 0, coercions: 0}</div><div>*** Specialise:</div><div>Result size of Specialise = {terms: 0, types: 0, coercions: 0}</div>
<div>*** Float out(FOS {Lam = Just 0, Consts = True, PAPs = False}):</div><div>Result size of Float out(FOS {Lam = Just 0,</div><div> Consts = True,</div><div> PAPs = False})</div>
<div> = {terms: 0, types: 0, coercions: 0}</div><div>*** Float inwards:</div><div>Result size of Float inwards = {terms: 0, types: 0, coercions: 0}</div><div>*** Simplifier:</div><div>Result size of Simplifier = {terms: 0, types: 0, coercions: 0}</div>
<div>*** Simplifier:</div><div>Result size of Simplifier = {terms: 0, types: 0, coercions: 0}</div><div>*** Simplifier:</div><div>Result size of Simplifier = {terms: 0, types: 0, coercions: 0}</div><div>*** Demand analysis:</div>
<div>Result size of Demand analysis = {terms: 0, types: 0, coercions: 0}</div><div>*** Worker Wrapper binds:</div><div>Result size of Worker Wrapper binds</div><div> = {terms: 0, types: 0, coercions: 0}</div><div>*** Simplifier:</div>
<div>Result size of Simplifier = {terms: 0, types: 0, coercions: 0}</div><div>*** Float out(FOS {Lam = Just 0, Consts = True, PAPs = True}):</div><div>Result size of Float out(FOS {Lam = Just 0,</div><div> Consts = True,</div>
<div> PAPs = True})</div><div> = {terms: 0, types: 0, coercions: 0}</div><div>*** Common sub-expression:</div><div>Result size of Common sub-expression</div><div> = {terms: 0, types: 0, coercions: 0}</div>
<div>*** Float inwards:</div><div>Result size of Float inwards = {terms: 0, types: 0, coercions: 0}</div><div>*** Simplifier:</div><div>Result size of Simplifier = {terms: 0, types: 0, coercions: 0}</div><div>*** Tidy Core:</div>
<div>Result size of Tidy Core = {terms: 4, types: 7, coercions: 2}</div><div>writeBinIface: 2 Names</div><div>writeBinIface: 16 dict entries</div><div>writeBinIface: 2 Names</div><div>writeBinIface: 16 dict entries</div><div>
*** CorePrep:</div><div>Result size of CorePrep = {terms: 4, types: 7, coercions: 2}</div><div>*** Stg2Stg:</div><div>*** CodeOutput:</div><div>*** New CodeGen:</div><div>*** CPSZ:</div><div>*** CPSZ:</div><div>*** Splitter:</div>
<div>/usr/local/lib/ghc-7.8.2/ghc-split /tmp/ghc19596_0/ghc19596_2.split_s /tmp/ghc19596_0/ghc19596_4.split /tmp/ghc19596_0/ghc19596_4.split</div><div>*** Assembler:</div><div>/usr/bin/gcc -fno-stack-protector -DTABLES_NEXT_TO_CODE -c -o dist/build/Data/Default/Class_o_split/Class__1.o /tmp/ghc19596_0/ghc19596_4.split__1.s</div>
<div>*** Assembler:</div><div>/usr/bin/gcc -fno-stack-protector -DTABLES_NEXT_TO_CODE -c -o dist/build/Data/Default/Class_o_split/Class__2.o /tmp/ghc19596_0/ghc19596_4.split__2.s</div><div>*** Linker:</div><div>/usr/bin/gcc -fno-stack-protector -DTABLES_NEXT_TO_CODE -nostdlib -Wl,-r -nodefaultlibs '-Wl,--build-id=none' -o dist/build/Data/Default/Class.o /tmp/ghc19596_0/ghc19596_5.ldscript</div>
<div>/usr/bin/ld: error: cannot find dist/build/Data/Default/Class_o_split/Class__1.o</div><div>/usr/bin/ld: error: cannot find dist/build/Data/Default/Class_o_split/.o::Class(void)</div><div>collect2: ld returned 1 exit status</div>
<div>*** Deleting temp files:</div><div>Deleting: /tmp/ghc19596_0/ghc19596_5.ldscript /tmp/ghc19596_0/ghc19596_4.split__1.s /tmp/ghc19596_0/ghc19596_4.split__2.s /tmp/ghc19596_0/ghc19596_4.split /tmp/ghc19596_0/ghc19596_3.c /tmp/ghc19596_0/ghc19596_2.split_s /tmp/ghc19596_0/ghc19596_1.split_s</div>
<div>Warning: deleting non-existent /tmp/ghc19596_0/ghc19596_3.c</div><div>Warning: deleting non-existent /tmp/ghc19596_0/ghc19596_1.split_s</div><div>*** Deleting temp dirs:</div><div>Deleting: /tmp/ghc19596_0</div><div>
/usr/local/bin/ghc returned ExitFailure 1</div><div>Failed to install data-default-class-0.0.1</div><div>Updating world file...</div><div>cabal: Error: some packages failed to install:</div><div>data-default-class-0.0.1 failed during the building phase. The exception was:</div>
<div>ExitFailure 1</div><div><br></div>-- <br>竹密岂妨流水过<br>山高哪阻野云飞<br><br>And for G+, please use magiclouds#<a href="http://gmail.com" target="_blank">gmail.com</a>.
</div></div>