GNU bug report logs -
#63288
30.0.50; Emacs 30 packages fail to build with native comp on some machines
Previous Next
Reported by: Brian Leung <leungbk <at> posteo.net>
Date: Fri, 5 May 2023 04:00:02 UTC
Severity: normal
Found in version 30.0.50
Done: Pip Cet <pipcet <at> protonmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
To reproduce, I simply have to start `emacs -Q` and eval
```
(require 'package)
(package-read-from-string "((emacs \"25.1\"))")
```
in the scratch buffer:
```
Debugger entered--Lisp error: (error "Can’t read whole string")
error("Can't read whole string")
package-read-from-string("((emacs \"25.1\"))")
(progn (package-read-from-string "((emacs \"25.1\"))"))
eval((progn (package-read-from-string "((emacs \"25.1\"))")) t)
elisp--eval-last-sexp(nil)
```
Again, after re-evaluating the defun, it's working ok.
I found something while messing around with recompiling the file.
If I rebuild it manually it works ok, but then rebuilding the whole emacs source tree, and it fails again.
So I found this: building with `make -j48` (I have a 24 core CPU) triggers the problem while building
with `make -j 1` does not. I attach the build.sh I used to configure the source tree, the configure and
build logs, the elc file with the problem and a good version.
I don't think this is some memory corruption happening under load, I compile a big c++ code base
daily and I never encountered any problem with the compiled binaries. Also I'm not the only one with
this exact problem so... But who knows...
Hope this helps!
Damien
On 2025-01-25T10:03:32.000+01:00, Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> > Cc: 63288 <at> debbugs.gnu.org
> > From: Andrea Corallo <acorallo <at> gnu.org>
> > Date: Wed, 15 Jan 2025 15:14:57 -0500
> >
> > damien <at> merenne.me writes:
> >
> >
> > > Hello,
> > >
> > > I'm currently reproducing this bug, is there anyway I can help? I can confirm that calling `package-read-from-string'
> > > fails when starting emacs. After manually evaluating the defun again, it works okay.
> >
> > Could you provide a recipe to reproduce the bug starting from a 'emacs
> > -Q'?
>
> Ping! Damien, could you please provide us with such a recipe?
[logs.tar.gz (application/gzip, attachment)]
This bug report was last modified 132 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.