From owner-freebsd-current Mon Dec 2 2: 2:21 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 716C237B401; Mon, 2 Dec 2002 02:02:20 -0800 (PST) Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 059A843E9C; Mon, 2 Dec 2002 02:02:20 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0097.cvx22-bradley.dialup.earthlink.net ([209.179.198.97] helo=mindspring.com) by snipe.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18InP9-0007Wy-00; Mon, 02 Dec 2002 02:02:19 -0800 Message-ID: <3DEB2ED8.5764A174@mindspring.com> Date: Mon, 02 Dec 2002 01:58:48 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Doug Barton Cc: Ruslan Ermilov , current@FreeBSD.org, re@FreeBSD.org, Warner Losh , Peter Wemm Subject: Re: [REPORT] Upgrade from 4.0-RELEASE to 5.0-CURRENT References: <20021201150303.GA6369@sunbay.com> <20021202011542.H7297-100000@master.gorean.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Doug Barton wrote: > On Sun, 1 Dec 2002, Ruslan Ermilov wrote: > > I've attempted to overcome 1) as suggested by UPDATING, by running > > the ``mergemaster -p'' (from src/usr.sbin/mergemaster/). This did > > not work well because mergemaster(8) attempted to use stat(1) which > > is not present in 4.0. > > I'm not sure how to solve this problem non-invasively. One way to deal > with it would be to include the instructions to install stat(1) if needed > in UPDATING, but then if the upgrade fails for whatever reason, the user > would be left with a bogus 5.x stat(1) binary on their system. However, > if someone wants to include that step in UPDATING, I have no objection. What arguments and information did it use? Most of the stuff stat(1) outputs can be gotten at another way... e.g. by awk'ing 'ls' output, or tar'ing to a tempfile and "tvf"'ing the archive to get the information, etc.. Makes me want to ask the question: how did you end up with a mergemaster(8) that needed stat(1), when the 4.x version of mergemaster that you were supposed to have been running uses a back-ticked perl command? -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message