Date: Mon, 8 Nov 2021 15:58:53 +0100 From: Stefan Esser <se@freebsd.org> To: freebsd@ohreally.nl Cc: freebsd-pkg@FreeBSD.org, Baptiste Daroussin <bapt@FreeBSD.org> Subject: Re: Questions about /usr/local/lib/compat/pkg Message-ID: <4d28dae0-043f-dffd-ce79-644ee6e226e0@freebsd.org> In-Reply-To: <9ea022cc-0886-6bfe-4f5c-993b2a683e3e@ohreally.nl> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------PYhzrk0P8GbaPUH8tS2eNNRz Content-Type: multipart/mixed; boundary="------------eh1ZLs3FtN0JL3qVjxjz8J70"; protected-headers="v1" From: Stefan Esser <se@freebsd.org> To: freebsd@ohreally.nl Cc: freebsd-pkg@FreeBSD.org, Baptiste Daroussin <bapt@FreeBSD.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d28dae0-043f-dffd-ce79-644ee6e226e0>