Control: tags -1 + patch

* Andreas Metzler <[email protected]> [2026-08-24 19:57]:

> On 2026-08-24 Santiago Vila <[email protected]> wrote:
>> 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.
>
> [...]
>> 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
>
> This was triggered/caused by the upgrade to swig 4.5.0, it builsa fine with
> 4.4.1-2.

J'ai proposé un patch for fixing the issue as a merge request at Salsa:
https://salsa.debian.org/debian/gpgmepy/-/merge_requests/1

Best,

Rafael Laboissière

Reply via email to