[Barrelfish-users] running hake failed

Dd Nirvana ddnirvana1 at gmail.com
Mon Oct 22 17:37:09 CEST 2018


Hi, guys,

    I am interested about the project and trying to run it by following
http://wiki.barrelfish.org/Getting_Started.
    However, I failed to generate the Makefile from hake.
The log is shown in the following.
 *   ╰─$ ../hake/hake.sh -s .. -a x86_64*
*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)*

It seems something wrong about Haskel, but I am not sure why.

My environment is Ubuntu 16.04, with gcc(Ubuntu 5.4.0-6ubuntu1~16.04.10),
binutils(2.26.1) and ghc(7.10.3).

Any advice about this issue?

Dong Du
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20181022/f51a9351/attachment.html>


More information about the Barrelfish-users mailing list