[Barrelfish-users] build error with barrelfish release2018-10-04

Achermann Reto reto.achermann at inf.ethz.ch
Wed Nov 28 08:18:40 CET 2018


Hi Vorringer,

You've indicated that you are using Ubuntu 16.04. Note, we've switched to Ubuntu 18.04 and suggest you try the same.

The error is due to an incompatible GHC version. There was a change in the API between ghc 7.10 and ghc 8.0.

-- Reto

--

Reto Achermann
PhD Student, Systems Group, ETH Zurich



On 2018-11-28 07:42:26+01:00 Barrelfish-users wrote:

Hi barrelfish users,
Using Ubuntu 16.04.4, GCC 5.4.0, GHC 7.10.3 and Barrelfish release2018-10-04.
After running ../hake/hake.sh -s .. -a x86_64  I got several errors:
Install directory defaulting to '.'
Source directory is ..
Architectures to build: "x86_64"
Creating a local hake directory...
Setting up hake build directory...
Bootstrapping Config.hs
Building hake...
[ 1 of 13] Compiling Tools            ( ../hake/Tools.hs, hake/Tools.o )
[ 2 of 13] Compiling TreeDB           ( ../hake/TreeDB.hs, hake/TreeDB.o )
[ 3 of 13] Compiling HakeTypes        ( ../hake/HakeTypes.hs, hake/HakeTypes.o )
[ 4 of 13] Compiling Args             ( ../hake/Args.hs, hake/Args.o )
[ 5 of 13] Compiling Config           ( hake/Config.hs, hake/Config.o )
[ 6 of 13] Compiling ArchDefaults     ( ../hake/ArchDefaults.hs, hake/ArchDefaults.o )
[ 7 of 13] Compiling X86_64           ( ../hake/X86_64.hs, hake/X86_64.o )
[ 8 of 13] Compiling K1om             ( ../hake/K1om.hs, hake/K1om.o )
[ 9 of 13] Compiling X86_32           ( ../hake/X86_32.hs, hake/X86_32.o )
[10 of 13] Compiling ARMv7            ( ../hake/ARMv7.hs, hake/ARMv7.o )
[11 of 13] Compiling ARMv8            ( ../hake/ARMv8.hs, hake/ARMv8.o )
[12 of 13] Compiling RuleDefs         ( ../hake/RuleDefs.hs, hake/RuleDefs.o )
[13 of 13] Compiling Main             ( ../hake/Main.hs, hake/Main.o )
../hake/Main.hs:348:48:
    Not in scope: type constructor or class ‘SrcSpanInfo’
../hake/Main.hs:406:29:
    Not in scope: type constructor or class ‘SrcSpanInfo’
../hake/Main.hs:406:48:
    Not in scope: type constructor or class ‘SrcSpanInfo’
../hake/Main.hs:444:15:
    Not in scope: ‘Language.Haskell.Exts.noSrcSpan’
    Perhaps you meant one of these:
      data constructor ‘Language.Haskell.Exts.SrcLoc’ (imported from Language.Haskell.Exts),
      data constructor ‘Language.Haskell.Exts.ForExp’ (imported from Language.Haskell.Exts),
      data constructor ‘Language.Haskell.Exts.ForImp’ (imported from Language.Haskell.Exts)
Could you tell me how to solve it?
Thanks,
Vorringer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20181128/2c8c0d34/attachment.html>


More information about the Barrelfish-users mailing list