Subject: pkg/17125: Eterm package fails to build
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jaco@scrogneugneu.org>
List: netbsd-bugs
Date: 06/01/2002 09:49:52
>Number:         17125
>Category:       pkg
>Synopsis:       Eterm build fails complaining about an indefined constant in utmp.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 01 00:50:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Eric Jacoboni
>Release:        NetBSD 1.6A
>Organization:
None
>Environment:
System: NetBSD titine.scrogneugneu.org 1.6A NetBSD 1.6A (TITINE-Revision: 1.492 $) #46: Mon May 27 20:19:11 CEST 2002 root@titine.scrogneugneu.org:/usr/src.cvsup/sys/arch/i386/compile/TITINE i386
Architecture: i386
Machine: i386
>Description:
# cd /usr/pkgsrc/x11/eterm
# make
(...)
cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../libmej -I.. -I/usr/local/share/x11-links/include -I/usr/pkgsrc/x11/eterm/work.i386/.buildlink/include -I/usr/local/share/x11-links/include -I/usr/pkgsrc/x11/eterm/work.i386/.buildlink/include -O2 -I/usr/local/share/x11-links/include -I/usr/local/share/x11-links/include -I/usr/local/share/x11-links/include -c utmp.c  -fPIC -DPIC -o .libs/utmp.o
In file included from utmp.c:42:
/usr/include/utmpx.h:126: warning: `struct utmp' declared inside parameter list
/usr/include/utmpx.h:126: warning: its scope is only this definition or declaration, which is probably not what you want.
/usr/include/utmpx.h:127: warning: `struct utmp' declared inside parameter list
utmp.c: In function `makeutent':
utmp.c:148: storage size of `utmp2' isn't known
utmp.c:214: `WTMPX_FILE' undeclared (first use in this function)
utmp.c:214: (Each undeclared identifier is reported only once
utmp.c:214: for each function it appears in.)
utmp.c: In function `cleanutent':
utmp.c:224: storage size of `utmp' isn't known
utmp.c:239: `WTMPX_FILE' undeclared (first use in this function)
*** Error code 1

>How-To-Repeat:
See supra.	
>Fix:
No idea.
 
>Release-Note:
>Audit-Trail:
>Unformatted: