Package: src:psycopg3
Version: 3.2.6-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202510/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:psycopg3, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   debian/rules override_dh_auto_clean-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYBUILD_DIR=psycopg_c dh_auto_clean -- --name psycopg_c
        pybuild --clean -i python{version} -p 3.13 --name psycopg_c
D: pybuild pybuild:602: version: 6.20250414
D: pybuild pybuild:603: ['/usr/bin/pybuild', '--clean', '-i', 
'python{version}', '-p', '3.13', '--name', 'psycopg_c']
D: pybuild pybuild:39: cfg: Namespace(verbose=True, quiet=Fa 
[too-long-redacted] isable=None, custom_tests=True)
D: pybuild __init__:37: cannot initialize 'meson' plugin: Missing command 
'meson'
D: pybuild tools:232: invoking: /usr/bin/dpkg-architecture
D: pybuild debhelper:166: skipping package python-psycopg-doc (missing 
${python3:Depends} in Depends/Recommends)
D: pybuild debhelper:174: source=psycopg3, binary packages=['python3-psycopg', 
'python3-psycopg-c', 'python3-psycopg-pool']
D: pybuild pybuild:151: detected build system: pyproject (certainty: 99%)
D: pybuild debhelper:166: skipping package python-psycopg-doc (missing 
${python3:Depends} in Depends/Recommends)

[... snipped ...]

