Subject: Re: i386-current not building distribution
To: Havard Eidnes <he@NetBSD.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 01/05/2006 14:12:52
In message <20060105.191253.39175993.he@uninett.no>, Havard Eidnes writes=
:
>> I don't see anything in UPDATING, but I get this error when building
>> "distribution sets" using build.sh:
>>
>> postinstall-fix-obsolete =3D=3D=3D> .
>> =3D=3D=3D Removing obsolete files =3D=3D=3D
>> sh /usr/src/usr.sbin/postinstall/postinstall -s /usr/src -d /usr/src/o=
bj.i38
>6/destdir.i386/ fix obsolete
>> Source directory: /usr/src
>> Target directory: /usr/src/obj.i386/destdir.i386/
>> obsolete fix:
>> postinstall fixes passed: obsolete
>> postinstall fixes failed:
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
>> checkflist =3D=3D=3D> distrib/sets
>> /usr/src/obj.i386/tooldir.NetBSD-3.99.15-i386/bin/nbmtree -C -k all -N=
/usr/
>src/etc </usr/src/obj.i386/destdir.i386/METALOG >/usr/src/obj.i386/destd=
ir.i38
>6/METALOG.sanitised
>> nbmtree: ./usr: No such file or directory
>> nbmtree: failed at line 2 of the specification
>
>I got the exact same problem. I beleive this is only triggered
>if you are doing an UPDATE build (which is what I do most often).
>
I just did a successful 'build.sh distribution' from current source and =
clean destination directory. However, trying to do 'syspkgs' failed:
checkflist =3D=3D=3D> distrib/sets
cd /usr/src/distrib/sets && DESTDIR=3D/usr/BUILD/netbsd MACHINE=3Di386 =
MACHINE_ARC
H=3Di386 CKSUM=3D/usr/BUILD/tools/bin/nbcksum DB=3D/usr/BUILD/tools/bin=
/nbdb HOST_S
H=3Dsh MAKE=3D/usr/BUILD/tools/bin/nbmake MKTEMP=3D/usr/BUILD/tools/bin=
/nbmktemp MT
REE=3D/usr/BUILD/tools/bin/nbmtree PAX=3D/usr/BUILD/tools/bin/nbpax TSO=
RT=3D/usr/BUI
LD/tools/bin/nbtsort\ -q sh /usr/src/distrib/sets/checkflist =
make distribution started at: Thu Jan 5 12:35:20 EST 2006
make distribution finished at: Thu Jan 5 13:52:27 EST 2006
=3D=3D=3D> Successful make distribution
syspkgs =3D=3D=3D> distrib/sets
cd /usr/src/distrib/sets && DESTDIR=3D/usr/BUILD/netbsd MACHINE=3Di386 =
MACHINE_ARC
H=3Di386 CKSUM=3D/usr/BUILD/tools/bin/nbcksum DB=3D/usr/BUILD/tools/bin=
/nbdb HOST_S
H=3Dsh MAKE=3D/usr/BUILD/tools/bin/nbmake MKTEMP=3D/usr/BUILD/tools/bin=
/nbmktemp MT
REE=3D/usr/BUILD/tools/bin/nbmtree PAX=3D/usr/BUILD/tools/bin/nbpax TSO=
RT=3D/usr/BUI
LD/tools/bin/nbtsort\ -q sh /usr/src/distrib/sets/checkflist =
mkdir -p /usr/BUILD/release/i386/binary/syspkgs
cd /usr/src/distrib/sets && DESTDIR=3D/usr/BUILD/netbsd MACHINE=3Di386 =
MACHINE_ARC
H=3Di386 CKSUM=3D/usr/BUILD/tools/bin/nbcksum DB=3D/usr/BUILD/tools/bin=
/nbdb HOST_S
H=3Dsh MAKE=3D/usr/BUILD/tools/bin/nbmake MKTEMP=3D/usr/BUILD/tools/bin=
/nbmktemp MT
REE=3D/usr/BUILD/tools/bin/nbmtree PAX=3D/usr/BUILD/tools/bin/nbpax TSO=
RT=3D/usr/BUI
LD/tools/bin/nbtsort\ -q sh /usr/src/distrib/sets/regpkgset -v -c =
-d /usr
/BUILD/netbsd -N /usr/src/etc -t /usr/BUILD/release/i386/binary/syspkg=
s all
regpkgset: registering base-locale-sl
Making PLIST for "base-locale-sl" package (part of base set)
base-locale-sl - 3.99.15.0.20060105 version using osreleases.ls method
Registered base-locale-sl-3.99.15.0.20060105 in /usr/BUILD/netbsd/var/db/=
syspkg
nbpax: ./usr/share/locale/sl: No such file or directory
nbpax: failed at line 6 of the specification
*** Failed target: makesyspkgs
*** Failed command: cd /usr/src/distrib/sets && DESTDIR=3D/usr/BUILD/netb=
sd MACHIN
E=3Di386 MACHINE_ARCH=3Di386 CKSUM=3D/usr/BUILD/tools/bin/nbcksum DB=3D/u=
sr/BUILD/tools/
bin/nbdb HOST_SH=3Dsh MAKE=3D/usr/BUILD/tools/bin/nbmake MKTEMP=3D/usr/BU=
ILD/tools/bin
/nbmktemp MTREE=3D/usr/BUILD/tools/bin/nbmtree PAX=3D/usr/BUILD/tools/bin=
/nbpax TSOR
T=3D/usr/BUILD/tools/bin/nbtsort\ -q sh /usr/src/distrib/sets/regpkgset -=
v -c -d /
usr/BUILD/netbsd -N /usr/src/etc -t /usr/BUILD/release/i386/binary/syspkg=
s all
*** Error code 128
Stop.
nbmake: stopped in /usr/src/distrib/sets
*** Failed target: syspkgs
*** Failed command: _makedirtarget() { dir=3D"$1"; shift; target=3D"$1"; =
shift; case
"${dir}" in /*) this=3D"${dir}/"; real=3D"${dir}" ;; .) this=3D""; real=3D=
"/usr/src" ;;
*) this=3D"${dir}/"; real=3D"/usr/src/${dir}" ;; esac; show=3D${this:-.}=
; echo "${tar
get} =3D=3D=3D> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/BUILD/t=
ools/bin/nbma
ke _THISDIR_=3D"${this}" "$@" ${target}; }; _makedirtarget distrib/sets s=
yspkgs
*** Error code 1
Stop.
nbmake: stopped in /usr/src
ERROR: Failed to make syspkgs
*** BUILD ABORTED ***
--Steven M. Bellovin, http://www.cs.columbia.edu/~smb