Subject: pkg/29382: package games/crossfire-cli 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:09:00
>Number:         29382
>Category:       pkg
>Synopsis:       package games/crossfire-cli 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:09: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:
gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R6/include -DALSA_SOUND -DNEW_SOUND -DBINDIR='"/usr/pkg/bin/"' -Wall   -I/usr/pkg/include -I/usr/include -I/usr/X11R6/include  -DCLIENT_LIBDIR=\"/usr/pkg/share/cfclient\" -I. -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/X11R6/include -I/usr/X11R6/include -c gx11.c
gx11.c: In function `insert_key':
gx11.c:964: warning: comparison is always false due to limited range of data type
gcc -o gcfclient client.o commands.o init.o item.o metaserver.o misc.o newsocket.o player.o sound.o gx11.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib  -lpng -lz -lm  -lintl -lXpm  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lintl -lXi -lXext -lX11 -lm
client.o(.text+0x120): In function `DoClient':
: undefined reference to `errno'
gx11.o(.text+0x7d5): In function `do_network':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make: *** [gcfclient] Fehler 1
*** Error code 2

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

Stop.
bmake: stopped in /usr/pkgsrc/games/crossfire-cli

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