I have a cobalt 2 running 5.1 RC4, which I am working on getting to 5.1 stable. I am using http://netbsd.org/docs/updating.html as a guide.
Whilst SU-ed into ROOT and in /usr/src, I perform the commands:
./build.sh -O ../obj -T ../tools tools
./build.sh -O ../obj -T ../tools kernel=GENERIC
Which complete quickly and sucessfully
I am currently running the following command: ./build.sh -O ../obj -T ../tools -U distribution
After about 2 days this aborts the make distribution with the following error:
./stand/cobalt/5.1_STABLE/modules/umapfs/umapfs.kmod
./stand/cobalt/5.1_STABLE/modules/union
./stand/cobalt/5.1_STABLE/modules/union/union.kmod
./usr/share/man/cat4/btmagic.0
./usr/share/man/html4/btmagic.html
./usr/share/man/man4/btmagic.4
========= end of 123 extra files ===========
*** Failed target: checkflist
*** Failed command: cd /usr/src/distrib/sets && DESTDIR=/usr/src/../obj/destdird
*** Error code 1
Stop.
nbmake: stopped in /usr/src/distrib/sets
*** Failed target: distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; cast
*** Error code 1
Stop.
nbmake: stopped in /usr/src
ERROR: Failed to make distribution
*** BUILD ABORTED ***
Does anyone have any suggestions on how I can resolve this error? I have double checked that cvs has correctly updated everything else.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de
Check timestamps of these extra files.
---
Izumi Tsutsui
Hmm, if they are actualy built during the last build.sh, no problem.
> Could this be a permissions issue?
No, but it looks set list files under src/distrib/sets/lists are broken.
Check if they are taken from the correct branch. (see CVS/Entries)
% grep umapfs.kmod src/distrib/sets/lists/base/lkm.mi
./@MODULEDIR@/umapfs/umapfs.kmod base-kernel-modules
% grep btmagic.0 src/distrib/sets/lists/man/mi
./usr/share/man/cat4/btmagic.0 man-sys-catman .cat
%
bash-4.1# ls -lah /usr/src/../obj/destdir.cobalt/stand/cobalt/5.1_STABLE/modules/umapfs/umapfs.kmod
-r--r--r-- 1 root wheel 16K Feb 17 11:21 /usr/src/../obj/destdir.cobalt/stand/cobalt/5.1_STABLE/modules/umapfs/umapfs.kmod
Could this be a permissions issue?
I am guessing the CVS sync didn't occur correctly then?
-----Original Message-----
From: Izumi Tsutsui [mailto:tsu...@ceres.dti.ne.jp]
Sent: Friday, 25 February 2011 1:22 AM
To: Kieran Jacobsen
Cc: port...@NetBSD.org; tsu...@ceres.dti.ne.jp
Subject: Re: /build.sh error
> bash-4.1# ls -lah /usr/src/../obj/destdir.cobalt/stand/cobalt/5.1_STABLE/modules/umapfs/umapfs.kmod
> -r--r--r-- 1 root wheel 16K Feb 17 11:21 /usr/src/../obj/destdir.cobalt/stand/cobalt/5.1_STABLE/modules/umapfs/umapfs.kmod
Hmm, if they are actualy built during the last build.sh, no problem.
> Could this be a permissions issue?
No, but it looks set list files under src/distrib/sets/lists are broken.
Check if they are taken from the correct branch. (see CVS/Entries)
% grep umapfs.kmod src/distrib/sets/lists/base/lkm.mi
./@MODULEDIR@/umapfs/umapfs.kmod base-kernel-modules
% grep btmagic.0 src/distrib/sets/lists/man/mi
./usr/share/man/cat4/btmagic.0 man-sys-catman .cat
%
No idea about cvs environment, but errors were caused by
inconsistent source tree.
-----Original Message-----
From: Izumi Tsutsui [mailto:tsu...@ceres.dti.ne.jp]
Sent: Friday, 4 March 2011 11:16 PM
To: Kieran Jacobsen
Cc: port...@NetBSD.org; tsu...@ceres.dti.ne.jp
Subject: Re: /build.sh error
> I am guessing the CVS sync didn't occur correctly then?
No idea about cvs environment, but errors were caused by inconsistent source
tree.
---
Izumi Tsutsui
-----Original Message-----
From: Izumi Tsutsui <tsu...@ceres.dti.ne.jp>
Sent: Friday, 4 March 2011 11:16 PM
To: Kieran Jacobsen <kie...@kjacobsen.net>
Cc: port...@NetBSD.org <port...@NetBSD.org>; tsu...@ceres.dti.ne.jp <tsu...@ceres.dti.ne.jp>
Subject: Re: /build.sh error
> I am guessing the CVS sync didn't occur correctly then?
No idea about cvs environment, but errors were caused by
inconsistent source tree.
---
I think anoncvs.NetBSD.org is enough,
but source sets in daily build is easier
to fetch the latest netbsd-5 sources.
http://nyftp.NetBSD.org/pub/NetBSD-daily/netbsd-5/201103040500Z/source/sets/
http://releng.NetBSD.org/
./usr/share/man/man8/dnssec-dsfromkey.8
./usr/share/man/man8/dnssec-keyfromlabel.8
./usr/share/man/man8/dnssec-revoke.8
./usr/share/man/man8/dnssec-settime.8
========= end of 203 extra files ===========
*** Failed target: checkflist
*** Failed command: cd /usr/src/distrib/sets && DESTDIR=/usr/src/../obj/destdir.cobalt MACHINE=cobalt MACHINE_ARCH=mipsel AWK=/usr/src/../tools/bin/nbawk CKSUM=/usr/src/../tools/bin/nbcksum DB=/usr/src/../tools/bin/nbdb HOST_SH=/bin/sh MAKE=/usr/src/../tools/bin/nbmake MKTEMP=/usr/src/../tools/bin/nbmktemp MTREE=/usr/src/../tools/bin/nbmtree PAX=/usr/src/../tools/bin/nbpax SED=/usr/src/../tools/bin/nbsed TSORT=/usr/src/../tools/bin/nbtsort\ -q /bin/sh /usr/src/distrib/sets/checkflist -M /usr/src/../obj/destdir.cobalt/METALOG.sanitised
*** Error code 1
Stop.
nbmake: stopped in /usr/src/distrib/sets
*** 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 distrib/sets checkflist
*** Error code 1
Stop.
nbmake: stopped in /usr/src
ERROR: Failed to make distribution
*** BUILD ABORTED ***
-----Original Message-----
From: port-mi...@NetBSD.org [mailto:port-mi...@NetBSD.org] On Behalf Of Izumi Tsutsui
Sent: Saturday, 5 March 2011 9:12 PM
To: Kieran Jacobsen
Cc: port...@NetBSD.org; tsu...@ceres.dti.ne.jp
Subject: Re: /build.sh error
Well, different files so not same, but
does your host have any definitions in /etc/mk.conf or
shell environment values, like "MKfoo=no" or "NOfoo=" etc?
cat /etc/mk.conf
WRKOBJDIR=/usr/work
DISTDIR=/usr/distfiles
PKG_RCD_SCRIPTS=YES
Env print out
TERM=xterm
SHELL=/bin/csh
SSH_CLIENT=172.16.0.100 21909 22
SSH_TTY=/dev/ttyp0
USER=<removed>
ENV=/home/<removed>/.shrc
PAGER=more
MAIL=/var/mail/<removed>
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
EXINIT=set autoindent
PWD=/home/<removed>
EDITOR=vi
SHLVL=1
HOME=/root
LOGNAME=<removed>
SSH_CONNECTION=<removed>
_=/usr/bin/su
SU_FROM=<removed>
BLOCKSIZE=1k
-----Original Message-----
From: Izumi Tsutsui [mailto:tsu...@ceres.dti.ne.jp]
Sent: Wednesday, 16 March 2011 12:08 AM
To: Kieran Jacobsen
Cc: port...@NetBSD.org; tsu...@ceres.dti.ne.jp
Subject: Re: /build.sh error
It's better to remove all files under DESTDIR before build,
and also all files under /usr/src before extracting new sets.
-----Original Message-----
From: Izumi Tsutsui [mailto:tsu...@ceres.dti.ne.jp]
Sent: Wednesday, 16 March 2011 11:41 PM
To: Kieran Jacobsen
Cc: port...@NetBSD.org; tsu...@ceres.dti.ne.jp
Subject: Re: /build.sh error