Source: scalene
Severity: serious
Version: 1.4.1-1
Hello,
scalene FTBFS with added support for python3.11:
building 'scalene.pywhere' extension
x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g
-fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I. -Isrc -Isrc/include -I/usr/include/python3.11 -c
src/source/pywhere.cpp -o
build/temp.linux-x86_64-cpython-311/src/source/pywhere.o -std=c++14
src/source/pywhere.cpp: In function ‘int whereInPython(std::string&,
int&, int&)’:
src/source/pywhere.cpp:176:40: error: ‘PyThreadState’ {aka ‘struct _ts’}
has no member named ‘frame’; did you mean ‘cframe’?
176 | if (threadState == 0 || threadState->frame == 0) {
| ^~~~~
| cframe
src/source/pywhere.cpp:190:34: error: ‘PyThreadState’ {aka ‘struct _ts’}
has no member named ‘frame’; did you mean ‘cframe’?
190 | for (auto frame = threadState->frame; frame != nullptr;
| ^~~~~
| cframe
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:379: build: plugin distutils failed with: exit
code=1: /usr/bin/python3.11 setup.py build
Andrius