<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1493487551988_4770"><span></span></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1493487551988_4771" dir="ltr">Thanks for the response Timothy. Unfortunately, I'm seeing the same error on Ubuntu with GHC 7.10.3. FWIW - I've attached the output from "cabal list --installed" and "dpkg -l | grep ghc" to show the versions in case there are any issues there...</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1493487551988_4771" dir="ltr"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1493487551988_4771" dir="ltr"><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4960">mneilly@vm-ubuntu:~/OSS/barrelfish/build$</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4961"><br id="yui_3_16_0_ym19_1_1493487551988_4962"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4963">NAME="Ubuntu"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4964">VERSION="16.04.1 LTS (Xenial Xerus)"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4965">ID=ubuntu</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4966">ID_LIKE=debian</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4967">PRETTY_NAME="Ubuntu 16.04.1 LTS"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4968">VERSION_ID="16.04"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4969">HOME_URL="http://www.ubuntu.com/"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4970">SUPPORT_URL="http://help.ubuntu.com/"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4971">BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4972">UBUNTU_CODENAME=xenial</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4973"><br id="yui_3_16_0_ym19_1_1493487551988_4974"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4975">mneilly@vm-ubuntu:~/OSS/barrelfish/build$ ghc --version</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4976">The Glorious Glasgow Haskell Compilation System, version 7.10.3</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4977"><br id="yui_3_16_0_ym19_1_1493487551988_4978"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4979">mneilly@vm-ubuntu:~/OSS/barrelfish/build$ ../hake/hake.sh -s ../ -a x86_64</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4980">Install directory defaulting to '.'</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4981">Source directory is ../</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4982">Architectures to build: "x86_64"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4983">Setting up hake build directory...</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4984">You already have Config.hs, leaving it as-is.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4985">Building hake...</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4986">[13 of 13] Compiling Main             ( ../hake/Main.hs, hake/Main.o )</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4987"><br id="yui_3_16_0_ym19_1_1493487551988_4988"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4989">../hake/Main.hs:348:43:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4990">    Expecting one more argument to ‘Exp’</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4991">    The first argument of ‘Either’ should have kind ‘*’,</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4992">      but ‘Exp’ has kind ‘* -> *’</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4993">    In the type signature for ‘parseHake’:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4994">      parseHake :: FilePath -> String -> Either Exp HakeError</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4995"><br id="yui_3_16_0_ym19_1_1493487551988_4996"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4997">../hake/Main.hs:406:25:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4998">    Expecting one more argument to ‘Exp’</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4999">    Expected a type, but ‘Exp’ has kind ‘* -> *’</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_5000">    In the type signature for ‘wrapHake’:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_5001">      wrapHake :: FilePath -> Exp -> Exp</div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_5002"><br id="yui_3_16_0_ym19_1_1493487551988_5003"></div><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1493487551988_4777" style="display: block;">  <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1493487551988_4776"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1493487551988_4775"> <div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4774"> <font size="2" face="Arial" id="yui_3_16_0_ym19_1_1493487551988_4773"> <hr size="1" id="yui_3_16_0_ym19_1_1493487551988_4772"> <b><span style="font-weight:bold;">From:</span></b> Timothy Roscoe <troscoe@inf.ethz.ch><br> <b><span style="font-weight: bold;">To:</span></b> Michael Neilly <mneilly@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "barrelfish-users@lists.inf.ethz.ch" <barrelfish-users@lists.inf.ethz.ch><br> <b><span style="font-weight: bold;">Sent:</span></b> Saturday, April 29, 2017 10:29 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Barrelfish-users] build error: Main.hs:  Expecting one more      argument to ‘Exp’<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1493487551988_4812"><br><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_4813"><br clear="none">Dear Michael,<br clear="none"><br clear="none">This is most likely a Haskell problem - the glorious Glasgow Haskell<br clear="none">people like to make subtle incompatible changes to their compiler with<br clear="none">each new version.<br clear="none" id="yui_3_16_0_ym19_1_1493487551988_4869"><br clear="none">As a rule, we always support (and our CI tests run on) a reasonably<br clear="none">recent version of Ubuntu LTS - right now that's 16.04 (Xenial), which<br clear="none">ships with GHC version 7.10.3.   I'd suggest trying that, and let us<br clear="none">know if the problem persists.<br clear="none"><br clear="none">Best regards,<br clear="none"><br clear="none"> -- Mothy<br clear="none"><div class="yqt9050033519" id="yqtfd18636"><br clear="none">At Sat, 29 Apr 2017 16:03:33 +0000, Michael Neilly <<a shape="rect" ymailto="mailto:mneilly@yahoo.com" href="mailto:mneilly@yahoo.com">mneilly@yahoo.com</a>> wrote:<br clear="none">> Hello, I thought I'd take a look at barrelfish. I have cloned the git repo and am attempting to build from mastesr but I am seeing the following error. Any suggestions on how I can resolve this? Thx!<br clear="none">> $ ghc --versionThe Glorious Glasgow Haskell Compilation System, version 8.0.1<br clear="none">> $ ../hake/hake.sh -s ../ -a x86_64Install directory defaulting to '.'Source directory is ../Architectures to build: "x86_64"Setting up hake build directory...You already have Config.hs, leaving it as-is.Building hake...[13 of 13] Compiling Main             ( ../hake/Main.hs, hake/Main.o )<br clear="none">> ../hake/Main.hs:348:43: error:    • Expecting one more argument to ‘Exp’      Expected a type, but ‘Exp’ has kind ‘* -> *’    • In the first argument of ‘Either’, namely ‘Exp’      In the type signature:        parseHake :: FilePath -> String -> Either Exp HakeError<br clear="none">> ../hake/Main.hs:406:25: error:    • Expecting one more argument to ‘Exp’      Expected a type, but ‘Exp’ has kind ‘* -> *’    • In the type signature:        wrapHake :: FilePath -> Exp -> Exp<br clear="none">> ../hake/Main.hs:406:32: error:    • Expecting one more argument to ‘Exp’      Expected a type, but ‘Exp’ has kind ‘* -> *’    • In the type signature:        wrapHake :: FilePath -> Exp -> Exp$</div></div><br><br></div> </div> </div>  </div></div></body></html>