New submission from YoSTEALTH <rit...@stealthcentral.com>:

Getting compilation error for an Cython project, since upgrade from `3.11.0a3` 
to `3.11.0a4`, same code.

/opt/python/3.11/bin/python3 setup.py build_ext --inplace -j18 clean --all

# 3.11.0a3
# ========
prefix                        /usr
includedir                    /usr/include
libdir                        /usr/lib
libdevdir                     /usr/lib
relativelibdir                
mandir                        /usr/man
datadir                       /usr/share
stringop_overflow             yes
array_bounds                  yes
__kernel_rwf_t                yes
__kernel_timespec             yes
open_how                      yes
statx                         yes
C++                           yes
has_ucontext                  yes
has_memfd_create              yes
liburing_nolibc               yes
CC                            gcc
CXX                           g++
Compiling src/uring.pyx because it depends on 
/opt/python/3.11/lib/python3.11/site-packages/Cython/Includes/libc/s
tring.pxd.
[1/1] Cythonizing src/uring.pyx
running build_ext
building 'uring._uring' extension
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC 
-Ilibs/liburing/src/include -I/opt/python/3.11/inc
lude/python3.11 -c libs/liburing/src/nolibc.c -o 
build/temp.linux-x86_64-3.11/libs/liburing/src/nolibc.o -Os -g0 -
include libs/liburing/config-host.h
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC 
-Ilibs/liburing/src/include -I/opt/python/3.11/inc
lude/python3.11 -c libs/liburing/src/queue.c -o 
build/temp.linux-x86_64-3.11/libs/liburing/src/queue.o -Os -g0 -in
clude libs/liburing/config-host.h
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC 
-Ilibs/liburing/src/include -I/opt/python/3.11/inc
lude/python3.11 -c libs/liburing/src/register.c -o 
build/temp.linux-x86_64-3.11/libs/liburing/src/register.o -Os -
g0 -include libs/liburing/config-host.h
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC 
-Ilibs/liburing/src/include -I/opt/python/3.11/inc
lude/python3.11 -c libs/liburing/src/setup.c -o 
build/temp.linux-x86_64-3.11/libs/liburing/src/setup.o -Os -g0 -in
clude libs/liburing/config-host.h
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC 
-Ilibs/liburing/src/include -I/opt/python/3.11/inc
lude/python3.11 -c src/uring.c -o build/temp.linux-x86_64-3.11/src/uring.o -Os 
-g0 -include libs/liburing/config-h
ost.h
gcc -pthread -shared build/temp.linux-x86_64-3.11/libs/liburing/src/nolibc.o 
build/temp.linux-x86_64-3.11/libs/lib
uring/src/queue.o build/temp.linux-x86_64-3.11/libs/liburing/src/register.o 
build/temp.linux-x86_64-3.11/libs/libu
ring/src/setup.o build/temp.linux-x86_64-3.11/src/uring.o -o 
build/lib.linux-x86_64-3.11/uring/_uring.cpython-311-
x86_64-linux-gnu.so
copying 
build/lib.linux-x86_64-3.11/uring/_uring.cpython-311-x86_64-linux-gnu.so -> 
uring
running clean
removing 'build/temp.linux-x86_64-3.11' (and everything under it)
removing 'build/lib.linux-x86_64-3.11' (and everything under it)
removing 'build/bdist.linux-x86_64' (and everything under it)
'build/scripts-3.11' does not exist -- can't clean it
removing 'build'


# 3.11.0a4
# ========
prefix                        /usr
includedir                    /usr/include
libdir                        /usr/lib
libdevdir                     /usr/lib
relativelibdir                
mandir                        /usr/man
datadir                       /usr/share
stringop_overflow             yes
array_bounds                  yes
__kernel_rwf_t                yes
__kernel_timespec             yes
open_how                      yes
statx                         yes
C++                           yes
has_ucontext                  yes
has_memfd_create              yes
liburing_nolibc               yes
CC                            gcc
CXX                           g++
Compiling src/uring.pyx because it depends on 
/opt/python/3.11/lib/python3.11/site-packages/Cython/Includes/libc/string.pxd.
[1/1] Cythonizing src/uring.pyx
running build_ext
building 'uring._uring' extension
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC 
-Ilibs/liburing/src/include -I/opt/python/3.11/include/python3.11 -c 
libs/liburing/src/nolibc.c -o 
build/temp.linux-x86_64-3.11/libs/liburing/src/nolibc.o -Os -g0 -include 
libs/liburing/config-host.h
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC 
-Ilibs/liburing/src/include -I/opt/python/3.11/include/python3.11 -c 
libs/liburing/src/queue.c -o 
build/temp.linux-x86_64-3.11/libs/liburing/src/queue.o -Os -g0 -include 
libs/liburing/config-host.h
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC 
-Ilibs/liburing/src/include -I/opt/python/3.11/include/python3.11 -c 
libs/liburing/src/register.c -o 
build/temp.linux-x86_64-3.11/libs/liburing/src/register.o -Os -g0 -include 
libs/liburing/config-host.h
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC 
-Ilibs/liburing/src/include -I/opt/python/3.11/include/python3.11 -c 
libs/liburing/src/setup.c -o 
build/temp.linux-x86_64-3.11/libs/liburing/src/setup.o -Os -g0 -include 
libs/liburing/config-host.h
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC 
-Ilibs/liburing/src/include -I/opt/python/3.11/include/python3.11 -c 
src/uring.c -o build/temp.linux-x86_64-3.11/src/uring.o -Os -g0 -include 
libs/liburing/config-host.h
src/uring.c: In function ‘__Pyx_PyErr_GetTopmostException’:                     
                                  
