GNU bug report logs - #53038
28.0.50; problem building

Previous Next

Package: emacs;

Reported by: joakim <at> verona.se

Date: Wed, 5 Jan 2022 20:36:02 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 29.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #44 received at 53038 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: joakim <at> verona.se
Cc: Eli Zaretskii <eliz <at> gnu.org>, 53038 <at> debbugs.gnu.org
Subject: Re: bug#53038: 28.0.50; problem building
Date: Fri, 07 Jan 2022 16:05:51 +0100
>>>>> On Fri, 07 Jan 2022 15:58:55 +0100, joakim <at> verona.se 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
-- 




This bug report was last modified 3 years and 131 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.