Problems building gpgmepy 2.0 against gnupg 2.5.20
Funda Wang
fundawang at yeah.net
Wed May 20 07:14:18 CEST 2026
Hello,
I'm currently building gpgmepy 2.0 against gnupg 2.5.20. It built correctly but check failed:
2026-05-19 07:22:37 GNUPGHOME=/home/lkp/rpmbuild/BUILD/gpgmepy-2.0.0/tests LC_ALL=C GPG_AGENT_INFO= top_srcdir=.. srcdir=. /usr/bin/python3.11 ./run-tests.py \
2026-05-19 07:22:37 --interpreters="/usr/bin/python3" --srcdir=. --python-libdir=/home/lkp/rpmbuild/BUILDROOT/python-gpgme-2.0.0-2.oe1.x86_64/usr/lib64/python3.11/site-packages \
2026-05-19 07:22:37 initial.py t-wrapper.py t-callbacks.py t-data.py t-encrypt.py t-encrypt-sym.py t-encrypt-sign.py t-sign.py t-signers.py t-decrypt.py t-verify.py t-decrypt-verify.py t-sig-notation.py t-export.py t-import.py t-edit.py t-keylist.py t-keylist-from-data.py t-wait.py t-encrypt-large.py t-file-name.py t-idiomatic.py t-protocol-assuan.py t-quick-key-creation.py t-quick-subkey-creation.py t-quick-key-manipulation.py t-quick-key-signing.py final.py
2026-05-19 07:22:38 starting gpg-agent..
2026-05-19 07:22:38 gpg-connect-agent: no running gpg-agent - starting '/usr/bin/gpg-agent|--debug-quick-random'
2026-05-19 07:22:38 gpg-connect-agent: waiting for the agent to come up ... (8s)
2026-05-19 07:22:38 gpg-connect-agent: connection to the agent established
2026-05-19 07:22:38 OK
2026-05-19 07:22:38 Using gpg module from '/home/lkp/rpmbuild/BUILDROOT/python-gpgme-2.0.0-2.oe1.x86_64/usr/lib64/python3.11/site-packages/gpg'.
2026-05-19 07:22:46 Traceback (most recent call last):
2026-05-19 07:22:46 File "/home/lkp/rpmbuild/BUILD/gpgmepy-2.0.0/tests/./t-idiomatic.py", line 89, in <module>
2026-05-19 07:22:46 sign_and_verify(b"Hallo Leute\n", signed, sink)
2026-05-19 07:22:46 File "/home/lkp/rpmbuild/BUILD/gpgmepy-2.0.0/tests/./t-idiomatic.py", line 47, in sign_and_verify
2026-05-19 07:22:46 c.op_sign(source, signed, gpg.constants.sig.mode.NORMAL)
2026-05-19 07:22:46 File "/home/lkp/rpmbuild/BUILDROOT/python-gpgme-2.0.0-2.oe1.x86_64/usr/lib64/python3.11/site-packages/gpg/core.py", line 144, in _funcwrap
2026-05-19 07:22:46 result = func(slf.wrapped, *args)
2026-05-19 07:22:46 ^^^^^^^^^^^^^^^^^^^^^^^^
2026-05-19 07:22:46 File "/home/lkp/rpmbuild/BUILDROOT/python-gpgme-2.0.0-2.oe1.x86_64/usr/lib64/python3.11/site-packages/gpg/gpgme.py", line 1196, in gpgme_op_sign
2026-05-19 07:22:46 return _gpgme.gpgme_op_sign(ctx, plain, sig, flags)
2026-05-19 07:22:46 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-05-19 07:22:46 ValueError: Expected buffer of length 149, got 128
Full build log here:
https://eulermaker.openeuler.openatom.cn/package/build?osProject=openEuler-master:everything&packageName=python-gpgme
Is there anythong wrong? There might be similar problem when building poppler. But I think it is another problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20260520/7e8f36db/attachment.html>
More information about the Gnupg-devel
mailing list