Subject: bug#47872: 28.0.50; Emacs tries to load character map files from buildir instead of libdir or datadir

From: Eli Zaretskii <[email-masked]>
Date: Sun, 18 Apr 2021 22:38:03 +0300

> Date: Sun, 18 Apr 2021 22:17:46 +0300
> From: Eli Zaretskii <[email-masked]>
> Cc: [email-masked]
> 
> > Warning: arch-dependent data dir '/build/emacs-native-comp-pgtk-git/src/emacs-
> > git/lib-src/': No such file or directory
> > Warning: arch-independent data dir '/build/emacs-native-comp-pgtk-git/src/
> > emacs-git/etc/': No such file or directory
> > Error: /build/emacs-native-comp-pgtk-git/src/emacs-git/etc/charsets: No such 
> > file or directory
> > Emacs will not function correctly without the character map files.
> > Please check your installation!

Actually, I found that we were not calling one of the functions that
are supposed to set this up, so please try the latest native-comp
branch and see if the problem is solved.