NetBSD Problem Report #56697
From www@netbsd.org Mon Feb 7 07:12:26 2022
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 00C9E1A9239
for <gnats-bugs@gnats.NetBSD.org>; Mon, 7 Feb 2022 07:12:25 +0000 (UTC)
Message-Id: <20220207071224.9A3BB1A923B@mollari.NetBSD.org>
Date: Mon, 7 Feb 2022 07:12:24 +0000 (UTC)
From: pekdon@gmail.com
Reply-To: pekdon@gmail.com
To: gnats-bugs@NetBSD.org
Subject: security/p11-kit requires readlink to build
X-Send-Pr-Version: www-1.0
>Number: 56697
>Category: pkg
>Synopsis: security/p11-kit requires readlink to build
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 07 07:15:00 +0000 2022
>Closed-Date: Mon Feb 07 08:05:29 +0000 2022
>Last-Modified: Mon Feb 07 08:10:01 +0000 2022
>Originator: Claes Nästén
>Release: trunk 2022-02-07
>Organization:
>Environment:
SunOS 5.10 sun4v sparc SUNW,SPARC-Enterprise-T2000
>Description:
Building security/p11-kit without readlink available makes p11-kit-proxy.so missing from the installed files.
From meson_post_instal.sh (similar scripting in Makefile.am)
ln -sf `readlink $MESON_INSTALL_DESTDIR_PREFIX/$libdir/libp11-kit.$i` \
"$MESON_INSTALL_DESTDIR_PREFIX/$libdir/p11-kit-proxy.$i" || true;
>How-To-Repeat:
Build on a system without readlink in the PATH.
>Fix:
--- a/security/p11-kit/Makefile
+++ b/security/p11-kit/Makefile
@@ -19,7 +19,7 @@ CONFIGURE_ARGS+= --with-trust-paths=${PREFIX}/share/mozilla-rootcerts/cacert.pem
GNU_CONFIGURE= yes
USE_LANGUAGES= c99
USE_LIBTOOL= yes
-USE_TOOLS+= pkg-config
+USE_TOOLS+= pkg-config readlink
TEST_TARGET= check
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Mon, 07 Feb 2022 08:05:29 +0000
State-Changed-Why:
Fixed, thanks!
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/56697 CVS commit: pkgsrc/security/p11-kit
Date: Mon, 7 Feb 2022 08:05:05 +0000
Module Name: pkgsrc
Committed By: wiz
Date: Mon Feb 7 08:05:05 UTC 2022
Modified Files:
pkgsrc/security/p11-kit: Makefile
Log Message:
p11-kit: add readlink to tools
From Claes Nästén in PR 56697
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/security/p11-kit/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(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.