[Yhc] Re: [Haskell-cafe] yhc install fails

Thomas Hartman tphyahoo at gmail.com
Sat Nov 24 17:04:45 EST 2007


Thanks, that worked.  I think there's some weird issue with the way
the build happens that requires you to do

rm -rf yhc; darccs get http://...yhc

for a truly "fair" build to take place. I saw something in a bug
report about how things get cached.

That means that an ok from a buildbot doesn't mean that the build is really ok.

It occurs to me that if it's possible to get the buildbot to do rm -rf
and darcs re-checkout that might be worth doing, until the issues with
stuff getting cached get resolved.

But maybe that's smiting a mosquito with a flamethrower.

thomas.

2007/11/22, Thomas Shackell <shackell at cs.york.ac.uk>:
> Apologies, I broke this when I fixed the getArgs bug. It's actually just
> a build problem, Storable needs to be built before C/String. I didn't
> notice it because it only happens with a fresh (uncompiled) copy of yhc.
> Anyway fix pushed.
>
>
> Thanks
>
> Tom
>
>
>
>
> Neil Mitchell wrote:
> > Yhc people:
> >
> > On Nov 21, 2007 8:46 PM, Thomas Hartman <tphyahoo at gmail.com> wrote:
> >> I'm having the devil of a time getting yhc to install.
> >>
> >> http://hpaste.org/4028
> >>
> >> or for posterity
> >>
> >> root at none:~/yhc-install/yhc>scons
> >>
> >> ... blah blah blah...
> >>
> >> Compiling PreludeAux       ( src/packages/yhc-base-1.0/PreludeAux.hs )
> >> YHC_build(["src/packages/yhc-base-1.0/Foreign/Util.hbc"],
> >> ["src/packages/yhc-base-1.0/Foreign/Util.hs"])
> >> inst/bin/yhc --core --cpp -c src/packages/yhc-base-1.0/Foreign/Util.hs
> >> Compiling Foreign.Util     ( src/packages/yhc-base-1.0/Foreign/Util.hs )
> >> YHC_build(["src/packages/yhc-base-1.0/Foreign/C/String.hbc"],
> >> ["src/packages/yhc-base-1.0/Foreign/C/String.hs"])
> >> inst/bin/yhc --core --cpp -c src/packages/yhc-base-1.0/Foreign/C/String.hs
> >> Error: File not found, Foreign.Storable
> >> Reason: imported from Foreign.C.String
> >> Looked in:
> >>   /root/yhc-install/yhc/src/packages/yhc-base-1.0/
> >>   /root/yhc-install/yhc/inst/lib/yhc/packages/yhc-base/1.0
> >> scons: *** [src/packages/yhc-base-1.0/Foreign/C/String.hbc] Error 1
> >> scons: building terminated because of errors.
> >>
> >>
> >> root at none:~/yhc-install/yhc>ghc --version
> >> The Glorious Glasgow Haskell Compilation System, version 6.8.1
> >>
> >> advice?
> >>
> >> thomas.
> >> _______________________________________________
> >> Haskell-Cafe mailing list
> >> Haskell-Cafe at haskell.org
> >> http://www.haskell.org/mailman/listinfo/haskell-cafe
> >>
> > _______________________________________________
> > Yhc mailing list
> > Yhc at haskell.org
> > http://www.haskell.org/mailman/listinfo/yhc
>
>


More information about the Haskell-Cafe mailing list