emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build failure emacs-26 branch on Mingw64


From: Richard Copley
Subject: Re: build failure emacs-26 branch on Mingw64
Date: Mon, 1 Jan 2018 13:15:02 +0000

On 1 January 2018 at 12:51, Andreas Schwab <address@hidden> wrote:
> On Jan 01 2018, Stephen Leake <address@hidden> wrote:
>
>> The sed command that gives the error is:
>>
>>   -e 's;\(#.*PATH_SITELOADSEARCH\).*$$;\1 "'"$${w32locallisppath//;/\\;}"'";'
>>
>> There is an unquoted ; in the replacement, but quoting that does not fix
>> the error.
>
> The regexp separator for the s command should be changed to something
> else than `;' to avoid a quoting nightmare.
>
>> I'm guessing the reference to 'w32locallisppath' is supposed to replace
>> the Unix path separator : with the Windows path separator ; .
>
> No, it replaces `;' with `\;' so that it can be interpolated into the
> replacement part of the s command.

Building the emacs-26 branch from scratch works fine for me.
If I insert an echo command in Makefile (see patch below),
then run "make epaths-force-w32", the output is

s;\(#.*PATH_SITELOADSEARCH\).*$;\1
"%emacs_dir%/share/emacs/26.0.90/site-lisp\;%emacs_dir%/share/emacs/site-lisp";

Stephe, what do you get?

The patch:
--- c:/projects/emacs/Makefile
+++ #<buffer Makefile>
@@ -384,6 +384,7 @@
       w32prefix=`${srcdir}/build-aux/msys-to-w32 "${prefix}"`; \
       w32locallisppath=`${srcdir}/build-aux/msys-to-w32 "${locallisppath}"` ; \
       w32locallisppath=$${w32locallisppath//$${w32prefix}/"%emacs_dir%"} ; \
+      echo 's;\(#.*PATH_SITELOADSEARCH\).*$$;\1
"'"$${w32locallisppath//;/\\;}"'";' ; \
       sed < ${srcdir}/nt/epaths.nt > epaths.h.$$$$        \
       -e 's;\(#.*PATH_SITELOADSEARCH\).*$$;\1
"'"$${w32locallisppath//;/\\;}"'";' \
       -e '/^.*#/s/@VER@/${version}/g'             \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]