Your message dated Mon, 16 Nov 2026 03:07:46 +0000
with message-id <[email protected]>
and subject line Bug#1152988: fixed in rust-blosc2-sys 0.4.0+ds-1
has caused the Debian Bug report #1152988,
regarding rust-blosc2-sys: bundled bindings target c-blosc2 2.15; users 
segfault against libblosc2 3.4.1
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.)


-- 
1152988: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1152988
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rust-blosc2-sys
Version: 0.4.0+dfsg-1
Severity: important

Hi,

rust-blosc2-sys ships pre-generated bindings for c-blosc2 2.15 (src/bindings.rs), and the Debian package removes the regenerate-bindings feature, but it links against the system libblosc2, which is 3.4.1 in unstable. Code using it crashes at run time.

I hit this while enabling the rust-blosc2-rs autopkgtests (debcargo-conf MR !1530, which also fixed #1150809). In a sid sbuild, with the use-system-blosc2 feature (so -l blosc2 is passed and links fine):

  running 12 tests
  test tests::test_list_compressors ... ok
  test tests::test_get_version_string ... ok
  process didn't exit successfully: ... (signal: 11, SIGSEGV: invalid memory reference)

All the referenced symbols (blosc2_compress, blosc2_decompress, blosc2_cbuffer_sizes, blosc2_schunk_*, blosc2_get_complib_info) are exported by libblosc2.so.3.4.1, so this looks like a layout/ABI mismatch between the 2.15 bindings and the 3.4 headers rather than missing functions. I haven't verified it struct by struct.

Possible fixes: regenerate the bindings against Debian's libblosc2-dev headers at build time (bindgen), or refresh the bundled bindings for 3.x.

Separately, the per-feature autopkgtests that don't enable use-system-blosc2 can't link at all (Debian's build.rs only links the system library under that feature), so those test combinations should probably be marked broken or always include use-system-blosc2.

Regards,
Ayushman

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: rust-blosc2-sys
Source-Version: 0.4.0+ds-1
Done: Ayushman Bhattacharya <[email protected]>

We believe that the bug you reported is fixed in the latest version of
rust-blosc2-sys, 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.
Ayushman Bhattacharya <[email protected]> (supplier of updated 
rust-blosc2-sys 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: Sun, 15 Nov 2026 20:37:04 -0600
Source: rust-blosc2-sys
Architecture: source
Version: 0.4.0+ds-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Rust Maintainers 
<[email protected]>
Changed-By: Ayushman Bhattacharya <[email protected]>
Closes: 1152988
Changes:
 rust-blosc2-sys (0.4.0+ds-1) unstable; urgency=medium
 .
   * Team upload.
   * Package blosc2-sys 0.4.0+2.15.2 from crates.io using debcargo 2.8.4
   * Always link the system libblosc2; the build script only did so under
     the use-system-blosc2 feature, so other feature sets failed to link.
   * Generate the bindings at build time from the installed libblosc2
     headers instead of shipping ones made for c-blosc2 2.15, whose struct
     layouts no longer match 3.x (Closes: #1152988).
   * Exclude the pregenerated src/bindings.rs; list both excludes in
     Files-Excluded.
   * Keep BLOSC2_MAX_DIM, dropped from blosc2.h in c-blosc2 3.x, as an alias
     of B2ND_MAX_DIM so blosc2-rs and other users still build.
Checksums-Sha1:
 161845cc32b8ee3261943a84fab704a268b60c01 2503 rust-blosc2-sys_0.4.0+ds-1.dsc
 8fa1908798bdea352fb634736dac3738e463ece4 4006 
rust-blosc2-sys_0.4.0+ds.orig.tar.gz
 a4b1a28ad2350fc5b82339cd8d5c40bdfa0e166a 6376 
rust-blosc2-sys_0.4.0+ds-1.debian.tar.xz
 4df69a46d25dd8aa15091c5c78998eb1aeddead0 8460 
rust-blosc2-sys_0.4.0+ds-1_source.buildinfo
Checksums-Sha256:
 ede826b2fa14811263c85969ab3b5aa6ac57054cb628a5ec52ccf4dc7788b1ec 2503 
rust-blosc2-sys_0.4.0+ds-1.dsc
 be03537621e0f17d76eeb854a3a142018e4b65f50c60c301cc1a9e59dad36a28 4006 
rust-blosc2-sys_0.4.0+ds.orig.tar.gz
 7f0b2389c3a2dd641af4cde9a5e943c61aa11c0cba0dbb42d61b9bbe499d5eb3 6376 
rust-blosc2-sys_0.4.0+ds-1.debian.tar.xz
 f6bcee01f97c3ffbbc681ee011de4bc4907622e9ef2506f949407d9401c7ffdc 8460 
rust-blosc2-sys_0.4.0+ds-1_source.buildinfo
Files:
 356fd52aed069172763abbaa723d01e8 2503 rust optional 
rust-blosc2-sys_0.4.0+ds-1.dsc
 11ddce74cbcb3eb42f7d78b64aba30e4 4006 rust optional 
rust-blosc2-sys_0.4.0+ds.orig.tar.gz
 6cbcc8556225c1476c866ba6217ec54d 6376 rust optional 
rust-blosc2-sys_0.4.0+ds-1.debian.tar.xz
 15bc100cf25ea3a9f7ca575649d1abab 8460 rust optional 
rust-blosc2-sys_0.4.0+ds-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmr6bPYACgkQ4n8s+EWM
L6RtzBAAjrnFgUJztK1+VzcypztLygeC2rPi9TpVswzyftCAICk5een6jgTC5wuL
eaGdUCQEmXDcMaXtm/0tWadICpJDCUgIN+r6frBwZcQVLXVICpFLGdTF/8OBOLR8
aCvNTic62zG43po9g6yy7tw7lADiEkFuIwPoeifjUBpDtdNbkd3xJ06Y7dkMCQdi
GAx+VN088DLEOkVTdpr237kfUcg/RFWNZxFWnmv3MHs1UE3jfcvl5i0GTFRazHNb
uFAv10mXtQPPwwlIlaeQ0VDK3InC+/+O6ytbg7i+Xj+KZD9LK/sAlV3nGagLM4rB
1CJsjEj2wj+2zednRNZSDcsx+EBUogbY6BbFfF6IgOz43FOi2aVRfHj1GGv9t0k5
FnQc9pHSnjhNCtsP+x4xZfBF8if2Ajxet6Zw0J8QkiRbDzTefBB6mgO0fycezQOM
0ur6NnN4V9KAKQs3XGaCFxyijsYfTCAuWgPpRfCHDmRARWDDivr0V9nuJUvook6t
Wjv4owLXk9ui6Vi8lw/QCJm3CSLwKiBiC+1S1sf0s+U3lbZajp5qzvxxH38VeQQn
WvVpmXvR0w+P6XhAGvzp+v7AIvID0d7jd5d0sH7M3qw5xsrv2htU8RfFzLLB0YZl
mTvpbRCeMZmQ8DDeVOLiHh/3DBHTA2M9yLLMJ1r4z9LgxCkzmHA=
=OyRz
-----END PGP SIGNATURE-----

Attachment: pgpQzz4hxli9I.pgp
Description: PGP signature


--- End Message ---

Reply via email to