[Python-modules-team] Bug#799278: python-cffi: Non-deterministic results with anonymous unions/structs
Tristan Seligmann
mithrandi at mithrandi.net
Thu Sep 17 13:31:44 UTC 2015
Package: python-cffi
Version: 1.1.2-1
Severity: minor
Tags: upstream fixed-upstream
When an anonymous union or struct is encountered, for example the union in:
typedef struct {
union {
int a;
char b;
} u
} mystruct;
CFFI internally gives this a name like "$1". However, the assignment of these
names depends on dictionary ordering, causing the output to vary across builds
resulting in reproducibility issues.
This bug is now fixed upstream in rev 1cfe8c7a59e8; I am filing this bug report
just to serve as a place to track the issue in Debian until a fixed cffi
version makes it into Debian.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_ZA.utf8, LC_CTYPE=en_ZA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-cffi depends on:
ii python-cffi-backend 1.1.2-1
ii python-pycparser 2.14+dfsg-2
pn python:any <none>
python-cffi recommends no packages.
Versions of packages python-cffi suggests:
ii python-dev 2.7.9-1
-- no debconf information
More information about the Python-modules-team
mailing list