darcs switchover

T.C. Andrew tcandrew at gmail.com
Sat Jan 14 13:17:29 EST 2006


On 1/14/06, Ian Lynagh <igloo at earth.li> wrote:
>
> On Sat, Jan 14, 2006 at 11:42:11AM -0600, T.C. Andrew wrote:
> >
> > After I completed the above procedure to get the source, and then
> > $autoreconf
> > $./configure
> > $make
> >
> > the build always stuck at:
> > ==fptools== make all -wr;
> >  in /login/haskell/public/ghc/ghc/compiler
> > ------------------------------------------------------------------------
> > /bin/sh: line 0: test: 2.20051206: integer expression expected
> > /bin/sh: line 0: test: 2.20051206: integer expression expected
> > /bin/sh: line 0: test: 2.20051206: integer expression expected
> >
> > Any ideas?  I am using Debian (testing).
>
> "stuck" as in make uses lots of CPU with no visible progress?
>
> If so, it sounds like
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346248
>
>
> Thanks
> Ian
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>

Yes, at that point make is comsuming 99% CPU, but it doesn't seem to be
doing anything.  So this is a problem with Make on Debian-Test (?).

The "> /bin/sh: line 0: test: 2.20051206: integer expression expected"
appears to comes from this line in the make file:

bootstrapped = $(shell if (test $(GhcCanonVersion) -eq $(ProjectVersionInt)
-a $(GhcPatchLevel) -eq $(ProjectPatchLevel)); then echo YES; else echo NO;
fi)

Should it be changed to:

bootstrapped = $(shell if (test $(GhcCanonVersion) -eq $(ProjectVersionInt)
-a "$(GhcPatchLevel)" == "$(ProjectPatchLevel)"); then echo YES; else echo
NO; fi)

quoting and comparing GhcPatchLevel as string.

- Quan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/glasgow-haskell-users/attachments/20060114/f5241e99/attachment-0001.htm


More information about the Glasgow-haskell-users mailing list