From owner-freebsd-current@FreeBSD.ORG Mon Jan 5 15:09:47 2004 Return-Path: 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 4222316A4CE for ; Mon, 5 Jan 2004 15:09:47 -0800 (PST) Received: from reason.levels.unisa.edu.au (reason.levels.unisa.edu.au [130.220.33.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 961ED43D41 for ; Mon, 5 Jan 2004 15:09:43 -0800 (PST) (envelope-from cisbjc@cs.unisa.edu.au) Received: from cs.unisa.edu.au (cis202068.levels.unisa.edu.au [130.220.37.202])i05N9gGv016229; Tue, 6 Jan 2004 09:39:42 +1030 (CST) Message-ID: <3FF9EE96.50207@cs.unisa.edu.au> Date: Tue, 06 Jan 2004 09:39:10 +1030 From: Benjamin Close User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031106 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Garance A Drosihn References: In-Reply-To: X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: Upgrading from 4.5->5.2 breaks in rescue/rescue/common X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2004 23:09:47 -0000 Garance A Drosihn wrote: > At 8:12 AM +1030 1/6/04, Benjamin Close wrote: > >> Hi All, >> A little while ago I posted that a buildworld from >> RELENG_4_5_0_RELEASE to RELENG_5_2 failed. Whilst I got >> some help fixing the problem it stopped at building >> rescue/rescue/common. > > > If it were me, I would first try to upgrade to 4.9-"safe" > aka 4.9-"security", make sure that was OK, and then jump > to 5.x. Obviously that's more work, so I wouldn't blame > you too much if you wanted to avoid the extra builds. > > Also, I am not sure that would solve the problem you care > about right now... I'm just saying that's the way I tend > to do things. Yeah, I wanted to avoid doing this. Besides, there's going to be a lot of people out there not running 4.9, so figured it's worth me waiting and getting the real problem fixed first. > >> ===> rescue/rescue/common >> "/usr/src/share/mk/bsd.lib.mk", line 18: Malformed conditional >> (defined(SHLIB_NAME) && ${SHLIB_NAME:M*.so.*}) >> "/usr/src/share/mk/bsd.lib.mk", line 18: Missing dependency operator >> "/usr/src/share/mk/bsd.lib.mk", line 22: if-less endif >> make: fatal errors encountered -- cannot continue >> *** Error code 1 > > > Hmm. How recent is your snapshot of RELENG_5_2 ? > > I *think* the above problem was fixed in RELENG_5_2 with an > update to rescue/rescue/Makefile, back on Dec 24th or 25th. > The basic problem is that you're getting the wrong version of > make. > Snapshot was after the said commit - It was meant to fix the problem but didn't :( > You might also be able to get around this by installing the > new version of make (go into /usr/src/usr.bin/make and > type 'make install'). I assume that has to work OK, but it > is possible that it might cause you other problems. > Hmm, never thought of this one. I'll try it and let you know. It might be worth mentioning in UPDATING if it works. Cheers, Benjamin -- 3D Research Associate / System Administrator +61 8 8302 3669 School of Computer and Information Science Room D1-07, ML Campus University of South Australia Mawson Lakes Blvd. Benjamin.Close@cs.unisa.edu.au South Australia, 5095 F00D C83D 5F7E 5561 DF91 B74D E602 CAA3 4842 B5B4