pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/51266: devel/gobject-introspection build fails on i386-7.99.32



The following reply was made to PR pkg/51266; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/51266: devel/gobject-introspection build fails on i386-7.99.32
Date: Wed, 15 Feb 2017 15:54:50 -0600 (CST)

 The patches previously posted let me build everything in my usual
 complement for i386-current except "math/gnumeric112".  "py-gobject3-common"
 and "py27-gobject3" have a hard dependency on "gobject-introspection".
 As such, with my locally-built release, "gobject-introspection" cannot
 be built.
 
 I installed the "gobject-introspection" binary package from netbsd-7/i386
 and it worked at least long enough to build "py-gobject3-common" and
 "py27-gobject3".  After that, the rest of the dependencies leading to
 "gnumeric112" built without problems.
 
 I thought I'd tried that before and didn't have any success.
 
 
 Actually, the patch for "x11/gtk3/options.mk" breaks things expecting
 "introspection" to be enabled as it is not on by default.  Revised
 patch as follows:
 
 +Index: x11/gtk3/options.mk
 +===================================================================
 +RCS file: /cvsroot/pkgsrc/x11/gtk3/options.mk,v
 +retrieving revision 1.8
 +diff -u -p -r1.8 options.mk
 +--- x11/gtk3/options.mk	18 Jun 2014 09:26:12 -0000	1.8
 ++++ x11/gtk3/options.mk	14 Feb 2017 14:37:58 -0000
 +@@ -1,13 +1,13 @@
 + # $NetBSD: options.mk,v 1.8 2014/06/18 09:26:12 wiz Exp $
 + 
 + PKG_OPTIONS_VAR=	PKG_OPTIONS.gtk3
 +-PKG_SUPPORTED_OPTIONS=	gtk3-atk-bridge cups debug
 ++PKG_SUPPORTED_OPTIONS=	gtk3-atk-bridge cups introspection debug
 + PKG_OPTIONS_REQUIRED_GROUPS=	gdk-target
 + PKG_OPTIONS_GROUP.gdk-target=	x11
 + .if exists(/System/Library/Frameworks/Quartz.framework)
 + PKG_OPTIONS_GROUP.gdk-target+=	quartz
 + .endif
 +-PKG_SUGGESTED_OPTIONS=		gtk3-atk-bridge x11
 ++PKG_SUGGESTED_OPTIONS=		gtk3-atk-bridge x11 introspection
 + 
 + .include "../../mk/bsd.options.mk"
 + 
 +@@ -19,6 +19,16 @@ PLIST.cups=		yes
 + CONFIGURE_ENV+=		ac_cv_path_CUPS_CONFIG=no
 + .endif
 + 
 ++PLIST_VARS+=		introspection
 ++.if !empty(PKG_OPTIONS:Mintrospection)
 ++BUILDLINK_DEPMETHOD.gobject-introspection:=	build
 ++BUILDLINK_API_DEPENDS.gobject-introspection+=	gobject-introspection>=1.39.0
 ++.include "../../devel/gobject-introspection/buildlink3.mk"
 ++PLIST.introspection=	yes
 ++.else
 ++CONFIGURE_ARGS+=	--disable-introspection
 ++.endif
 ++
 + .if !empty(PKG_OPTIONS:Mdebug)
 + CONFIGURE_ARGS+=	--enable-debug=yes
 + .endif
 
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index