It tried to use an __argp_basename function, which was defined to program_invocation_short_name. The function definition should have been gated. This patch may be upstreamable to glibc.
Also: - support only strerror(), not strerror_r()