Subject: pkg/18382: ncurses is broken in Zoularis(SunOS 5.8)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dolemite@wuli.nu>
List: netbsd-bugs
Date: 09/22/2002 23:54:55
>Number:         18382
>Category:       pkg
>Synopsis:       ncurses is broken in Zoularis(SunOS 5.8)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 22 23:55:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alex Newman
>Release:        SunOS5.8
>Organization:
Psi Upsilon of Troy
>Environment:
SunOS unknown 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-5_10
>Description:
ncurses does not build in zoularis


# bmake
===> Building for ncurses-5.2
cd man && bmake   DESTDIR="" all
cd include && bmake   DESTDIR="" all
cd ncurses && bmake   DESTDIR="" all
cd progs && bmake   DESTDIR="" all
cd tack && bmake   DESTDIR="" all
cd panel && bmake   DESTDIR="" all
cd menu && bmake   DESTDIR="" all
cd form && bmake   DESTDIR="" all
cd misc && bmake   DESTDIR="" all
cd test && bmake   DESTDIR="" all
cd c++ && bmake   DESTDIR="" all
/usr/pkgsrc/devel/ncurses/work/.buildlink/bin/libtool g++ -o demo ../obj_lo/demo.o -L../lib -L/usr/pkg/lib ../lib/libncurses++.la -L../lib -L/usr/pkg/lib ../lib/libform.la ../lib/libmenu.la ../lib/libpanel.la ../lib/libncurses.la  -L/usr/pkg/lib  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib  
g++ -o .libs/demo ../obj_lo/demo.o -Wl,-R/usr/pkg/lib  -L/usr/pkgsrc/devel/ncurses/work/ncurses-5.2/lib -L/usr/pkgsrc/devel/ncurses/work/.buildlink/lib ../lib/.libs/libncurses++.so ../lib/.libs/libform.so ../lib/.libs/libmenu.so ../lib/.libs/libpanel.so ../lib/.libs/libncurses.so -R/usr/pkg/lib
Undefined                       first referenced
 symbol                             in file
streambuf::streambuf(int)           ../lib/.libs/libncurses++.so
strstreambuf::init_static(char *, int, char *)../lib/.libs/libncurses++.so
strstreambuf::~strstreambuf(void)   ../lib/.libs/libncurses++.so
strstreambuf virtual table          ../lib/.libs/libncurses++.so
streambuf::~streambuf(void)         ../lib/.libs/libncurses++.so
streambuf::vscan(char const *, void *, ios *)../lib/.libs/libncurses++.so
ld: fatal: Symbol referencing errors. No output written to .libs/demo
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/ncurses/work/ncurses-5.2/c++
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/ncurses/work/ncurses-5.2
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/ncurses
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/ncurses

>How-To-Repeat:
cd /usr/pkgsrc/devel/ncurses;bmake clean;cvs update -d -P;bmake install
>Fix:
I would assume including  /usr/pkg/lib/gcc-lib/sparc-sun-solaris/2.95.3/
>Release-Note:
>Audit-Trail:
>Unformatted: