what happened to make world?

Pietro Cerutti gahr at gahr.ch
Thu Aug 30 15:33:09 PDT 2007


Erik Trulsson wrote:
> On Thu, Aug 30, 2007 at 09:20:13PM +0200, Pietro Cerutti wrote:
>> # make world
>> WARNING: make world will overwrite your existing FreeBSD
>> installation without also building and installing a new
>> kernel.  This can be dangerous.  Please read the handbook,
>> 'Rebuilding world', for how to upgrade your system.
>> Define DESTDIR to where you want to install FreeBSD,
>> including /, to override this warning and proceed as usual.
>> You may get the historical 'make world' behavior by defining
>> HISTORICAL_MAKE_WORLD.  You should understand the implications
>> before doing this.
>>
>> Bailing out now...
>> *** Error code 1
>>
>> Stop in /usr/src.
>>
>>
>> Now, THIS is quite funny... do you really thing that a person with
>> - root access
>> - the knowledge of the existence of "make world"
>> needs this sort of things?
> 
> Yes.  Having root access does not imply any particular knowledge or
> experience.  
> In older documentation (which might be used by the unwary) there are
> several references to 'make world'.
> 
> This means that a person new to FreeBSD may well attempt to use 'make world'
> while (wrongly) believing it to be the correct thing to use and not being
> aware of the pitfalls with it.
> 
> This is good to prevent.
> 
> 
> 
>> I didn't see anything about this new-wave-of-user-friendly-bsd going on
>> the list.. have I missed something?
> 
> 'make world' has been deprecated and not-recommended for several years now.
> The correct sequence to upgrade is described in /usr/src/UPDATING and does
> not involve 'make world'.

That's why I noticed this warning only three years after its appearance...

> 
> Personally I think the better solution would be to remove the 'world' target
> completely from the makefiles, but there is probably some good reason for
> why that has not been done.

I quite agree with you

-- 
Pietro Cerutti

PGP Public Key:
http://gahr.ch/pgp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20070830/f5ee54e2/signature.pgp


More information about the freebsd-hackers mailing list