NetBSD Problem Report #44330

From basia_i_tomek@magickgarden.dyndns-server.com  Wed Jan  5 19:53:17 2011
Return-Path: <basia_i_tomek@magickgarden.dyndns-server.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id A42FB63B89A
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  5 Jan 2011 19:53:17 +0000 (UTC)
Message-Id: <20110105194657.4EAF03AF07E@magickgarden.dyndns-server.com>
Date: Wed,  5 Jan 2011 19:46:57 +0000 (GMT)
From: basia_i_tomek@magickgarden.dyndns-server.com
Reply-To: butterfly_tm666@yahoo.com
To: gnats-bugs@gnats.NetBSD.org
Subject: libXdamage package not building
X-Send-Pr-Version: 3.95

>Number:         44330
>Category:       pkg
>Synopsis:       libXdamage package not building
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 05 19:55:00 +0000 2011
>Last-Modified:  Fri Jan 07 13:40:02 +0000 2011
>Originator:     butterfly_tm666@yahoo.com
>Release:        NetBSD 5.99.36
>Organization:
>Environment:
System: NetBSD magickgarden.dyndns-server.com 5.99.36 NetBSD 5.99.36 (BASIENKA) #3: Sat Jul 10 18:01:40 BST 2010 root@verdandi.homeunix.org:/mnt/modlishka/srcs/sys/arch/i386/compile/obj/BASIENKA i386
Architecture: i386
Machine: i386
>Description:
.../pkgsrc/x11/libXdamage package is not building due to missing some buildlink - please see the detailed make.log below. The package is required by one of kde4 meta package's components.
make.log transcript:
===> Building for libXdamage-1.1.3
/usr/bin/make  all-recursive
Making all in src
  CC     Xdamage.lo
In file included from /mnt/modlishka/srcs/pkgsrc/x11/libXdamage/work/.buildlink/include/X11/extensions/damageproto.h:28,
                 from xdamageint.h:32,
                 from Xdamage.c:27:
/mnt/modlishka/srcs/pkgsrc/x11/libXdamage/work/.buildlink/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
*** Error code 1


>How-To-Repeat:
	cd pkgsrc/x11/libXdamage
        make
>Fix:
	cvs diff Makefile transcript:
magickgarden# cat cvs.diff 
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/libXdamage/Makefile,v
retrieving revision 1.7
diff -r1.7 Makefile
25a26
> .include "../../x11/libXext/buildlink3.mk"
magickgarden# 

>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/44330: libXdamage package not building
Date: Fri, 7 Jan 2011 14:39:05 +0100

 On Wed, Jan 05, 2011 at 07:55:00PM +0000, basia_i_tomek@magickgarden.dyndns-server.com wrote:
 > >Synopsis:       libXdamage package not building
 ...
 > ===> Building for libXdamage-1.1.3
 > /usr/bin/make  all-recursive
 > Making all in src
 >   CC     Xdamage.lo
 > In file included from /mnt/modlishka/srcs/pkgsrc/x11/libXdamage/work/.buildlink/include/X11/extensions/damageproto.h:28,
 >                  from xdamageint.h:32,
 >                  from Xdamage.c:27:
 > /mnt/modlishka/srcs/pkgsrc/x11/libXdamage/work/.buildlink/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
 > *** Error code 1

 I'm a bit confused.
 damageproto/bl3.mk pulls in fixesproto/bl3.mk.
 x11/fixesproto's fixesproto.h includes:
 #include <X11/extensions/xfixeswire.h>
 #include <X11/extensions/shapeconst.h>

 fixesproto/bl3.mk pulls in xextproto/bl3.mk which contains
 shapeconst.h.

 Can you please find out where your xfixesproto.h is coming from
 (pkgsrc, native X, which version of which package)?

 > diff -r1.7 Makefile
 > 25a26
 > > .include "../../x11/libXext/buildlink3.mk"

 Most probably damageproto/bl3.mk or fixesproto/bl3.mk should be
 changed instead of libXdamage.

 Thanks,
  Thomas

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.