Roundup Tracker - Issues

Issue 2551427

classification
gpg-2.0.0 build failing alpine 3.14.7-alpine3.24
Type: crash Severity: major
Components: Installation Versions: devel
process
Status: new
:
: : ber, rouilj, schlatterbeck
Priority: high :

Created on 2026-09-02 18:35 by rouilj, last changed 2026-09-02 18:35 by rouilj.

Messages
msg8508 Author: [hidden] (rouilj) Date: 2026-09-02 18:35
Looks like gpg-2.0.0 is failing to build for docker using the 3.14.7
python version with alpine
3.24.

Following GPG files/packages are installed:

  #7 1.217 ( 3/29) Installing libgpg-error (1.61-r0)
  #7 1.247 ( 7/29) Installing gnupg-gpgconf (2.4.9-r1)
  #7 1.330 (19/29) Installing gnupg-dirmngr (2.4.9-r1)
  #7 1.337 (20/29) Installing gnupg-keyboxd (2.4.9-r1)
  #7 1.341 (21/29) Installing gpg (2.4.9-r1)
  #7 1.350 (22/29) Installing gpg-agent (2.4.9-r1)
  #7 1.358 (23/29) Installing gpgsm (2.4.9-r1)
  #7 1.366 (24/29) Installing gpgme (2.0.1-r1)

  #8 2.929 (41/87) Installing libgpg-error-dev (1.61-r0)
  #8 2.938 (43/87) Installing gpgme-dev (2.0.1-r1)

error from build of gpg-2.0.0  (warnings about license expression etc
not included):

job run at:#13 17.29   Building wheel for gpg (pyproject.toml): started
#13 19.43   Building wheel for gpg (pyproject.toml): finished with
status 'error'
#13 19.43   error: subprocess-exited-with-error
#13 19.43   
#13 19.43   × Building wheel for gpg (pyproject.toml) did not run
successfully.
#13 19.43   │ exit code: 1
#13 19.43   ╰─> [94 lines of output]

#13 19.43       Using gpgme.h from /usr/include/gpgme.h
#13 19.43       running build_ext
#13 19.43       building 'gpg._gpgme' extension
#13 19.43       swigging build/gpgme.i to build/gpgme_wrap.c
#13 19.43       swig -python -threads -Ibuild -outdir build/lib.linux-
x86_64-cpython-314/gpg -o build/gpgme_wrap.c build/gpgme.i

