There is a small problem with the geolocation.conf file. At the end of the file there is a"-- NOTE —…" entry. This Note is really just a comment and needs to have a “;–” just before it and a “–;” after it. When Asterisk starts up this Note will cause an error in the messages file. Tested on Asterisk 18 and on 21.2.0-rc2.

Issues should be filed on GitHub[1].

[1] Issues · asterisk/asterisk · GitHub