From owner-freebsd-current Mon Dec 10 2:22:49 2001 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 7A04537B405 for ; Mon, 10 Dec 2001 02:22:32 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id fBAALOB99050; Mon, 10 Dec 2001 12:21:24 +0200 (EET) (envelope-from ru) Date: Mon, 10 Dec 2001 12:21:24 +0200 From: Ruslan Ermilov To: Peter Wemm Cc: Mathieu Arnold , Warner Losh , current@FreeBSD.ORG Subject: Re: stable->current busted Message-ID: <20011210122124.C82371@sunbay.com> References: <3C106394.A9803F72@club-internet.fr> <20011208210832.2FC593808@overcee.netplex.com.au> <20011210115050.B82371@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline In-Reply-To: <20011210115050.B82371@sunbay.com> User-Agent: Mutt/1.3.23i 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 --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Dec 10, 2001 at 11:50:50AM +0200, Ruslan Ermilov wrote: > On Sat, Dec 08, 2001 at 01:08:32PM -0800, Peter Wemm wrote: > > Mathieu Arnold wrote: > > > > > > Warner Losh wrote: > > > > > > > > 4.4-r -> current build is very broken right now. I'll investigate and > > > > fix. > > > > > > last time I did it, I had a problem with install, adding LDFLAGS+= > > > -static to src/usr.bin/xinstall/Makefile fixed the problem. > > > the problem was using install linked to libc.so.4 to do something like > > > this : > > > rm libc.so.4 > > > install libc.so.4 > > > which was failing for obvious reasons :) > > > > I think this will fix it: > > > > http://people.freebsd.org/~peter/compat.diff > > > Please don't do this. At least in my version of Makefile.inc1, > bootstrap-tools (which xinstall is part of) are built static > and used during installworld: > > ldd: /usr/obj/usr/src/i386/usr/bin/install: not a dynamic executable > Please also see my reply to PR misc/32635 (attached). The author reported a (known) impossibility to make 5.0-CURRENT release on a 4.4-STABLE box, but was also worried about standard source upgrade. Cheers, -- Ruslan Ermilov Oracle Developer/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 --k+w/mQv8wyuph6w0 Content-Type: message/rfc822 Content-Disposition: inline Received: from mx2.freebsd.org (mx2.FreeBSD.org [216.136.204.119]) by whale.sunbay.crimea.ua (8.11.6/8.11.2) with ESMTP id fBAAIVv98574 for ; Mon, 10 Dec 2001 12:18:32 +0200 (EET) (envelope-from ru@FreeBSD.org) Received: from hub.freebsd.org (hub.FreeBSD.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 9E89855E9B for ; Mon, 10 Dec 2001 02:18:26 -0800 (PST) (envelope-from ru@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 4A2E337B417; Mon, 10 Dec 2001 02:18:27 -0800 (PST) Delivered-To: ru@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EB30237B405; Mon, 10 Dec 2001 02:18:26 -0800 (PST) Received: (from ru@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBAAIKb84916; Mon, 10 Dec 2001 02:18:20 -0800 (PST) (envelope-from ru) Date: Mon, 10 Dec 2001 02:18:20 -0800 (PST) From: Message-Id: <200112101018.fBAAIKb84916@freefall.freebsd.org> To: florian.schrack@freenet.de, ru@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: misc/32635: 'make installworld' fails during update to -current MIME-Version: 1.0 Synopsis: 'make installworld' fails during update to -current State-Changed-From-To: open->closed State-Changed-By: ru State-Changed-When: Mon Dec 10 02:07:52 PST 2001 State-Changed-Why: Sorry, but we don't currently support building cross-branch releases. This shouldn't be a problem for a normal (non-chrooted) upgrade, since `installworld' makes copies of all utilities (and uses them) that are needed during install. This happens as the first step of `buildworld' stage. Also, if you have old 4.x binaries (linked against libc.so.4, etc.), make sure to add COMPAT4X=TRUE to /etc/make.conf. There's still a race exists when installing compat libraries, because stale libraries (libc.so.4) are removed before their copies are moved into /usr/lib/compat. But this race is actually harmless, because the only utils that are used during installation are chflags(1), rm(1) and install(1), all of them are linked static (including install(1), which is built in a BMAKEENV environment with -DNOSHARED during `installworld'). http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32635 --k+w/mQv8wyuph6w0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message