NetBSD Problem Report #44792

From taca@back-street.net  Wed Mar 30 06:20:22 2011
Return-Path: <taca@back-street.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 9E46F63BA0A
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 30 Mar 2011 06:20:21 +0000 (UTC)
Message-Id: <20110330062018.CDC5D158E63@www.back-street.net>
Date: Wed, 30 Mar 2011 15:20:18 +0900 (JST)
From: taca@NetBSD.org
Reply-To: taca@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: graphics/magicpoint build problem with X11_TYPE == "modular"?
X-Send-Pr-Version: 3.95

>Number:         44792
>Category:       pkg
>Synopsis:       graphics/magicpoint build problem with X11_TYPE == "modular"?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 30 06:25:00 +0000 2011
>Last-Modified:  Sun Apr 03 03:55:01 +0000 2011
>Originator:     Takahiro Kambe
>Release:        NetBSD 5.99.48
>Organization:

>Environment:


NetBSD reef.back-street.net 5.99.48 NetBSD 5.99.48 (VMWARE-F3) #43: Sun Mar 20 22:46:55 JST 2011  taca@reef.back-street.net:/var/obj/sys/arch/amd64/compile/VMWARE-F3 amd64
Architecture: x86_64
Machine: amd64
>Description:
	graphics/magicpoint build problem with error:

In file included from imlib_loader.c:8:
/pkg_comp/obj/pkgsrc/graphics/magicpoint/default/.buildlink/include/X11/extensio
ns/shape.h:34:39: error: X11/extensions/shapeconst.h: No such file or directory
*** [imlib_loader.o] Error code 1

make: stopped in /pkg_comp/obj/pkgsrc/graphics/magicpoint/default/magicpoint-1.1
3a/image
1 error

	<X11/extensions/shapeconst.h> is contained in x11/xextproto
	package with X11_TYPE == "modular" evironment.

	The same problem exists on NetBSD 4.0_STABLE, too.

>How-To-Repeat:
	Build graphics/magicpoint with:

	PKG_OPTIONS	freetype vflib xft2
	X11_TYPE	modular
>Fix:
	Should be buildlink x11/xextproto in any way?

>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/44792: graphics/magicpoint build problem with X11_TYPE ==
 "modular"?
Date: Wed, 30 Mar 2011 09:33:49 +0200

 On Wed, Mar 30, 2011 at 06:25:01AM +0000, taca@NetBSD.org wrote:
 > In file included from imlib_loader.c:8:
 > /pkg_comp/obj/pkgsrc/graphics/magicpoint/default/.buildlink/include/X11/extensio
 > ns/shape.h:34:39: error: X11/extensions/shapeconst.h: No such file or directory
 > *** [imlib_loader.o] Error code 1

 What provides X11/extensions/shape.h?
 That should also pull in X11/extensions/shapeconst.h.
  Thomas

From: Takahiro Kambe <taca@NetBSD.org>
To: gnats-bugs@NetBSD.org, wiz@NetBSD.org
Cc: taca@NetBSD.org
Subject: Re: pkg/44792: graphics/magicpoint build problem with X11_TYPE ==
 "modular"?
Date: Wed, 30 Mar 2011 17:01:59 +0900 (JST)

 In message <20110330073502.23E0163B898@www.NetBSD.org>
 	on Wed, 30 Mar 2011 07:35:02 +0000 (UTC),
 	Thomas Klausner <wiz@NetBSD.org> wrote:
 >  On Wed, Mar 30, 2011 at 06:25:01AM +0000, taca@NetBSD.org wrote:
 >  > In file included from imlib_loader.c:8:
 >  > /pkg_comp/obj/pkgsrc/graphics/magicpoint/default/.buildlink/include/X11/extensio
 >  > ns/shape.h:34:39: error: X11/extensions/shapeconst.h: No such file or directory
 >  > *** [imlib_loader.o] Error code 1
 >  
 >  What provides X11/extensions/shape.h?
 x11/xextproto

 -- 
 Takahiro Kambe <taca@back-street.net>

From: Thomas Klausner <wiz@NetBSD.org>
To: Takahiro Kambe <taca@NetBSD.org>
Cc: gnats-bugs@NetBSD.org, Joerg Sonnenberger <joerg@britannica.bec.de>
Subject: Re: pkg/44792: graphics/magicpoint build problem with X11_TYPE ==
 "modular"?
Date: Wed, 30 Mar 2011 10:06:59 +0200

 On Wed, Mar 30, 2011 at 05:01:59PM +0900, Takahiro Kambe wrote:
 > In message <20110330073502.23E0163B898@www.NetBSD.org>
 > 	on Wed, 30 Mar 2011 07:35:02 +0000 (UTC),
 > 	Thomas Klausner <wiz@NetBSD.org> wrote:
 > >  On Wed, Mar 30, 2011 at 06:25:01AM +0000, taca@NetBSD.org wrote:
 > >  > In file included from imlib_loader.c:8:
 > >  > /pkg_comp/obj/pkgsrc/graphics/magicpoint/default/.buildlink/include/X11/extensio
 > >  > ns/shape.h:34:39: error: X11/extensions/shapeconst.h: No such file or directory
 > >  > *** [imlib_loader.o] Error code 1
 > >  
 > >  What provides X11/extensions/shape.h?
 > x11/xextproto

 No, actually, libXext provides that.
 And its bl3.mk says:
 # XXX don't include xextproto/bl3 here; packages checking for xext.pc must
 # include it theirselfes

 I don't think that this is appropriate, since libXext's shape.h can
 pull in xextproto's shapeconst.h.

 Drochner wanted to add this inclusion, but joerg asked him to back it
 out.

 Joerg, can you please explain again why it shouldn't be included here?
 Or can we include it now?
  Thomas

