[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: when to drop t64 postfix from lib packages?



On Tue, Jul 29, 2025 at 07:10:10PM +0500, Andrey Rakhmatullin wrote:
> On Tue, Jul 29, 2025 at 03:40:09PM +0200, Jakub Ružička wrote:
> > When should I drop t64 postfix from Debian lib packages?
> 
> Only when bumping the soname.

To expand a bit on that answer, the reason for adding the postfix was
to make sure that existing, compiled programs that link against
libdnssec9 do not get executed with the new library, because they will
break every time they try to use a time_t variable (by itself or in
a structure). That's why the 64-bit-time-t library has a different name.

Now, when a new version of libddnssec bumps the SONAME to 10, you can
safely package that as libdnssec10 - it will be built with 64-bit time_t
from the start, and there will be no chance that any already-built
program would try to link to anything called "libdnssec10" by mistake.

Hope that helps!

G'luck,
Peter

-- 
Peter Pentchev  roam@ringlet.net roam@debian.org peter@morpheusly.com
PGP key:        https://www.ringlet.net/roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13

Attachment: signature.asc
Description: PGP signature


Reply to: