Subject: pkg/29501: package games/xroads 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 08:35:00
>Number:         29501
>Category:       pkg
>Synopsis:       package games/xroads 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 08:35: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:
gcc -O2 -Wall -DXRMPATH=\"/usr/pkg/share/xroads/\" -I/usr/X11R6/include -I/usr/X11R6/include/X11   -c fileops.c
In file included from fileops.c:30:
xroads.h:35: warning: conflicting types for built-in function 'trunc'
fileops.c: In function `readmapfile':
fileops.c:87: warning: implicit declaration of function `exit'
gcc -O2 -Wall -DXRMPATH=\"/usr/pkg/share/xroads/\" -I/usr/X11R6/include -I/usr/X11R6/include/X11   -c ai.c
In file included from ai.c:31:
xroads.h:35: warning: conflicting types for built-in function 'trunc'
ai.c: In function `deststraight':
ai.c:197: error: label at end of compound statement
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/games/xroads/work/xroads-v0.5
*** Error code 1

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

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

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