Subject: Re: 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 17:28:35 +0300

> From: Bjoern Bidar <[email-masked]>
> Date: Sun, 18 Apr 2021 17:13:09 +0300
> 
> On my build to today I noticed that emacs tries to load files from the
> build dir instead of the destdir/libdir or datadir:
> 
> 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!

It looks like you build from a repository that is not the official
Emacs repository:

> In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.25, 
> cairo version 1.17.4)
>  of 2021-02-14 built on 238423
> Repository revision: 8850697eae871124a80735cbd0dcdf1b9f4615c6
> Repository branch: feature/pgtk+native_comp
> Repository URL: https://github.com/Thaodan/emacs/tree/feature/
> pgtk%2Bnative_comp

So perhaps the changes made in that repository are the culprit?

Also, the above seems to say your build is from 4 days ago?