On Wed 2019-02-06 17:11:16 +0100, Cyril Brulebois wrote: > Hi, > > Adam D. Barratt <a...@adam-barratt.org.uk> (2019-02-04): >> Control: tags -1 + confirmed d-i >> >> On Sun, 2018-11-18 at 12:38 -0500, Daniel Kahn Gillmor wrote: >> > When fixing #906545 (GnuPG rejects some malformed keys during import >> > instead of cleaning), i inadvertently introduced #913614 (GnuPG fails >> > to import keys when no TTY attached and --batch is not specified) >> > into debian stable. >> >> Subject to a d-i ack, please go ahead; sorry for the delay. > > FWIW that didn't build in my stretch sbuild chroot, due to test failures: […] > | GPG=build/g10/gpg debian/tests/no-tty > | gpg: keybox '/tmp/tmp.XD9JXRSdGU/pubring.kbx' created > | gpg: key 79BE3E4300411886: 3 duplicate signatures removed > | gpg: key 79BE3E4300411886: 3 signatures not checked due to missing keys > | gpg: /tmp/tmp.XD9JXRSdGU/trustdb.gpg: trustdb created > | gpg: key 79BE3E4300411886: public key "Linus Torvalds > <torva...@kernel.org>" imported > | gpg: failed to start agent '/usr/bin/gpg-agent': No such file or directory > | gpg: can't connect to the agent: No such file or directory > | gpg: Total number processed: 1 > | gpg: imported: 1 > | gpg: no ultimately trusted keys found > | debian/rules:71: recipe for target 'override_dh_auto_test' failed > | make[1]: *** [override_dh_auto_test] Error 2 > | make[1]: Leaving directory '/<<PKGBUILDDIR>>' > | debian/rules:26: recipe for target 'build' failed > | make: *** [build] Error 2 > | dpkg-buildpackage: error: debian/rules build gave error exit status 2
Thanks for catching this, kibi. It looks like the added test needs to explicitly start up a gpg-agent from the build path rather than the system environment, so i'm fixing that test now, before uploading. --dkg