Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 May 1999 15:24:07 +0300
From:      Vadim Chekan <vadim@gc.lviv.ua>
To:        "stable@FreeBSD.ORG" <stable@FreeBSD.ORG>
Subject:   Re: Error in /usr/src/etc/Makefile
Message-ID:  <3746A1E7.23E43E44@gc.lviv.ua>
References:  <37468DDB.6C296E49@gc.lviv.ua> <19990522141510.A60899@relay.ucb.crimea.ua> <374697A8.242D6D4D@gc.lviv.ua> <19990522150113.A69072@relay.ucb.crimea.ua>

next in thread | previous in thread | raw e-mail | index | archive | help


Ruslan Ermilov wrote:
> 
> On Sat, May 22, 1999 at 02:40:24PM +0300, Vadim Chekan wrote:
> >
> >
> > Ruslan Ermilov wrote:
> > >
> > > On Sat, May 22, 1999 at 01:58:35PM +0300, Vadim Chekan wrote:
> > > > Hello everybody!
> > > >
> > > > I've got a troubles when I tryed to upgrade from sourses my 2.2.5 box to
> > > > 3.2-RELEASE
> > > > in /usr/src/etc/Makefile:13
> > > > etc.${MACHINE_ARCH}/rc.${MACHINE_ARCH} \
> > > >
> > > Use ``make upgrade'' option.
> >
> > I use mergemaster version-1.24 :)
> >
> ``mergemaster'' is just a supplement for ``make world''.
> It's not supposed for 2.2.x -> 3.x jumps.

Why? I think it's version-independed. It just help to compare and
correct files in /etc
I'd had to install new aout version of mtree but it's pretty simple
Now I'm in the middle of the way :)

> 
> In your case (2.2.5 -> 3.2), use ``make upgrade'' if you want to upgrade
> from sources.  Another possibility would be the ``binary'' upgrade option
> of sysinstall.

I'm doing remote upgrade on box in other city.
I know, I can do it from binary so. But I prefer sources.
> 
> Advice: upgrade to 2.2.8-STABLE first, then ``make upgrade'' to 3.2-STABLE.

I did this on another macine, but if I can work around my problems, it's
too long way

> 
> > > > But where is MACHINE_ARCH defined?
> > > > Only place where I meneged to find it is /usr/ports/Mk/bsd.port.mk
> > > > In /usr/src/etc/Makefile is only one ".include"
> > > > .include <bsd.prog.mk>
> > > >
> > > It's not defined in 2.2.5.  You can find it in /usr/src/share/mk/sys.mk.
> >
> > Ok, It's true. I think in this case /usr/src/share/mk/sys.mk must be
> > included in /usr/src/etc/Makefile
> > Isn't it?
> >
> It is (from /usr/src/Makefile):
> #
> # Handle the user-driven targets, using the source relative mk files.
> #
> ${TGTS} : upgrade_checks
>         @cd ${.CURDIR}; \
>                 ${MAKE} -f Makefile.inc0 -m ${.CURDIR}/share/mk ${.TARGET}

I haven't time to check all this more carefully, but MACHINE_ARCH was
undefined, and mergemaster fail to 
install ... etc./rc ...
(must be etc.i386)

Vadim Chekan


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3746A1E7.23E43E44>