Subject: pkg/29498: package games/xpipeman 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:07:00
>Number:         29498
>Category:       pkg
>Synopsis:       package games/xpipeman 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:07: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. -I./lib/Xt  -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   -DSCORE_FILE=\"/var/games/xpipescores\" -DMAXSCORES=20  -DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"'    -c -o main.o main.c
main.c: In function `main':
main.c:171: warning: assignment makes integer from pointer without a cast
main.c:273: warning: passing arg 4 of `XtAddEventHandler' from incompatible pointer type
main.c:274: warning: passing arg 4 of `XtAddEventHandler' from incompatible pointer type
gcc -m32 -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -fno-strict-aliasing -fno-strength-reduce    -I. -I./lib/Xt  -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   -DSCORE_FILE=\"/var/games/xpipescores\" -DMAXSCORES=20  -DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"'    -c -o score.o score.c
score.c: In function `check_score':
score.c:90: error: structure has no member named `_file'
score.c: At top level:
score.c:100: warning: static declaration of 'load_scores' follows non-static declaration
score.c:69: warning: previous declaration of 'load_scores' was here
score.c: In function `load_scores':
score.c:108: error: structure has no member named `_file'
score.c: At top level:
score.c:123: warning: static declaration of 'new_high_score' follows non-static declaration
score.c:68: warning: previous declaration of 'new_high_score' was here
score.c: In function `new_high_score':
score.c:132: warning: passing arg 2 of `__builtin_strncpy' makes pointer from integer without a cast
score.c: At top level:
score.c:156: warning: static declaration of 'write_out_scores' follows non-static declaration
score.c:70: warning: previous declaration of 'write_out_scores' was here
score.c: In function `create_high_score_popup':
score.c:251: warning: passing arg 3 of `XtAddCallback' from incompatible pointer type
score.c: In function `show_scores_callback':
score.c:284: error: structure has no member named `_file'
make: *** [score.o] Fehler 1
*** Error code 2

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

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

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