NetBSD Problem Report #57787

From www@netbsd.org  Tue Dec 19 12:38:53 2023
Return-Path: <www@netbsd.org>
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 CB5681A9238
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 19 Dec 2023 12:38:53 +0000 (UTC)
Message-Id: <20231219123852.3292A1A923C@mollari.NetBSD.org>
Date: Tue, 19 Dec 2023 12:38:52 +0000 (UTC)
From: mike.volokhov@gmail.com
Reply-To: mike.volokhov@gmail.com
To: gnats-bugs@NetBSD.org
Subject: failure to install fonts/harfbuzz
X-Send-Pr-Version: www-1.0

>Number:         57787
>Category:       pkg
>Synopsis:       failure to install fonts/harfbuzz
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 19 12:40:00 +0000 2023
>Originator:     Mike Volokhov
>Release:        pkgsrc-2023Q3
>Organization:
>Environment:
macOS Ventura 13.6.3 (22G436)

Darwin Fourteen 22.6.0 Darwin Kernel Version 22.6.0: Tue Nov  7 21:40:08 PST 2023; root:xnu-8796.141.3.702.9~2/RELEASE_ARM64_T6000 arm64

Also, PKG_DEVELOPER=yes
>Description:
Hi!

The fonts/harfbuzz is failed at the install stage because of inability to find the html/chunk.xsl file. The error message is as follows:

--- stdout ---
Building documentation for harfbuzz
ERROR: Error in gtkdoc helper script:

ERROR: ['/opt/pkg/bin/gtkdoc-mkhtml', '--path=/Users/mishka/pkgsrc/fonts/harfbuzz/work/harfbuzz-8.1.1/docs:/Users/mishka/pkgsrc/fonts/harfbuzz/work/harfbuzz-8.1.1/output/docs', 'harfbuzz', '../harfbuzz-docs.xml'] failed with status 5
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
compilation error: file /opt/pkg/share/gtk-doc/data/gtk-doc.xsl line 11 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
>How-To-Repeat:
Try to build the fonts/harfbuzz package.


>Fix:
Unfortunately, I don't know how to properly fix the issue. The workaround is to explicitly initialize the XML_CATALOG_FILES variable:

env XML_CATALOG_FILES=/opt/pkg/etc/xml/catalog bmake install

At least it means that all the dependencies are properly installed.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.