Subject: pkg/29492: package games/xgalaga does not build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <almeyers@consult-meyers.com>
List: pkgsrc-bugs
Date: 02/22/2005 07:14:00
>Number:         29492
>Category:       pkg
>Synopsis:       package games/xgalaga does not build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 22 07:14:00 +0000 2005
>Originator:     A L Meyers
>Release:        latest cvs pkgsrc bootstrapped to Mandrake Linux 10.1 i386
>Organization:
Meyers Consulting
>Environment:
Linux localhost.localdomain 2.6.8.1-12mdk #1 Fri Oct 1 12:53:41 CEST 2004 i686 AMD Athlon(tm) XP 2800+ unknown GNU/Linux
>Description:
===> Building for xgalaga-2.0.34nb2
for i in libsprite; do cd $i ; make ; done
gcc -I. -I.. -O2 -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/X11R6/include -DHAVE_CONFIG_H   -I/usr/pkg/include -I/usr/X11R6/include -c border.c
gcc -I. -I.. -O2 -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/X11R6/include -DHAVE_CONFIG_H   -I/usr/pkg/include -I/usr/X11R6/include -c cursor.c
gcc -I. -I.. -O2 -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/X11R6/include -DHAVE_CONFIG_H   -I/usr/pkg/include -I/usr/X11R6/include -c init.c
gcc -I. -I.. -O2 -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/X11R6/include -DHAVE_CONFIG_H   -I/usr/pkg/include -I/usr/X11R6/include -c misc.c
gcc -I. -I.. -O2 -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/X11R6/include -DHAVE_CONFIG_H   -I/usr/pkg/include -I/usr/X11R6/include -c sector.c
gcc -I. -I.. -O2 -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/X11R6/include -DHAVE_CONFIG_H   -I/usr/pkg/include -I/usr/X11R6/include -c buffer.c
gcc -I. -I.. -O2 -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/X11R6/include -DHAVE_CONFIG_H   -I/usr/pkg/include -I/usr/X11R6/include -c data.c
data.c:82: error: syntax error before "__extension__"
data.c:82: error: `__len' undeclared here (not in a function)
data.c:82: error: initializer element is not constant
data.c:82: error: syntax error before "if"
data.c:82: error: conflicting types for '__retval'
data.c:82: error: previous definition of '__retval' was here
data.c:82: warning: data definition has no type or storage class
data.c:82: error: syntax error before '}' token
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/games/xgalaga/work/xgalaga-2.0.34/libsprite
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/games/xgalaga/work/xgalaga-2.0.34
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/games/xgalaga
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/games/xgalaga/work/.work.log
===>
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/games/xgalaga

>How-To-Repeat:
do "bmake install clean" in games/xgalaga
>Fix:
none known; Mandrake Linux 10.1 i386 up to date uses gcc 3.4