Subject: Re: NetBSD 2.1 problem on SS20
To: None <port-sparc@NetBSD.org>
From: Laurens Vets <laurens@daemon.be>
List: port-sparc
Date: 12/18/2005 14:16:51
Laurens Vets wrote:
> Laurens Vets wrote:
> 
>>>> If I want to update the userland of my sparc, do I only need to run 
>>>> "build.sh distribution".  The documentation on the NetBSD site seems 
>>>> to be out of date...
>>>
>>>
>>>
>>>
>>> You probably want to use some of the options to avoid the generated 
>>> files
>>> crapping all over the source tree.
>>>
>>> I use:
>>> ./build.sh -x -X ../xsrc -N $N -T $tools -u -U -D $destdir -O $objdir 
>>> -R $releasedir "$@"
>>> where the variables are set by the script.
>>>
>>>     David
>>
>>
>> That does not work :)  -T is not supported with -N apparently...
> 
> 
> Ok, that was stupid of me, sorry I understand it now after a good night 
> of sleep :)

I fetched the source for NetBSD-2.1 via CVS in ~/NetBSD-2.1.  Afterwards 
  I did a "./build.sh -O ../obj -T ../tools -u -U release".  This ended 
in an error:

missing: ./var (created)
missing: ./var/db (created)
missing: ./var/run (created)
missing: ./var/log (created)
missing: ./var/spool (created)
missing: ./var/spool/lock (created)
[ "work.built" = work.built -a -f miniroot.fs -a ! miniroot.fs -ot 
work.built ]
  || {  echo "Creating image into miniroot.fs...";  rm -f miniroot.fs 
miniroot.fs
.tmp;  /home/laurensv/NetBSD-2.1/src/../tools/bin/nbmakefs -t ffs -B be 
-s 7680k
  -F work.spec  -N /home/laurensv/NetBSD-2.1/src/etc -o 
bsize=4096,fsize=512  -o
optimization=space,minfree=0  -o density=4k miniroot.fs.tmp work  && mv 
-f minir
oot.fs.tmp miniroot.fs;  }
Creating image into miniroot.fs...
nbmakefs: `work' size of 9850880 is larger than the maxsize of 7864320.

*** Failed target:  miniroot.fs
*** Failed command: [ "work.built" = work.built -a -f miniroot.fs -a ! 
miniroot.
fs -ot work.built ] || { echo "Creating image into miniroot.fs..."; rm 
-f miniro
ot.fs miniroot.fs.tmp; 
/home/laurensv/NetBSD-2.1/src/../tools/bin/nbmakefs -t ff
s -B be -s 7680k -F work.spec -N /home/laurensv/NetBSD-2.1/src/etc -o 
bsize=4096
,fsize=512 -o optimization=space,minfree=0 -o density=4k miniroot.fs.tmp 
work &&
  mv -f miniroot.fs.tmp miniroot.fs; }
*** Error code 1

Stop.
nbmake: stopped in /home/laurensv/NetBSD-2.1/src/distrib/miniroot

*** Failed target:  all-miniroot
*** Failed command: targ=all;dir=miniroot; case "$dir" in /*) echo 
"$targ ===> $dir"; cd "$dir"; 
/home/laurensv/NetBSD-2.1/src/../tools/bin/nbmake "_THISDIR_=$dir/" 
$targ; ;; *) echo "$targ ===> $dir"; cd 
"/home/laurensv/NetBSD-2.1/src/distrib/$dir"; 
/home/laurensv/NetBSD-2.1/src/../tools/bin/nbmake "_THISDIR_=$dir/" 
$targ; ;; esac
*** Error code 1

Stop.
nbmake: stopped in /home/laurensv/NetBSD-2.1/src/distrib

*** Failed target:  snap_post
*** Failed command: cd /home/laurensv/NetBSD-2.1/src/distrib && 
/home/laurensv/NetBSD-2.1/src/../tools/bin/nbmake depend && 
/home/laurensv/NetBSD-2.1/src/../tools/bin/nbmake && 
/home/laurensv/NetBSD-2.1/src/../tools/bin/nbmake release
*** Error code 1

Stop.
nbmake: stopped in /home/laurensv/NetBSD-2.1/src/etc

*** Failed target:  release
*** Failed command: (cd /home/laurensv/NetBSD-2.1/src/etc && 
/home/laurensv/NetBSD-2.1/src/../tools/bin/nbmake INSTALL_DONE=1 release)
*** Error code 1

Stop.
nbmake: stopped in /home/laurensv/NetBSD-2.1/src

ERROR: Failed to make release
*** BUILD ABORTED ***
$

Any idea what might be going wrong here?

Thanks in advance!