When attempting to install gnupg-2.3.6 on Ubuntu 22.04 LTS (running under WSL 2, if it matters), the end of the output for make check looks like this:
("/home/dschulman/Downloads/gnupg-2.3.6/bin/gpg" --no-permission-warning --always-trust --yes --import "/home/dschulman/Downloads/gnupg-2.3.6/tests/openpgp/pubdemo.asc") failed: gpg: error running '/home/dschulman/Downloads/gnupg-2.3.6/libexec/keyboxd': probably not installed gpg: failed to start keyboxd '/home/dschulman/Downloads/gnupg-2.3.6/libexec/keyboxd': Configuration error gpg: can't connect to the keyboxd: Configuration error gpg: error opening key DB: No Keybox daemon running gpg: key 2D727CC768697734: public key not found: Input/output error gpg: error reading '/home/dschulman/Downloads/gnupg-2.3.6/tests/openpgp/pubdemo.asc': Input/output error gpg: import from '/home/dschulman/Downloads/gnupg-2.3.6/tests/openpgp/pubdemo.asc' failed: Input/output error gpg: Total number processed: 0 FAIL: <use-keyboxd>tests/openpgp/setup.scm Setup failed. make: *** [Makefile:931: xcheck] Error 1 make[2]: Leaving directory '/home/dschulman/Downloads/gnupg-2.3.6/tests/openpgp' make[1]: *** [Makefile:517: check-recursive] Error 1 make[1]: Leaving directory '/home/dschulman/Downloads/gnupg-2.3.6/tests' make: *** [Makefile:629: check-recursive] Error 1
My tests/openpgp/defs.scm file looks exactly like the patch described in T5406, and the I/O error seems to be saying that the first demo key listed in tests/openpgp/pubdemo.asc (the one for Alpha Test <alpha@example.net>) couldn't be found.
I've added use-keyboxd into my ~/.gnupg/common.conf, and gnupg-2.3.6/kbx/kbxutil --stats ~/.gnupg/pubring.kbx appears to work as expected, for what it's worth. Any ideas how to get that daemon installed and running, or what else I'm missing here?