Subject: 1.5.3 release build fails in sysinst
To: None <current-users@netbsd.org>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: current-users
Date: 03/02/2002 19:59:40
Hi,

on the long way towards my first "make release" of the mac68k 1.5 branch, I 
encountered:

(cd /usr/src/1.5/src/distrib/mac68k/instkernel/ramdisk/../../../../distrib/utils/sysinst/arch/mac68k; make menu_defs.o msg_defs.o main.o install.o upgrade.o txtwalk.o run.o factor.o net.o disks.o util.o geom.o label.o target.o md.o)
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -I. -I/usr/src/1.5/src/distrib/utils/sysinst/arch/mac68k/../.. -I/usr/src/1.5/src/distrib/utils/sysinst/arch/mac68k  -DREL=\"1.5.3_ALPHA\" -DMACH=\"mac68k\" -nostdinc -idirafter /mnt2/1.5/destdir/usr/include -c menu_defs.c
cc1: warnings being treated as errors
menu_defs.c: In function `__menu_initerror':
menu_defs.c:1424: warning: implicit declaration of function `getprogname'
menu_defs.c:1424: warning: format argument is not a pointer (arg 3)
*** Error code 1

Stop.
make: stopped in /usr/src/1.5/src/distrib/utils/sysinst/arch/mac68k
*** Error code 1

Ran a 'cvs update', re-built: No difference.

I note that the -current stdlib.h has 'getprogname', but the 1.5
version ($NetBSD: stdlib.h,v 1.45.4.2 2000/08/10 16:44:02 kleink Exp$)
does not ({get,set}progname prototypes came with 1.52).

     hauke

-- 
Now without signature.