<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_35725"><span></span></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1493487551988_35726"><div id="yui_3_16_0_ym19_1_1493487551988_35806">FYI - I just wrote a dumb script that moved HEAD back 1 commit at a time and ran hake.sh until it found a commit that worked. </div><div id="yui_3_16_0_ym19_1_1493487551988_35843"><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_35844"><br clear="none" id="yui_3_16_0_ym19_1_1493487551988_35845"></div></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_35846">I have to go back to August 17 2015 to find a hash that doesn't fail with the same message. </div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_35847"><br clear="none" id="yui_3_16_0_ym19_1_1493487551988_35848"></div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" id="yui_3_16_0_ym19_1_1493487551988_35849"><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_35850"><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_35851">commit 2344a661f9c23c73358fc92dc5f4fbfe9ad7d3be</div></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_35852"><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_35853">Date:   Mon Aug 17 21:22:53 2015 +0200<br></div></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_35856"><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_35857"><br clear="none" id="yui_3_16_0_ym19_1_1493487551988_35858"></div></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_35859"><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_35860">    Generates a Makefile</div></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_35861"><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_35862"><br></div></div></blockquote><div id="yui_3_16_0_ym19_1_1493487551988_35868">The next commit fails with same error:</div><div id="yui_3_16_0_ym19_1_1493487551988_35869"><br clear="none" id="yui_3_16_0_ym19_1_1493487551988_35870"></div><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" id="yui_3_16_0_ym19_1_1493487551988_35871"><div id="yui_3_16_0_ym19_1_1493487551988_35872">commit 8c286e59ab0913c0827954210ae6daab52c11bf0</div><div id="yui_3_16_0_ym19_1_1493487551988_35873">Date:   Tue Aug 18 09:24:19 2015 +0200<br></div><div id="yui_3_16_0_ym19_1_1493487551988_35875"><br clear="none" id="yui_3_16_0_ym19_1_1493487551988_35876"></div><div id="yui_3_16_0_ym19_1_1493487551988_35877">    Replaced old hake</div><div id="yui_3_16_0_ym19_1_1493487551988_35878"><br clear="none" id="yui_3_16_0_ym19_1_1493487551988_35879"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_35880"><br></div></blockquote></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1493487551988_35909" 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_35908"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1493487551988_35907"> <div dir="ltr" id="yui_3_16_0_ym19_1_1493487551988_35906"> <font size="2" face="Arial" id="yui_3_16_0_ym19_1_1493487551988_35905"> <hr size="1" id="yui_3_16_0_ym19_1_1493487551988_35940"> <b><span style="font-weight:bold;">From:</span></b> Michael Neilly <mneilly@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> Timothy Roscoe <troscoe@inf.ethz.ch> <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 11:42 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_35924"><br><div id="yiv5496497931"><div id="yui_3_16_0_ym19_1_1493487551988_35923"><div style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" id="yui_3_16_0_ym19_1_1493487551988_35922"><div id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4770"><span></span></div><div class="yiv5496497931qtdSeparateBR" dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4771">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="yiv5496497931qtdSeparateBR" dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4771"><br clear="none"></div><div class="yiv5496497931qtdSeparateBR" dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4771"><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4960">mneilly@vm-ubuntu:~/OSS/barrelfish/build$</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4961"><br clear="none" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4962"></div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4963">NAME="Ubuntu"</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4964">VERSION="16.04.1 LTS (Xenial Xerus)"</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4965">ID=ubuntu</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4966">ID_LIKE=debian</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4967">PRETTY_NAME="Ubuntu 16.04.1 LTS"</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4968">VERSION_ID="16.04"</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4969">HOME_URL="http://www.ubuntu.com/"</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4970">SUPPORT_URL="http://help.ubuntu.com/"</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4971">BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4972">UBUNTU_CODENAME=xenial</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4973"><br clear="none" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4974"></div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4975">mneilly@vm-ubuntu:~/OSS/barrelfish/build$ ghc --version</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4976">The Glorious Glasgow Haskell Compilation System, version 7.10.3</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4977"><br clear="none" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4978"></div><div dir="ltr" id="yiv5496497931yui_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="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4980">Install directory defaulting to '.'</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4981">Source directory is ../</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4982">Architectures to build: "x86_64"</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4983">Setting up hake build directory...</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4984">You already have Config.hs, leaving it as-is.</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4985">Building hake...</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4986">[13 of 13] Compiling Main             ( ../hake/Main.hs, hake/Main.o )</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4987"><br clear="none" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4988"></div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4989">../hake/Main.hs:348:43:</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4990">    Expecting one more argument to ‘Exp’</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4991">    The first argument of ‘Either’ should have kind ‘*’,</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4992">      but ‘Exp’ has kind ‘* -> *’</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4993">    In the type signature for ‘parseHake’:</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4994">      parseHake :: FilePath -> String -> Either Exp HakeError</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4995"><br clear="none" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4996"></div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4997">../hake/Main.hs:406:25:</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4998">    Expecting one more argument to ‘Exp’</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4999">    Expected a type, but ‘Exp’ has kind ‘* -> *’</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_5000">    In the type signature for ‘wrapHake’:</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_5001">      wrapHake :: FilePath -> Exp -> Exp</div><div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_5002"><br clear="none" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_5003"></div><br clear="none"></div><div class="yiv5496497931yqt0393714619" id="yiv5496497931yqt85036"><div class="yiv5496497931yahoo_quoted" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4777" style="display:block;">  <div id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4776" style="font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4775" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4774"> <font id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4773" size="2" face="Arial"> </font><hr id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4772" size="1"> <b><span style="font-weight:bold;">From:</span></b> Timothy Roscoe <troscoe@inf.ethz.ch><br clear="none"> <b><span style="font-weight:bold;">To:</span></b> Michael Neilly <mneilly@yahoo.com> <br clear="none"><b><span style="font-weight:bold;">Cc:</span></b> "barrelfish-users@lists.inf.ethz.ch" <barrelfish-users@lists.inf.ethz.ch><br clear="none"> <b><span style="font-weight:bold;">Sent:</span></b> Saturday, April 29, 2017 10:29 AM<br clear="none"> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Barrelfish-users] build error: Main.hs:   Expecting one more      argument to ‘Exp’<br clear="none">  </div> <div class="yiv5496497931y_msg_container" id="yiv5496497931yui_3_16_0_ym19_1_1493487551988_4812"><br clear="none"><div dir="ltr" id="yiv5496497931yui_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="yiv5496497931yui_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="yiv5496497931yqt9050033519" id="yiv5496497931yqtfd18636"><br clear="none">At Sat, 29 Apr 2017 16:03:33 +0000, Michael Neilly <<a rel="nofollow" shape="rect" ymailto="mailto:mneilly@yahoo.com" target="_blank" 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 clear="none"><br clear="none"></div> </div> </div>  </div></div></div></div></div><br><br></div> </div> </div>  </div></div></body></html>