buildworld problem with -CURRENT as of a half hour ago

Dan Nelson dnelson at allantgroup.com
Tue Dec 9 20:27:03 PST 2003


In the last episode (Dec 09), Steve Kargl said:
> On Tue, Dec 09, 2003 at 09:43:02PM -0500, Damian Gerow wrote:
> > Thus spake Steve Kargl (sgk at troutmask.apl.washington.edu) [09/12/03 21:38]:
> > : On Tue, Dec 09, 2003 at 09:36:32PM -0500, Damian Gerow wrote:
> > : >     /usr/obj/usr/src/i386/usr/lib/libtinfo_p.a -> libncurses_p.a
> > : >     1 error
> > : >     *** Error code 2
> > : > 
> > : > It's not even clear what the error is -- it just says 'error'. 
> > : > Scrolling back up through my buffer doesn't show anything at
> > : > all.
> > : 
> > : Are you using "make -j 4"?
> > 
> > I'd tried 'make -j4' and 'make -j2', don't remember if I did a
> > straight buildworld or not -- just trying again now, it'll be about
> > 15-20 minutes before I can tell for sure.
> > 
> > And yes, both -j4 and -j2 resulted in the same error.
> 
> -j# obfuscates where the actual error occurs unless you have enough
> make-fu to read the log.  The first step one should take when this
> type of error happens is a plain "make buildworld".

You can usually do a "make -DNOCLEAN buildworld" here to speed up the
run.  It'll zip through what you've already compiled rather than
rebuild it.  If this build succeeds, there's probably a dependency
problem someplace causing the -j build to fail.  Also logging your
builds is a good idea: "script world.log make -j4 buildworld".

> The next step is run cvsup again to see if the problem has
> been fixed.  Then, report the error to freebsd-current.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-current mailing list