src/uring.c:53549:21: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} 
has no member named ‘exc_type’      
53549 |     while ((exc_info->exc_type == NULL || exc_info->exc_type == 
Py_None) &&                               
      |                     ^~                                                  
                                  
src/uring.c:53549:51: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} 
has no member named ‘exc_type’      
53549 |     while ((exc_info->exc_type == NULL || exc_info->exc_type == 
Py_None) &&                               
      |                                                   ^~                    
                                  
src/uring.c: In function ‘__Pyx__ExceptionSave’:                                
                                  
src/uring.c:53563:21: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} 
has no member named ‘exc_type’      
53563 |     *type = exc_info->exc_type;                                         
                                  
      |                     ^~                                                  
                                  
src/uring.c:53565:19: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} 
has no member named ‘exc_traceback’ 
53565 |     *tb = exc_info->exc_traceback;                                      
                                  
      |                   ^~                                                    
                                  
src/uring.c: In function ‘__Pyx__ExceptionReset’:                               
                                  
src/uring.c:53579:24: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} 
has no member named ‘exc_type’      
53579 |     tmp_type = exc_info->exc_type;                                      
                                  
      |                        ^~                                               
                                  
src/uring.c:53581:22: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} 
has no member named ‘exc_traceback’ 
53581 |     tmp_tb = exc_info->exc_traceback;                                   
                                  
      |                      ^~                                                 
                                  
src/uring.c:53582:13: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} 
has no member named ‘exc_type’      
53582 |     exc_info->exc_type = type;                                          
                                  
      |             ^~                                                          
                                  
src/uring.c:53584:13: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} 
has no member named ‘exc_traceback’ 
53584 |     exc_info->exc_traceback = tb;                                       
                                  
      |             ^~                                                          
                                  
src/uring.c: In function ‘__Pyx__GetException’:                                 
                                  
src/uring.c:53641:28: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} 
has no member named ‘exc_type’      
53641 |         tmp_type = exc_info->exc_type;                                  
                                  
      |                            ^~                                           
                                  
src/uring.c:53643:26: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} 
has no member named ‘exc_traceback’ 
53643 |         tmp_tb = exc_info->exc_traceback;                               
                                  
      |                          ^~                                             
                                  
src/uring.c:53644:17: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} 
has no member named ‘exc_type’      
53644 |         exc_info->exc_type = local_type;                                
                                  
      |                 ^~                                                      
                                  
src/uring.c:53646:17: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} 
has no member named ‘exc_traceback’ 
53646 |         exc_info->exc_traceback = local_tb;                             
                                  
      |                 ^~                                                      
                                  
src/uring.c: In function ‘__Pyx__ExceptionSwap’:                                
                                  
src/uring.c:53679:24: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} 
has no member named ‘exc_type’      
53679 |     tmp_type = exc_info->exc_type;                                      
                                  
      |                        ^~                                               
                                  
src/uring.c:53681:22: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} 
has no member named ‘exc_traceback’ 
53681 |     tmp_tb = exc_info->exc_traceback;                                   
                                  
      |                      ^~                                                 
                                  
src/uring.c:53682:13: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} 
has no member named ‘exc_type’      
53682 |     exc_info->exc_type = *type;                                         
                                  
      |             ^~                                                          
                                  
src/uring.c:53684:13: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} 
has no member named ‘exc_traceback’ 
53684 |     exc_info->exc_traceback = *tb;                                      
                                  
      |             ^~                                                          
                                  
error: command '/usr/bin/gcc' failed with exit code 1

----------
messages: 410901
nosy: YoSTEALTH
priority: normal
severity: normal
status: open
title: 3.11.0a3 vs 3.11.0a4
type: compile error
versions: Python 3.11

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46428>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to