Upgrade 7.0 to 7.2 installworld failed

Colin freebsd at southportweb.co.uk
Thu Dec 24 18:47:20 UTC 2009


On 24/12/2009 16:04, Yuri Pankov wrote:
> Are you sure that buildworld phase completed successfully? Have you
> tried cleaning /usr/obj/ before building world? Have you tried updating
> your src tree from different cvsup mirror (cvsup.freebsd.org, just to be
> sure)?

Well seen as the output goes on for a long time I've not checked every 
single line of it but there were no errors output.
All the same I have now cleared /usr/obj and done a cvsup from 
cvsup.freebsd.org with the output being captured by tee.
It ends with:

 >>> World build completed on Thu Dec 24 17:41:45 GMT 2009

It hasn't reported any errors and thus should be successful

On 24/12/2009 16:30, Mel Flynn wrote:
>
> I'm going to guess from the fact that installworld tries to build stuff, that
> /usr/obj is a filesystem that isn't mounted after your reboot or that the
> MAKEOBJDIRPREFIX you had set in your environment before reboot, is unset.
>    

/usr/obj is a folder within the /usr partition not its own filesystem 
and /usr is mounted fine so unfortunately for me its nothing as simple 
as that.

As to the prefix, I haven't manually set that anywhere. The buildworld 
log seems to set it during the build as there are several make lines 
with things like "MAKEOBJDIRPREFIX=/usr/obj/usr/src/rescue/rescue" and 
"MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp"

On 24/12/2009 16:07, Igor V. Ruzanov wrote:
> Did you edit /etc/make.conf before make buildworld? Its usefull to set
> NO_PROFILE to "true" to avoid compilation of profiled userland libraries.
>    
No, I didn't see that in any of the upgrade guides that I was following. 
After looking it up I can see mention of it in a rebuilding world doc.

This is my make.conf:

SUP=            /usr/local/bin/cvsup
SUPFLAGS=       -g -L 2
SUPHOST=        cvsup.FreeBSD.org
SUPFILE=        /root/standard-supfile
PORTSSUPFILE=   /root/ports-supfile

#*REMOVE* OPENSSL_OVERWRITE_BASE=NO

# added by use.perl 2009-06-14 11:10:18
PERL_VERSION=5.8.9
BATCH=YES
WITHOUT_X11=YES
SKIP_DNS_CHECK=YES
CRYPT_DES=0
WITH_PORT_REPLACES_BASE_BIND8=YES
WITH_PORT_REPLACES_BASE_BIND9=YES
WITHOUT_ALT_CONFIG_PREFIX=YES
WITH_OPENSSL_PORT=YES
X11BASE=${LOCALBASE}

Can I put NO_PROFILE=TRUE in there now and start again or is it too late 
and does it require other action to correct the problem?

-- 
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