Subject: pkg/29378: package games/craft fails to build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <almeyers@consult-meyers.com>
List: pkgsrc-bugs
Date: 02/14/2005 21:12:01
>Number:         29378
>Category:       pkg
>Synopsis:       package games/craft fails to build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 14 21:12:00 +0000 2005
>Originator:     A L Meyers
>Release:        latest cvsupped version of 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:
===> Building for craft-3.5
g++ -O2 -I/usr/pkg/include hcc/hcc.cc -o hcc/hcc
hcc/hcc -compiler gcc -I/usr/X11R6/include -DCRAFT_DIR=\\\"/usr/pkg/share/craft/\\\" -O2 -I/usr/pkg/include -c xtimer
hcc/hcc -compiler gcc -I/usr/X11R6/include -DCRAFT_DIR=\\\"/usr/pkg/share/craft/\\\" -O2 -I/usr/pkg/include -c option_menu
In file included from option_menu.hc:3:

dial.h:38: error: ISO C++ forbids declaration of `getline' with no type
dial.h:38: error: expected `;' before '*' token
option_menu.hc: In function `void main_menu(int, int&)':
option_menu.hc:188: error: `seed' undeclared (first use this function)

option_menu.hc:188: error: (Each undeclared identifier is reported only once for each function it appears in.)

option_menu.hc:220: error: `getline' is not a type

option_menu.hc: In function `void player_menu(int, int&)':
option_menu.hc:273: error: `g_host' undeclared (first use this function)

option_menu.hc:274: error: `g_name' undeclared (first use this function)

option_menu.hc:301: error: `getline' is not a type

option_menu.hc:302: error: `getline' is not a type

make: *** [option_menu.o] Fehler 1
*** Error code 2

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

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

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