build log with verbose=2 for decrypt-unwrap-verify.scm here: https://gist.github.com/ilovezfs/afe05474ee4ecfda3a1c3285b2e0ca93
Corresponding PR: https://github.com/Homebrew/homebrew-core/pull/12039
CI: (all 3 are the same failure)
https://bot.brew.sh/job/Homebrew%20Core/20029/version=sierra/consoleText
https://bot.brew.sh/job/Homebrew%20Core/20029/version=el_capitan/consoleText
https://bot.brew.sh/job/Homebrew%20Core/20029/version=yosemite/consoleText
Error looks like it's
Checking unwrapping the encryption. > encsig-2-keys-3 Executing: '/private/tmp/gnupg-20170404-73294-rxwd4m/gnupg-2.1.20/g10/gpg' '--no-permission-warning' '--always-trust' '--output' '/tmp/gpgscm-20170404T143908-decrypt-unwrap-verify-rJcwPU/a' '--yes' '--decrypt' '--unwrap' '/private/tmp/gnupg-20170404-73294-rxwd4m/gnupg-2.1.20/tests/openpgp/samplemsgs/encsig-2-keys-3.asc' Executing: '/private/tmp/gnupg-20170404-73294-rxwd4m/gnupg-2.1.20/g10/gpg' '--no-permission-warning' '--always-trust' '--import' '/tmp/gpgscm-20170404T143907-decrypt-unwrap-verify-IZKH11/steve's-key' ("/private/tmp/gnupg-20170404-73294-rxwd4m/gnupg-2.1.20/g10/gpg" --no-permission-warning --always-trust --import "/tmp/gpgscm-20170404T143907-decrypt-unwrap-verify-IZKH11/steve's-key") failed: ("gpg: keybox '/tmp/gpgscm-20170404T143908-decrypt-unwrap-verify-HelFvl/pubring.kbx' created\ngpg: key AA43F1DCC7FED1B7: public key \"steve.biko@example.net\" imported\ngpg: failed to start agent '/usr/local/Cellar/gnupg/2.1.20/bin/gpg-agent': No such file or directory\ngpg: can't connect to the agent: No such file or directory\ngpg: Total number processed: 1\ngpg: imported: 1\n") 0: tests.scm:133: (throw (string-append (stringify what) " failed") (:stderr result)) 1: decrypt-unwrap-verify.scm:39: (call-check `(,@gpg --import ,steve's-key)) 2: init.scm:443: (thunk) 3: (dynamic-wind (lambda () (setenv "GNUPGHOME" gensym-33 #t)) (lambda () (call-check `(,@gpg --import ,steve's-key)) (call-check `(,@gpg --verify ,unwrapped))) (lambda () (setenv "GNUPGHOME" gensym-32 #t)))