Package: irssi
Version: 0.8.17-1+b2
Severity: normal

irssi 0.8.18 beta introduces an IRSSI_ABI_VERSION and will refuse to
load load modules that are compiled against a different ABI version as
returned by the module_name_abicheck() function.

This should prevent future ABI issues with irssi modules, but to
properly solve #767103 and #772479 I think we should not depend on
runtime checks and eventual bug reports by our users, but express the
ABI in package relationships and do proper mini-transitions with binNMUs
etc.  I'm thinking of a mechanism similar to what Perl does for XS
modules with perlapi-5.22.1 provided by perl-base.

To this end, I suggest irssi Provides: a virtual package called
something like irssiabi-$(IRSSI_ABI_VERSION), for which
irssi-plugin-xmpp and irsi-plugin-otr can then add strict dependencies.
The IRSSI_ABI_VERSION would have to be injected automatically at
build-time.

Suggestions where to find a lightweight implementation of
such a mechanism for both provider and users very welcome!

Reply via email to