Debian Patches

Status for nbdkit/1.40.4-11

Patch Description Author Forwarded Bugs Origin Last update
0001-Look-for-lua-5.3.patch Look for lua 5.3 Hilko Bengen <bengen@debian.org> no 2018-09-03
0002-Read-TCL-compiler-linker-flags-from-tclConfig.sh-if-.patch Read TCL compiler/linker flags from tclConfig.sh if pkg-config fails Hilko Bengen <bengen@debian.org> no 2018-09-04
0003-USe-date-for-pod2man-from-README-mtime.patch USe date for pod2man from README mtime Hilko Bengen <bengen@debian.org> no 2019-01-27
0004-Check-for-mke2fs-in-sbin-dirs-configure-path-into-li.patch Check for mke2fs in sbin dirs, configure path into linuxdisk plugin Hilko Bengen <bengen@debian.org> no 2020-02-28
0007-output-Replace-system-with-explicit-bash-invocation.patch output: Replace system() with explicit bash invocation
Tehre is probably a better way to do this.
Hilko Bengen <bengen@debian.org> no 2021-01-10
0009-cc-plugin-Filter-out-ffile-prefix-map-etc.-from-CFLA.patch cc plugin: Filter out -ffile-prefix-map etc. from CFLAGS
The default CFLAGS from dpkg-buildflags include this compiler flag to
rewrite nbdkit's own source directory in __FILE__, debug symbols and
similar constructs so that the source directory used by the developer
or the transient source directory used by an autobuilder is not
written into the executable, which would make it non-reproducible
between different build directories. Older versions used
-fdebug-prefix-map for a similar (although more limited) purpose.

However, these particular flags are not useful when compiling a new
plugin at a later time, and because they include the package's source
directory, including them in the binary makes it non-reproducible
between different build directories.
Simon McVittie <smcv@debian.org> no debian 2021-08-23
0007-Disable-some-tests.patch Disable some tests
These have failed on buildds but failures could not be reproduced in
regular schroot/sbuild environments.
Hilko Bengen <bengen@debian.org> no 2021-01-10
0008-Fix-nbdkit_parse_delay-on-32bit-systems.patch Fix nbdkit_parse_delay on 32bit systems Hilko Bengen <bengen@debian.org> no 2024-08-25
0010-Fix-glibc-2.40-crash.patch Aurelien Jarno <aurel32@debian.org> writes:

I have tracked down the issue to two parts:

* nbdkit uses a version script with -rdynamic, which causes the
_IO_stdin_used symbol from crt1.o to not be included in nbdkit binary.
This is used by the GNU libc determine which version of the I/O
functions should be used. Not exporting it means that the "old"
version is used, leading to possible crashes or other issues on
architectures that were supported by glibc 2.0. That is for debian:
i386 and mips64el for official architectures and alpha, hppa, m68k,
powerpc, sh4 and sparc64 for ports architecture.

* glibc 2.40 changed the format of the libio structures even more [1],
increasing the incompatibilities.

Therefore I believe the problem has to be fixed on the nbdkit side, with
the following patch:
no

All known versions for source package 'nbdkit'

Links