psycopg_c/_psycopg.c: At top level:
psycopg_c/_psycopg.c:40760:110: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
40760 | static PyMethodDef 
__pyx_mdef_9psycopg_c_8_psycopg_19_BaseDatetimeDumper_3upgrade = {"upgrade", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_19_BaseDatetimeDumper_3upgrade,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
      |                                                                         
                                     ^
psycopg_c/_psycopg.c:40760:97: warning: ISO C forbids conversion of object 
pointer to function pointer type [-Wpedantic]
40760 | static PyMethodDef 
__pyx_mdef_9psycopg_c_8_psycopg_19_BaseDatetimeDumper_3upgrade = {"upgrade", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_19_BaseDatetimeDumper_3upgrade,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
      |                                                                         
                        ^
psycopg_c/_psycopg.c:41302:105: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
41302 | static PyMethodDef 
__pyx_mdef_9psycopg_c_8_psycopg_14DatetimeDumper_1upgrade = {"upgrade", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_14DatetimeDumper_1upgrade,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
      |                                                                         
                                ^
psycopg_c/_psycopg.c:41302:92: warning: ISO C forbids conversion of object 
pointer to function pointer type [-Wpedantic]
41302 | static PyMethodDef 
__pyx_mdef_9psycopg_c_8_psycopg_14DatetimeDumper_1upgrade = {"upgrade", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_14DatetimeDumper_1upgrade,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
      |                                                                         
                   ^
psycopg_c/_psycopg.c:41851:111: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
41851 | static PyMethodDef 
__pyx_mdef_9psycopg_c_8_psycopg_20DatetimeBinaryDumper_1upgrade = {"upgrade", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_20DatetimeBinaryDumper_1upgrade,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
      |                                                                         
                                      ^
psycopg_c/_psycopg.c:41851:98: warning: ISO C forbids conversion of object 
pointer to function pointer type [-Wpedantic]
41851 | static PyMethodDef 
__pyx_mdef_9psycopg_c_8_psycopg_20DatetimeBinaryDumper_1upgrade = {"upgrade", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_20DatetimeBinaryDumper_1upgrade,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
      |                                                                         
                         ^
psycopg_c/_psycopg.c: In function 
‘__pyx_f_9psycopg_c_8_psycopg_9IntDumper_get_key’:
psycopg_c/_psycopg.c:56424:43: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
56424 |     if (!__Pyx_IsSameCFunction(__pyx_t_1, (void*) 
__pyx_pw_9psycopg_c_8_psycopg_9IntDumper_1get_key)) {
      |                                           ^
psycopg_c/_psycopg.c:6563:79: note: in definition of macro 
‘__Pyx_IsSameCFunction’
 6563 | #define __Pyx_IsSameCFunction(func, cfunc)   
__Pyx__IsSameCyOrCFunction(func, cfunc)
      |                                                                         
      ^~~~~
psycopg_c/_psycopg.c: At top level:
psycopg_c/_psycopg.c:56695:99: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
56695 | static PyMethodDef __pyx_mdef_9psycopg_c_8_psycopg_9IntDumper_1get_key 
= {"get_key", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_9IntDumper_1get_key,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
      |                                                                         
                          ^
psycopg_c/_psycopg.c:56695:86: warning: ISO C forbids conversion of object 
pointer to function pointer type [-Wpedantic]
56695 | static PyMethodDef __pyx_mdef_9psycopg_c_8_psycopg_9IntDumper_1get_key 
= {"get_key", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_9IntDumper_1get_key,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
      |                                                                         
             ^
psycopg_c/_psycopg.c: In function 
‘__pyx_f_9psycopg_c_8_psycopg_9IntDumper_upgrade’:
psycopg_c/_psycopg.c:56866:43: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
56866 |     if (!__Pyx_IsSameCFunction(__pyx_t_1, (void*) 
__pyx_pw_9psycopg_c_8_psycopg_9IntDumper_3upgrade)) {
      |                                           ^
psycopg_c/_psycopg.c:6563:79: note: in definition of macro 
‘__Pyx_IsSameCFunction’
 6563 | #define __Pyx_IsSameCFunction(func, cfunc)   
__Pyx__IsSameCyOrCFunction(func, cfunc)
      |                                                                         
      ^~~~~
psycopg_c/_psycopg.c: At top level:
psycopg_c/_psycopg.c:57262:99: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
57262 | static PyMethodDef __pyx_mdef_9psycopg_c_8_psycopg_9IntDumper_3upgrade 
= {"upgrade", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_9IntDumper_3upgrade,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
      |                                                                         
                          ^
psycopg_c/_psycopg.c:57262:86: warning: ISO C forbids conversion of object 
pointer to function pointer type [-Wpedantic]
57262 | static PyMethodDef __pyx_mdef_9psycopg_c_8_psycopg_9IntDumper_3upgrade 
= {"upgrade", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_9IntDumper_3upgrade,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
      |                                                                         
             ^
psycopg_c/_psycopg.c:71588:123: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
71588 | static PyMethodDef 
__pyx_mdef_9psycopg_c_8_psycopg_32__pyx_unpickle_RowLoader = 
{"__pyx_unpickle_RowLoader", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_32__pyx_unpickle_RowLoader,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
      |                                                                         
                                                  ^
psycopg_c/_psycopg.c:71588:110: warning: ISO C forbids conversion of object 
pointer to function pointer type [-Wpedantic]
71588 | static PyMethodDef 
__pyx_mdef_9psycopg_c_8_psycopg_32__pyx_unpickle_RowLoader = 
{"__pyx_unpickle_RowLoader", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_32__pyx_unpickle_RowLoader,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
      |                                                                         
                                     ^
psycopg_c/_psycopg.c:72054:123: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
72054 | static PyMethodDef 
__pyx_mdef_9psycopg_c_8_psycopg_34__pyx_unpickle_RowDumper = 
{"__pyx_unpickle_RowDumper", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_34__pyx_unpickle_RowDumper,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
      |                                                                         
                                                  ^
psycopg_c/_psycopg.c:72054:110: warning: ISO C forbids conversion of object 
pointer to function pointer type [-Wpedantic]
72054 | static PyMethodDef 
__pyx_mdef_9psycopg_c_8_psycopg_34__pyx_unpickle_RowDumper = 
{"__pyx_unpickle_RowDumper", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_34__pyx_unpickle_RowDumper,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
      |                                                                         
                                     ^
psycopg_c/_psycopg.c:73743:35: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
73743 | {"set_dumper_types", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_11Transformer_7set_dumper_types,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
      |                                   ^
psycopg_c/_psycopg.c:73743:22: warning: ISO C forbids conversion of object 
pointer to function pointer type [-Wpedantic]
73743 | {"set_dumper_types", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_11Transformer_7set_dumper_types,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
      |                      ^
psycopg_c/_psycopg.c:73744:35: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
73744 | {"set_loader_types", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_11Transformer_9set_loader_types,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
      |                                   ^
psycopg_c/_psycopg.c:73744:22: warning: ISO C forbids conversion of object 
pointer to function pointer type [-Wpedantic]
73744 | {"set_loader_types", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_11Transformer_9set_loader_types,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
      |                      ^
psycopg_c/_psycopg.c:73745:29: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
73745 | {"get_dumper", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_11Transformer_13get_dumper,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
      |                             ^
psycopg_c/_psycopg.c:73745:16: warning: ISO C forbids conversion of object 
pointer to function pointer type [-Wpedantic]
73745 | {"get_dumper", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_11Transformer_13get_dumper,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
      |                ^
psycopg_c/_psycopg.c:73746:28: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
73746 | {"load_rows", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_11Transformer_17load_rows,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
      |                            ^
psycopg_c/_psycopg.c:73746:15: warning: ISO C forbids conversion of object 
pointer to function pointer type [-Wpedantic]
73746 | {"load_rows", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_11Transformer_17load_rows,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
      |               ^
psycopg_c/_psycopg.c:73747:27: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
73747 | {"load_row", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_11Transformer_19load_row,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
      |                           ^
psycopg_c/_psycopg.c:73747:14: warning: ISO C forbids conversion of object 
pointer to function pointer type [-Wpedantic]
73747 | {"load_row", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_11Transformer_19load_row,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
      |              ^
psycopg_c/_psycopg.c:73748:29: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
73748 | {"get_loader", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_11Transformer_23get_loader,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
      |                             ^
psycopg_c/_psycopg.c:73748:16: warning: ISO C forbids conversion of object 
pointer to function pointer type [-Wpedantic]
73748 | {"get_loader", 
(PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_9psycopg_c_8_psycopg_11Transformer_23get_loader,
 __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
      |                ^
psycopg_c/_psycopg.c:93607:19: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
93607 |   {Py_mod_create, (void*)__pyx_pymod_create},
      |                   ^
psycopg_c/_psycopg.c:93608:17: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
93608 |   {Py_mod_exec, (void*)__pyx_pymod_exec__psycopg},
      |                 ^
psycopg_c/_psycopg.c: In function ‘__Pyx_PyList_Pop’:
psycopg_c/_psycopg.c:6359:42: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
 6359 |                 
(*(__Pyx_PyCFunctionFast)(void*)(PyCFunction)(cfunc)->func)(self, 
&__pyx_empty_tuple, 0) :\
      |                                          ^
psycopg_c/_psycopg.c:104037:12: note: in expansion of macro 
‘__Pyx_CallUnboundCMethod0’
104037 |     return __Pyx_CallUnboundCMethod0(&__pyx_umethod_PyList_Type_pop, 
L);
       |            ^~~~~~~~~~~~~~~~~~~~~~~~~
psycopg_c/_psycopg.c:6359:19: warning: ISO C forbids conversion of object 
pointer to function pointer type [-Wpedantic]
 6359 |                 
(*(__Pyx_PyCFunctionFast)(void*)(PyCFunction)(cfunc)->func)(self, 
&__pyx_empty_tuple, 0) :\
      |                   ^
psycopg_c/_psycopg.c:104037:12: note: in expansion of macro 
‘__Pyx_CallUnboundCMethod0’
104037 |     return __Pyx_CallUnboundCMethod0(&__pyx_umethod_PyList_Type_pop, 
L);
       |            ^~~~~~~~~~~~~~~~~~~~~~~~~
psycopg_c/_psycopg.c:6360:54: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
 6360 |                 
(*(__Pyx_PyCFunctionFastWithKeywords)(void*)(PyCFunction)(cfunc)->func)(self, 
&__pyx_empty_tuple, 0, NULL)) :\
      |                                                      ^
psycopg_c/_psycopg.c:104037:12: note: in expansion of macro 
‘__Pyx_CallUnboundCMethod0’
104037 |     return __Pyx_CallUnboundCMethod0(&__pyx_umethod_PyList_Type_pop, 
L);
       |            ^~~~~~~~~~~~~~~~~~~~~~~~~
psycopg_c/_psycopg.c:6360:19: warning: ISO C forbids conversion of object 
pointer to function pointer type [-Wpedantic]
 6360 |                 
(*(__Pyx_PyCFunctionFastWithKeywords)(void*)(PyCFunction)(cfunc)->func)(self, 
&__pyx_empty_tuple, 0, NULL)) :\
      |                   ^
psycopg_c/_psycopg.c:104037:12: note: in expansion of macro 
‘__Pyx_CallUnboundCMethod0’
104037 |     return __Pyx_CallUnboundCMethod0(&__pyx_umethod_PyList_Type_pop, 
L);
       |            ^~~~~~~~~~~~~~~~~~~~~~~~~
psycopg_c/_psycopg.c:6362:50: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
 6362 |             
(*(__Pyx_PyCFunctionFastWithKeywords)(void*)(PyCFunction)(cfunc)->func)(self, 
&__pyx_empty_tuple, 0, NULL) :\
      |                                                  ^
psycopg_c/_psycopg.c:104037:12: note: in expansion of macro 
‘__Pyx_CallUnboundCMethod0’
104037 |     return __Pyx_CallUnboundCMethod0(&__pyx_umethod_PyList_Type_pop, 
L);
       |            ^~~~~~~~~~~~~~~~~~~~~~~~~
psycopg_c/_psycopg.c:6362:15: warning: ISO C forbids conversion of object 
pointer to function pointer type [-Wpedantic]
 6362 |             
(*(__Pyx_PyCFunctionFastWithKeywords)(void*)(PyCFunction)(cfunc)->func)(self, 
&__pyx_empty_tuple, 0, NULL) :\
      |               ^
psycopg_c/_psycopg.c:104037:12: note: in expansion of macro 
‘__Pyx_CallUnboundCMethod0’
104037 |     return __Pyx_CallUnboundCMethod0(&__pyx_umethod_PyList_Type_pop, 
L);
       |            ^~~~~~~~~~~~~~~~~~~~~~~~~
psycopg_c/_psycopg.c:6363:101: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
 6363 |             (likely((cfunc)->flag == (METH_VARARGS | METH_KEYWORDS)) ?  
((*(PyCFunctionWithKeywords)(void*)(PyCFunction)(cfunc)->func)(self, 
__pyx_empty_tuple, NULL)) :\
      |                                                                         
                            ^
psycopg_c/_psycopg.c:104037:12: note: in expansion of macro 
‘__Pyx_CallUnboundCMethod0’
104037 |     return __Pyx_CallUnboundCMethod0(&__pyx_umethod_PyList_Type_pop, 
L);
       |            ^~~~~~~~~~~~~~~~~~~~~~~~~
psycopg_c/_psycopg.c:6363:76: warning: ISO C forbids conversion of object 
pointer to function pointer type [-Wpedantic]
 6363 |             (likely((cfunc)->flag == (METH_VARARGS | METH_KEYWORDS)) ?  
((*(PyCFunctionWithKeywords)(void*)(PyCFunction)(cfunc)->func)(self, 
__pyx_empty_tuple, NULL)) :\
      |                                                                         
   ^
psycopg_c/_psycopg.c:104037:12: note: in expansion of macro 
‘__Pyx_CallUnboundCMethod0’
104037 |     return __Pyx_CallUnboundCMethod0(&__pyx_umethod_PyList_Type_pop, 
L);
       |            ^~~~~~~~~~~~~~~~~~~~~~~~~
psycopg_c/_psycopg.c: In function ‘__Pyx__IsSameCyOrCFunction’:
psycopg_c/_psycopg.c:104491:93: warning: ISO C forbids conversion of object 
pointer to function pointer type [-Wpedantic]
104491 |     return __Pyx_CyOrPyCFunction_Check(func) && 
__Pyx_CyOrPyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc;
       |                                                                        
                     ^
psycopg_c/_psycopg.c: In function ‘__Pyx_CyFunction_CallMethod’:
psycopg_c/_psycopg.c:105066:43: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
105066 |         return (*(PyCFunctionWithKeywords)(void*)meth)(self, arg, kw);
       |                                           ^
psycopg_c/_psycopg.c:105066:18: warning: ISO C forbids conversion of object 
pointer to function pointer type [-Wpedantic]
105066 |         return (*(PyCFunctionWithKeywords)(void*)meth)(self, arg, kw);
       |                  ^
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 -Wall 
-pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/postgresql 
-I/usr/include/python3.13 -c psycopg_c/types/numutils.c -o 
build/temp.linux-x86_64-cpython-313/psycopg_c/types/numutils.o
psycopg_c/types/numutils.c:42:3: error: #error must have a working 64-bit 
integer datatype
   42 | # error must have a working 64-bit integer datatype
      |   ^~~~~
psycopg_c/types/numutils.c: In function ‘pg_leftmost_one_pos64’:
psycopg_c/types/numutils.c:98:2: error: #error must have a working 64-bit 
integer datatype
   98 | #error must have a working 64-bit integer datatype
      |  ^~~~~
psycopg_c/types/numutils.c:108:1: warning: no return statement in function 
returning non-void [-Wreturn-type]
  108 | }
      | ^
psycopg_c/types/numutils.c: In function ‘decimalLength64’:
psycopg_c/types/numutils.c:116:17: error: implicit declaration of function 
‘UINT64CONST’ [-Wimplicit-function-declaration]
  116 |                 UINT64CONST(1), UINT64CONST(10),
      |                 ^~~~~~~~~~~
psycopg_c/types/numutils.c:116:17: error: initializer element is not constant
psycopg_c/types/numutils.c:116:17: note: (near initialization for 
‘PowersOfTen[0]’)
psycopg_c/types/numutils.c:116:33: error: initializer element is not constant
  116 |                 UINT64CONST(1), UINT64CONST(10),
      |                                 ^~~~~~~~~~~
psycopg_c/types/numutils.c:116:33: note: (near initialization for 
‘PowersOfTen[1]’)
psycopg_c/types/numutils.c:117:17: error: initializer element is not constant
  117 |                 UINT64CONST(100), UINT64CONST(1000),
      |                 ^~~~~~~~~~~
psycopg_c/types/numutils.c:117:17: note: (near initialization for 
‘PowersOfTen[2]’)
psycopg_c/types/numutils.c:117:35: error: initializer element is not constant
  117 |                 UINT64CONST(100), UINT64CONST(1000),
      |                                   ^~~~~~~~~~~
psycopg_c/types/numutils.c:117:35: note: (near initialization for 
‘PowersOfTen[3]’)
psycopg_c/types/numutils.c:118:17: error: initializer element is not constant
  118 |                 UINT64CONST(10000), UINT64CONST(100000),
      |                 ^~~~~~~~~~~
psycopg_c/types/numutils.c:118:17: note: (near initialization for 
‘PowersOfTen[4]’)
psycopg_c/types/numutils.c:118:37: error: initializer element is not constant
  118 |                 UINT64CONST(10000), UINT64CONST(100000),
      |                                     ^~~~~~~~~~~
psycopg_c/types/numutils.c:118:37: note: (near initialization for 
‘PowersOfTen[5]’)
psycopg_c/types/numutils.c:119:17: error: initializer element is not constant
  119 |                 UINT64CONST(1000000), UINT64CONST(10000000),
      |                 ^~~~~~~~~~~
psycopg_c/types/numutils.c:119:17: note: (near initialization for 
‘PowersOfTen[6]’)
psycopg_c/types/numutils.c:119:39: error: initializer element is not constant
  119 |                 UINT64CONST(1000000), UINT64CONST(10000000),
      |                                       ^~~~~~~~~~~
psycopg_c/types/numutils.c:119:39: note: (near initialization for 
‘PowersOfTen[7]’)
psycopg_c/types/numutils.c:120:17: error: initializer element is not constant
  120 |                 UINT64CONST(100000000), UINT64CONST(1000000000),
      |                 ^~~~~~~~~~~
psycopg_c/types/numutils.c:120:17: note: (near initialization for 
‘PowersOfTen[8]’)
psycopg_c/types/numutils.c:120:41: error: initializer element is not constant
  120 |                 UINT64CONST(100000000), UINT64CONST(1000000000),
      |                                         ^~~~~~~~~~~
psycopg_c/types/numutils.c:120:41: note: (near initialization for 
‘PowersOfTen[9]’)
psycopg_c/types/numutils.c:121:17: error: initializer element is not constant
  121 |                 UINT64CONST(10000000000), UINT64CONST(100000000000),
      |                 ^~~~~~~~~~~
psycopg_c/types/numutils.c:121:17: note: (near initialization for 
‘PowersOfTen[10]’)
psycopg_c/types/numutils.c:121:43: error: initializer element is not constant
  121 |                 UINT64CONST(10000000000), UINT64CONST(100000000000),
      |                                           ^~~~~~~~~~~
psycopg_c/types/numutils.c:121:43: note: (near initialization for 
‘PowersOfTen[11]’)
psycopg_c/types/numutils.c:122:17: error: initializer element is not constant
  122 |                 UINT64CONST(1000000000000), UINT64CONST(10000000000000),
      |                 ^~~~~~~~~~~
psycopg_c/types/numutils.c:122:17: note: (near initialization for 
‘PowersOfTen[12]’)
psycopg_c/types/numutils.c:122:45: error: initializer element is not constant
  122 |                 UINT64CONST(1000000000000), UINT64CONST(10000000000000),
      |                                             ^~~~~~~~~~~
psycopg_c/types/numutils.c:122:45: note: (near initialization for 
‘PowersOfTen[13]’)
psycopg_c/types/numutils.c:123:17: error: initializer element is not constant
  123 |                 UINT64CONST(100000000000000), 
UINT64CONST(1000000000000000),
      |                 ^~~~~~~~~~~
psycopg_c/types/numutils.c:123:17: note: (near initialization for 
‘PowersOfTen[14]’)
psycopg_c/types/numutils.c:123:47: error: initializer element is not constant
  123 |                 UINT64CONST(100000000000000), 
UINT64CONST(1000000000000000),
      |                                               ^~~~~~~~~~~
psycopg_c/types/numutils.c:123:47: note: (near initialization for 
‘PowersOfTen[15]’)
psycopg_c/types/numutils.c:124:17: error: initializer element is not constant
  124 |                 UINT64CONST(10000000000000000), 
UINT64CONST(100000000000000000),
      |                 ^~~~~~~~~~~
psycopg_c/types/numutils.c:124:17: note: (near initialization for 
‘PowersOfTen[16]’)
psycopg_c/types/numutils.c:124:49: error: initializer element is not constant
  124 |                 UINT64CONST(10000000000000000), 
UINT64CONST(100000000000000000),
      |                                                 ^~~~~~~~~~~
psycopg_c/types/numutils.c:124:49: note: (near initialization for 
‘PowersOfTen[17]’)
psycopg_c/types/numutils.c:125:17: error: initializer element is not constant
  125 |                 UINT64CONST(1000000000000000000), 
UINT64CONST(10000000000000000000)
      |                 ^~~~~~~~~~~
psycopg_c/types/numutils.c:125:17: note: (near initialization for 
‘PowersOfTen[18]’)
psycopg_c/types/numutils.c:125:63: warning: integer constant is so large that 
it is unsigned
  125 |                 UINT64CONST(1000000000000000000), 
UINT64CONST(10000000000000000000)
      |                                                               
^~~~~~~~~~~~~~~~~~~~
psycopg_c/types/numutils.c:125:51: error: initializer element is not constant
  125 |                 UINT64CONST(1000000000000000000), 
UINT64CONST(10000000000000000000)
      |                                                   ^~~~~~~~~~~
psycopg_c/types/numutils.c:125:51: note: (near initialization for 
‘PowersOfTen[19]’)
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1

ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: 
python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_psycopg_c  
Traceback (most recent call last):
  File "/usr/bin/pybuild", line 387, in main
    run(func, i, version, c)
    ~~~^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/pybuild", line 325, in run
    result = func(context, args)
  File "/usr/share/dh-python/dhpython/build/plugin_pyproject.py", line 108, in 
build
    self.build_wheel(context, args)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/share/dh-python/dhpython/build/base.py", line 365, in wrapped_func
    raise Exception(msg)
Exception: exit code=1: python3.13 -m build --skip-dependency-check 
--no-isolation --wheel --outdir 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_psycopg_c  
dh_auto_build: error: pybuild --build -i python{version} -p 3.13 --name 
psycopg_c returned exit code 13
make[1]: *** [debian/rules:61: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:38: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to