Building -stable
Woodchuck
marmot at pennswoods.net
Mon May 19 12:20:39 PDT 2008
On Mon, 19 May 2008, Daniel Staal wrote:
>
> Ok, I'm trying to build the current 4.3 -stable branch for a firewall
> install I'm working on. Nothing major going on here, just ran CVS and got
> the sources, GENERIC kernel. The machine's virtual: Parallels on a Mac Pro.
>
> I'm getting this error at the end of the userland build:
>
> ---
> mkdep -a -nostdinc -idirafter /usr/dest/usr/include
> /usr/src/usr.sbin/chroot/chroot.c
> ===> usr.sbin/config
> make: don't know how to make mkmakefile.c. Stop in /usr/src/usr.sbin/config.
> *** Error code 2
does the file /usr/src/usr.sbin/config/mkmakefile.c exist? It exists
in 4.2, and I *presume* it exists in 4.3. Let me look in the
browseable cvs repository:
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/config/mkmakefile.c
Yeah, it's still in the repository, so it looks like you somehow are
missing it.
cd /usr/src/usr.sbin/config and verify that it is not there.
If your prior cvs'ing was OK, you should be able to more or less
enter
# cvs up -Pd
and get the missing file. The cvs output would look something like:
(I deleted the file first. This is on 4.2.)
[root at rachel config 0:153]# cvs up -Pd
cvs server: Updating .
U mkmakefile.c
root at rachel config 0:154]#
You should get version 1.27 of the file, if I read my CVS tags
properly. The first line of the file should look like:
/* $OpenBSD: mkmakefile.c,v 1.27 2007/11/27 14:56:31 chl Exp $ */
If this doesn't work, then other guys need to help scratch our
heads. Version 1.30 is more recent, but may not work with -stable.
and see it appear.
> Stop in /usr/src/usr.sbin (line 48 of /usr/share/mk/bsd.subdir.mk).
> *** Error code 1
>
> Stop in /usr/src (line 48 of /usr/share/mk/bsd.subdir.mk).
> *** Error code 1
>
> Stop in /usr/src (line 73 of Makefile).
> ---
>
> Anyone have any ideas on where I should go from here? The system appears
> to boot and operate normally...
Well, if it worked before, it still works ... you haven't updated
anything that's executing if the build bombs.
Dave
More information about the Openbsd-newbies
mailing list