gnupg-2.2.18 to gnupg-2.2.20 require gpgerror >= 1.24
However, since d9c79351 / 3efc94f1 (release 2.2.18), it uses GPG_ERR_WRONG_NAME, which was added in libgpg-error 1.27
It needs either a version requisite version bump or to define it itself, like ntbtls does.