Subject: pkg/21839: "curses" changes break build of "xmcd" package under NetBSD 1.6.1
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 06/10/2003 10:08:34
>Number:         21839
>Category:       pkg
>Synopsis:       "curses" changes break build of "xmcd" package under NetBSD 1.6.1
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 10 08:09:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.1
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD colwyn.zhadum.de 1.6.1 NetBSD 1.6.1 (COLWYN) #4: Thu Apr 17 19:05:15 CEST 2003 tron@colwyn.zhadum.de:/src/sys/compile/COLWYN i386
Architecture: i386
Machine: i386
>Description:
The latest "curses" changes to the "xmcd" package are too aggressive and
cause build failures on a NetBSD 1.6.1 system because the "libcurses"
doesn't provide the requires features:

gcc -o cda -O2      -L/usr/pkg/lib  -L/usr/X11R6/lib cda.o 	userreg.o 	visual.o 	../cdinfo_d/libcdinfo.a 	../cddb_d/libcddbkey.a 	../libdi_d/libdi.a 	../common_d/libutil.a -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lXm -lXp -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lcurses -L/usr/X11R6/lib  -L../cddb_d -lcddb   -Wl,-rpath,/usr/pkg/lib:/usr/X11R6/lib
/src/NetBSD-current/pkgsrc/audio/xmcd/work/.buildlink/lib/libXaw.so: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
visual.o: In function `cda_wgetstr':
visual.o(.text+0x385): undefined reference to `prefresh'
visual.o: In function `cda_v_match_select':
visual.o(.text+0x62c): undefined reference to `prefresh'
visual.o: In function `cda_v_auth':
visual.o(.text+0x7cb): undefined reference to `prefresh'
visual.o(.text+0x840): undefined reference to `prefresh'
visual.o: In function `cda_screen':
visual.o(.text+0xacd): undefined reference to `wattr_on'
visual.o(.text+0xafa): undefined reference to `wattr_off'
visual.o(.text+0xf3f): undefined reference to `wattr_on'
visual.o(.text+0xf6c): undefined reference to `wattr_off'
visual.o(.text+0x11ad): undefined reference to `wattr_on'
visual.o(.text+0x11da): undefined reference to `wattr_off'
visual.o(.text+0x1258): undefined reference to `wattr_on'
visual.o(.text+0x1285): undefined reference to `wattr_off'
visual.o(.text+0x12b3): undefined reference to `wattr_on'
visual.o(.text+0x12e0): undefined reference to `wattr_off'
visual.o(.text+0x1388): undefined reference to `wattr_on'
visual.o(.text+0x13b5): undefined reference to `wattr_off'
visual.o(.text+0x13e3): undefined reference to `wattr_on'
visual.o(.text+0x1410): undefined reference to `wattr_off'
visual.o(.text+0x1464): undefined reference to `wattr_on'
visual.o(.text+0x1491): undefined reference to `wattr_off'
visual.o(.text+0x14e7): undefined reference to `wattr_on'
visual.o(.text+0x1514): undefined reference to `wattr_off'
visual.o(.text+0x1592): undefined reference to `wattr_on'
visual.o(.text+0x15bf): undefined reference to `wattr_off'
visual.o(.text+0x1626): undefined reference to `wattr_on'
visual.o(.text+0x1653): undefined reference to `wattr_off'
visual.o(.text+0x1684): undefined reference to `wattr_on'
visual.o(.text+0x16b1): undefined reference to `wattr_off'
visual.o(.text+0x16ee): undefined reference to `wattr_on'
visual.o(.text+0x171b): undefined reference to `wattr_off'
visual.o(.text+0x17ce): undefined reference to `wattr_on'
visual.o(.text+0x17fb): undefined reference to `wattr_off'
visual.o(.text+0x1838): undefined reference to `wattr_on'
visual.o(.text+0x1865): undefined reference to `wattr_off'
visual.o(.text+0x1896): undefined reference to `wattr_on'
visual.o(.text+0x18c3): undefined reference to `wattr_off'
visual.o(.text+0x1bf5): undefined reference to `prefresh'
visual.o(.text+0x1e1a): undefined reference to `wattr_on'
visual.o(.text+0x1e45): undefined reference to `wattr_off'
visual.o(.text+0x2039): undefined reference to `prefresh'
visual.o(.text+0x225c): undefined reference to `wattr_on'
visual.o(.text+0x2287): undefined reference to `wattr_off'
visual.o(.text+0x24b1): undefined reference to `acs_map'
visual.o(.text+0x25e0): undefined reference to `prefresh'
visual.o: In function `cda_v_shufprog':
visual.o(.text+0x29cc): undefined reference to `wattr_on'
visual.o(.text+0x29f9): undefined reference to `wattr_off'
visual.o: In function `cda_v_scroll':
visual.o(.text+0x30c9): undefined reference to `prefresh'
visual.o: In function `cda_visual':
visual.o(.text+0x3585): undefined reference to `newpad'
collect2: ld returned 1 exit status
*** Error code 1

Stop.

>How-To-Repeat:
cd pkgsrc/audio/xmcd
make

>Fix:
None provided.

>Release-Note:
>Audit-Trail:
>Unformatted: