[Barrelfish-users] Problem building "hake" build system (now problem with make)

Kornilios Kourtis kornilios.kourtis at inf.ethz.ch
Mon Nov 18 17:17:57 CET 2013


On Mon, Nov 18, 2013 at 11:28:16AM +0100, Timothy Roscoe wrote:
> Dear Mark,
> 
> The trace definitions file should be generated very early on in the 
> build process, since lots of parts of the system include it.
> 
> The first thing to try is start with a completely clean (i.e. empty) 
> build directory, and run hake to create a new Makefile.  There are some 
> limitations on dependency tracking that mean that an older, failed build 
> (such as you might get by using a different version of ghc) make it hard 
> to eliminate some bad dependencies.
> 
> If that doesn't work, there may be a bug in the trace Hakefile.  We're 
> doing a release this afternoon that may fix it, but a good way to debug 
> things (and, indeed, work around them) is to try:
> 
> $ make trace_definitions/trace_defs.h
> 
>   - in the build directory.   If this succeeds, you should then be able 
> to use other make targets without problems.   As an aside, Hake 
> generates a single Makefile with an explicit rule for every file, so you 
> should be able to find the commands to build trace_defs.h.
> 

As a small addition to Mothy's response: this bug should be fixed in our
latest release. I believe the respective commit should be:
http://hg.barrelfish.org/barrelfish/rev/2018c024c0ba?revcount=240

cheers,
Kornilios.

> Hope this helps,
> 
>   -- Mothy
> 
> 
> On 11/14/2013 09:54 PM, M Brown wrote:
> > Kornilios,
> >
> > -----Original Message-----
> >  > From: Kornilios Kourtis [mailto:kornilios.kourtis at inf.ethz.ch]
> >  > Sent: Thursday, November 14, 2013 3:46 AM
> >  > To: M Brown
> >  > Cc: barrelfish-users at lists.inf.ethz.ch
> >  > Subject: Re: [Barrelfish-users] Problem building "hake" build system
> >
> >  >
> >
> >  > On Wed, Nov 13, 2013 at 05:50:08PM +0000, M Brown wrote:
> >
> >  >> Dear all,
> >
> >  >>
> >
> >  >> I’m running into the following problem when building the “hake” build
> >
> >  >> system with the latest version of ghc:
> >
> >  >>
> >
> >  >>
> >
> >  >> The ghc environment is as follows:
> >
> >  >>
> >
> >  >> ghc 7.6.3 (default install version)
> >
> >  >> ghc-paths 0.1.0.9
> >
> >  >> parsec 3.1.3
> >
> >  >
> >
> >  >Barrelfish currently works with GHC version 7.4. GHC 7.6 in particular
> > is not supported in our tree. To build hake you can either install and
> > use GHC 7.4 or apply a patch provided by Wang Nan that adds support for
> > GHC 7.6. You can find the patch in our wiki:
> >
> >  > http://wiki.barrelfish.org/Getting_Started#ghc
> >
> >  >
> >
> >  > Hope this helps,
> >
> >  > Kornilios.
> >
> >  >
> >
> >  > --
> >
> >  > Kornilios Kourtis
> >
> > Thanks, that got me by the hake build problem. However when I run make I
> > get the following error:
> >
> > The trace_definitions/trace_defs.h file is not being generated. Any
> > thoughts?
> >
> > Thanks,
> >
> > Mark Brown
> >
> > Huawei Technologies Inc.
> >
> > 5340 Legacy Dr., Suite 175
> >
> > Plano, TX 75024
> >
> > Tel: 469-277-5700 x5870
> >
> > Email: m.brown at huawei.com <mailto:m.brown at huawei.com>
> >
> >
> >
> > _______________________________________________
> > Barrelfish-users mailing list
> > Barrelfish-users at lists.inf.ethz.ch
> > https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
> >
> 
> _______________________________________________
> Barrelfish-users mailing list
> Barrelfish-users at lists.inf.ethz.ch
> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users

-- 
Kornilios Kourtis



More information about the Barrelfish-users mailing list