Debian Patches

Status for librdkafka/2.11.1-2

Patch Description Author Forwarded Bugs Origin Last update
Remove-small-bashism-from-Makefile.patch Remove small bashism from Makefile
The LICENSES.txt target makes a shell for loop, in which it tries to
evaluate the wildcard "LICENSE.*[^~]".

[^] is a bashism, and fails when /bin/sh is not bash (i.e. every
Debian-based system by default):

$ /bin/bash -c "ls LICENSE.*[^~]"
LICENSE.cjson LICENSE.fnv1a LICENSE.lz4 LICENSE.pycrc LICENSE.regexp LICENSE.tinycthread
LICENSE.crc32c LICENSE.hdrhistogram LICENSE.murmur2 LICENSE.queue LICENSE.snappy LICENSE.wingetopt

$ /bin/sh -c "ls LICENSE.*[^~]"

The equivalent POSIX way to do this is to use [!].

Tested with bash, dash and posh.
Faidon Liambotis <paravoid@debian.org> yes 2023-01-12
Fix-type-endianness-issues-in-GetTelemetrySubscriptions.patch Fix type/endianness issues in GetTelemetrySubscriptions
rk_telemetry.accepted_compression_types is of type kafka_compression_t, which
is an enum, with a sizeof int. Handle the type conversions to int8_t
explicitly and in endian-friendly away.

Resolves long-standing issues on s390x, a 64-bit big-endian architecture, as
identified by the new test unittest_handle_GetTelemetrySubscriptions
introduced with v2.10.1.
Faidon Liambotis <paravoid@debian.org> yes upstream 2025-08-28

All known versions for source package 'librdkafka'

Links