On Fri, Feb 21, 2025 at 11:28:42PM +0000, Santiago Vila wrote: > x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection > -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.12 -c > src/persistent/cPickleCache.c -o > build/temp.linux-x86_64-cpython-312/src/persistent/cPickleCache.o > In file included from /usr/include/python3.12/Python.h:35, > from src/persistent/_compat.h:18, > from src/persistent/cPersistence.h:18, > from src/persistent/cPickleCache.c:96: > src/persistent/cPickleCache.c: In function ‘cc_oid_unreferenced’: > src/persistent/cPickleCache.c:626:25: error: ‘cPersistentObject’ has no > member named ‘ob_refcnt’ > 626 | assert(dead_pers_obj->ob_refcnt == 0); > | ^~
This is a weird one. The proximate cause was a change in distutils via its vendored copy in setuptools, which I tried to analyse here: https://github.com/pypa/distutils/issues/299#issuecomment-2676977925 It could probably be worked around in python-persistent by just doing something like `export DEB_CFLAGS_MAINT_APPEND := -DNDEBUG`, but I'd rather leave it alone for now until I get advice from distutils upstream. Thanks, -- Colin Watson (he/him) [cjwat...@debian.org]