[Python-modules-team] Bug#902759: python-http-parser FTBFS with Python 3.7

Adrian Bunk bunk at debian.org
Sat Jun 30 15:08:26 BST 2018


Source: python-http-parser
Version: 0.8.3-2
Severity: serious
Tags: buster sid ftbfs

https://buildd.debian.org/status/package.php?p=python-http-parser&suite=sid

...
creating build/temp.linux-amd64-3.7/http_parser
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iparser -I/usr/include/python3.7m -c http_parser/http_parser.c -o build/temp.linux-amd64-3.7/http_parser/http_parser.o
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iparser -I/usr/include/python3.7m -c http_parser/parser.c -o build/temp.linux-amd64-3.7/http_parser/parser.o
http_parser/parser.c: In function '__Pyx_GetException':
http_parser/parser.c:6249:24: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_type'; did you mean 'curexc_type'?
     tmp_type = tstate->exc_type;
                        ^~~~~~~~
                        curexc_type
http_parser/parser.c:6250:25: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_value'; did you mean 'curexc_value'?
     tmp_value = tstate->exc_value;
                         ^~~~~~~~~
                         curexc_value
http_parser/parser.c:6251:22: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
     tmp_tb = tstate->exc_traceback;
                      ^~~~~~~~~~~~~
                      curexc_traceback
http_parser/parser.c:6252:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_type'; did you mean 'curexc_type'?
     tstate->exc_type = local_type;
             ^~~~~~~~
             curexc_type
http_parser/parser.c:6253:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_value'; did you mean 'curexc_value'?
     tstate->exc_value = local_value;
             ^~~~~~~~~
             curexc_value
http_parser/parser.c:6254:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
     tstate->exc_traceback = local_tb;
             ^~~~~~~~~~~~~
             curexc_traceback
http_parser/parser.c: In function '__Pyx_ExceptionSave':
http_parser/parser.c:7460:21: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_type'; did you mean 'curexc_type'?
     *type = tstate->exc_type;
                     ^~~~~~~~
                     curexc_type
http_parser/parser.c:7461:22: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_value'; did you mean 'curexc_value'?
     *value = tstate->exc_value;
                      ^~~~~~~~~
                      curexc_value
http_parser/parser.c:7462:19: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
     *tb = tstate->exc_traceback;
                   ^~~~~~~~~~~~~
                   curexc_traceback
http_parser/parser.c: In function '__Pyx_ExceptionReset':
http_parser/parser.c:7474:24: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_type'; did you mean 'curexc_type'?
     tmp_type = tstate->exc_type;
                        ^~~~~~~~
                        curexc_type
http_parser/parser.c:7475:25: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_value'; did you mean 'curexc_value'?
     tmp_value = tstate->exc_value;
                         ^~~~~~~~~
                         curexc_value
http_parser/parser.c:7476:22: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
     tmp_tb = tstate->exc_traceback;
                      ^~~~~~~~~~~~~
                      curexc_traceback
http_parser/parser.c:7477:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_type'; did you mean 'curexc_type'?
     tstate->exc_type = type;
             ^~~~~~~~
             curexc_type
http_parser/parser.c:7478:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_value'; did you mean 'curexc_value'?
     tstate->exc_value = value;
             ^~~~~~~~~
             curexc_value
http_parser/parser.c:7479:13: error: 'PyThreadState {aka struct _ts}' has no member named 'exc_traceback'; did you mean 'curexc_traceback'?
     tstate->exc_traceback = tb;
             ^~~~~~~~~~~~~
             curexc_traceback
setup.py:12: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  from imp import load_source
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
E: pybuild pybuild:336: build: plugin distutils failed with: exit code=1: /usr/bin/python3.7 setup.py build 
dh_auto_build: pybuild --build -i python{version} -p "3.7 3.6" returned exit code 13
make: *** [debian/rules:6: build-arch] Error 25



More information about the Python-modules-team mailing list