Date: Mon, 8 Nov 2021 16:03:56 +0100 From: freebsd@ohreally.nl To: Stefan Esser <se@freebsd.org> Cc: freebsd-pkg@FreeBSD.org Subject: Re: Questions about /usr/local/lib/compat/pkg Message-ID: <668211f6-e7db-8875-1c1e-214ed2d4388c@ohreally.nl> In-Reply-To: <4d28dae0-043f-dffd-ce79-644ee6e226e0@freebsd.org> 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> <4d28dae0-043f-dffd-ce79-644ee6e226e0@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank you, Stefan. I am creating an issue at the portupgrade/pkgtools GitHub project as we speak. I will include all the information that Baptiste and you have given me. Best, Rob On 08/11/2021 15:58, Stefan Esser wrote: > 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 ? >> >> Yes, I am sure. >> >>> Are you out of curiosity using portmaster? >> >> I always install from ports, and for upgrades I use portsnap/portupgrade. >> Should I direct my bug report elsewhere? >> >> (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 problematic >> 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 available > for ports that have not been re-compiled for libA.so.6). > > Regards, STefan > -- :wq
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?668211f6-e7db-8875-1c1e-214ed2d4388c>