From owner-freebsd-bugs Fri Jul 5 7:40:21 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD00337B405 for ; Fri, 5 Jul 2002 07:40:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D89443E3B for ; Fri, 5 Jul 2002 07:40:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g65Ee4JU030759 for ; Fri, 5 Jul 2002 07:40:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g65Ee43D030758; Fri, 5 Jul 2002 07:40:04 -0700 (PDT) Date: Fri, 5 Jul 2002 07:40:04 -0700 (PDT) Message-Id: <200207051440.g65Ee43D030758@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ruslan Ermilov Subject: Re: bin/40047: "make release" fails in games/adventure (yesterday's RELENG_4) Reply-To: Ruslan Ermilov Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/40047; it has been noted by GNATS. From: Ruslan Ermilov To: David Schultz , Trevor Johnson Cc: re@FreeBSD.org, bug-followup@FreeBSD.org Subject: Re: bin/40047: "make release" fails in games/adventure (yesterday's RELENG_4) Date: Fri, 5 Jul 2002 17:37:06 +0300 [Sorry for crossposting to re@, but this seemed reasonable.] On Fri, Jul 05, 2002 at 06:00:07AM -0700, David Schultz wrote: > The following reply was made to PR bin/40047; it has been noted by GNATS. > > From: David Schultz > To: freebsd-gnats-submit@FreeBSD.org, trevor@FreeBSD.org > Cc: > Subject: Re: bin/40047: "make release" fails in games/adventure (yesterday's RELENG_4) > Date: Fri, 5 Jul 2002 05:54:39 -0700 > > The following patch should fix the problem. The compat libraries > are installed in /usr/lib/compat, but they were being cleaned from > /usr/lib. > > --- src/lib/compat/Makefile.inc 2002/04/18 06:46:34 1.9 > +++ src/lib/compat/Makefile.inc 2002/07/05 12:52:18 > @@ -7,9 +7,9 @@ > beforeinstall: __remove-stale-libs > __remove-stale-libs: .PHONY > .for lib in ${LIBS} > -.if exists(${DESTDIR}${SHLIBDIR}/${lib}) > - -chflags noschg ${DESTDIR}${SHLIBDIR}/${lib} > - rm -f ${DESTDIR}${SHLIBDIR}/${lib} > +.if exists(${DESTDIR}${LIBCOMPATDIR}/${lib}) > + -chflags noschg ${DESTDIR}${LIBCOMPATDIR}/${lib} > + rm -f ${DESTDIR}${LIBCOMPATDIR}/${lib} > .endif > .endfor > .endif > No, this patch is incorrect. When installing compat libs, their old copies from /usr/lib should be deleted. This is what this code already does. As for the problem, Trevor was attempting to build the 5.0-CURRENT snapshot on a 4.x box in an unsupported way (using the RELENG_4's release/Makefile), as could be seen from How-To-Repeat section or looking at the build logs. To build the 4.x snapshot, one needs to supply the RELEASETAG=RELENG_4 as documented in the release(7) manpage. To build the 5.0-CURRENT snapshot on a 4.x box, one needs to: cd /usr/src-4.x/release; make -f /usr/src-5.0/release/Makefile ... OTOH, it would probably be a good idea to make RELEASETAG default to RELENG_4 on RELENG_4, and default to RELENG_4_6 on RELENG_4_6, similar to how this is done in Makefile.inc1's update: target. (Someone from re@ needs to fix the Makefile.inc1 on RELENG_4_6 to track the RELENG_4_6, like in RELENG_4_4 and RELENG_4_5.) Cheers, -- Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message