Subject: pkg/33377: gmake 3.81 won't build ghc
To: None <firstname.lastname@example.org, email@example.com,>
From: None <firstname.lastname@example.org>
Date: 04/27/2006 15:10:01
>Synopsis: gmake 3.81 won't build ghc
>Arrival-Date: Thu Apr 27 15:10:00 +0000 2006
>Originator: David A. Holland
>Release: NetBSD 3.99.10 (-20051026) (pkgsrc of 20060425)
System: NetBSD tanaqui 3.99.10 NetBSD 3.99.10 (TANAQUI) #3: Wed Oct 26 18:52:27 EDT 2005 root@tanaqui:/usr/src/sys/arch/i386/compile/TANAQUI i386
gmake 3.81 (just committed to pkgsrc) fails to build lang/ghc; it goes
into some kind of pathological tree search. There's some reason to
suspect that it might actually finish if left for long enough;
however, "long enough", if it exists, appears to be well over 12 hours
even on a reasonably fast machine.
The issue is known to the gmake maintainers:
but they don't seem to have fixed it in time for the 3.81 release.
cd /usr/pkgsrc/devel/gmake && make update
cd /usr/pkgsrc/lang/ghc && make
and when the build seems to stop making progress, use ps and
watch gmake rack up cpu time. (It takes a while to get to the
Reverting to gmake 3.80nb5 cures the problem.
There's some chance that updating to ghc 6.4.2 might also, but it's
not too likely. (I haven't tried this, because it's not entirely