[pkg-gnupg-maint] Bug#1145351: gpgmepy: FTBFS: python3.13-gpg/gpgme_wrap.c:4085:14: error: implicit declaration of function 'PyInt_Check'; did you mean 'PySet_Check'? [-Wimplicit-function-declaration]
Santiago Vila
sanvila at debian.org
Mon Aug 24 13:14:58 BST 2026
Package: src:gpgmepy
Version: 2.0.0-2
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/202608/
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:gpgmepy, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
swigging python3.13-gpg/gpgme.i to python3.13-gpg/gpgme_wrap.c
swig -python -threads -Ipython3.13-gpg -outdir python3.13-gpg/lib.linux-amd64-cpython-313/gpg -o python3.13-gpg/gpgme_wrap.c python3.13-gpg/gpgme.i
python3.13-gpg/gpgme.h:540: Warning 451: Setting a const char * variable may leak memory.
creating python3.13-gpg/temp.linux-amd64-cpython-313/python3.13-gpg
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 -Wcast-align -Wshadow -Wstrict-prototypes -Wno-format-y2k -Wno-missing-field-initializers -Wno-sign-compare -Wno-format-zero-length -Wno-format-truncation -Wno-sizeof-pointer-div -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ipython3.13-gpg -I/<<PKGBUILDDIR>>/build -I/usr/include/python3.13 -c python3.13-gpg/gpgme_wrap.c -o python3.13-gpg/temp.linux-amd64-cpython-313/python3.13-gpg/gpgme_wrap.o
python3.13-gpg/gpgme_wrap.c: In function â_wrap_gpgme_data_seekâ:
python3.13-gpg/gpgme_wrap.c:4085:14: error: implicit declaration of function âPyInt_Checkâ; did you mean âPySet_Checkâ? [-Wimplicit-function-declaration]
4085 | else if (PyInt_Check(swig_obj[1]))
| ^~~~~~~~~~~
| PySet_Check
python3.13-gpg/gpgme_wrap.c:4086:12: error: implicit declaration of function âPyInt_AsLongâ; did you mean âPyLong_AsLongâ? [-Wimplicit-function-declaration]
4086 | arg2 = PyInt_AsLong(swig_obj[1]);
| ^~~~~~~~~~~~
| PyLong_AsLong
python3.13-gpg/gpgme_wrap.c: In function â_wrap_gpgme_op_receive_keys_startâ:
python3.13-gpg/gpgme_wrap.c:33924:18: error: implicit declaration of function âPyString_Checkâ; did you mean âPyMapping_Checkâ? [-Wimplicit-function-declaration]
33924 | else if (PyString_Check(o))
| ^~~~~~~~~~~~~~
| PyMapping_Check
python3.13-gpg/gpgme_wrap.c:33925:19: error: implicit declaration of function âPyString_AsStringâ [-Wimplicit-function-declaration]
33925 | arg2[i] = PyString_AsString(o);
| ^~~~~~~~~~~~~~~~~
python3.13-gpg/gpgme_wrap.c:33925:17: error: assignment to âchar *â from âintâ makes pointer from integer without a cast [-Wint-conversion]
33925 | arg2[i] = PyString_AsString(o);
| ^
python3.13-gpg/gpgme_wrap.c: In function â_wrap_gpgme_op_receive_keysâ:
python3.13-gpg/gpgme_wrap.c:34011:17: error: assignment to âchar *â from âintâ makes pointer from integer without a cast [-Wint-conversion]
34011 | arg2[i] = PyString_AsString(o);
| ^
python3.13-gpg/gpgme_wrap.c: In function â_wrap_gpgme_op_export_ext_startâ:
python3.13-gpg/gpgme_wrap.c:34677:17: error: assignment to âchar *â from âintâ makes pointer from integer without a cast [-Wint-conversion]
34677 | arg2[i] = PyString_AsString(o);
| ^
python3.13-gpg/gpgme_wrap.c: In function â_wrap_gpgme_op_export_extâ:
python3.13-gpg/gpgme_wrap.c:34993:17: error: assignment to âchar *â from âintâ makes pointer from integer without a cast [-Wint-conversion]
34993 | arg2[i] = PyString_AsString(o);
| ^
python3.13-gpg/gpgme_wrap.c: In function â_wrap_gpgme_op_keylist_ext_startâ:
python3.13-gpg/gpgme_wrap.c:40446:17: error: assignment to âchar *â from âintâ makes pointer from integer without a cast [-Wint-conversion]
40446 | arg2[i] = PyString_AsString(o);
| ^
python3.13-gpg/gpgme_wrap.c: In function â_wrap_gpgme_op_spawn_startâ:
python3.13-gpg/gpgme_wrap.c:41081:17: error: assignment to âchar *â from âintâ makes pointer from integer without a cast [-Wint-conversion]
41081 | arg3[i] = PyString_AsString(o);
| ^
python3.13-gpg/gpgme_wrap.c: In function â_wrap_gpgme_op_spawnâ:
python3.13-gpg/gpgme_wrap.c:41226:17: error: assignment to âchar *â from âintâ makes pointer from integer without a cast [-Wint-conversion]
41226 | arg3[i] = PyString_AsString(o);
| ^
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
make[3]: *** [Makefile:965: all-local] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [Makefile:518: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[1]: *** [Makefile:446: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j2 returned exit code 2
make: *** [debian/rules:18: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the pkg-gnupg-maint
mailing list