Bernie Pope | 1 Feb 19:12 2007
Picon
Picon

Yhc build failure

Hi,

I'm trying to build yhc but it falls over immediately with
this error message:

$ scons
scons: Reading SConscript files ...
ValueError: int() literal too large: 20070126223254:
  File "Sconstruct", line 23:
    always_configure(env, Configure, ARGUMENTS)
  File "/home/t-berp/yhc/build/configure.py", line 46:
    env["ENV"]["VERSION"] = getVersion(type)
  File "/home/t-berp/yhc/build/version.py", line 9:
    dt = int(lines[-1].split("**")[1].strip()[:-1])

The version of scons:

$ scons --version
SCons by Steven Knight et al.:
        script: v0.96.1.D001, 2004/08/23 09:55:29, by knight
on casablanca
        engine: v0.96.1.D001, 2004/08/23 09:55:29, by knight
on casablanca
Copyright (c) 2001, 2002, 2003, 2004 The SCons Foundation

Cheers,
Bernie.
Eric Sessoms | 3 Feb 14:58 2007
Picon

yhc build failure -- possible missing dependency

Just pulled the latest YHC this morning and got:

> YHC_build(["src/packages/yhc-base-1.0/Data/Set.hbc"],
> ["src/packages/yhc-base-1.0/Data/Set.hs"])
> inst/bin/yhc -cpp -c src/packages/yhc-base-1.0/Data/Set.hs
> Warning: Can't find file "Typeable.h" in directories
>         /home/eric/projects/yhc/src/packages/yhc-base-1.0/Data
>         .
>   Asked for by: /home/eric/projects/yhc/src/packages/yhc-base-1.0/Data/Set.hs  at line 553 col 1
> yhc: Error: File not found, Data.List
> Reason: imported from Data.Set
> Looked in:
>   /home/eric/projects/yhc/src/packages/yhc-base-1.0/
>   .
>   /home/eric/projects/yhc/inst/lib/yhc/packages/yhc-base/1.0

Building List by hand made it happy, so I'm guessing it's some sort of
scons-thing.

Eric
Neil Mitchell | 3 Feb 16:44 2007
Picon

Re: yhc build failure -- possible missing dependency

Hi Eric,

> Just pulled the latest YHC this morning and got:
>
> > YHC_build(["src/packages/yhc-base-1.0/Data/Set.hbc"],
> > ["src/packages/yhc-base-1.0/Data/Set.hs"])
> > inst/bin/yhc -cpp -c src/packages/yhc-base-1.0/Data/Set.hs
> > Warning: Can't find file "Typeable.h" in directories
> >         /home/eric/projects/yhc/src/packages/yhc-base-1.0/Data
> >         .
> >   Asked for by: /home/eric/projects/yhc/src/packages/yhc-base-1.0/Data/Set.hs  at line 553 col 1
> > yhc: Error: File not found, Data.List
> > Reason: imported from Data.Set
> > Looked in:
> >   /home/eric/projects/yhc/src/packages/yhc-base-1.0/
> >   .
> >   /home/eric/projects/yhc/inst/lib/yhc/packages/yhc-base/1.0
>
> Building List by hand made it happy, so I'm guessing it's some sort of
> scons-thing.

Thanks for reporting this. Our dependancies in the libraries are
hand-coded, not automatically generated, which means we sometimes get
them wrong. Scons builds things in different orders depending on
filesystem properties, so its hard to spot if you missed something!

We do intend to move to a completely automated dependancy system at
some point, but for the moment I've added this dependancy explicitly.

Thanks for reporting this,
(Continue reading)

Thorkil Naur | 3 Feb 23:53 2007
Picon

Please make me a Yhc build slave (was: Become a GHC build slave!)

Hello,

Please make me a Yhc buildbot slave. I am not sure what additional information 
you need, but here is some: My machine is a Power PC Max OS X. I have other 
machinery (Linux and FreeBSD) that I may consider for this ordeal, but I will 
start with the Mac.