From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: Thomas Klausner <wiz@NetBSD.org>
Cc: Takahiro Kambe <taca@NetBSD.org>, gnats-bugs@NetBSD.org
Subject: Re: pkg/44792: graphics/magicpoint build problem with X11_TYPE ==
 "modular"?
Date: Wed, 30 Mar 2011 13:22:52 +0200

 On Wed, Mar 30, 2011 at 10:06:59AM +0200, Thomas Klausner wrote:
 > On Wed, Mar 30, 2011 at 05:01:59PM +0900, Takahiro Kambe wrote:
 > > In message <20110330073502.23E0163B898@www.NetBSD.org>
 > > 	on Wed, 30 Mar 2011 07:35:02 +0000 (UTC),
 > > 	Thomas Klausner <wiz@NetBSD.org> wrote:
 > > >  On Wed, Mar 30, 2011 at 06:25:01AM +0000, taca@NetBSD.org wrote:
 > > >  > In file included from imlib_loader.c:8:
 > > >  > /pkg_comp/obj/pkgsrc/graphics/magicpoint/default/.buildlink/include/X11/extensio
 > > >  > ns/shape.h:34:39: error: X11/extensions/shapeconst.h: No such file or directory
 > > >  > *** [imlib_loader.o] Error code 1
 > > >  
 > > >  What provides X11/extensions/shape.h?
 > > x11/xextproto
 > 
 > No, actually, libXext provides that.
 > And its bl3.mk says:
 > # XXX don't include xextproto/bl3 here; packages checking for xext.pc must
 > # include it theirselfes
 > 
 > I don't think that this is appropriate, since libXext's shape.h can
 > pull in xextproto's shapeconst.h.
 > 
 > Drochner wanted to add this inclusion, but joerg asked him to back it
 > out.
 > 
 > Joerg, can you please explain again why it shouldn't be included here?
 > Or can we include it now?

 See last commit message?

 Joerg

From: Thomas Klausner <wiz@NetBSD.org>
To: Joerg Sonnenberger <joerg@britannica.bec.de>
Cc: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Subject: Re: pkg/44792: graphics/magicpoint build problem with X11_TYPE ==
 "modular"?
Date: Wed, 30 Mar 2011 13:28:51 +0200

 On Wed, Mar 30, 2011 at 01:22:52PM +0200, Joerg Sonnenberger wrote:
 > See last commit message?

 That talked about looking for pkgconfig file.
 Here we are talking about header files that are included.
 I don't see how this applies.
  Thomas

From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: Thomas Klausner <wiz@NetBSD.org>
Cc: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Subject: Re: pkg/44792: graphics/magicpoint build problem with X11_TYPE ==
 "modular"?
Date: Wed, 30 Mar 2011 14:28:46 +0200

 On Wed, Mar 30, 2011 at 01:28:51PM +0200, Thomas Klausner wrote:
 > On Wed, Mar 30, 2011 at 01:22:52PM +0200, Joerg Sonnenberger wrote:
 > > See last commit message?
 > 
 > That talked about looking for pkgconfig file.
 > Here we are talking about header files that are included.
 > I don't see how this applies.

 I mean the "breaks native X11" part.

 Joerg

From: Takahiro Kambe <taca@NetBSD.org>
To: gnats-bugs@NetBSD.org, joerg@britannica.bec.de
Cc: taca@NetBSD.org
Subject: Re: pkg/44792: graphics/magicpoint build problem with X11_TYPE ==
 "modular"?
Date: Sun, 03 Apr 2011 12:52:24 +0900 (JST)

 In message <20110330123007.AF5C663B898@www.NetBSD.org>
 	on Wed, 30 Mar 2011 12:30:07 +0000 (UTC),
 	Joerg Sonnenberger <joerg@britannica.bec.de> wrote:
 >  On Wed, Mar 30, 2011 at 01:28:51PM +0200, Thomas Klausner wrote:
 >  > On Wed, Mar 30, 2011 at 01:22:52PM +0200, Joerg Sonnenberger wrote:
 >  > > See last commit message?
 >  > 
 >  > That talked about looking for pkgconfig file.
 >  > Here we are talking about header files that are included.
 >  > I don't see how this applies.
 >  
 >  I mean the "breaks native X11" part.
 So, something conditional would be needed.  Where the exact part?

 -- 
 Takahiro Kambe <taca@NetBSD.org>/<taca@back-street.net>

>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.