From nobody Mon Nov 8 17:54:49 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 28CCA1845FCC for ; Mon, 8 Nov 2021 17:54:38 +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) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HnzJr2wyzz4vgZ for ; Mon, 8 Nov 2021 17:54:36 +0000 (UTC) (envelope-from freebsd@ohreally.nl) Received: from authenticated-user by rambler.ohreally.nl (Postfix) with ESMTPSA id 15CD11DB270B for ; Mon, 8 Nov 2021 18:54:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ohreally.nl; s=dkim; t=1636394075; r=y; bh=V6iySfHznUs2x536sF/7Jl1rmMQWH4mvQLuYstoVCog=; h=Date:Subject:To:References:From:In-Reply-To; b=mZEUzuDw08/eKsTY5Akw+89n9o5cU3jN9Vq4sCMSViAWrLCqkL8Ex1NjkPFeMoOgN 6fzPfjQ9ij0YlNm3EBIjerO+NKag2WfNU554CxDgqDXnPVEedXLlyxp/mvTUv2JVA8 DOuvHpCHyMh0pckIENJ0UmMAu8hoaQjC2pA25qOI= Message-ID: Date: Mon, 8 Nov 2021 18:54:49 +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 Subject: Re: Questions about /usr/local/lib/compat/pkg Content-Language: nl To: freebsd-pkg@FreeBSD.org References: <15967907-03dc-a2ab-df86-6097d8d808f6@ohreally.nl> From: freebsd@ohreally.nl In-Reply-To: <15967907-03dc-a2ab-df86-6097d8d808f6@ohreally.nl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.104.0 at rambler.ohreally.nl X-Virus-Status: Clean X-Rspamd-Queue-Id: 4HnzJr2wyzz4vgZ X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ohreally.nl header.s=dkim header.b=mZEUzuDw; 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.45 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[ohreally.nl:s=dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkg@freebsd.org]; NEURAL_SPAM_MEDIUM(0.95)[0.953]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[ohreally.nl]; NEURAL_SPAM_SHORT(1.00)[0.999]; DKIM_TRACE(0.00)[ohreally.nl:+]; NEURAL_SPAM_LONG(1.00)[1.000]; 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_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N I have shot all the info into the portupgrade issue tracker. https://github.com/freebsd/portupgrade/issues/73#issuecomment-963344629 Sorry to have wasted your time. On 07/11/2021 20:36, freebsd@ohreally.nl wrote: > 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