Subject: Re: build sourcesets problem
To: Luke Mewburn <>
From: John Nemeth <>
List: current-users
Date: 07/27/2003 22:39:01
On Dec 12,  4:59pm, Luke Mewburn wrote:
}   | } On Mon, Jul 21, 2003 at 05:34:08PM -0700, John Nemeth wrote:
}   | }   |      I usually try to build -current by doing something like:
}   | }   | "./ ... sourcesets release".  This fails because the cksum tool
}   | }   | isn't built at the time that sourcesets part goes to create the
}   | }   | checksum files.  It seems that there is a dependency missing.
} Try adding "tools" before "sourcesets", or swapping the order of
} "release" and "sourcesets"...

     I just tried again with sources that I cvs updated a four hours
ago.  It was rather interesting...  I first cd'ed to
/mnt/NetBSD-current/src which is the directory where I have my cvs
stuff.  Then I did:

./ -R /mnt/NetBSD-current/releasedir -D /mnt/NetBSD-current/destdir tools sourcesets release

The result of that was:

install ===> zic
mkdir -p /mnt/NetBSD-current/src/obj/tooldir.NetBSD-1.6_RC1-i386/bin
/mnt/NetBSD-current/src/obj/tooldir.NetBSD-1.6_RC1-i386/bin/nbinstall -c -p -r -
m 555 zic /mnt/NetBSD-current/src/obj/tooldir.NetBSD-1.6_RC1-i386/bin/nbzic
install ===> groff
===> Tools built to /mnt/NetBSD-current/src/obj/tooldir.NetBSD-1.6_RC1-i386
nbmake: don't know how to make sourcesets. Stop

nbmake: stopped in /mnt/NetBSD-current/src/tools

ERROR: Failed to make sourcesets

It looks like the build system was left in the wrong directory after it
finished building tools.

     I then issued the following command:

./ -R /mnt/NetBSD-current/releasedir -D /mnt/NetBSD-current/destdir -u -U sourcesets release

It successfully built the sourcesets (with the checksums) and at this
moment is still working on release.

} (Time to add another sanity check to

     Perhaps.  Certainly, it should figure out dependencies by itself.

}-- End of excerpt from Luke Mewburn