Subject: pkg/16637: pksgrc/x11/aterm fails to build on -current
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jschauma@cs.stevens-tech.edu>
List: netbsd-bugs
Date: 05/03/2002 12:12:26
>Number:         16637
>Category:       pkg
>Synopsis:       pksgrc/x11/aterm fails to build on -current
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 03 09:13:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jan Schaumann (jschauma@netbsd.org)
>Release:        NetBSD 1.5ZC
>Organization:
	
>Environment:
	
System: NetBSD dab.cs.stevens-tech.edu 1.5ZC NetBSD 1.5ZC (BOCK) #0: Thu Apr 18 10:55:09 EDT 2002     jschauma@dab:/usr/src/sys/arch/i386/compile/BOCK i386

>Description:
	When trying to compile /usr/pkgsrc/x11/aterm/, it fails with the
	following message:

In file included from rxvt.h:123,
                 from command.c:49:
/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.
[... several of these ...]
cc -L/usr/pkgsrc/x11/aterm/work/.buildlink/lib  -Wl,-R/usr/pkg/lib -o aterm command.o graphics.o grkelot.o main.o menubar.o misc.o  netdisp.o rmemset.o screen.o scrollbar2.o utmp.o xdefaults.o  pixmap.o ximage_utils.o thai.o  -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib  -lSM -lICE  -L/usr/pkgsrc/x11/aterm/work/.buildlink/lib -lXpm -lX11
utmp.o: In function `makeutent':
utmp.o(.text+0x109): undefined reference to `utmpname'
utmp.o(.text+0x244): undefined reference to `rxvt_update_wtmp'
utmp.o: In function `cleanutent':
utmp.o(.text+0x278): undefined reference to `utmpname'
utmp.o(.text+0x322): undefined reference to `rxvt_update_wtmp'
*** Error code 1 

	On 1.5.2, the build works fine, which seems to have to do with the
	existence of utmp.h vs. utmpx.h
>How-To-Repeat:
	cd /usr/pkgsrc/x11/aterm
	make
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: