[Python-modules-team] Bug#910751: python3-tinycss: fails to build python3 extension for python3.7
Emilio Pozuelo Monfort
pochu at debian.org
Wed Oct 10 18:21:50 BST 2018
Package: python3-tinycss
Version: 0.4-1
Severity: important
Hi,
Your package attempts to build the python3 extension for python3.7 (which
is a supported python3 version). However, that fails as the shipped .c
file was built with an old version of cython that didn't support 3.7:
building 'tinycss.speedups' extension
creating build/temp.linux-i386-3.7
creating build/temp.linux-i386-3.7/tinycss
i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c tinycss/speedups.c -o build/temp.linux-i386-3.7/tinycss/speedups.o
tinycss/speedups.c: In function '__Pyx__ExceptionSwap':
tinycss/speedups.c:6591:24: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_type'; did you mean 'curexc_type'?
tmp_type = tstate->exc_type;
^~~~~~~~
curexc_type
[...]
***************************************************************************
WARNING: The extension could not be compiled, speedups are not enabled.
Failure information, if any, is above.
Retrying the build without the Cython extension now.
***************************************************************************
It'd be good to get speedups.c regenerated with a newer cython, or
even better to regenerate it during the build.
Cheers,
Emilio
Full log: https://buildd.debian.org/status/fetch.php?pkg=python-tinycss&arch=i386&ver=0.4-1%2Bb3&stamp=1530354240&raw=0
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (800, 'unstable'), (700, 'experimental'), (650, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf
Kernel: Linux 4.17.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-tinycss depends on:
ii libc6 2.27-5
ii python3 3.6.6-1
python3-tinycss recommends no packages.
Versions of packages python3-tinycss suggests:
pn python-tinycss-doc <none>
More information about the Python-modules-team
mailing list