Buildfarm member curculio just failed with this complaint:
# Failed test 'createdb with incorrect --lc-ctype stderr
/(?^s:^createdb: error: database creation failed: ERROR: invalid
locale name)/'
# at t/020_createdb.pl line 43.
# 'createdb: error: database creation failed: ERROR:
new LC_CTYPE (foo'; SELECT '1) is incompatible with the LC_CTYPE of
the template database (C)
# HINT: Use the same LC_CTYPE as in the template database, or use
template0 as template.
# '
# doesn't match '(?^s:^createdb: error: database creation failed:
ERROR: invalid locale name)'
# Looks like you failed 1 test of 22.
[04:39:08] t/020_createdb.pl .........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/22 subtests
...Robert