[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AUCTeX doesn't build with latest Emacs master
From: |
Ikumi Keita |
Subject: |
Re: AUCTeX doesn't build with latest Emacs master |
Date: |
Mon, 29 Aug 2022 03:00:49 +0900 |
Hi Arash,
>>>>> Arash Esbati <arash@gnu.org> writes:
> My suggestion is now apply the following change:
Thank you for looking into this, but it seems that the commit 19a2607b
broke compatibility.
@@ -257,6 +268,9 @@ tex-site.el: tex-site.el.out auto-loads.el Makefile
cat auto-loads.el >>$@
echo "(provide 'tex-site)" >>$@ ; \
echo ";;; tex-site.el ends here" >>$@
+ sed -i -e "/^(provide 'auto-loads)/d" \
+ -e '/^;;; auto-loads.el ends here/d' \
+ -e 's/^\(;;; auto-loads.el.*\)\( -\*- lexical-binding: t
-\*-\)/\1/' $@
tex-site.el.out: tex-site.el.in Makefile config.status
./config.status
This change causes the following error, at least for FreeBSD 13.1. This
is a quote from the output of "make":
----------------------------------------------------------------------
sed -i -e "/^(provide 'auto-loads)/d" \
-e '/^;;; auto-loads.el ends here/d' \
-e 's/^\(;;; auto-loads.el.*\)\( -\*- lexical-binding: t -\*-\)/\1/'
tex-site.el
sed: -e: No such file or directory
make: *** [Makefile:270: tex-site.el] Error 1
----------------------------------------------------------------------
It seems that "extension" argument is mandatory for "-i" option of
FreeBSD sed. Here is the quote from output of "man sed":
SED(1) FreeBSD General Commands Manual SED(1)
NAME
sed - stream editor
SYNOPSIS
sed [-Ealnru] command [-I extension] [-i extension] [file ...]
sed [-Ealnru] [-e command] [-f command_file] [-I extension]
[-i extension] [file ...]
[...]
-I extension
Edit files in-place, saving backups with the specified extension.
If a zero-length extension is given, no backup will be saved. It
[...]
-i extension
Edit files in-place similarly to -I, but treat each file
independently from other files. In particular, line numbers in
each file start at 1, the "$" address matches the last line of
the current file, and address ranges are limited to the current
file. (See Sed Addresses.) The net result is as though each file
were edited by a separate sed instance.
Could you take care of this issue?
Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
- AUCTeX doesn't build with latest Emacs master, Arash Esbati, 2022/08/09
- Re: AUCTeX doesn't build with latest Emacs master, Tassilo Horn, 2022/08/09
- Re: AUCTeX doesn't build with latest Emacs master, Arash Esbati, 2022/08/09
- Re: AUCTeX doesn't build with latest Emacs master, Ikumi Keita, 2022/08/09
- Re: AUCTeX doesn't build with latest Emacs master, Tassilo Horn, 2022/08/10
- Re: AUCTeX doesn't build with latest Emacs master, Arash Esbati, 2022/08/11
- Re: AUCTeX doesn't build with latest Emacs master, Tassilo Horn, 2022/08/12
- Re: AUCTeX doesn't build with latest Emacs master, Arash Esbati, 2022/08/12
- Re: AUCTeX doesn't build with latest Emacs master, Arash Esbati, 2022/08/15
- Re: AUCTeX doesn't build with latest Emacs master,
Ikumi Keita <=
- Re: AUCTeX doesn't build with latest Emacs master, Arash Esbati, 2022/08/29
- Re: AUCTeX doesn't build with latest Emacs master, Ikumi Keita, 2022/08/29
- Re: AUCTeX doesn't build with latest Emacs master, Arash Esbati, 2022/08/29
- New ELPA Release (was: AUCTeX doesn't build with latest Emacs master), Tassilo Horn, 2022/08/26
- Re: AUCTeX doesn't build with latest Emacs master, Tassilo Horn, 2022/08/10
- Re: AUCTeX doesn't build with latest Emacs master, Arash Esbati, 2022/08/11