Subject: Re: envstat doesn't compile
To: Juan RP <juan@xtrarom.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 10/07/2007 14:28:23
On Sun, Oct 07, 2007 at 02:20:09PM +0200, Juan RP wrote:
> On Sun, 7 Oct 2007 10:22:37 +0200
> Kurt Schreiner <ks@ub.uni-mainz.de> wrote:
> 
> > [...]
> > nbmake: stopped in /u/NetBSD/src/usr.sbin/envstat
> 
> Can you update src/usr.sbin/envstat/Makefile and see if that helps?
Yep! Compiles again now:

1075: cd /usr/src/usr.sbin/envstat/

1076: cvs update
cvs update: Updating .
P Makefile

1077: /u/NetBSD/arch/i386/TOOLS/bin/nbmake-i386 cleandir

1078: ll /u/NetBSD/arch/i386/obj/usr.sbin/envstat/
total 10
drwxr-x---    2 ks  staff  -  512 Oct  7 14:23 ./
drwxr-x---  166 ks  staff  - 3072 Aug  4 15:25 ../

1079: head -1 Makefile 
# $NetBSD: Makefile,v 1.4 2007/10/07 12:19:37 xtraeme Exp $

1080: /u/NetBSD/arch/i386/TOOLS/bin/nbmake-i386 dependall
       yacc  envstat/config_yacc.c
/u/NetBSD/arch/i386/TOOLS/bin/nbyacc: 1 shift/reduce conflict.
        lex  envstat/config_lex.c
     create  envstat/config.d
     create  envstat/config_lex.d
     create  envstat/config_yacc.d
     create  envstat/envstat.d
     create  envstat/.depend
    compile  envstat/envstat.o
    compile  envstat/config.o
    compile  envstat/config_yacc.o
    compile  envstat/config_lex.o
       link  envstat/envstat
/u/NetBSD/arch/i386/dest/lib/libprop.so: warning: warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp()
     format  envstat/envstat.cat8
     format  envstat/envsys.conf.cat5

Thanks for fixing
Kurt