Port-i386 archive

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

Compilation issue on NetBSD 4



Good evening,

I am currently trying to update my NetBSD 4.0 with the latest sources avaible in the branch netbsd-4. In order to make this I have fetched a complete /usr/src tree from cvsup.se.netbsd.org thanks to csup and this supfile:

/# Supfile pour màj /usr/src (Zarock)
# tag pê égal à : . pour suivre current, netbsd-4, netbsd-4-release
*default tag=netbsd-4
*default release=cvs
*default delete use-rel-suffix
*default umask=002
*default host=cvsup.se.netbsd.org
*default base=/usr
*default prefix=/usr
*default compress

# On rappatrie toutes les sources
netbsd-src/

Then I follow the handbook method so I use the following command:

./build.sh  -O ../obj -T ../tools -U -u distribution

After some time of compilation NetBSD insults me with that ;p

/install-etc-release ===> etc
#    create  etc/etc-release
#   install  etc/release
cd /usr/src/../obj/etc && /usr/src/../tools/bin/i386--netbsdelf-install -U -M /usr/src/../obj/destdir.i386/METALOG -D /usr/src/../obj/destdir.i386 -h sha1 -N /usr/src/etc -c -p -r -T etc_pkg -o root -g wheel -m 444 etc-release /usr/src/../obj/destdir.i386/etc/release
Build started at:  Fri Apr 18 22:48:07 CEST 2008
Build finished at: Fri Apr 18 23:00:06 CEST 2008
distribution ===> etc   (with: INSTALL_DONE=1)
/usr/src/../tools/bin/i386--netbsdelf-install -U -M /usr/src/../obj/destdir.i386/METALOG -D /usr/src/../obj/destdir.i386 -h sha1 -N /usr/src/etc -d -o root -g wheel -m 755 -T base_pkg /usr/src/../obj/destdir.i386 /usr/src/../tools/bin/nbmtree -def /usr/src/etc/mtree/NetBSD.dist -N /usr/src/etc -p /usr/src/../obj/destdir.i386/ -U -W /usr/src/../tools/bin/nbmtree -def /usr/src/etc/mtree/NetBSD.dist -N /usr/src/etc -p /usr/src/../obj/destdir.i386/ -C -k all | awk '/ optional/ {next} // {print}' | /usr/src/../tools/bin/nbcat -l >> /usr/src/../obj/destdir.i386/METALOG
install-etc-files ===> etc
#    create  etc//usr/src/etc/MAKEDEV
MACHINE=i386 MACHINE_ARCH=i386 NETBSDSRCDIR=/usr/src awk -f /usr/src/etc/MAKEDEV.awk /usr/src/etc/MAKEDEV.tmpl > /usr/src/etc/MAKEDEV
#   install  /usr/src/../obj/destdir.i386/etc/master.passwd
cd /usr/src/etc && /usr/src/../tools/bin/i386--netbsdelf-install -U -M /usr/src/../obj/destdir.i386/METALOG -D /usr/src/../obj/destdir.i386 -h sha1 -N /usr/src/etc -c -p -r -T etc_pkg -o root -g wheel -m 600 master.passwd /usr/src/../obj/destdir.i386/etc /usr/src/../tools/bin/nbpwd_mkdb -p -L -d /usr/src/../obj/destdir.i386/ /usr/src/../obj/destdir.i386/etc/master.passwd ( for metaent in passwd pwd.db spwd.db; do echo "./etc/${metaent} type=file mode=0644 uname=root gname=wheel tags=etc_pkg"; done; ) | /usr/src/../tools/bin/nbcat -l >> /usr/src/../obj/destdir.i386/METALOG
#   install  /usr/src/../obj/destdir.i386/etc/ttys
cd /usr/src/../obj/etc && /usr/src/../tools/bin/i386--netbsdelf-install -U -M /usr/src/../obj/destdir.i386/METALOG -D /usr/src/../obj/destdir.i386 -h sha1 -N /usr/src/etc -c -p -r -T etc_pkg -o root -g wheel -m 644 /usr/src/etc/etc.i386/ttys /usr/src/../obj/destdir.i386/etc
#   install  /usr/src/../obj/destdir.i386/dev/MAKEDEV
cd /usr/src/../obj/etc && /usr/src/../tools/bin/i386--netbsdelf-install -U -M /usr/src/../obj/destdir.i386/METALOG -D /usr/src/../obj/destdir.i386 -h sha1 -N /usr/src/etc -c -p -r -T etc_pkg -o root -g wheel -m 555 MAKEDEV /usr/src/../obj/destdir.i386/dev
i386--netbsdelf-install: MAKEDEV: stat: No such file or directory

*** Failed target:  install-etc-files
*** Failed command: cd /usr/src/../obj/etc && /usr/src/../tools/bin/i386--netbsdelf-install -U -M /usr/src/../obj/destdir.i386/METALOG -D /usr/src/../obj/destdir.i386 -h sha1 -N /usr/src/etc -c -p -r -T etc_pkg -o root -g wheel -m 555 MAKEDEV /usr/src/../obj/destdir.i386/dev
*** Error code 1

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

*** Failed target:  distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="etc/"; real="/usr/src/etc" ;; *) this="etc/${dir}/"; real="/usr/src/etc/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . install-etc-files
*** Error code 1

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

*** 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/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget etc distribution INSTALL_DONE=1
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make distribution
*** BUILD ABORTED ***
[root@mandos:/usr/src]

/Then I have tried to use the same command but without the -U and make as root but it's the same...
I can give you more informations if you want.

If anyone could give me some help it will be very appreciated.

Regards,

Gabriel-Boris JEAN a.k.a. Zarock


Home | Main Index | Thread Index | Old Index