Source: python-udatetime Version: 0.0.16-2 Severity: serious Tags: patch python-udatetime use the pow() math function in src/rfc3339.c, but doesn't link with libm.so. This causes the non-versioned pow symbol to be used, which in turn causes issues when glibc version is upgraded.
The attached patch fixes that. -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.4.0-3-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
--- python-udatetime-0.0.16.orig/setup.py +++ python-udatetime-0.0.16/setup.py @@ -36,6 +36,7 @@ if __pypy__ is None: Extension( 'udatetime.rfc3339', ['./src/rfc3339.c'], + libraries=['m'], define_macros=macros, extra_compile_args=['-Ofast', '-std=c99'] )