I'm trying to list the trust status of a key through the gpgme library (through it's rust bindings, but that's not really relevant for this bug)
The gpgme function that gets called seems to be gpgme_op_trustlist_start and it calls gpg on my system like this according to strace:
[pid 7119] execve("/usr/bin/gpg", ["gpg", "--batch", "--no-sk-comments", "--status-fd", "9", "--no-tty", "--charset", "utf8", "--enable-progress-filter", "--exit-on-status-write-error", "--display", ":0.0", "--ttyname", "/dev/pts/1", "--ttytype", "xterm-256color", "--logger-fd", "13", "--with-colons", "--list-trust-path", "--", "DF0C3D316B7312D5"], 0x55a3fb2c7d10 /* 57 vars */) = 0
[pid 7119] arch_prctl(0x3001 /* ARCH_??? */, 0x7ffcac60eff0) = -1 EINVAL (Invalid argument)
[pid 7119] arch_prctl(ARCH_SET_FS, 0x7f12b973c740) = 0
[pid 7119] exit_group(2) = ?
The option --list-trust-path seems to have been removed from gpg.
The version of gpgme that I have installed is 1.12.0-6ubuntu1 and gpg is 2.2.12-1ubuntu3