NetBSD Problem Report #61023
From www@netbsd.org Tue Nov 17 13:29:17 2026
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 "YR1" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 82E5C1A923B
for <gnats-bugs@gnats.NetBSD.org>; Tue, 17 Nov 2026 13:29:17 +0000 (UTC)
Message-Id: <20261117132916.540981A923C@mollari.NetBSD.org>
Date: Tue, 17 Nov 2026 13:29:16 +0000 (UTC)
From: oss@gemelen.net
Reply-To: oss@gemelen.net
To: gnats-bugs@NetBSD.org
Subject: security/libgpg-error on macos fails while installing share files
X-Send-Pr-Version: www-1.0
X-From4GNATS: "oss@gemelen.net via gnats" <gnats-admin@NetBSD.org>
>Number: 61023
>Category: pkg
>Synopsis: security/libgpg-error on macos fails while installing share files
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 17 13:30:00 +0000 2026
>Last-Modified: Tue Nov 17 13:50:01 +0000 2026
>Originator: gemelen
>Release: trunk
>Organization:
>Environment:
Darwin embla 27.2.0 Darwin Kernel Version 27.2.0: Wed Oct 14 23:47:07 PDT 2026; root:xnu-13432.41.4~25/RELEASE_ARM64_T8132 arm64
>Description:
Package/installation of the security/libgpg-error fails due to the fact that *.mo files (translation data, I assume) are not copied from the source directory in the working area to the .destdir/.../share/locale directory, thus the process detects missing from the PLIST files.
Observed initially as a part of the security/libgpg-error installation as a dependency, when reproduced as a standalone problem.
>How-To-Repeat:
'bmake package' or 'bmake install' on a fresh pkgsrc trunk on MacOS.
>Fix:
Ad-hoc workaround:
In the automake-generated Makefile (and its .am/.in templates) there is the "install-data-hook" within the "install-data-am" target, which was able to handle installation in the problematic environment.
When the guard flag 'HAVE_W32_SYSTEM' was removed from the Makefile, the sequential "bmake install" succeeded.
>Audit-Trail:
From: gemelen <oss@gemelen.net>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/61023
Date: Tue, 17 Nov 2026 10:37:16 -0300
Build log when observed initially:
embla ~/Documents/projects/pkgsrc/security/libgpg-error trunk> bmake
install
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> _pkgformat-check-vulnerable [libgpg-error-1.61] ===> Checking for
vulnerabilities in libgpg-error-1.61
===> install-message [libgpg-error-1.61] ===> Installing for
libgpg-error-1.61
=> Generating pre-install file lists
...
gmake[3]: Entering directory
'/Users/gemelen/Documents/projects/pkgsrc/security/libgpg-error/work/libgpg-error-1.61'
gmake[3]: Nothing to be done for 'install-data-hook'.
...
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for libgpg-error-1.61
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in
/Users/gemelen/Documents/projects/pkgsrc/security/libgpg-error/work/.destdir/Users/gemelen/Documents/projects/pkg-trunk:
ERROR:
/Users/gemelen/Documents/projects/pkgsrc/security/libgpg-error/work/.destdir/Users/gemelen/Documents/projects/pkg-trunk/share/locale/cs/LC_MESSAGES/libgpg-error.mo
...
ERROR:
/Users/gemelen/Documents/projects/pkgsrc/security/libgpg-error/work/.destdir/Users/gemelen/Documents/projects/pkg-trunk/share/locale/zh_TW/LC_MESSAGES/libgpg-error.mo
*** Error code 1
Stop.
bmake[1]: stopped making "install" in
/Users/gemelen/Documents/projects/pkgsrc/security/libgpg-error
*** Error code 1
Stop.
bmake: stopped making "install" in
/Users/gemelen/Documents/projects/pkgsrc/security/libgpg-error
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.