Subject: pkg/29496: package games/xmris 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:54:00
>Number:         29496
>Category:       pkg
>Synopsis:       package games/xmris 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:54: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 -m32 -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -fno-strict-aliasing -fno-strength-reduce      -I/usr/pkg/include  -I/usr/X11R6/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                               -D_POSIX_SOURCE -D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE                                                                 -DFUNCPROTO=15 -DNARROWPROTO   -Wall -Wpointer-arith -Wwrite-strings -DFONT_NAME='"-*-courier-*-r-*-*-18-*-*-*-m-*-*-*"'         -DSCORE_DIR='"/var/games/xmris"' -DUSELOCKFILE   -DSCROLLBARBUGFIX  -DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"'    -c -o xmris.o xmris.c
xmris.c:72: warning: initialization discards qualifiers from pointer target type
xmris.c:73: warning: initialization discards qualifiers from pointer target type
xmris.c:74: warning: initialization discards qualifiers from pointer target type
xmris.c:75: warning: initialization discards qualifiers from pointer target type
xmris.c:76: warning: initialization discards qualifiers from pointer target type
xmris.c:77: warning: initialization discards qualifiers from pointer target type
rm -f xmris
gcc -m32 -o xmris -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -fno-strict-aliasing -fno-strength-reduce      -L/usr/pkg/lib  -L/usr/X11R6/lib  apple.o defmris.o demo.o draw.o makemris.o         monster.o move.o player.o scoring.o timer.o xmris.o -lXaw -lXt -lSM -lICE -lXmu -lXt -lSM -lICE -lXext -lX11 -lXext -lX11  -L/usr/X11R6/lib
gcc -m32 -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -fno-strict-aliasing -fno-strength-reduce      -I/usr/pkg/include  -I/usr/X11R6/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                               -D_POSIX_SOURCE -D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE                                                                 -DFUNCPROTO=15 -DNARROWPROTO   -Wall -Wpointer-arith -Wwrite-strings -DFONT_NAME='"-*-courier-*-r-*-*-18-*-*-*-m-*-*-*"'         -DSCORE_DIR='"/var/games/xmris"' -DUSELOCKFILE   -DSCROLLBARBUGFIX  -DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"'    -c -o all.o all.c
all.c: In function `close_file':
all.c:642: error: conflicting types for 'sys_errlist'
/usr/include/bits/sys_errlist.h:28: error: previous declaration of 'sys_errlist' was here
make: *** [all.o] Fehler 1
*** Error code 2

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

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

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