NetBSD Problem Report #56755

From o.vd.linden@quicknet.nl  Wed Mar 16 19:45:09 2022
Return-Path: <o.vd.linden@quicknet.nl>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 346BF1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 16 Mar 2022 19:45:09 +0000 (UTC)
Message-Id: <YjI+QVBWgvDr770T@sheep>
Date: Wed, 16 Mar 2022 20:45:05 +0100
From: Onno van der Linden <o.vd.linden@quicknet.nl>
To: gnats-bugs@NetBSD.org
Subject: fonts/harfbuzz without introspection option causes devel/pango make
 error

>Number:         56755
>Category:       pkg
>Synopsis:       fonts/harfbuzz without introspection option causes devel/pango make error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 16 19:50:00 +0000 2022
>Closed-Date:    Tue Jun 07 16:46:37 +0000 2022
>Last-Modified:  Tue Jun 07 16:50:01 +0000 2022
>Originator:     Onno van der Linden
>Release:        NetBSD 9.99.80
>Organization:
>Environment:
System: NetBSD sheep 9.99.80 NetBSD 9.99.80 (SHEEPKMS) #1: Thu Mar 4 19:16:39 CET 2021 onno@sheep:/usr/src/sys/arch/i386/compile/SHEEPKMS i386
Architecture: i386
Machine: i386
>Description:
fonts/harfbuzz without introspection option causes error for make in devel/pango 
>How-To-Repeat:
first build and install fonts/harfbuzz with
PKG_OPTIONS.harfbuzz=-introspection in mk.conf followed by make
in devel/pango. This results in:

Couldn't find include 'HarfBuzz-0.0.gir' (search path: '['/usr/pkg/share/gir-1.0', '/usr/pkg/share', 'gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/usr/pkg/share/gir-1.0', '/usr/share/gir-1.0']')
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/devel/pango
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/pango


>Fix:
Currently devel/pango has 
MESON_ARGS+=            -Dintrospection=enabled
in the Makefile. Fix could be to use -Dintrospection=disabled
when PKG_OPTIONS.harfbuzz has -introspection.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 07 Jun 2022 16:46:37 +0000
State-Changed-Why:
I've just removed the introspection option for harfbuzz, turning
introspection on by default. Thanks for the PR!


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/56755 CVS commit: pkgsrc/fonts/harfbuzz
Date: Tue, 7 Jun 2022 16:47:33 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Tue Jun  7 16:47:33 UTC 2022

 Modified Files:
 	pkgsrc/fonts/harfbuzz: Makefile Makefile.common PLIST options.mk

 Log Message:
 harfbuzz: remove introspection option

 Addresses PR 56755.

 Bump PKGREVISION.


 To generate a diff of this commit:
 cvs rdiff -u -r1.141 -r1.142 pkgsrc/fonts/harfbuzz/Makefile
 cvs rdiff -u -r1.20 -r1.21 pkgsrc/fonts/harfbuzz/Makefile.common
 cvs rdiff -u -r1.61 -r1.62 pkgsrc/fonts/harfbuzz/PLIST
 cvs rdiff -u -r1.11 -r1.12 pkgsrc/fonts/harfbuzz/options.mk

 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.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.