Subject: bug#33250: 26.1.50; Unable to build emacs-26 branch out of tree on fedora 29

From: Paul Eggert <[email-masked]>
Date: Wed, 7 Nov 2018 15:29:33 -0800

On 11/7/18 2:55 PM, Pierre Téchoueyres wrote:
> I've also done some experiments :
> - in a directory on the side of my emacs-26 source: everything work as
> expected.
> - after deleting the build-26 directory and re-applyed the following
> commands:
>    1) git clean -dfx
>    2) ./autogen.sh
>    3) mkdir build-26 && cd build-26
>    3) ../configure with the same options as yours
> and this doesn't build.

How about if you try cloning afresh into a new directory in a different 
filesystem? Something like the following. The 'git clone' will take a 
while but if this doesn't work then we can try to figure out why:

cd /tmp
mkdir d
cd d
git clone -b emacs-26 git://git.sv.gnu.org/emacs.git
cd emacs
./autogen.sh
mkdir build-26
cd build-26
../configure --with-dbus --with-gif --with-jpeg --with-png --with-rsvg 
--with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-xwidgets 
--with-modules --with-mailutils 'CFLAGS=-O2 -g0'
LC_ALL=C make

Also, please check your environment (run the 'env' command) to see if 
there's something funny in your PATH, or something like that. For 
example, you should be running git 2.19.1, make 4.2.1, gcc 8.2.1 20181011.