NetBSD Problem Report #57975
From www@netbsd.org Fri Mar 1 16:00:04 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))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id EB62C1A9239
for <gnats-bugs@gnats.NetBSD.org>; Fri, 1 Mar 2024 16:00:03 +0000 (UTC)
Message-Id: <20240301160002.16F9C1A923A@mollari.NetBSD.org>
Date: Fri, 1 Mar 2024 16:00:02 +0000 (UTC)
From: andrew.cagney@gmail.com
Reply-To: andrew.cagney@gmail.com
To: gnats-bugs@NetBSD.org
Subject: /usr/lib/libunbound.so.8, needed by unbound-1.19.0nb1 is not present in this system.
X-Send-Pr-Version: www-1.0
>Number: 57975
>Category: bin
>Synopsis: /usr/lib/libunbound.so.8, needed by unbound-1.19.0nb1 is not present in this system.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 01 16:05:00 +0000 2024
>Last-Modified: Fri Mar 01 16:15:02 +0000 2024
>Originator: Andrew Cagney
>Release: NetBSD-10.0-RC5
>Organization:
libreswan
>Environment:
NetBSD netbsd 10.0_RC5 NetBSD 10.0_RC5 (GENERIC) #0: Tue Feb 27 05:27:39 UTC 2024 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
This happens while trying to install the unbound development environment:
+ pkgin -y install unbound
calculating dependencies...done.
/usr/lib/libunbound.so.8, needed by unbound-1.19.0nb1 is not present in this system.
0 to remove, 0 to refresh, 0 to upgrade, 0 to install
0B to download, 0B of additional disk space will be used
the following packages have unmet requirements: unbound-1.19.0nb1
I suspect these files are of interest:
[root@netbsd root]# cat /etc/pkgpath.conf
# $NetBSD: pkgpath.conf,v 1.1 2013/05/01 05:36:25 agc Exp $
#
# packaging tools configuration
if [ -r /etc/defaults/pkgpath.conf ]; then
. /etc/defaults/pkgpath.conf
fi
# Add local overrides below
#
[root@netbsd root]# cat /etc/pkgpath.conf
# $NetBSD: pkgpath.conf,v 1.1 2013/05/01 05:36:25 agc Exp $
#
# packaging tools configuration
if [ -r /etc/defaults/pkgpath.conf ]; then
. /etc/defaults/pkgpath.conf
fi
# Add local overrides below
#
[root@netbsd root]# cat /etc/pkg_install.conf
PKG_PATH=https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/10.0/All
[root@netbsd root]#
>How-To-Repeat:
root@netbsd root 130]# pkgin -y install unbound
calculating dependencies...done.
/usr/lib/libunbound.so.8, needed by unbound-1.19.0nb1 is not present in this system.
0 to remove, 0 to refresh, 0 to upgrade, 0 to install
0B to download, 0B of additional disk space will be used
the following packages have unmet requirements: unbound-1.19.0nb1
>Fix:
Looks like the unbound package needs a refresh.
>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: bin/57975: /usr/lib/libunbound.so.8, needed by unbound-1.19.0nb1
is not present in this system.
Date: Fri, 1 Mar 2024 17:12:08 +0100
The unbound, nsd and bind packages in pkgsrc might need to be recreated
for netbsd-10 (and this is the easieast ad-hoc solution).
Long term (and this PR is in category "bin") we should hide the "internal"
libraries that tools in base (like unbound, nsd, bind) use if nothing from
pkgsrc is supposed to link against them (which is the case at least for
libunbound).
Hiding could be done by moving them from /usr/lib to some other (non-default
findable) location and adjusting the RPATH for the base binaries accordingly.
Martin
(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.