Your message dated Sun, 13 Nov 2022 23:34:42 +0000 with message-id <[email protected]> and subject line Bug#1023654: fixed in liburing 2.3-2 has caused the Debian Bug report #1023654, regarding liburing 2.3 breaks binary compatibility to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 1023654: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023654 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: liburing Version: 2.3-1 Severity: grave liburing 2.3 broke binary compatibility without bumping the soname. In liburing.h in 2.3, structures io_uring_cq and io_uring_sq changed their sizes. Both of these structures are parts of io_uring structure which the main part of the API. Here's the difference: @@ -43,7 +79,9 @@ struct io_uring_sq { unsigned *khead; unsigned *ktail; + // Deprecated: use `ring_mask` instead of `*kring_mask` unsigned *kring_mask; + // Deprecated: use `ring_entries` instead of `*kring_entries` unsigned *kring_entries; unsigned *kflags; unsigned *kdropped; @@ -56,13 +94,18 @@ size_t ring_sz; void *ring_ptr; - unsigned pad[4]; + unsigned ring_mask; + unsigned ring_entries; + + unsigned pad[2]; }; ... struct io_uring { struct io_uring_sq sq; struct io_uring_cq cq; ... } So, a program which uses struct io_uring compiled with version 2.2 of the library is completely incompatible when run with version 2.3 of the library, and vise versa - since many user-visible members of this structure, even when manipulated by the inline functions offered by uring.h, are completely incompatible. This breaks other software. For example, samba compiled against liburing 2.3 will silently break when liburing 2.2 is used at the run time, and there's no way for apt/dpkg to tell that liburing2.so upgrade is needed. The same way, samba compiled against liburing 2.2 breaks when liburing is upgraded to 2.3, but in a different way.
--- End Message ---
--- Begin Message ---Source: liburing Source-Version: 2.3-2 Done: Guillem Jover <[email protected]> We believe that the bug you reported is fixed in the latest version of liburing, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Guillem Jover <[email protected]> (supplier of updated liburing package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Mon, 14 Nov 2022 00:15:08 +0100 Source: liburing Architecture: source Version: 2.3-2 Distribution: unstable Urgency: medium Maintainer: Guillem Jover <[email protected]> Changed-By: Guillem Jover <[email protected]> Closes: 1023654 Changes: liburing (2.3-2) unstable; urgency=medium . * Artificially bump symbol versions to 2.3 for functions involved in a forward compatibility ABI break, for objects built against the new library and run-time linked against the old one, until upstream decides how to fix/improve this. Closes: #1023654 Checksums-Sha1: a1e5ee6739d95254e3d722ffbe9cfb81eec536dd 2241 liburing_2.3-2.dsc f0c027ab4dbcc5569f5f24217f3e2765b0c2cb25 14856 liburing_2.3-2.debian.tar.xz f2b3dd2aa401dcab79a1cc29b55b67eaadf82886 6335 liburing_2.3-2_amd64.buildinfo Checksums-Sha256: d20a29c8fd452cf6dc03bfe99faac8c823f2fd6792603d6879fd63de7cd4f886 2241 liburing_2.3-2.dsc bd0dd5a30547fd33e9c9e2ea96562ffcd8164cbe50244c42c4e41826959bd81f 14856 liburing_2.3-2.debian.tar.xz ac3e8428bb308e71da8dfdb95e13875e41e3dfc2e5c34b26e23b653a4e6c854d 6335 liburing_2.3-2_amd64.buildinfo Files: 0344f9c514f5d7bcbc1ec5391c79928b 2241 libs optional liburing_2.3-2.dsc 6fba96894e400a209f6fdb5748aed7d5 14856 libs optional liburing_2.3-2.debian.tar.xz f02648aeada206dedc1d00395d11a435 6335 libs optional liburing_2.3-2_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEETz509DYFDBD1aWV0uXK/PqSuV6MFAmNxe4sACgkQuXK/PqSu V6MmOg//WfvLA6oCRkG9LAdLL2CXmazTk0G0w54JOaXTV5U9/fIoqQ43+zQDGy6O mGa7ts11V+dQp+aLhooH7XJ6tZLVpg/TZ3T49c+4VNJGNbKfFQp+GzmBAJKMENsl X4u6dlcp8uztpqpqIZLP4suQZ5StA8K+mbEcAg851gCTSLttYyLWJ/PJ8RPJ9MXM TDfWa8fMIv9YL/VNqSXayurGLmAIaJmdN1CPcT+ggKWny33cBkbNMuWPpKOQ6UBY uRgrkGuwduOrw3gkWkXyk7VPONnSRe8xKTttIjy4yn153rvjtSh4LDRsUBGFjgnj CoR5DB8Fv2kdaaxZQR4OarWO6B3b5l7WQPNHbaRJxRfhyAJmAu7fKXnBwylnYRP9 v2VmEp32xBoO4mDI+GosKSi282oe2MzpqAS2dAufn09/0HRrvRvoDmiikOE/Mr0H +SXr5iYr4MNs/pLRDrQdE0OBzkmVzcyGgK6AAfMnq4SVoOR1MyCvZk/TDhMy6wLj WLDl3p0xCrID3jUVoBsiUtLw3z7GlScRydmdI9yC4iYVicp7PA5ZD+K9Qv2jecRl IguLApJLIL5d3Wh4wuCsfc1lQH1YaO59tOAaTXyzPQqPvxS6IFfkJxvlmDW3vhIS XpKQa7HMOhGQ8IWB9qRqFmMh8Esb34JR7+496xjff1KIQXdQRTY= =EdQC -----END PGP SIGNATURE-----
--- End Message ---

