Created attachment 869008 [details] Build log + emerge --info '=dev-lang/python-3.11.5::gentoo' Had same issue with python-3.11.4 before last sync.
Please attach the full, untruncated build.log.
Created attachment 869009 [details] complete build log
Comment on attachment 869009 [details] complete build log this part is maybe the problem : /var/tmp/portage/dev-lang/python-3.11.5/work/Python-3.11.5/Modules/_sqlite/connection.c: In function 'serialize_impl': /var/tmp/portage/dev-lang/python-3.11.5/work/Python-3.11.5/Modules/_sqlite/connection.c:2105:26: error: 'SQLITE_SERIALIZE_NOCOPY' undeclared (first use in this function) 2105 | unsigned int flags = SQLITE_SERIALIZE_NOCOPY; | ^~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/dev-lang/python-3.11.5/work/Python-3.11.5/Modules/_sqlite/connection.c:2105:26: note: each undeclared identifier is reported only once for each function it appears in /var/tmp/portage/dev-lang/python-3.11.5/work/Python-3.11.5/Modules/_sqlite/connection.c:2109:26: error: implicit declaration of function 'sqlite3_serialize'; did you mean 'sqlite3_strlike'? [-Werror=implicit-function-declaration] 2109 | data = (const char *)sqlite3_serialize(self->db, name, &size, flags); | ^~~~~~~~~~~~~~~~~ | sqlite3_strlike /var/tmp/portage/dev-lang/python-3.11.5/work/Python-3.11.5/Modules/_sqlite/connection.c: In function 'deserialize_impl': /var/tmp/portage/dev-lang/python-3.11.5/work/Python-3.11.5/Modules/_sqlite/connection.c:2168:19: warning: comparison is always false due to limited range of data type [-Wtype-limits] 2168 | if (data->len > 9223372036854775807) { // (1 << 63) - 1 | ^ /var/tmp/portage/dev-lang/python-3.11.5/work/Python-3.11.5/Modules/_sqlite/connection.c:2179:32: error: 'SQLITE_DESERIALIZE_FREEONCLOSE' undeclared (first use in this function) 2179 | const unsigned int flags = SQLITE_DESERIALIZE_FREEONCLOSE | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/dev-lang/python-3.11.5/work/Python-3.11.5/Modules/_sqlite/connection.c:2180:32: error: 'SQLITE_DESERIALIZE_RESIZEABLE' undeclared (first use in this function) 2180 | SQLITE_DESERIALIZE_RESIZEABLE; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/dev-lang/python-3.11.5/work/Python-3.11.5/Modules/_sqlite/connection.c:2184:10: error: implicit declaration of function 'sqlite3_deserialize'; did you mean 'sqlite3_initialize'? [-Werror=implicit-function-declaration] 2184 | rc = sqlite3_deserialize(self->db, name, buf, size, size, flags); | ^~~~~~~~~~~~~~~~~~~ | sqlite3_initialize cc1: some warnings being treated as errors
1. What version of dev-db/sqlite is installed? 2. Do you have a stale copy of it in /usr/local?
Installed version of dev-db/sqlite is 3.42.0 atm. You're right, i found some old sqlite* files in /usr/local/lib ands /usr/local/include, after removing them compiling dev-lang/python is ok. Was not a bug, was my bad. Many thanks for your help.
(In reply to Hubert SCHMITT from comment #5) > Installed version of dev-db/sqlite is 3.42.0 atm. > > You're right, i found some old sqlite* files in /usr/local/lib ands > /usr/local/include, after removing them compiling dev-lang/python is ok. > > Was not a bug, was my bad. Many thanks for your help. :)