Date: Fri, 10 May 2013 18:38:09 -0400 From: Jung-uk Kim <jkim@FreeBSD.org> To: "Mikhail T." <mi+thun@aldan.algebra.com> Cc: knu@idaemons.org, office@FreeBSD.org, Bryan Drewery <bdrewery@FreeBSD.org> Subject: Re: portupgrade and ICU libraries Message-ID: <518D76D1.1040305@FreeBSD.org> In-Reply-To: <518D6C23.6000302@aldan.algebra.com> References: <518D569F.50404@aldan.algebra.com> <518D59A8.8060608@FreeBSD.org> <518D5B4D.4050109@aldan.algebra.com> <518D6077.3080809@FreeBSD.org> <518D6C23.6000302@aldan.algebra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2013-05-10 17:52:35 -0400, Mikhail T. wrote: > On 10.05.2013 17:02, Jung-uk Kim wrote: >>> FreeBSD stopped using minor numbers long ago (when a.out was >>>> replaced by elf). It is the libicuuc.so.54, that needs to be >>>> "Actual library", not libicuuc.so.54.3 for portupgrade to >>>> not fail. >> I think it is irrelevant in this case because ICU is not ours. > > Well, it is "yours" on FreeBSD -- because you are the > port-maintainer(s). The port can certainly alter this behavior of > the upstream package. Sure, if someone's willing to fix all dependencies. ;-) Seriously, the file names and linking procedures are well-defined by the upstream. I don't see any point of changing it. >> IMHO, a correct fix is to teach portupgrade to find SONAME and >> copy the actual library if they do not match. > Yes, this was the 1. in my original e-mail and, yes, portupgrade > should handle this. But icu has something to correct as well, if > possible without too much difficulty. It should be much easier to fix portupgrade, e.g., something like this pseudo function (sorry, I am not very familiar with Ruby): /* * Copy file `lib' (not symlink!) to directory `dir'. */ static int copy_library(const char *lib, const char *dir) { char *dst; dst = get_soname(lib); if (dst == NULL) dst = basename(lib); /* Actually copy. ;-) */ return (copy_file(lib, dir, dst)); } Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJRjXbRAAoJECXpabHZMqHODKIIAJy3gOk/m/PHRuzzfIUCeHqz 1+E+86KdpLzO5FjFVayYrO4uLPZCG1qTNuvUTI+37Z2mG/bhEKXdquiF0t3bKhW8 1J24mHfOz6NiQg/gDfLQNkkbD+u6UCJw0QBlMytOLxY6vvj/KQ6VfeLM0v0v7nVY Q78FT/sRXrgpzGQWkqNmzEhYmWl3Kmg30fosnR7dr6bLteiTQVvon3TIA/LHuiAn gRqaUp2jA2RjprwWs1/mwTgPcKSJXzwkW7AZlu7ui8a/OFredk7W9wFxNJvXOAPQ baxZ9dXS5MVr8iI2aBUt2etHXeLocv3JoiUb71YYMFt6VOAXQOks1EUKl0cpTq4= =WZR+ -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?518D76D1.1040305>