NetBSD Problem Report #35414

From www@NetBSD.org  Fri Jan 12 21:14:20 2007
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
	id 98E6B63B852; Fri, 12 Jan 2007 21:14:20 +0000 (UTC)
Message-Id: <20070112211420.98E6B63B852@narn.NetBSD.org>
Date: Fri, 12 Jan 2007 21:14:20 +0000 (UTC)
From: georg.schwarz@freenet.de
Reply-To: georg.schwarz@freenet.de
To: gnats-bugs@NetBSD.org
Subject: graphics/glitz fails to compile on Solaris 7
X-Send-Pr-Version: www-1.0

>Number:         35414
>Category:       pkg
>Synopsis:       graphics/glitz fails to compile on Solaris 7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 12 21:15:00 +0000 2007
>Originator:     Georg Schwarz
>Release:        curren tpkgsrc
>Organization:
>Environment:
SunOS unknown 5.7 Generic_106541-44 sun4m sparc SUNW,SPARCstation-10
>Description:
 gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include -I/home/schwarz/pkgsrc/graphics/glitz/work/.buildlink/include -DGLX_GLXEXT_LEGACY -O3 -mcpu=supersparc -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT glitz_glx_info.lo -MD -MP -MF .deps/glitz_glx_info.Tpo -c glitz_glx_info.c  -fPIC -DPIC -o .libs/glitz_glx_info.o
In file included from glitz-glx.h:35,
                 from glitz_glxint.h:32,
                 from glitz_glx_info.c:30:
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/X11/Xlib.h:32: warning: ignoring #pragma ident 
In file included from glitz-glx.h:35,
                 from glitz_glxint.h:32,
                 from glitz_glx_info.c:30:
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/X11/Xlib.h:145: warning: function declaration isn't a prototype
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/X11/Xlib.h:359: warning: function declaration isn't a prototype
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/X11/Xlib.h:489: warning: function declaration isn't a prototype
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/X11/Xlib.h:508: warning: function declaration isn't a prototype
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/X11/Xlib.h:1037: warning: function declaration isn't a prototype
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/X11/Xlib.h:1091: warning: function declaration isn't a prototype
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/X11/Xlib.h:1501: warning: function declaration isn't a prototype
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/X11/Xlib.h:1511: warning: function declaration isn't a prototype
In file included from glitz_glxint.h:35,
                 from glitz_glx_info.c:30:
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/GL/glx.h:444: warning: function declaration isn't a prototype
glitz_glx_info.c:327: error: syntax error before "info_tsd"
glitz_glx_info.c:327: warning: type defaults to `int' in declaration of `info_tsd'
glitz_glx_info.c:327: warning: data definition has no type or storage class
glitz_glx_info.c: In function `_glitz_glx_thread_info_destroy':
glitz_glx_info.c:342: warning: implicit declaration of function `xthread_set_specific'
glitz_glx_info.c:342: warning: nested extern declaration of `xthread_set_specific'
glitz_glx_info.c: In function `_glitz_glx_thread_info_get':
glitz_glx_info.c:366: warning: implicit declaration of function `xthread_key_create'
glitz_glx_info.c:366: warning: nested extern declaration of `xthread_key_create'
glitz_glx_info.c:370: warning: implicit declaration of function `xthread_get_specific'
glitz_glx_info.c:370: warning: nested extern declaration of `xthread_get_specific'
glitz_glx_info.c:376: warning: nested extern declaration of `xthread_set_specific'


The offending line 327 is

static xthread_key_t info_tsd;

xthread_key_t should be defined in pkg/include/X11/Xthreads.h

However, pkgsrc does not install that file or x11/xproto in general.
>How-To-Repeat:

>Fix:

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.