NetBSD Problem Report #29492

From www@netbsd.org  Tue Feb 22 07:13:02 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 6C4CD63B400; Tue, 22 Feb 2005 07:13:02 +0000 (UTC)
Message-Id: <20050222071302.6C4CD63B400@narn.netbsd.org>
Date: Tue, 22 Feb 2005 07:13:02 +0000 (UTC)
From: almeyers@consult-meyers.com
Reply-To: almeyers@consult-meyers.com
To: gnats-bugs@netbsd.org
Subject: package games/xgalaga does not build
X-Send-Pr-Version: www-1.0

>Number:         29492
>Category:       pkg
>Synopsis:       package games/xgalaga does not build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    linux-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 22 07:14:00 +0000 2005
>Closed-Date:    Tue Jun 14 17:33:40 +0000 2005
>Last-Modified:  Tue Jun 14 17:36:01 +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:
===> Building for xgalaga-2.0.34nb2
for i in libsprite; do cd $i ; make ; done
gcc -I. -I.. -O2 -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/X11R6/include -DHAVE_CONFIG_H   -I/usr/pkg/include -I/usr/X11R6/include -c border.c
gcc -I. -I.. -O2 -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/X11R6/include -DHAVE_CONFIG_H   -I/usr/pkg/include -I/usr/X11R6/include -c cursor.c
gcc -I. -I.. -O2 -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/X11R6/include -DHAVE_CONFIG_H   -I/usr/pkg/include -I/usr/X11R6/include -c init.c
gcc -I. -I.. -O2 -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/X11R6/include -DHAVE_CONFIG_H   -I/usr/pkg/include -I/usr/X11R6/include -c misc.c
gcc -I. -I.. -O2 -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/X11R6/include -DHAVE_CONFIG_H   -I/usr/pkg/include -I/usr/X11R6/include -c sector.c
gcc -I. -I.. -O2 -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/X11R6/include -DHAVE_CONFIG_H   -I/usr/pkg/include -I/usr/X11R6/include -c buffer.c
gcc -I. -I.. -O2 -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/X11R6/include -DHAVE_CONFIG_H   -I/usr/pkg/include -I/usr/X11R6/include -c data.c
data.c:82: error: syntax error before "__extension__"
data.c:82: error: `__len' undeclared here (not in a function)
data.c:82: error: initializer element is not constant
data.c:82: error: syntax error before "if"
data.c:82: error: conflicting types for '__retval'
data.c:82: error: previous definition of '__retval' was here
data.c:82: warning: data definition has no type or storage class
data.c:82: error: syntax error before '}' token
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/games/xgalaga/work/xgalaga-2.0.34/libsprite
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/games/xgalaga/work/xgalaga-2.0.34
*** Error code 1

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

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

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

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->linux-pkg-people
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Thu, 17 Mar 2005 17:33:42 +0000
Responsible-Changed-Why:
Linux pkgsrc problem.


State-Changed-From-To: open->closed
State-Changed-By: jmmv@netbsd.org
State-Changed-When: Tue, 14 Jun 2005 17:33:40 +0000
State-Changed-Why:
Fixed, thanks.


From: "Julio M. Merino Vidal" <jmmv@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/29492 CVS commit: pkgsrc/games/xgalaga
Date: Tue, 14 Jun 2005 17:32:37 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	jmmv
 Date:		Tue Jun 14 17:32:37 UTC 2005

 Modified Files:
 	pkgsrc/games/xgalaga: Makefile distinfo
 	pkgsrc/games/xgalaga/patches: patch-aa
 Added Files:
 	pkgsrc/games/xgalaga/patches: patch-ad

 Log Message:
 Fix build under Linux by removing local strdup(3) prototype and by using
 LIBOSSAUDIO instead of hardcoding -lossaudio.  Closes PR pkg/29492 by
 A L Meyers.


 To generate a diff of this commit:
 cvs rdiff -r1.21 -r1.22 pkgsrc/games/xgalaga/Makefile
 cvs rdiff -r1.6 -r1.7 pkgsrc/games/xgalaga/distinfo
 cvs rdiff -r1.3 -r1.4 pkgsrc/games/xgalaga/patches/patch-aa
 cvs rdiff -r0 -r1.1 pkgsrc/games/xgalaga/patches/patch-ad

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.