GNU bug report logs - #74490
31.0.50; make bootstrap fails

Previous Next

Package: emacs;

Reported by: Vincenzo Pupillo <v.pupillo <at> gmail.com>

Date: Sat, 23 Nov 2024 12:23:02 UTC

Severity: normal

Tags: patch

Merged with 73855, 74491

Fixed in versions 31.1, 31.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 74490 <at> debbugs.gnu.org, Vincenzo Pupillo <v.pupillo <at> gmail.com>, Stefan Kangas <stefankangas <at> gmail.com>
Subject: bug#74490: 31.0.50; make bootstrap fails
Date: Sat, 23 Nov 2024 15:31:10 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Vincenzo Pupillo <v.pupillo <at> gmail.com>
>> Cc: Eli Zaretskii <eliz <at> gnu.org>
>> Date: Sat, 23 Nov 2024 13:22:30 +0100
>> 
>> Ciao Eli, 
>> make bootstrap fails today, I think it is due to this commit: 
>> commit 1c2e0615fb87727bc2aa1f871353c999b67c792a
>> Author: Eli Zaretskii <eliz <at> gnu.org>
>> Date:   Sat Nov 23 04:51:10 2024 -0500
>> 
>>     ; Update ldefs-boot.el
>> 
>> 
>> 
>> Loading /home/vincenzo/Projects/Emacs/emacs/lisp/ldefs-boot.el (source)...
>> 
>> Error: void-function (rx)
>>   (rx (or (seq "." (or "py" "pth" "pyi" "pyw")) (seq "/" (or "SConstruct" 
>> "SConscript"))) eos)
>>   (defconst python--auto-mode-alist-regexp (rx (or (seq "." (or "py" "pth" 
>> "pyi" "pyw")) (seq "/" (or "SConstruct" "SConscript"))) eos))
>>   eval-buffer(#<buffer  *load*> nil "/home/vincenzo/Projects/Emacs/emacs/lisp/
>> ldefs-boot.el" nil t)
>>   (if eval-function (funcall eval-function buffer (if dump-mode file fullname)) 
>
> No, I think this is bug#73855, which somehow rears its ugly head.
>
> Stefan, could you please look into this?

FWIW, python--auto-mode-alist-regexp is the first use of rx in
ldefs-boot.el and comes before the autoloads for rx.el, and all other
uses of rx in ldefs-boot.el come after that. I guess that's the reason.

Maybe one could sort the files in loaddefs-generate--emacs-batch so that
rx comes earlier? Not sure.




This bug report was last modified 178 days ago.

Previous Next


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