#13 19.43       build/gpgme.h:536: Warning 451: Setting a const char *
variable may leak memory.
#13 19.43       gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3
-Wall -fPIC -Ibuild -I/tmp/pip-install-bp091a21/
gpg_f9e25a413b0c41478590db1d8e5ea335 -I/usr/local/include/python3.14 -c
build/gpgme_wrap.c -o build/temp.linux-x86_64-cpython-314/build/
gpgme_wrap.o
#13 19.43       build/gpgme_wrap.c: In function '_wrap_gpgme_data_seek':
#13 19.43       build/gpgme_wrap.c:4085:14: error: implicit declaration
of function 'PyInt_Check'; did you mean 'PySet_Check'? [-Wimplicit-
function-declaration]
#13 19.43        4085 |     else if (PyInt_Check(swig_obj[1]))
#13 19.43             |              ^~~~~~~~~~~
#13 19.43             |              PySet_Check
#13 19.43       build/gpgme_wrap.c:4086:12: error: implicit declaration
of function 'PyInt_AsLong'; did you mean 'PyLong_AsLong'? [-Wimplicit-
function-declaration]
#13 19.43        4086 |     arg2 = PyInt_AsLong(swig_obj[1]);
#13 19.43             |            ^~~~~~~~~~~~
#13 19.43             |            PyLong_AsLong
#13 19.43       build/gpgme_wrap.c: In function
'_wrap_gpgme_op_receive_keys_start':
#13 19.43       build/gpgme_wrap.c:33667:18: error: implicit declaration
of function 'PyString_Check'; did you mean 'PyMapping_Check'? [-
Wimplicit-function-declaration]
#13 19.43       33667 |         else if (PyString_Check(o))
#13 19.43             |                  ^~~~~~~~~~~~~~
#13 19.43             |                  PyMapping_Check
#13 19.43       build/gpgme_wrap.c:33668:19: error: implicit declaration
of function 'PyString_AsString' [-Wimplicit-function-declaration]
#13 19.43       33668 |         arg2[i] = PyString_AsString(o);
#13 19.43             |                   ^~~~~~~~~~~~~~~~~
#13 19.43       build/gpgme_wrap.c:33668:17: error: assignment to 'char
*' from 'int' makes pointer from integer without a cast [-Wint-
conversion]
#13 19.43       33668 |         arg2[i] = PyString_AsString(o);
#13 19.43             |                 ^
#13 19.43       build/gpgme_wrap.c: In function
'_wrap_gpgme_op_receive_keys':
#13 19.43       build/gpgme_wrap.c:33754:17: error: assignment to 'char
*' from 'int' makes pointer from integer without a cast [-Wint-
conversion]
#13 19.43       33754 |         arg2[i] = PyString_AsString(o);
#13 19.43             |                 ^
#13 19.43       build/gpgme_wrap.c: In function
'_wrap_gpgme_op_export_ext_start':
#13 19.43       build/gpgme_wrap.c:34420:17: error: assignment to 'char
*' from 'int' makes pointer from integer without a cast [-Wint-
conversion]
#13 19.43       34420 |         arg2[i] = PyString_AsString(o);
#13 19.43             |                 ^
#13 19.43       build/gpgme_wrap.c: In function
'_wrap_gpgme_op_export_ext':
#13 19.43       build/gpgme_wrap.c:34736:17: error: assignment to 'char
*' from 'int' makes pointer from integer without a cast [-Wint-
conversion]
#13 19.43       34736 |         arg2[i] = PyString_AsString(o);
#13 19.43             |                 ^
#13 19.43       build/gpgme_wrap.c: In function
'_wrap_gpgme_op_keylist_ext_start':
#13 19.43       build/gpgme_wrap.c:40189:17: error: assignment to 'char
*' from 'int' makes pointer from integer without a cast [-Wint-
conversion]
#13 19.43       40189 |         arg2[i] = PyString_AsString(o);
#13 19.43             |                 ^
#13 19.43       build/gpgme_wrap.c: In function
'_wrap_gpgme_op_spawn_start':
#13 19.43       build/gpgme_wrap.c:40824:17: error: assignment to 'char
*' from 'int' makes pointer from integer without a cast [-Wint-
conversion]
#13 19.43       40824 |         arg3[i] = PyString_AsString(o);
#13 19.43             |                 ^
#13 19.43       build/gpgme_wrap.c: In function '_wrap_gpgme_op_spawn':
#13 19.43       build/gpgme_wrap.c:40969:17: error: assignment to 'char
*' from 'int' makes pointer from integer without a cast [-Wint-
conversion]
#13 19.43       40969 |         arg3[i] = PyString_AsString(o);
#13 19.43             |                 ^
#13 19.43       error: Command '['gcc', '-fno-strict-overflow', '-Wsign-
compare', '-DNDEBUG', '-g', '-O3', '-Wall', '-fPIC', '-Ibuild', '-I/tmp/
pip-install-bp091a21/gpg_f9e25a413b0c41478590db1d8e5ea335', '-I/usr/
local/include/python3.14', '-c', 'build/gpgme_wrap.c', '-o', 'build/
temp.linux-x86_64-cpython-314/build/gpgme_wrap.o']' returned non-zero
exit status 1.
#13 19.43       [end of output]

Any ideas? Has the API changed?

Full run at:

https://github.com/roundup-tracker/roundup/actions/runs/33657195767/
job/100338574413#step:3:1289
History
Date User Action Args
2026-09-02 18:35:33rouiljcreate