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.

Ruslan Ermilov          Oracle Developer/DBA,
[EMAIL PROTECTED]           Sunbay Software AG,
[EMAIL PROTECTED]          FreeBSD committer,
+380.652.512.251        Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age
--- Begin Message ---
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
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

--- End Message ---

Reply via email to