Indeed my fix was incomplete, according to your build log the gpg-agent for the python tests is already running when the modified start-stop- agent script is called so it was still started without debug quick random.
This was because in difference to my local system gpg is gpg2.1 and not gpg1 so the environment setup for the python scripts already launches the agent when importing secret keys. The additional fix for that is: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commitdiff;h=f3ca2c9ce9fd4a03e293065f10b92589a7e642d6 I've tested in a personal ppa and with this patch it successfully compiled: https://launchpad.net/~aheinecke/+archive/ubuntu/gpgme-test Sorry for the extra work. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1647204 Title: 1.8.0-2 FTBFS in zesty 17.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gpgme1.0/+bug/1647204/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs