Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Dec 2009 11:32:39 -0800
From:      "Kevin Oberman" <oberman@es.net>
To:        ocean <ocean_ieee@yahoo.it>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: RELENG_8 buildworld broken? 
Message-ID:  <20091209193239.88ED31CC0C@ptavv.es.net>
In-Reply-To: Your message of "Wed, 09 Dec 2009 17:36:26 %2B0100." <4B1FD20A.2050102@yahoo.it> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Wed, 09 Dec 2009 17:36:26 +0100
> From: ocean <ocean_ieee@yahoo.it>
> Sender: owner-freebsd-stable@freebsd.org
> 
> Pieter de Goeje wrote:
> > 
> > The problem only occurs when doing a parallel make world (make -j8 
> > buildworld). In the past I have always successfully built world using -j4. I 
> > guess the recent upgrade of this machine from dual core to quad core just 
> > made the problem visible.
> > 
> > - Pieter
> > 
> > _______________________________________________
> > freebsd-stable@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
> > 
> 
> actually that's not the only problem with buildworld in 8.0.
> -march isn't added to CFLAGS using CPUTYPE in make.conf, you should add it manually to CFLAGS.
> on another thread was said that make delete-old is also broken (and i suspect also delete-old-libs), so options in src.conf are pretty useless.
> all the problems seems to be triggered by Makefile.incl

In what way is delete-old broken?

I agree that src.conf often does not work. Just try to build a system
with 'WITHOUT_OPENSSH='. PR with patch to Makefile.inc1 submitted by
b.f. three or four months ago. So far, no response.

I have seen the really bad suggestion that somehow files not built due
to src.conf entries be added to the list of old files to be
deleted. PLEASE DON'T DO THAT! 

The single most important use I have for /etc/src.conf is to avoid
system upgrades over-writing the files for ssh and BIND when the ports
are installed to overwrite those in the base system. I certainly don't
want a delete-old to try to delete the files installed from ports.

And, yes, this is a fairly common practice, especially for BIND. There
is good reason that the OVERWRITE_BASE option is offered when you
install BIND from ports.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091209193239.88ED31CC0C>