NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Fail to updating an existing system from source



Hello,all:

I'm using NetBSD4.0(GENERIC)
linyin# uname -a
NetBSD linyin 4.0 NetBSD 4.0 (GENERIC) #0: Sun Dec 16 00:20:10 PST
2007  
builds@wb34:/home/builds/ab/netbsd-4-0-RELEASE/i386/200712160005Z-obj/home/builds/ab/netbsd-4-0-RELEASE/src/sys/arch/i386/compile/GENERIC
i386

I sync my source via cvsup. the cvsup configuration is:
linyin# more /etc/cvsup-stable
#*default release=cvs tag=.
*default release=cvs tag=netbsd-4
#*default release=cvs tag=netbsd-3-1
#*default release=cvs tag=netbsd-3-0
#*default release=cvs tag=netbsd-3
### CVSup sites: ###
*default host=cvsup.jp.netbsd.org
#*default host=cvsup.se.netbsd.org
#*default host=cvsup.no.netbsd.org
#*default host=cvsup.jp.NetBSD.org
#*default host=cvsup2.jp.NetBSD.org
#*default host=cvsup.uk.NetBSD.org
#*default host=cvsup.us.NetBSD.org
*default delete use-rel-suffix
*default umask=002
*default base=/usr
*default prefix=/usr
*default compress
netbsd-src
#netbsd-pkgsrc           # Packages
#netbsd-htdocs          # WWW pages
#netbsd-othersrc        # Other Sources
#netbsd-xsrc            # The X11 distribution
#netbsd-basesrc         # The base distribution
#netbsd-syssrc          # The kernel distribution
#netbsd-crypto          # Crypto sources
#netbsd-sharesrc        # The /usr/share distribution
#netbsd-gnusrc          # GNU Sources
#netbsd-doc             # Documentation

My /etc/mk.conf is:
linyin# more /etc/mk.conf
.sinclude "/usr/pkg/share/mk/cpuflags.mk"
.sinclude "/usr/pkg/share/mk/optimize_gcc.mk"
FAILOVER_FETCH=yes
FETCH_CMD?=/usr/pkg/bin/aget
MAKE_FLAGS+=-j2
#COPTS?=-pipe ${DEFCOPTS}
#CFLAGS+=-pipe
#CXXFLAGS+=-pipe
#PKGSRC_RUN_TEST?=yes

I do the updating every step like Guide Book Chapter 32. Updating an
existing system from sources
(http://www.netbsd.org/docs/guide/en/chap-updating.html#updating-procedure)
In the first step I "Building a new userland",but it's fail. Have some errors.
===========================================================================
*** Failed command: cd /usr/src/tools/gcc; /usr/src/tooldir.NetBSD-4.0-

i386/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools/gcc

*** Failed target:  dependall-gcc
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case

"${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="tools/";

real="/usr/src/tools" ;; *) this="tools/${dir}/";
real="/usr/src/tools/${dir}" ;;

esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd

"${real}" && /usr/src/tooldir.NetBSD-4.0-i386/bin/nbmake
_THISDIR_="${this}" "$@"

${target}; }; _makedirtarget gcc dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools

*** Failed target:  do-tools
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case

"${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;;

*) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo

"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&

/usr/src/tooldir.NetBSD-4.0-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target};

}; _makedirtarget tools dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case

"${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;;

*) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo

"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&

/usr/src/tooldir.NetBSD-4.0-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target};

}; _makedirtarget . do-tools
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case

"${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;;

*) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo

"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&

/usr/src/tooldir.NetBSD-4.0-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target};

}; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make distribution
*** BUILD ABORTED ***
===========================================================================

Does any one can give me some ideas?
Thank you.
-- 
Regards

linyin.8800.org


Home | Main Index | Thread Index | Old Index