Subject: Re: bug#53038: 28.0.50; problem building

From: Robert Pluim <[email-masked]>
Date: Fri, 07 Jan 2022 16:05:51 +0100

>>>>> On Fri, 07 Jan 2022 15:58:55 +0100, [email-masked] said:
    >> Sure. And for completeness, from a clean checkout without symlinks in
    >> /mnt/fast somewhere.

    joakim> I tried building in several different directories which were not
    joakim> symlinked. 

    joakim> Further datapoint:

    joakim> I managed to build emacs inside a docker container on the host,

    joakim> FROM fedora:34
    joakim> RUN dnf -y install make gcc  gtk3-devel libXpm-devel gnutls-devel giflib-devel ncurses-devel texinfo libjpeg-turbo-devel findutils
    joakim> RUN dnf -y install git # why is this neeed for the build? Error: (file-missing "Searching for program" "No such file or directory" "git")

The build uses git to embed the repository version in the build (but
only when building a checkout, not a tarball)

    joakim> COPY emacs.clean emacs
    joakim> WORKDIR     emacs
    joakim> RUN make -j32 # i have 32 threads...

    joakim> this managed to build, and i can also run the resulting emacs inside the
    joakim> container.

    joakim> fedora:34 is the same as on the host, which should rule out that there
    joakim> is something weird with fedora:34 as such.

Right, so itʼs most likely an issue with the build system exposed by
your directory structure.

Another thing to try: does building in a separate directory work? ie

mkdir build && cd build && ../emacs/configure && make

Robert
--