NetBSD Problem Report #58770
From www@netbsd.org Tue Oct 22 06:36:35 2024
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)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 301CE1A923D
for <gnats-bugs@gnats.NetBSD.org>; Tue, 22 Oct 2024 06:36:35 +0000 (UTC)
Message-Id: <20241022063634.201EF1A923E@mollari.NetBSD.org>
Date: Tue, 22 Oct 2024 06:36:34 +0000 (UTC)
From: rnkn@rnkn.xyz
Reply-To: rnkn@rnkn.xyz
To: gnats-bugs@NetBSD.org
Subject: textproc/mxml build requires running twice to succeed on Darwin
X-Send-Pr-Version: www-1.0
>Number: 58770
>Category: pkg
>Synopsis: textproc/mxml build requires running twice to succeed on Darwin
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 22 06:40:00 +0000 2024
>Last-Modified: Thu Nov 14 12:15:01 +0000 2024
>Originator: Paul W. Rankin
>Release: trunk (04-Oct-2024)
>Organization:
>Environment:
Darwin MacBookAir.home 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:36:26 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T8103 arm64
>Description:
The mxml package fails to build on Darwin (and probably other platforms) with the following error:
Generating API documentation...
/opt/pkg/bin/mksh: ./mxmldoc-static: inaccessible or not found
Attempting to build a second time without cleaning the work directory will succeed.
>How-To-Repeat:
$ cd $PKGSRCDIR/textproc/mxml
$ bmake install
...
$ bmake install
>Fix:
Run build twice without cleaning the work directory, or comment out the mxmldoc section of work/mxml-2.10/Makefile
>Audit-Trail:
From: "Niclas Rosenvik" <nros@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/58770 CVS commit: pkgsrc/textproc/mxml
Date: Thu, 14 Nov 2024 12:10:04 +0000
Module Name: pkgsrc
Committed By: nros
Date: Thu Nov 14 12:10:04 UTC 2024
Modified Files:
pkgsrc/textproc/mxml: distinfo
pkgsrc/textproc/mxml/patches: patch-aa
Log Message:
mxml: try to fix build on darwin
The package tries to run mxmldoc-static on
OSX causing build problems, this is to create
a docset bundle but the docsetutil program
is not guarranteed to exist since it was
removed in XCode 9.3, so comment that section
out to fix the build problem.
Should fix PR pkg/58770 .
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/mxml/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/mxml/patches/patch-aa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(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-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.