Best regards
Thorkil
On Friday 02 February 2007 20:59, Neil Mitchell wrote:
> Hi
> 
> > As a second point, the Yhc team do a variety of builds - some from
> > clean, some from fullclean, some from delete the directory and a
> > completely fresh darcs pull etc. We've found that can help catch
> > things like interface changes, dependancies etc earlier. If you have
> > (or can find) too many Windows/Linux machines etc that might be worth
> > doing - and is pretty easy with buildbot.
> 
> As a side point, if you are considering becoming a GHC buildbot slave,
> and are going to go to the (admitedly pretty small) trouble of
> installing buildbot etc, you might want to consider becoming a Yhc
> buildbot. Being a Yhc buildbot takes very little processor power and
> time - builds take between 3 and 15 mins.
> 
> Our existing list of buildbots is http://www.indiegigs.co.uk:8010/ ,
> and our details on being a buildbot are
> http://haskell.org/haskellwiki/Yhc/Buildbot . If you do want to be a
> Yhc buildbot please drop yhc <at> haskell.org a quick email (cc'ing me,
> since we've been having some issues of posts bouncing from
(Continue reading)

Andrew Wilkinson | 4 Feb 13:17 2007
Picon

Re: Yhc build failure

On 2/1/07, Bernie Pope <bjpop <at> csse.unimelb.edu.au> wrote:
I'm trying to build yhc but it falls over immediately with
this error message:

Hi Bernie,

Sorry for the delay in responding to this. I'd be interested to know what version of Python you're running, I have a feeling it must be quite old and int(x) won't return a long type for values that can't be represented in an int.

I have pushed a fix that will hopefully correct this without you needing to upgrade Python. Simply darcs pull then try building again.

Cheers,
Andrew
_______________________________________________
Yhc mailing list
Yhc <at> haskell.org
http://www.haskell.org/mailman/listinfo/yhc
andrewjwilkinsonw | 4 Feb 13:22 2007
Picon

buildbot failure in gentoo_x86

The Buildbot has detected a failed build of gentoo_x86.
Full details are available at:
 http://www.indiegigs.co.uk:8010/gentoo_x86/builds/66

Buildbot URL: http://www.indiegigs.co.uk:8010/

Buildslave for this Build: markus1

Build Reason: 
Build Source Stamp: HEAD
Blamelist: Andrew Wilkinson <aw <at> cs.york.ac.uk>

BUILD FAILED: failed library

sincerely,
 -The Buildbot
andrewjwilkinsonw | 4 Feb 13:22 2007
Picon

buildbot failure in macosx_64

The Buildbot has detected a failed build of macosx_64.
Full details are available at:
 http://www.indiegigs.co.uk:8010/macosx_64/builds/40

Buildbot URL: http://www.indiegigs.co.uk:8010/

Buildslave for this Build: markus2

Build Reason: 
Build Source Stamp: HEAD
Blamelist: Andrew Wilkinson <aw <at> cs.york.ac.uk>

BUILD FAILED: failed library

sincerely,
 -The Buildbot
andrewjwilkinsonw | 4 Feb 13:28 2007
Picon

buildbot failure in macosx_x86

The Buildbot has detected a failed build of macosx_x86.
Full details are available at:
 http://www.indiegigs.co.uk:8010/macosx_x86/builds/45

Buildbot URL: http://www.indiegigs.co.uk:8010/

Buildslave for this Build: macosxx86

Build Reason: 
Build Source Stamp: HEAD
Blamelist: Andrew Wilkinson <aw <at> cs.york.ac.uk>

BUILD FAILED: failed library

sincerely,
 -The Buildbot
andrewjwilkinsonw | 4 Feb 14:11 2007
Picon

buildbot failure in slack_x86

The Buildbot has detected a failed build of slack_x86.
Full details are available at:
 http://www.indiegigs.co.uk:8010/slack_x86/builds/61

Buildbot URL: http://www.indiegigs.co.uk:8010/

Buildslave for this Build: slackx86

Build Reason: 
Build Source Stamp: HEAD
Blamelist: Andrew Wilkinson <aw <at> cs.york.ac.uk>

BUILD FAILED: failed yhc

sincerely,
 -The Buildbot
andrewjwilkinsonw | 4 Feb 14:11 2007
Picon

buildbot failure in macosx_x86

The Buildbot has detected a failed build of macosx_x86.
Full details are available at:
 http://www.indiegigs.co.uk:8010/macosx_x86/builds/47

Buildbot URL: http://www.indiegigs.co.uk:8010/

Buildslave for this Build: macosxx86

Build Reason: 
Build Source Stamp: HEAD
Blamelist: Andrew Wilkinson <aw <at> cs.york.ac.uk>

BUILD FAILED: failed shell

sincerely,
 -The Buildbot

Gmane