gpgme: Fails to build with latest gpg-2.2.21 update
Closed, ResolvedPublic

Description

Error output:

Traceback (most recent call last):
  File "./t-encrypt-sym.py", line 47, in <module>
    assert passphrase_cb_called == 1, \
AssertionError: Callback called 2 times
FAIL: t-encrypt-sym.py

Related Objects

pmgdeb created this task.Jul 10 2020, 5:26 PM
werner added a subscriber: werner.Jul 10 2020, 8:57 PM

Pretty please write a useful bug report; we need information on versions, OSes, compilers, any special environment, and all the steps you did to get the build failure. The configure run already prints a lot of useful information; you may want to extract them or provide a complete build log.

Yes, I forgot to include the full build log, I'm attaching it here. I've seen this in OpenSUSE Tumbleweed; the compiler is gcc10; and I can see this on any architecture. The test fails when building against gpg-2.2.21 but not with previous versions.

Thanks!

werner triaged this task as High priority.Jul 13 2020, 1:44 PM

It is a pecularity of the test case. A new release is long overdue anyway, so please have a few days patience for a new release with a foxed test case.

See T4897 for a patch to gnupg.

Great! That fixes it. Many thanks!

I have also relaxed the test in gpgme for that GnuPG version.

werner closed this task as Resolved.Jul 14 2020, 2:49 PM
werner claimed this task.