--- Begin Message ---
Subject: |
29.0.92; build process outside srcdir gets stuck |
Date: |
Sun, 23 Jul 2023 14:49:26 GMT |
When the build process occurs in a directory next to srcdir the make
phase is unable to complete. See attached File A, line 549 and 1349.
Using configure and make within srcdir builds successfully. See
attached File Z.
Steps to reproduce:
1. at srcdir being emacs-29.0.92
2. run, sh ./autogen.sh
3. create build directory outside srcdir, mkdir ../emacs-29
4. at build directory, cd ../emacs-29,
5. run build process, ../emacs-29.0.92/configure ; make
Expected result:
The build process completes outside srcdir.
In case this detail is relevant I have CDPATH set in the environment.
Similarly on the emacs master branch the build process won't complete outside
srcdir.
a-build-fail-L549-L1349.text
Description: File A build process fails outside srcdir
z-build-success-L545-L1224.text
Description: File Z build process succeeds inside srcdir
b-emacs-bug-report.text
Description: File B emacs bug report
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#64806: 29.0.92; build process outside srcdir gets stuck |
Date: |
Tue, 25 Jul 2023 16:48:54 +0300 |
> Date: Tue, 25 Jul 2023 13:00:00 GMT
> From: Van Ly <van.ly@sdf.org>
> Cc: 64806@debbugs.gnu.org
>
>
> > Date: Tue, 25 Jul 2023 15:08:08 +0300
> > From: Eli Zaretskii <eliz@gnu.org>
> >
> > > Date: Tue, 25 Jul 2023 06:36:23 GMT
> > > From: Van Ly <van.ly@sdf.org>
> > >
> > > The 29.1 release candidate seems to accommodate that symlink anomaly
> > > as I was able to build to completion using configure with
> > >
> > > /usr/X/23/src/emacs/emacs-29.1/configure
> > > --srcdir=/usr/X/23/src/emacs/emacs-29.1
> > >
> > > from current workdir /usr/X/23/pkg/emacs/emacs-29.1
> >
> > Yes, because that's how builds outside of the source tree are supposed
> > to be configured and built.
> >
>
> So the gotcha there is if a symlink occurs in the abstract path to
> configure the absolute abstract file path to configure is required
>
> > So I guess we can close this issue?
> >
>
> I guess.
Thanks, done.
--- End Message ---