Subject: misc/26591: build release fails, floppy images too big
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dlagno@smtp.ru>
List: netbsd-bugs
Date: 08/08/2004 12:09:26
>Number:         26591
>Category:       misc
>Synopsis:       build release fails, floppy images too big
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 08 08:10:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Denis Lagno
>Release:        NetBSD 2.0G
>Organization:
World
>Environment:
System: NetBSD flamante.local.domain 2.0G NetBSD 2.0G (FLAMANTE) #0: Thu Aug 5 17:08:34 MSD 2004 dina@flamante.local.domain:/volatile/worksrc/netbsd-current/src/sys/arch/i386/compile/FLAMANTE i386
Architecture: i386
Machine: i386
>Description:
I try to build release:

HOST_CFLAGS="-O3 -march=pentium3" ./build.sh -B WORLD -T /var/worksrc/netbsd-current/tools -D /var/worksrc/netbsd-current/world -R /var/worksrc/netbsd-current/rel -U -r -j 4 -V USETOOLS=yes -V STRIPFLAG=-s -V NOGCCERROR= -V MKCRYPTO_IDEA=yes -V MKCRYPTO_MDC2=yes -V MKCRYPTO_RC5=yes -V MACHINE_GNU_PLATFORM=i686-intel-netbsdelf release

I do not change COPTS, do not touch mk files
and I get:

...
--- boot-tiny1.fs ---
#    create  bootfloppy-tiny/boot-tiny1.fs (from: boot USTAR.volsize.4540 netbsd)
PAX=/var/worksrc/netbsd-current/tools/bin/nbpax sh /volatile/worksrc/netbsd-current/src/distrib/common/buildfloppies.sh  -i "/var/worksrc/netbsd-current/tools/bin/nbinstallboot  -mi386 @IMAGE@ /var/worksrc/netbsd-current/world/usr/mdec/bootxx_ustarfs" -p  -m 1 -s .fs  boot-tiny 2400 boot USTAR.volsize.4540 netbsd
Running instboot: /var/worksrc/netbsd-current/tools/bin/nbinstallboot -mi386 floppy.8281.tar /var/worksrc/netbsd-current/world/usr/mdec/bootxx_ustarfs
--- all-bootfloppy-ps2 ---
Writing 2949120 bytes (2880 KB) on 2 disks, padded by 1333248 bytes (1302 KB)
Creating disk 1 to boot-ps2-1.fs
--- all-bootfloppy-laptop ---
Writing 2949120 bytes (2880 KB) on 2 disks, padded by 718848 bytes (702 KB)
Creating disk 1 to bootlap1.fs
--- all-bootfloppy-tiny ---
buildfloppies.sh: Image is 26624 bytes (26 KB) too big to fit on 1 disk
*** [boot-tiny1.fs] Error code 1
1 error

nbmake: stopped in /volatile/worksrc/netbsd-current/src/distrib/i386/floppies/bootfloppy-tiny
*** [all-bootfloppy-tiny] Error code 2
--- all-bootfloppy-small ---
Writing 2457600 bytes (2400 KB) on 2 disks, padded by 954368 bytes (932 KB)
Creating disk 1 to boot-small1.fs
--- all-bootfloppy-ps2 ---
Creating disk 2 to boot-ps2-2.fs
--- all-bootfloppy-laptop ---
Creating disk 2 to bootlap2.fs
--- all-bootfloppy-ps2 ---
0+1 records in
1+0 records out
1474560 bytes transferred in 0.105 secs (14043428 bytes/sec)
Final result:
-rw-r--r--  1 dina  wsrc  1474560 Aug  8 06:07 boot-ps2-1.fs
-rw-r--r--  1 dina  wsrc  1474560 Aug  8 06:07 boot-ps2-2.fs
--- all-bootfloppy-small ---
Creating disk 2 to boot-small2.fs
--- all-bootfloppy-laptop ---
0+1 records in
1+0 records out
1474560 bytes transferred in 0.310 secs (4756645 bytes/sec)
Final result:
-rw-r--r--  1 dina  wsrc  1474560 Aug  8 06:07 bootlap1.fs
-rw-r--r--  1 dina  wsrc  1474560 Aug  8 06:07 bootlap2.fs
--- all-bootfloppy-small ---
0+1 records in
1+0 records out
1228800 bytes transferred in 0.309 secs (3976699 bytes/sec)
Final result:
-rw-r--r--  1 dina  wsrc  1228800 Aug  8 06:07 boot-small1.fs
-rw-r--r--  1 dina  wsrc  1228800 Aug  8 06:07 boot-small2.fs
1 error

nbmake: stopped in /volatile/worksrc/netbsd-current/src/distrib/i386/floppies
*** [all-floppies] Error code 2
1 error

nbmake: stopped in /volatile/worksrc/netbsd-current/src/distrib/i386
*** [all-i386] Error code 2
1 error

nbmake: stopped in /volatile/worksrc/netbsd-current/src/distrib

*** Failed target:  snap_post
*** Failed command: cd /volatile/worksrc/netbsd-current/src/distrib && /var/worksrc/netbsd-current/tools/bin/nbmake depend && /var/worksrc/netbsd-current/tools/bin/nbmake && /var/worksrc/netbsd-current/tools/bin/nbmake release
*** Error code 2

Stop.
nbmake: stopped in /volatile/worksrc/netbsd-current/src/etc
*** [release] Error code 1
1 error

nbmake: stopped in /volatile/worksrc/netbsd-current/src

ERROR: Failed to make release
*** BUILD ABORTED ***
>How-To-Repeat:
Try to build release on i386
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: