Subject: pkg/29383: package games/cube fails build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <almeyers@consult-meyers.com>
List: pkgsrc-bugs
Date: 02/15/2005 12:22:00
>Number:         29383
>Category:       pkg
>Synopsis:       package games/cube fails build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 15 12:22:00 +0000 2005
>Originator:     A L Meyers
>Release:        latest cvs pkgsrc bootstrapped to Mandrake Linux 10.1 i386
>Organization:
>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:
g++ -Wall -O3 -fsigned-char -fomit-frame-pointer -Wno-deprecated -I../enet/include `sdl-config --cflags` -I/usr/X11R6/include   -c -o client.o client.cpp
In file included from cube.h:3,
                 from client.cpp:3:
tools.h: In constructor `vector<T>::vector()':
tools.h:148: error: there are no arguments to `gp' that depend on a template parameter, so a declaration of `gp' must be available
tools.h:148: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
tools.h: In constructor `hashtable<T>::hashtable()':
tools.h:223: error: there are no arguments to `gp' that depend on a template parameter, so a declaration of `gp' must be available
client.cpp: In function `void gets2c()':
client.cpp:301: warning: enumeration value `ENET_EVENT_TYPE_NONE' not handled in switch
client.cpp: At global scope:
client.cpp:46: warning: '__dummy_newteam' defined but not used
client.cpp:47: warning: '__dummy_newname' defined but not used
client.cpp:132: warning: '__dummy_echo' defined but not used
client.cpp:133: warning: '__dummy_toserver' defined but not used
client.cpp:134: warning: '__dummy_connects' defined but not used
client.cpp:135: warning: '__dummy_trydisconnect' defined but not used
client.cpp:167: warning: '__dummy_password' defined but not used
make: *** [client.o] Fehler 1
*** Error code 2

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

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

>How-To-Repeat:
do "bmake install" in games/crossfire-cli
>Fix:
none known