From nobody Sun Nov 07 19:36:54 2021 X-Original-To: freebsd-pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0B6F11831006 for ; Sun, 7 Nov 2021 19:36:46 +0000 (UTC) (envelope-from freebsd@ohreally.nl) Received: from rambler.ohreally.nl (rambler.ohreally.nl [51.15.8.63]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HnPd86N7Cz4X2S for ; Sun, 7 Nov 2021 19:36:41 +0000 (UTC) (envelope-from freebsd@ohreally.nl) Received: from authenticated-user by rambler.ohreally.nl (Postfix) with ESMTPSA id E6AE31DB270B for ; Sun, 7 Nov 2021 20:36:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ohreally.nl; s=dkim; t=1636313801; r=y; bh=prOtprCk9/4dU8fcF40RieQOKy6m5U8z8o8kUefeiU4=; h=Date:To:From:Subject; b=UK+BMXpPFT95XCqZlUQP7izDegAhPIrAG+AI6hJd9D7SM9kRFJfPquR4J1zzzKKvZ a4QCIxBRXvSjc4Dz8sv62oSAjt8AK3+Sa9wsvbjs5CR3TesDqzB8CNyHomFXzW4TAi 1TYCOZijFfr0AqNW7VvwD36fjW9f2cOoTO2QUdvs= Message-ID: <15967907-03dc-a2ab-df86-6097d8d808f6@ohreally.nl> Date: Sun, 7 Nov 2021 20:36:54 +0100 List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 Content-Language: en-US To: freebsd-pkg@FreeBSD.org From: freebsd@ohreally.nl Subject: Questions about /usr/local/lib/compat/pkg Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.104.0 at rambler.ohreally.nl X-Virus-Status: Clean X-Rspamd-Queue-Id: 4HnPd86N7Cz4X2S X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ohreally.nl header.s=dkim header.b=UK+BMXpP; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@ohreally.nl designates 51.15.8.63 as permitted sender) smtp.mailfrom=freebsd@ohreally.nl X-Spamd-Result: default: False [2.32 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[ohreally.nl:s=dkim]; MID_RHS_MATCH_FROM(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkg@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[ohreally.nl]; NEURAL_SPAM_SHORT(0.83)[0.834]; DKIM_TRACE(0.00)[ohreally.nl:+]; NEURAL_SPAM_LONG(0.99)[0.988]; FROM_NO_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12876, ipnet:51.15.0.0/17, country:FR]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hello list, I have some questions about /usr/local/lib/compat/pkg. I can find very little documentation about that directory. My current problem is that devel/boost-libs won't upgrade, with the following message: No such file or directory @ rb_check_realpath_internal - /usr/local/lib/compat/pkg/libboost_atomic.so.1 Actually, the mentioned file does exist. But it is a symlink to libboost_atomic.so.1.72.0 which does not exist. So my first question is if I can just delete this dead symlink, in the hopes that the upgrade will then succeed? But I have some more questions. What exactly is this directory for? The pkg.conf(5) man page states that libraries are backed up to this directory (BACKUP_LIBRARY_PATH), but it doesn't say what these backups are used for. Or when the backups should be restored. And when they can be deleted. Also, just above that line in the pkg.conf man page, it says that BACKUP_LIBRARIES should be set to true to have libraries backed up. However, it also says that this variable defaults to NO, and I never edited pkg.conf (and I just checked: this var is not set in the default file). So why does pkg back up these libraries anyway? In my case, this directory contains about 30 libraries, and over twice that amount in symlinks. Thanks to anyone who can shine a light on this for me. Best, Rob -- :wq