From nobody Mon Nov 08 14:58:53 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 C7A811830A9F for ; Mon, 8 Nov 2021 14:59:01 +0000 (UTC) (envelope-from se@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HnvQF55tFz4qxM; Mon, 8 Nov 2021 14:59:01 +0000 (UTC) (envelope-from se@freebsd.org) Received: from [IPV6:2003:cd:5f1a:8b00:9131:dbe1:c009:1416] (p200300cd5f1a8b009131dbe1c0091416.dip0.t-ipconnect.de [IPv6:2003:cd:5f1a:8b00:9131:dbe1:c009:1416]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 7FE2FAD97; Mon, 8 Nov 2021 14:58:59 +0000 (UTC) (envelope-from se@freebsd.org) Message-ID: <4d28dae0-043f-dffd-ce79-644ee6e226e0@freebsd.org> Date: Mon, 8 Nov 2021 15:58:53 +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 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: Questions about /usr/local/lib/compat/pkg Content-Language: en-US To: freebsd@ohreally.nl Cc: freebsd-pkg@FreeBSD.org, Baptiste Daroussin References: <15967907-03dc-a2ab-df86-6097d8d808f6@ohreally.nl> <20211108075438.jtqkak6n22n5rlg7@aniel.nours.eu> <9df3553b-b2c3-6b35-f06c-f123b981a613@ohreally.nl> <20211108095919.wfqj3kr2m6du5xsr@aniel.nours.eu> <9ea022cc-0886-6bfe-4f5c-993b2a683e3e@ohreally.nl> From: Stefan Esser In-Reply-To: <9ea022cc-0886-6bfe-4f5c-993b2a683e3e@ohreally.nl> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------PYhzrk0P8GbaPUH8tS2eNNRz" X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------PYhzrk0P8GbaPUH8tS2eNNRz Content-Type: multipart/mixed; boundary="------------eh1ZLs3FtN0JL3qVjxjz8J70"; protected-headers="v1" From: Stefan Esser To: freebsd@ohreally.nl Cc: freebsd-pkg@FreeBSD.org, Baptiste Daroussin Message-ID: <4d28dae0-043f-dffd-ce79-644ee6e226e0@freebsd.org> Subject: Re: Questions about /usr/local/lib/compat/pkg References: <15967907-03dc-a2ab-df86-6097d8d808f6@ohreally.nl> <20211108075438.jtqkak6n22n5rlg7@aniel.nours.eu> <9df3553b-b2c3-6b35-f06c-f123b981a613@ohreally.nl> <20211108095919.wfqj3kr2m6du5xsr@aniel.nours.eu> <9ea022cc-0886-6bfe-4f5c-993b2a683e3e@ohreally.nl> In-Reply-To: <9ea022cc-0886-6bfe-4f5c-993b2a683e3e@ohreally.nl> --------------eh1ZLs3FtN0JL3qVjxjz8J70 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 08.11.21 um 11:04 schrieb freebsd@ohreally.nl: > On 08/11/2021 10:59, Baptiste Daroussin wrote: >> Are you sure you don't have a BACKUP_LIBRARIES env var which is setup = ? >=20 > Yes, I am sure. >=20 >> Are you out of curiosity using portmaster? >=20 > I always install from ports, and for upgrades I use portsnap/portupgrad= e. > Should I direct my bug report elsewhere? >=20 > (Since the directory is called pkg, and the only line of documentation = I could > find about this directory is in pkg.conf(5), I was sure pkg was the pro= blematic > application.) I do not know anything about portupgrade, but portmaster does offer to preserve shared libraries in the compat/pkg directory. But they are always copied by portzmaster, and therefore no dangling symbolic link can be created that way. And the backup is deleted again, if the upgrade installs a new library with the same name (i.e. if libA.so.5 has been copied to compat/pkg and the upgrade creates a new libA.so.5 in /usr/local/lib/libA.so.5, then the file in compat/pkg will be deleted - but if the upgrade brought a library named libA.so.6, the libA.so.5 file would persist and be availabl= e for ports that have not been re-compiled for libA.so.6). Regards, STefan --------------eh1ZLs3FtN0JL3qVjxjz8J70-- --------------PYhzrk0P8GbaPUH8tS2eNNRz Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmGJOy0FAwAAAAAACgkQR+u171r99UQk aQgAgXtcWcv8HDBYlm9D3bUwX67pZ+Io6XRO8x5bfumm08GXgrt3zpSh6nwh7gPNzgw0EHVYj12h o4kvfV7sJTvFfa6QslqRtlohfXRHwMeg84HEbFEkZFWO5ccuDuHCbFt/YqGfwxGGpArblUKHt0aE TFc8yrmFt4xpb8KH9RJVQo4Km+gYJZft6ru+LigZV6IaeL9BI1s0yocT99p3STeCbwULdcvMRcsl hcjWoZ5K2XR786ZJl2wrD4+SGZCXj8HXIL0qRvY/uq2a5md3JZyJnO6acPkinz6Yt0wPs5B989ju 7Zx0ImZbZ0kFj/PgTakVH8UvgYK2QcESX8bDD2FTFA== =Ro3p -----END PGP SIGNATURE----- --------------PYhzrk0P8GbaPUH8tS2eNNRz--