Subject: port-i386/19992: Unable to build a release (part 2)
To: None <gnats-bugs@gnats.netbsd.org>
From: Brian Stark <bstark@rainforest.private.net>
List: netbsd-bugs
Date: 01/21/2003 23:27:04
>Number: 19992
>Category: port-i386
>Synopsis: Unable to build a release
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: port-i386-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 21 23:28:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Brian Stark
>Release: NetBSD 1.6K
>Organization:
Brian Stark
bpstark@pacbell.net
>Environment:
System: NetBSD rainforest.private.net 1.6K NetBSD 1.6K (CALLISTO) #0: Wed Nov 20 21:08:21 PST 2002 bstark@rainforest.private.net:/usr/src/sys/arch/i386/compile/CALLISTO i386
Architecture: i386
Machine: i386
>Description:
Found another problem while trying to build release. Related to PR
port-i386/19991, after I add '-O' to my COPTS in /etc/mk.conf so I can
get past a compiler error, I see the following error message while trying
to build a NetBSD release:
Creating image into ramdisk-tiny.fs...
rm -f ramdisk-tiny.fs ramdisk-tiny.fs.tmp
/usr/src/tools/obj.i386/tools.NetBSD-1.6K-i386/bin/nbmakefs -t ffs -B le -s 1460
k -F work.spec -N /usr/src/etc -o bsize=4096,fsize=512 -o optimization=space,m
infree=0,nsectors=1,ntracks=128 -f 10 -f 14 ramdisk-tiny.fs.tmp work && mv -f
ramdisk-tiny.fs.tmp ramdisk-tiny.fs
nbmakefs: `work' size of 1499136 is larger than the maxsize of 1495040.
*** Error code 1
Stop.
nbmake: stopped in /usr/src/distrib/i386/floppies/ramdisk-tiny
*** Error code 1
Stop.
nbmake: stopped in /usr/src/distrib/i386/floppies
*** Error code 1
Stop.
nbmake: stopped in /usr/src/distrib/i386
*** Error code 1
Stop.
nbmake: stopped in /usr/src/distrib
*** Error code 1
Stop.
nbmake: stopped in /usr/src/etc
*** Error code 1
Stop.
nbmake: stopped in /usr/src
ERROR: failed to make release
*** BUILD ABORTED ***
>How-To-Repeat:
Grab latest CVS sources (mine are from January 21, 2003)
Add '-O' to /etc/mk.conf for COPTS variable (see related PR port-i386/19991)
Try to build a release:
cd /usr/src
su
./build.sh -D /export/destdir/NetBSD-20030121 -R /export/release/NetBSD-20030121
>Fix:
The file /usr/src/distrib/i386/floppies/ramdisk-tiny/Makefile probably needs
to be updated for the IMAGESIZE variable.
The problem described above manifested itself the other day for the
ramdisk-big directory. However, that was quickly solved by the fix Luke M.
applied to its Makefile (revision 1.19, modified january 20, 2003).
The problems with the IMAGESIZE not being correct might be tied to the
recent scheduler activation changes that were added to NetBSD current. I am
basing that observation on the fact that I was able to successfully build
a release with sources from January 8, 2003 and did not see these problems
then.
I would be happy to test any patches. Just contact me via email.
>Release-Note:
>Audit-Trail:
>Unformatted: