NetBSD Problem Report #57058

From triaxx@netbsd.org  Sat Oct 15 21:51:43 2022
Return-Path: <triaxx@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 D88BB1A921F
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 15 Oct 2022 21:51:43 +0000 (UTC)
Message-Id: <20221015215142.926DD1A9239@mollari.NetBSD.org>
Date: Sat, 15 Oct 2022 21:51:42 +0000 (UTC)
From: triaxx@netbsd.org
Reply-To: triaxx@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: Missing run-time search path for postfix modules
X-Send-Pr-Version: 3.95

>Number:         57058
>Category:       pkg
>Synopsis:       Missing run-time search path for postfix modules
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 15 21:55:00 +0000 2022
>Originator:     Frédéric Fauberteau
>Release:        Darwin 21.6.0
>Organization:

>Environment:
System: Darwin arbiter.local 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:20:05 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T8101 arm64
Architecture: aarch64
Machine: arm64
>Description:
When installing postfix modules, a error occurs when checking for missing run-time serach paths:

% bmake install
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Invoking ``install'' after barrier for postfix-cdb-3.7.3
===> Checking for vulnerabilities in postfix-cdb-3.7.3
===> Installing for postfix-cdb-3.7.3
=> Generating pre-install file lists
=> Creating installation directories
/usr/bin/install -c -o triaxx -g staff -m 755 /Users/triaxx/pkgsrc/mail/postfix-cdb/work/postfix-3.7.3/src/global/postfix-cdb.dylib                      /Users/triaxx/pkgsrc/mail/postfix-cdb/work/.destdir/Users/triaxx/pkg/lib/postfix
echo "cdb postfix-cdb.dylib dict_cdb_open mkmap_cdb_open" >              /Users/triaxx/pkgsrc/mail/postfix-cdb/work/.destdir/Users/triaxx/pkg/libexec/postfix/dynamicmaps.cf.d/cdb.cf
( echo "\$shlib_directory/postfix-cdb.dylib:f:root:-:755";                       echo "\$meta_directory/dynamicmaps.cf.d/cdb.cf:f:root:-:644";   echo "\$meta_directory/postfix-files.d/cdb.cf:f:root:-:644"; )      > /Users/triaxx/pkgsrc/mail/postfix-cdb/work/.destdir/Users/triaxx/pkg/libexec/postfix/postfix-files.d/cdb.cf
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for postfix-cdb-3.7.3
=> Checking for non-existent script interpreters in postfix-cdb-3.7.3
=> Checking file permissions in postfix-cdb-3.7.3
=> Checking for missing run-time search paths in postfix-cdb-3.7.3
ERROR: lib/postfix/postfix-cdb.dylib: relative library path: postfix-cdb.dylib
ERROR: lib/postfix/postfix-cdb.dylib: missing library: postfix-cdb.dylib
*** Error code 1

Stop.
bmake[1]: stopped in /Users/triaxx/pkgsrc/mail/postfix-cdb
*** Error code 1

Stop.
bmake: stopped in /Users/triaxx/pkgsrc/mail/postfix-cdb
>How-To-Repeat:
cd mail/postfix-cdb && bmake install
>Fix:

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-2022 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.