Subject: pkg/26691: emulators/stella fails to compile.
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dgriffi@cs.csubak.edu>
List: pkgsrc-bugs
Date: 08/17/2004 03:20:56
>Number:         26691
>Category:       pkg
>Synopsis:       emulators/stella fails to compile.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 17 05:48:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     dgriffi@cs.csubak.edu
>Release:        1.6.2
>Organization:
>Environment:
NetBSD zaphod 1.6.2 NetBSD 1.6.2 (ZAPHOD) #0: Sat Jun  5 04:50:05 PDT 2004     dave@arthur:/usr/src/sys/arch/i386/compile/ZAPHOD i386

>Description:
Attempting to build the emulators/stella package results in a few minutes of compiling followed by the following crash:

/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib `sdl-config --cflags` `sdl-config --cflags` ../common/mainSDL.cxx
../common/mainSDL.cxx:100: warning: aggregate has a partly bracketed initializer
../common/mainSDL.cxx:100: warning: aggregate has a partly bracketed initializer
../common/mainSDL.cxx:100: warning: aggregate has a partly bracketed initializer
../common/mainSDL.cxx:100: warning: aggregate has a partly bracketed initializer
../common/mainSDL.cxx:100: warning: aggregate has a partly bracketed initializer
../common/mainSDL.cxx:100: warning: aggregate has a partly bracketed initializer
../common/mainSDL.cxx: In function `int main(int, char **)':
../common/mainSDL.cxx:817: `ios_base' undeclared (first use this function)
../common/mainSDL.cxx:817: (Each undeclared identifier is reported only once
../common/mainSDL.cxx:817: for each function it appears in.)
../common/mainSDL.cxx:817: parse error before `::'
../common/mainSDL.cxx:818: warning: the address of `in(...)', will always be `true'
../common/mainSDL.cxx:826: request for member `read' in `in', which is of non-aggregate type `ifstream ()(...)'
../common/mainSDL.cxx:827: request for member `gcount' in `in', which is of non-aggregate type `ifstream ()(...)'
../common/mainSDL.cxx:828: request for member `close' in `in', which is of non-aggregate type `ifstream ()(...)'
gmake[1]: *** [mainSDL.o] Error 1
gmake[1]: Leaving directory `/usr/tmp/pkg_build/emulators/stella/work.zaphod/stella-1.4/src/build'
gmake: *** [linux] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/emulators/stella
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/emulators/stella

>How-To-Repeat:
cd /usr/pkgsrc/emulators/stella ; make
>Fix:

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