Upgrade 7.0 to 7.2 installworld failed - SOLVED

Colin freebsd at southportweb.co.uk
Sat Dec 26 09:59:53 UTC 2009


On 25/12/2009 00:44, Mel Flynn wrote:
> Take the reboot out of the equation and keep  it simple:
> su to root
> mkdir /usr/testdir
> cd /usr/src
> env -i make buildworld
> env -i make installworld DESTDIR=/usr/testdir
>
> Kernel has nothing to do with installworld target.
>    

Taking the reboot out of the equation with the normal process doesn't 
make a difference however using env -i doe thus it must be a setting. 
Can I safely rm /ust/testdir without anything breaking now?

On 25/12/2009 06:36, Igor V. Ruzanov wrote:
> These things are for cvsup utility setup and they are not invoked to point
> on options responsible for specific system building. Try to add the
> following lines to /etc/make.conf:
>    
> CFLAGS= -O -pipe
> NO_FORTRAN=     true
> NO_OBJC=        true
> NO_X=           true
> NO_GAMES=        true
> NO_PROFILE=      true
>
> and re-make buildworld, then make installworld.

When I run cvsup it uses a specific supfile anyway that has much the 
same settings, I think the ones in make.conf are there for one of my 
nightly port updating scripts.
Adding the options you have mentioned to make.conf however made no 
difference to the installworld error.

Thus I started playing I took out the following which make it work:

#PERL_VERSION=5.8.9
#BATCH=YES
#CRYPT_DES=0
#WITHOUT_ALT_CONFIG_PREFIX=YES

Take your pick as to which one it was but I thought I'd post back so 
anyone else having the problem can look into it. Its a bit odd that 
moving make.conf aside didn't work though so there must be some other 
stuff in make.conf that is also required to prevent the problem..

Thanks for all the help folks! Now on to the ports...

-- 

Regards,
Colin Waring,
+44 (0)1704 564047

Southport Computers
Local IT Support
http://www.southportcomputers.co.uk

Southport Web
Web Design and Hosting Services
http://www.southportweb.co.uk



More information about the freebsd-questions mailing list