GNU bug report logs - #61917
29.0.60; native compilation issues

Previous Next

Package: emacs;

Reported by: Al Haji-Ali <abdo.haji.ali <at> gmail.com>

Date: Thu, 2 Mar 2023 15:31:01 UTC

Severity: normal

Merged with 62446

Found in versions 29.0.60, 30.0.50

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61917 in the body.
You can then email your comments to 61917 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#61917; Package emacs. (Thu, 02 Mar 2023 15:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Al Haji-Ali <abdo.haji.ali <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 02 Mar 2023 15:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Al Haji-Ali <abdo.haji.ali <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.60; native compilation issues
Date: Thu, 02 Mar 2023 15:18:23 +0000
I've ran into a few issues with native compilation that I would like to report here in case they are unintentional bugs.

- First, native-compiling a simple file like

(defun test ()
  '(A . B))

after setting a non-zero native-comp-verbose, for example by running:

(let ((native-comp-verbose 1))
    (native-compile buffer-file-name))

gives the error `wrong-type-argument (listp B)`
in `comp-prettyformat-insn`

- Another issue I noticed is that if a file has `no-native-compile: t` and I call `emacs-lisp-native-compile-and-load` anyways on it, I get an error: `Wrong type argument: stringp, nil`. Not sure if this is intended.

- I've also had the following error when compiling a large file with many components (if more information is needed, I can try to pinpoint the reason once verbose debugging is fixed as it is making debugging difficult)

libgccjit.so: error: gcc_jit_context_new_call_through_ptr: mismatching types for argument 1 of fn_ptr: freloc->R64656c6574652d726567696f6e_delete_region_0: assignment to param 1 (type: struct Lisp_X *) from (long long)2 (type: long long)


Best regards,
-- Al




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61917; Package emacs. (Thu, 02 Mar 2023 15:50:01 GMT) Full text and rfc822 format available.

Message #8 received at 61917 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Al Haji-Ali <abdo.haji.ali <at> gmail.com>, Andrea Corallo <akrl <at> sdf.org>
Cc: 61917 <at> debbugs.gnu.org
Subject: Re: bug#61917: 29.0.60; native compilation issues
Date: Thu, 02 Mar 2023 17:48:52 +0200
> From: Al Haji-Ali <abdo.haji.ali <at> gmail.com>
> Date: Thu, 02 Mar 2023 15:18:23 +0000
> 
> 
> I've ran into a few issues with native compilation that I would like to report here in case they are unintentional bugs.
> 
> - First, native-compiling a simple file like
> 
> (defun test ()
>   '(A . B))
> 
> after setting a non-zero native-comp-verbose, for example by running:
> 
> (let ((native-comp-verbose 1))
>     (native-compile buffer-file-name))
> 
> gives the error `wrong-type-argument (listp B)`
> in `comp-prettyformat-insn`
> 
> - Another issue I noticed is that if a file has `no-native-compile: t` and I call `emacs-lisp-native-compile-and-load` anyways on it, I get an error: `Wrong type argument: stringp, nil`. Not sure if this is intended.
> 
> - I've also had the following error when compiling a large file with many components (if more information is needed, I can try to pinpoint the reason once verbose debugging is fixed as it is making debugging difficult)
> 
> libgccjit.so: error: gcc_jit_context_new_call_through_ptr: mismatching types for argument 1 of fn_ptr: freloc->R64656c6574652d726567696f6e_delete_region_0: assignment to param 1 (type: struct Lisp_X *) from (long long)2 (type: long long)

Adding Andrea.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61917; Package emacs. (Thu, 09 Mar 2023 10:09:02 GMT) Full text and rfc822 format available.

Message #11 received at 61917 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: 61917 <at> debbugs.gnu.org, abdo.haji.ali <at> gmail.com
Subject: Re: bug#61917: 29.0.60; native compilation issues
Date: Thu, 09 Mar 2023 12:08:11 +0200
Ping!

> From: Andrea Corallo <akrl <at> sdf.org>
> Cc: Al Haji-Ali <abdo.haji.ali <at> gmail.com>,  61917 <at> debbugs.gnu.org
> Date: Fri, 03 Mar 2023 10:06:16 +0000
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> From: Al Haji-Ali <abdo.haji.ali <at> gmail.com>
> >> Date: Thu, 02 Mar 2023 15:18:23 +0000
> >> 
> >> 
> >> I've ran into a few issues with native compilation that I would like to report here in case they are unintentional bugs.
> >> 
> >> - First, native-compiling a simple file like
> >> 
> >> (defun test ()
> >>   '(A . B))
> >> 
> >> after setting a non-zero native-comp-verbose, for example by running:
> >> 
> >> (let ((native-comp-verbose 1))
> >>     (native-compile buffer-file-name))
> >> 
> >> gives the error `wrong-type-argument (listp B)`
> >> in `comp-prettyformat-insn`
> >> 
> >> - Another issue I noticed is that if a file has `no-native-compile: t` and I call `emacs-lisp-native-compile-and-load` anyways on it, I get an error: `Wrong type argument: stringp, nil`. Not sure if this is intended.
> >> 
> >> - I've also had the following error when compiling a large file with many components (if more information is needed, I can try to pinpoint the reason once verbose debugging is fixed as it is making debugging difficult)
> >> 
> >> libgccjit.so: error: gcc_jit_context_new_call_through_ptr: mismatching types for argument 1 of fn_ptr: freloc->R64656c6574652d726567696f6e_delete_region_0: assignment to param 1 (type: struct Lisp_X *) from (long long)2 (type: long long)
> >
> > Adding Andrea.
> 
> I'll try to have a look thanks.
> 
>   Andrea
> 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61917; Package emacs. (Thu, 09 Mar 2023 11:34:02 GMT) Full text and rfc822 format available.

Message #14 received at 61917 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 61917 <at> debbugs.gnu.org, abdo.haji.ali <at> gmail.com
Subject: Re: bug#61917: 29.0.60; native compilation issues
Date: Thu, 09 Mar 2023 11:33:53 +0000
Eli Zaretskii <eliz <at> gnu.org> writes:

> Ping!

Hi Eli,

I already fixed the two reproducible issues in 29 (4a7e657389a
0e3c7ac13da).

For the libgccjit error I'm on hold waiting for a reproducer from the
reprorter.

You might have missed my reply as you maybe were not in Cc and
emacs-bugs rejected mails from the sdf.org IP for few days (now is back
working).

Bests

  Andrea




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61917; Package emacs. (Thu, 09 Mar 2023 12:21:01 GMT) Full text and rfc822 format available.

Message #17 received at 61917 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: 61917 <at> debbugs.gnu.org, abdo.haji.ali <at> gmail.com
Subject: Re: bug#61917: 29.0.60; native compilation issues
Date: Thu, 09 Mar 2023 14:20:22 +0200
> From: Andrea Corallo <akrl <at> sdf.org>
> Cc: abdo.haji.ali <at> gmail.com,  61917 <at> debbugs.gnu.org
> Date: Thu, 09 Mar 2023 11:33:53 +0000
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > Ping!
> 
> Hi Eli,
> 
> I already fixed the two reproducible issues in 29 (4a7e657389a
> 0e3c7ac13da).
> 
> For the libgccjit error I'm on hold waiting for a reproducer from the
> reprorter.
> 
> You might have missed my reply as you maybe were not in Cc and
> emacs-bugs rejected mails from the sdf.org IP for few days (now is back
> working).

Not only I missed the replies, debbugs missed them as well.

Would you mind forwarding/re-sending those messages so that they will
be recorded by debugs?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61917; Package emacs. (Thu, 09 Mar 2023 16:41:01 GMT) Full text and rfc822 format available.

Message #20 received at 61917 <at> debbugs.gnu.org (full text, mbox):

From: Al Haji-Ali <abdo.haji.ali <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>, Andrea Corallo <akrl <at> sdf.org>
Cc: 61917 <at> debbugs.gnu.org
Subject: Re: bug#61917: 29.0.60; native compilation issues
Date: Thu, 09 Mar 2023 16:35:08 +0000
On 09/03/2023, Eli Zaretskii wrote:
>> For the libgccjit error I'm on hold waiting for a reproducer from the
>> reprorter.

I figured out a minimal example on Emacs 29.0.60

1. Start `emacs -Q`

2. execute the following

(advice-add 'delete-region
            :around
            (defun my/advice(fn &rest args)
              (apply fn args)))

3. Native-compile a file with the following content

(defun test ()
  (delete-region (region-beginning) (region-end)))

using for example `(native-compile buffer-file-name)`

I then get the error

libgccjit.so: error: gcc_jit_context_new_call_through_ptr: mismatching types for argument 1 of fn_ptr: freloc->R64656c6574652d726567696f6e_delete_region_0: assignment to param 1 (type: struct Lisp_X *) from (long long)2 (type: long long)

-- Al




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61917; Package emacs. (Fri, 10 Mar 2023 16:56:02 GMT) Full text and rfc822 format available.

Message #23 received at 61917 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 61917 <at> debbugs.gnu.org, abdo.haji.ali <at> gmail.com
Subject: Re: bug#61917: 29.0.60; native compilation issues
Date: Fri, 10 Mar 2023 16:54:54 +0000
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Andrea Corallo <akrl <at> sdf.org>
>> Cc: abdo.haji.ali <at> gmail.com,  61917 <at> debbugs.gnu.org
>> Date: Thu, 09 Mar 2023 11:33:53 +0000
>> 
>> Eli Zaretskii <eliz <at> gnu.org> writes:
>> 
>> > Ping!
>> 
>> Hi Eli,
>> 
>> I already fixed the two reproducible issues in 29 (4a7e657389a
>> 0e3c7ac13da).
>> 
>> For the libgccjit error I'm on hold waiting for a reproducer from the
>> reprorter.
>> 
>> You might have missed my reply as you maybe were not in Cc and
>> emacs-bugs rejected mails from the sdf.org IP for few days (now is back
>> working).
>
> Not only I missed the replies, debbugs missed them as well.

I'm sorry for that, in this case it was not more than what I summarized
in my prev message.

> Would you mind forwarding/re-sending those messages so that they will
> be recorded by debugs?

I'm very sorry but now I phisically have no time to double check if all
the messages I sent were or not recorded by debbugs.

As a side note: as this problem is not new I asked multiple time in the
past to GNU admins if they could give me access to a reliable mail
account (given I just use it to work for GNU on Emacs) but apparently it
was not possible as IIUC they do it only for head maintainers...  Must
say this is very much incomprehensible to me and, even if I had the
time, I'd now be reluctant in trying to double check every message and
manually fix this annoying issue :\

Best Regards

  Andrea




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61917; Package emacs. (Fri, 10 Mar 2023 16:56:02 GMT) Full text and rfc822 format available.

Message #26 received at 61917 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Al Haji-Ali <abdo.haji.ali <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 61917 <at> debbugs.gnu.org
Subject: Re: bug#61917: 29.0.60; native compilation issues
Date: Fri, 10 Mar 2023 16:55:35 +0000
Al Haji-Ali <abdo.haji.ali <at> gmail.com> writes:

> On 09/03/2023, Eli Zaretskii wrote:
>>> For the libgccjit error I'm on hold waiting for a reproducer from the
>>> reprorter.
>
> I figured out a minimal example on Emacs 29.0.60
>
> 1. Start `emacs -Q`
>
> 2. execute the following
>
> (advice-add 'delete-region
>             :around
>             (defun my/advice(fn &rest args)
>               (apply fn args)))
>
> 3. Native-compile a file with the following content
>
> (defun test ()
>   (delete-region (region-beginning) (region-end)))
>
> using for example `(native-compile buffer-file-name)`
>
> I then get the error
>
> libgccjit.so: error: gcc_jit_context_new_call_through_ptr: mismatching types for argument 1 of fn_ptr: freloc->R64656c6574652d726567696f6e_delete_region_0: assignment to param 1 (type: struct Lisp_X *) from (long long)2 (type: long long)
>
> -- Al

Super!  Will look at thanks!

  Andrea




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61917; Package emacs. (Thu, 23 Mar 2023 19:47:02 GMT) Full text and rfc822 format available.

Message #29 received at 61917 <at> debbugs.gnu.org (full text, mbox):

From: Al Haji-Ali <abdo.haji.ali <at> gmail.com>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 61917 <at> debbugs.gnu.org
Subject: Re: bug#61917: 29.0.60; native compilation issues
Date: Thu, 23 Mar 2023 15:43:07 +0000
Hello Andrea,

On 20/03/2023, Andrea Corallo wrote:
> 263d6c38539 now in emacs-29 should fix this, could you verify and let us
> know?

Thanks! The issue does seem to be fixed in this commit.

-- Al




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61917; Package emacs. (Sat, 25 Mar 2023 12:50:02 GMT) Full text and rfc822 format available.

Message #32 received at 61917 <at> debbugs.gnu.org (full text, mbox):

From: Naofumi Yasufuku <naofumi <at> yasufuku.dev>
To: Al Haji-Ali <abdo.haji.ali <at> gmail.com>, Andrea Corallo <akrl <at> sdf.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 61917 <at> debbugs.gnu.org
Subject: Re: bug#61917: 29.0.60; native compilation issues
Date: Sat, 25 Mar 2023 21:49:25 +0900
Hello all,

Al Haji-Ali <abdo.haji.ali <at> gmail.com> writes:

> Hello Andrea,
>
> On 20/03/2023, Andrea Corallo wrote:
>> 263d6c38539 now in emacs-29 should fix this, could you verify and let us
>> know?
>
> Thanks! The issue does seem to be fixed in this commit.
>

My latest emacs-29 08fbc133756 build (includes bug#61917 fixes)
fails to start with the following errors after recompiling eln-cache:

------------------------------------------------------------------------
Loading /Users/naofumi/.ddskk/init (native compiled elisp)...done
skk-emacs-prepare-modeline-properties: Wrong type argument: listp, :type
Error in post-command-hook (yas--post-command-handler): (wrong-number-of-arguments #<subr signal> 1) [2 times]
------------------------------------------------------------------------


------------------------------------------------------------------------
4a7a0c9a9f521b04b23580901e9c0a662b504e32
Author:     Andrea Corallo <akrl <at> sdf.org>
AuthorDate: Tue Mar 21 11:51:03 2023 +0100
Commit:     Andrea Corallo <akrl <at> sdf.org>
CommitDate: Tue Mar 21 12:10:31 2023 +0100

* lisp/emacs-lisp/comp.el (comp-emit-set-call-subr): Improve 263d6c38539

1 file changed, 1 insertion(+), 1 deletion(-)
lisp/emacs-lisp/comp.el | 2 +-

modified   lisp/emacs-lisp/comp.el
@@ -1773,7 +1773,7 @@ comp-emit-set-call-subr
              (maxarg (cdr arity)))
         (when (eq maxarg 'unevalled)
           (signal 'native-ice (list "subr contains unevalled args" subr-name)))
-        (if (not (subrp subr-name))
+        (if (not (subr-primitive-p subr-name))
             ;; The primitive got redefined before the compiler is
             ;; invoked! (bug#61917)
             (comp-emit-set-call `(callref funcall

------------------------------------------------------------------------


Should it be "(not (subr-primitive-p subr))" instead of
"(not (subr-primitive-p subr-name))"?

------------------------------------------------------------------------
1 file changed, 1 insertion(+), 1 deletion(-)
lisp/emacs-lisp/comp.el | 2 +-

modified   lisp/emacs-lisp/comp.el
@@ -1773,7 +1773,7 @@ comp-emit-set-call-subr
              (maxarg (cdr arity)))
         (when (eq maxarg 'unevalled)
           (signal 'native-ice (list "subr contains unevalled args" subr-name)))
-        (if (not (subr-primitive-p subr-name))
+        (if (not (subr-primitive-p subr))
             ;; The primitive got redefined before the compiler is
             ;; invoked! (bug#61917)
             (comp-emit-set-call `(callref funcall

------------------------------------------------------------------------

Best regards,
  Naofumi




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61917; Package emacs. (Sat, 25 Mar 2023 14:47:01 GMT) Full text and rfc822 format available.

Message #35 received at 61917 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Naofumi Yasufuku <naofumi <at> yasufuku.dev>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 61917 <at> debbugs.gnu.org,
 Al Haji-Ali <abdo.haji.ali <at> gmail.com>
Subject: Re: bug#61917: 29.0.60; native compilation issues
Date: Sat, 25 Mar 2023 14:46:49 +0000
Naofumi Yasufuku <naofumi <at> yasufuku.dev> writes:

> Hello all,
>
> Al Haji-Ali <abdo.haji.ali <at> gmail.com> writes:
>
>> Hello Andrea,
>>
>> On 20/03/2023, Andrea Corallo wrote:
>>> 263d6c38539 now in emacs-29 should fix this, could you verify and let us
>>> know?
>>
>> Thanks! The issue does seem to be fixed in this commit.
>>
>
> My latest emacs-29 08fbc133756 build (includes bug#61917 fixes)
> fails to start with the following errors after recompiling eln-cache:
>
> ------------------------------------------------------------------------
> Loading /Users/naofumi/.ddskk/init (native compiled elisp)...done
> skk-emacs-prepare-modeline-properties: Wrong type argument: listp, :type
> Error in post-command-hook (yas--post-command-handler): (wrong-number-of-arguments #<subr signal> 1) [2 times]
> ------------------------------------------------------------------------

Hi Naofumi,

could you please provide a reproducer so we can investigate this issue?

Thanks

  Andrea




Merged 61917 62446. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 25 Mar 2023 16:51:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61917; Package emacs. (Sat, 25 Mar 2023 19:56:01 GMT) Full text and rfc822 format available.

Message #40 received at 61917 <at> debbugs.gnu.org (full text, mbox):

From: Naofumi Yasufuku <naofumi <at> yasufuku.dev>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 61917 <at> debbugs.gnu.org,
 Al Haji-Ali <abdo.haji.ali <at> gmail.com>
Subject: Re: bug#61917: 29.0.60; native compilation issues
Date: Sun, 26 Mar 2023 04:55:27 +0900
Andrea Corallo <akrl <at> sdf.org> writes:

> Naofumi Yasufuku <naofumi <at> yasufuku.dev> writes:
>>
>> My latest emacs-29 08fbc133756 build (includes bug#61917 fixes)
>> fails to start with the following errors after recompiling eln-cache:
>>
>> ------------------------------------------------------------------------
>> Loading /Users/naofumi/.ddskk/init (native compiled elisp)...done
>> skk-emacs-prepare-modeline-properties: Wrong type argument: listp, :type
>> Error in post-command-hook (yas--post-command-handler): (wrong-number-of-arguments #<subr signal> 1) [2 times]
>> ------------------------------------------------------------------------
>
> Hi Naofumi,
>
> could you please provide a reproducer so we can investigate this issue?
>

Hello, Andrea

I tried to find some simple recipe, but I couldn't.
The following is a bit complicated YASnippet case:

STEP 1) Clone YASnippet, E.g.

  $ mkdir ~/.emacs.d/site-lisp-29
  $ cd ~/.emacs.d/site-lisp-29
  $ git clone https://github.com/joaotavora/yasnippet.git

STEP 2) emacs -Q

STEP 3) Byte compile yasnippet.el, then enable yas-global-mode

  (push (locate-user-emacs-file "site-lisp-29/yasnippet") load-path)
  (byte-compile-file (locate-user-emacs-file "site-lisp-29/yasnippet/yasnippet.el"))
  (require 'yasnippet)
  (yas-global-mode 1)


----------------------------
 *Warnings*
----------------------------
⛔ Warning (comp): yasnippet.el:475:2: Warning: defvar `yas-after-exit-snippet-hook' docstring wider than 80 characters
⛔ Warning (comp): yasnippet.el:557:2: Warning: custom-declare-variable `yas-keymap-disable-hook' docstring wider than 80 characters
⛔ Warning (comp): yasnippet.el:1810:2: Warning: docstring wider than 80 characters
⛔ Warning (comp): yasnippet.el:2982:2: Warning: docstring wider than 80 characters
⛔ Warning (comp): yasnippet.el:3732:4: Warning: `declare' after `interactive'
⛔ Warning (comp): yasnippet.el:4735:2: Warning: docstring wider than 80 characters
⛔ Warning (comp): lisp.h:1289: Emacs fatal error: assertion failed: FIXNUMP (a)

----------------------------
 *Async-native-compile-log*
----------------------------
Compiling /home/naofumi/.emacs.d/site-lisp-29/yasnippet/yasnippet.el...

In toplevel form:
yasnippet.el:475:2: Warning: defvar `yas-after-exit-snippet-hook' docstring wider than 80 characters
yasnippet.el:557:2: Warning: custom-declare-variable `yas-keymap-disable-hook' docstring wider than 80 characters

In yas-define-snippets:
yasnippet.el:1810:2: Warning: docstring wider than 80 characters

In yas-longest-key-from-whitespace:
yasnippet.el:2982:2: Warning: docstring wider than 80 characters

In yas-skip-and-clear-or-delete-char:
yasnippet.el:3732:4: Warning: `declare' after `interactive'

In yas--field-parse-create:
yasnippet.el:4735:2: Warning: docstring wider than 80 characters

lisp.h:1289: Emacs fatal error: assertion failed: FIXNUMP (a)
Fatal error 6: Aborted
Backtrace:
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x24efa0)[0x560461b30fa0]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x2147f1)[0x560461af67f1]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x2cad55)[0x560461bacd55]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x36f6f5)[0x560461c516f5]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x3735ca)[0x560461c555ca]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x37478a)[0x560461c5678a]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x37a2fd)[0x560461c5c2fd]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x37c1b0)[0x560461c5e1b0]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d636f6d70696c652d637478742d746f2d66696c65_comp_compile_ctxt_to_file_0+0x1a1)[0x7fd2331d45c1]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d66696e616c31_comp_final1_0+0xc5)[0x7fd2331d47e5]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309c96)[0x560461bebc96]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d66696e616c_comp_final_0+0xe7)[0x7fd2331d4a17]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d2d6e61746976652d636f6d70696c65_comp__native_compile_0+0x822)[0x7fd2331d8ea2]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x308227)[0x560461bea227]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34efc5)[0x560461c30fc5]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34f825)[0x560461c31825]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34fb6e)[0x560461c31b6e]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/mule-3352613d-8856059e.eln(F6c6f61642d776974682d636f64652d636f6e76657273696f6e_load_with_code_conversion_0+0x384)[0x7fd234843d74]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309d72)[0x560461bebd72]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x348a8c)[0x560461c2aa8c]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34cbcb)[0x560461c2ebcb]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/startup-bbc6ea72-10e8addb.eln(F636f6d6d616e642d6c696e652d31_command_line_1_0+0x1719)[0x7fd234889fa9]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/startup-bbc6ea72-10e8addb.eln(F636f6d6d616e642d6c696e65_command_line_0+0x1afc)[0x7fd2348810cc]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309c96)[0x560461bebc96]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/startup-bbc6ea72-10e8addb.eln(F6e6f726d616c2d746f702d6c6576656c_normal_top_level_0+0xde7)[0x7fd23487ccc7]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30819c)[0x560461bea19c]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x307828)[0x560461be9828]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21ce67)[0x560461afee67]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x305054)[0x560461be7054]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21ceaf)[0x560461afeeaf]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x304284)[0x560461be6284]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21cd86)[0x560461afed86]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21c160)[0x560461afe160]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21c37d)[0x560461afe37d]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x217b24)[0x560461af9b24]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7fd239049d0a]
/home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x4978a)[0x56046192b78a]
Compilation finished.
--------------------------------

STEP 3') Native compile yasnippet.el

  (native-compile (locate-user-emacs-file "site-lisp-29/yasnippet/yasnippet.el"))

----------------------------
 *Backtrace*
----------------------------
Debugger entered--Lisp error: (wrong-type-argument "~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el" number-or-marker-p "Aborted")
  signal(wrong-type-argument ("~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el" number-or-marker-p "Aborted"))
  comp--native-compile("~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el" nil nil)
  native-compile("~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el")
  (progn (native-compile (locate-user-emacs-file "site-lisp-29/yasnippet/yasnippet.el")))
  elisp--eval-last-sexp(t)
  eval-last-sexp(t)
  eval-print-last-sexp(nil)
  funcall-interactively(eval-print-last-sexp nil)
  command-execute(eval-print-last-sexp)


----------------------------
In GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.16.0, Xaw3d scroll bars) of 2023-03-26 built on titan
Repository revision: 08fbc133756be38c02f04f64dbe0e2c9c1d0f228
Repository branch: emacs-29
Windowing system distributor 'The X.Org Foundation', version 11.0.12101006
System Description: Debian GNU/Linux 11 (bullseye)

Configured using:
 'configure 'CFLAGS=-g3 -O0' TMPDIR=/home/naofumi/tmp
 --enable-checking=yes,glyphs --enable-check-lisp-object-type
 --prefix=/home/naofumi/.local/emacs/emacs-29 --with-x
 --with-x-toolkit=lucid --with-mailutils --with-native-compilation'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP
NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM
LUCID ZLIB

Important settings:
  value of $LC_MESSAGES: en_US.UTF-8
  value of $LC_TIME: C
  value of $LANG: ja_JP.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  yas-global-mode: t
  yas-minor-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa epg rfc6068
epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils help-fns radix-tree cl-print debug
backtrace find-func time-date mule-util display-line-numbers yasnippet
derived easy-mmode byte-opt cl-loaddefs comp comp-cstr warnings icons
subr-x rx cl-seq cl-macs gv cl-extra help-mode cl-lib compile
text-property-search comint ansi-osc ansi-color ring bytecomp
byte-compile japan-util rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo x-toolkit
xinput2 x multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 322848 67914)
 (symbols 48 9729 0)
 (strings 32 29727 10387)
 (string-bytes 1 995899)
 (vectors 16 107890)
 (vector-slots 8 3759985 357996)
 (floats 8 37 258)
 (intervals 56 766 39)
 (buffers 984 17))

----------------------------


Best regards,
  Naofumi




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61917; Package emacs. (Sun, 26 Mar 2023 08:23:02 GMT) Full text and rfc822 format available.

Message #43 received at 61917 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Naofumi Yasufuku <naofumi <at> yasufuku.dev>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 61917 <at> debbugs.gnu.org,
 Al Haji-Ali <abdo.haji.ali <at> gmail.com>
Subject: Re: bug#61917: 29.0.60; native compilation issues
Date: Sun, 26 Mar 2023 08:22:12 +0000
Naofumi Yasufuku <naofumi <at> yasufuku.dev> writes:

> Andrea Corallo <akrl <at> sdf.org> writes:
>
>> Naofumi Yasufuku <naofumi <at> yasufuku.dev> writes:
>>>
>>> My latest emacs-29 08fbc133756 build (includes bug#61917 fixes)
>>> fails to start with the following errors after recompiling eln-cache:
>>>
>>> ------------------------------------------------------------------------
>>> Loading /Users/naofumi/.ddskk/init (native compiled elisp)...done
>>> skk-emacs-prepare-modeline-properties: Wrong type argument: listp, :type
>>> Error in post-command-hook (yas--post-command-handler): (wrong-number-of-arguments #<subr signal> 1) [2 times]
>>> ------------------------------------------------------------------------
>>
>> Hi Naofumi,
>>
>> could you please provide a reproducer so we can investigate this issue?
>>
>
> Hello, Andrea
>
> I tried to find some simple recipe, but I couldn't.
> The following is a bit complicated YASnippet case:
>
> STEP 1) Clone YASnippet, E.g.
>
>   $ mkdir ~/.emacs.d/site-lisp-29
>   $ cd ~/.emacs.d/site-lisp-29
>   $ git clone https://github.com/joaotavora/yasnippet.git
>
> STEP 2) emacs -Q
>
> STEP 3) Byte compile yasnippet.el, then enable yas-global-mode
>
>   (push (locate-user-emacs-file "site-lisp-29/yasnippet") load-path)
>   (byte-compile-file (locate-user-emacs-file "site-lisp-29/yasnippet/yasnippet.el"))
>   (require 'yasnippet)
>   (yas-global-mode 1)
>
>
> ----------------------------
>  *Warnings*
> ----------------------------
> ⛔ Warning (comp): yasnippet.el:475:2: Warning: defvar `yas-after-exit-snippet-hook' docstring wider than 80 characters
> ⛔ Warning (comp): yasnippet.el:557:2: Warning: custom-declare-variable `yas-keymap-disable-hook' docstring wider than 80 characters
> ⛔ Warning (comp): yasnippet.el:1810:2: Warning: docstring wider than 80 characters
> ⛔ Warning (comp): yasnippet.el:2982:2: Warning: docstring wider than 80 characters
> ⛔ Warning (comp): yasnippet.el:3732:4: Warning: `declare' after `interactive'
> ⛔ Warning (comp): yasnippet.el:4735:2: Warning: docstring wider than 80 characters
> ⛔ Warning (comp): lisp.h:1289: Emacs fatal error: assertion failed: FIXNUMP (a)
>
> ----------------------------
>  *Async-native-compile-log*
> ----------------------------
> Compiling /home/naofumi/.emacs.d/site-lisp-29/yasnippet/yasnippet.el...
>
> In toplevel form:
> yasnippet.el:475:2: Warning: defvar `yas-after-exit-snippet-hook' docstring wider than 80 characters
> yasnippet.el:557:2: Warning: custom-declare-variable `yas-keymap-disable-hook' docstring wider than 80 characters
>
> In yas-define-snippets:
> yasnippet.el:1810:2: Warning: docstring wider than 80 characters
>
> In yas-longest-key-from-whitespace:
> yasnippet.el:2982:2: Warning: docstring wider than 80 characters
>
> In yas-skip-and-clear-or-delete-char:
> yasnippet.el:3732:4: Warning: `declare' after `interactive'
>
> In yas--field-parse-create:
> yasnippet.el:4735:2: Warning: docstring wider than 80 characters
>
> lisp.h:1289: Emacs fatal error: assertion failed: FIXNUMP (a)
> Fatal error 6: Aborted
> Backtrace:
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x24efa0)[0x560461b30fa0]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x2147f1)[0x560461af67f1]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x2cad55)[0x560461bacd55]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x36f6f5)[0x560461c516f5]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x3735ca)[0x560461c555ca]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x37478a)[0x560461c5678a]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x37a2fd)[0x560461c5c2fd]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x37c1b0)[0x560461c5e1b0]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d636f6d70696c652d637478742d746f2d66696c65_comp_compile_ctxt_to_file_0+0x1a1)[0x7fd2331d45c1]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d66696e616c31_comp_final1_0+0xc5)[0x7fd2331d47e5]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309c96)[0x560461bebc96]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d66696e616c_comp_final_0+0xe7)[0x7fd2331d4a17]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d2d6e61746976652d636f6d70696c65_comp__native_compile_0+0x822)[0x7fd2331d8ea2]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x308227)[0x560461bea227]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34efc5)[0x560461c30fc5]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34f825)[0x560461c31825]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34fb6e)[0x560461c31b6e]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/mule-3352613d-8856059e.eln(F6c6f61642d776974682d636f64652d636f6e76657273696f6e_load_with_code_conversion_0+0x384)[0x7fd234843d74]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309d72)[0x560461bebd72]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x348a8c)[0x560461c2aa8c]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34cbcb)[0x560461c2ebcb]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/startup-bbc6ea72-10e8addb.eln(F636f6d6d616e642d6c696e652d31_command_line_1_0+0x1719)[0x7fd234889fa9]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/startup-bbc6ea72-10e8addb.eln(F636f6d6d616e642d6c696e65_command_line_0+0x1afc)[0x7fd2348810cc]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309c96)[0x560461bebc96]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/startup-bbc6ea72-10e8addb.eln(F6e6f726d616c2d746f702d6c6576656c_normal_top_level_0+0xde7)[0x7fd23487ccc7]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30819c)[0x560461bea19c]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x307828)[0x560461be9828]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21ce67)[0x560461afee67]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x305054)[0x560461be7054]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21ceaf)[0x560461afeeaf]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x304284)[0x560461be6284]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21cd86)[0x560461afed86]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21c160)[0x560461afe160]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21c37d)[0x560461afe37d]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x217b24)[0x560461af9b24]
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7fd239049d0a]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x4978a)[0x56046192b78a]
> Compilation finished.
> --------------------------------
>
> STEP 3') Native compile yasnippet.el
>
>   (native-compile (locate-user-emacs-file "site-lisp-29/yasnippet/yasnippet.el"))
>
> ----------------------------
>  *Backtrace*
> ----------------------------
> Debugger entered--Lisp error: (wrong-type-argument "~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el" number-or-marker-p "Aborted")
>   signal(wrong-type-argument ("~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el" number-or-marker-p "Aborted"))
>   comp--native-compile("~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el" nil nil)
>   native-compile("~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el")
>   (progn (native-compile (locate-user-emacs-file "site-lisp-29/yasnippet/yasnippet.el")))
>   elisp--eval-last-sexp(t)
>   eval-last-sexp(t)
>   eval-print-last-sexp(nil)
>   funcall-interactively(eval-print-last-sexp nil)
>   command-execute(eval-print-last-sexp)
>
>

Nice, will look at.

Thanks

  Andrea




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61917; Package emacs. (Sun, 26 Mar 2023 09:21:03 GMT) Full text and rfc822 format available.

Message #46 received at 61917 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Naofumi Yasufuku <naofumi <at> yasufuku.dev>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 61917 <at> debbugs.gnu.org,
 Al Haji-Ali <abdo.haji.ali <at> gmail.com>
Subject: Re: bug#61917: 29.0.60; native compilation issues
Date: Sun, 26 Mar 2023 09:20:06 +0000
Naofumi Yasufuku <naofumi <at> yasufuku.dev> writes:

> Andrea Corallo <akrl <at> sdf.org> writes:
>
>> Naofumi Yasufuku <naofumi <at> yasufuku.dev> writes:
>>>
>>> My latest emacs-29 08fbc133756 build (includes bug#61917 fixes)
>>> fails to start with the following errors after recompiling eln-cache:
>>>
>>> ------------------------------------------------------------------------
>>> Loading /Users/naofumi/.ddskk/init (native compiled elisp)...done
>>> skk-emacs-prepare-modeline-properties: Wrong type argument: listp, :type
>>> Error in post-command-hook (yas--post-command-handler): (wrong-number-of-arguments #<subr signal> 1) [2 times]
>>> ------------------------------------------------------------------------
>>
>> Hi Naofumi,
>>
>> could you please provide a reproducer so we can investigate this issue?
>>
>
> Hello, Andrea
>
> I tried to find some simple recipe, but I couldn't.
> The following is a bit complicated YASnippet case:
>
> STEP 1) Clone YASnippet, E.g.
>
>   $ mkdir ~/.emacs.d/site-lisp-29
>   $ cd ~/.emacs.d/site-lisp-29
>   $ git clone https://github.com/joaotavora/yasnippet.git
>
> STEP 2) emacs -Q
>
> STEP 3) Byte compile yasnippet.el, then enable yas-global-mode
>
>   (push (locate-user-emacs-file "site-lisp-29/yasnippet") load-path)
>   (byte-compile-file (locate-user-emacs-file "site-lisp-29/yasnippet/yasnippet.el"))
>   (require 'yasnippet)
>   (yas-global-mode 1)
>
>
> ----------------------------
>  *Warnings*
> ----------------------------
> ⛔ Warning (comp): yasnippet.el:475:2: Warning: defvar `yas-after-exit-snippet-hook' docstring wider than 80 characters
> ⛔ Warning (comp): yasnippet.el:557:2: Warning: custom-declare-variable `yas-keymap-disable-hook' docstring wider than 80 characters
> ⛔ Warning (comp): yasnippet.el:1810:2: Warning: docstring wider than 80 characters
> ⛔ Warning (comp): yasnippet.el:2982:2: Warning: docstring wider than 80 characters
> ⛔ Warning (comp): yasnippet.el:3732:4: Warning: `declare' after `interactive'
> ⛔ Warning (comp): yasnippet.el:4735:2: Warning: docstring wider than 80 characters
> ⛔ Warning (comp): lisp.h:1289: Emacs fatal error: assertion failed: FIXNUMP (a)
>
> ----------------------------
>  *Async-native-compile-log*
> ----------------------------
> Compiling /home/naofumi/.emacs.d/site-lisp-29/yasnippet/yasnippet.el...
>
> In toplevel form:
> yasnippet.el:475:2: Warning: defvar `yas-after-exit-snippet-hook' docstring wider than 80 characters
> yasnippet.el:557:2: Warning: custom-declare-variable `yas-keymap-disable-hook' docstring wider than 80 characters
>
> In yas-define-snippets:
> yasnippet.el:1810:2: Warning: docstring wider than 80 characters
>
> In yas-longest-key-from-whitespace:
> yasnippet.el:2982:2: Warning: docstring wider than 80 characters
>
> In yas-skip-and-clear-or-delete-char:
> yasnippet.el:3732:4: Warning: `declare' after `interactive'
>
> In yas--field-parse-create:
> yasnippet.el:4735:2: Warning: docstring wider than 80 characters
>
> lisp.h:1289: Emacs fatal error: assertion failed: FIXNUMP (a)
> Fatal error 6: Aborted
> Backtrace:
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x24efa0)[0x560461b30fa0]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x2147f1)[0x560461af67f1]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x2cad55)[0x560461bacd55]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x36f6f5)[0x560461c516f5]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x3735ca)[0x560461c555ca]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x37478a)[0x560461c5678a]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x37a2fd)[0x560461c5c2fd]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x37c1b0)[0x560461c5e1b0]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d636f6d70696c652d637478742d746f2d66696c65_comp_compile_ctxt_to_file_0+0x1a1)[0x7fd2331d45c1]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d66696e616c31_comp_final1_0+0xc5)[0x7fd2331d47e5]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309c96)[0x560461bebc96]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d66696e616c_comp_final_0+0xe7)[0x7fd2331d4a17]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d2d6e61746976652d636f6d70696c65_comp__native_compile_0+0x822)[0x7fd2331d8ea2]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x308227)[0x560461bea227]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34efc5)[0x560461c30fc5]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34f825)[0x560461c31825]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34fb6e)[0x560461c31b6e]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/mule-3352613d-8856059e.eln(F6c6f61642d776974682d636f64652d636f6e76657273696f6e_load_with_code_conversion_0+0x384)[0x7fd234843d74]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309d72)[0x560461bebd72]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x348a8c)[0x560461c2aa8c]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34cbcb)[0x560461c2ebcb]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/startup-bbc6ea72-10e8addb.eln(F636f6d6d616e642d6c696e652d31_command_line_1_0+0x1719)[0x7fd234889fa9]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/startup-bbc6ea72-10e8addb.eln(F636f6d6d616e642d6c696e65_command_line_0+0x1afc)[0x7fd2348810cc]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309c96)[0x560461bebc96]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/startup-bbc6ea72-10e8addb.eln(F6e6f726d616c2d746f702d6c6576656c_normal_top_level_0+0xde7)[0x7fd23487ccc7]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30819c)[0x560461bea19c]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x307828)[0x560461be9828]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21ce67)[0x560461afee67]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x305054)[0x560461be7054]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21ceaf)[0x560461afeeaf]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x304284)[0x560461be6284]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21cd86)[0x560461afed86]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21c160)[0x560461afe160]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21c37d)[0x560461afe37d]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x217b24)[0x560461af9b24]
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7fd239049d0a]
> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x4978a)[0x56046192b78a]
> Compilation finished.
> --------------------------------
>
> STEP 3') Native compile yasnippet.el
>
>   (native-compile (locate-user-emacs-file "site-lisp-29/yasnippet/yasnippet.el"))
>
> ----------------------------
>  *Backtrace*
> ----------------------------
> Debugger entered--Lisp error: (wrong-type-argument "~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el" number-or-marker-p "Aborted")
>   signal(wrong-type-argument ("~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el" number-or-marker-p "Aborted"))
>   comp--native-compile("~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el" nil nil)
>   native-compile("~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el")
>   (progn (native-compile (locate-user-emacs-file "site-lisp-29/yasnippet/yasnippet.el")))
>   elisp--eval-last-sexp(t)
>   eval-last-sexp(t)
>   eval-print-last-sexp(nil)
>   funcall-interactively(eval-print-last-sexp nil)
>   command-execute(eval-print-last-sexp)

PS still, if anyone else find a more reduced reproducer that would
speed-up the investingation and fix of this issue.

Thanks

  Andrea




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61917; Package emacs. (Wed, 29 Mar 2023 20:30:02 GMT) Full text and rfc822 format available.

Message #49 received at 61917 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Naofumi Yasufuku <naofumi <at> yasufuku.dev>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 61917 <at> debbugs.gnu.org,
 Al Haji-Ali <abdo.haji.ali <at> gmail.com>
Subject: Re: bug#61917: 29.0.60; native compilation issues
Date: Wed, 29 Mar 2023 20:29:46 +0000
Andrea Corallo <akrl <at> sdf.org> writes:

> Naofumi Yasufuku <naofumi <at> yasufuku.dev> writes:
>
>> Andrea Corallo <akrl <at> sdf.org> writes:
>>
>>> Naofumi Yasufuku <naofumi <at> yasufuku.dev> writes:
>>>>
>>>> My latest emacs-29 08fbc133756 build (includes bug#61917 fixes)
>>>> fails to start with the following errors after recompiling eln-cache:
>>>>
>>>> ------------------------------------------------------------------------
>>>> Loading /Users/naofumi/.ddskk/init (native compiled elisp)...done
>>>> skk-emacs-prepare-modeline-properties: Wrong type argument: listp, :type
>>>> Error in post-command-hook (yas--post-command-handler): (wrong-number-of-arguments #<subr signal> 1) [2 times]
>>>> ------------------------------------------------------------------------
>>>
>>> Hi Naofumi,
>>>
>>> could you please provide a reproducer so we can investigate this issue?
>>>
>>
>> Hello, Andrea
>>
>> I tried to find some simple recipe, but I couldn't.
>> The following is a bit complicated YASnippet case:
>>
>> STEP 1) Clone YASnippet, E.g.
>>
>>   $ mkdir ~/.emacs.d/site-lisp-29
>>   $ cd ~/.emacs.d/site-lisp-29
>>   $ git clone https://github.com/joaotavora/yasnippet.git
>>
>> STEP 2) emacs -Q
>>
>> STEP 3) Byte compile yasnippet.el, then enable yas-global-mode
>>
>>   (push (locate-user-emacs-file "site-lisp-29/yasnippet") load-path)
>>   (byte-compile-file (locate-user-emacs-file "site-lisp-29/yasnippet/yasnippet.el"))
>>   (require 'yasnippet)
>>   (yas-global-mode 1)
>>
>>
>> ----------------------------
>>  *Warnings*
>> ----------------------------
>> ⛔ Warning (comp): yasnippet.el:475:2: Warning: defvar `yas-after-exit-snippet-hook' docstring wider than 80 characters
>> ⛔ Warning (comp): yasnippet.el:557:2: Warning: custom-declare-variable `yas-keymap-disable-hook' docstring wider than 80 characters
>> ⛔ Warning (comp): yasnippet.el:1810:2: Warning: docstring wider than 80 characters
>> ⛔ Warning (comp): yasnippet.el:2982:2: Warning: docstring wider than 80 characters
>> ⛔ Warning (comp): yasnippet.el:3732:4: Warning: `declare' after `interactive'
>> ⛔ Warning (comp): yasnippet.el:4735:2: Warning: docstring wider than 80 characters
>> ⛔ Warning (comp): lisp.h:1289: Emacs fatal error: assertion failed: FIXNUMP (a)
>>
>> ----------------------------
>>  *Async-native-compile-log*
>> ----------------------------
>> Compiling /home/naofumi/.emacs.d/site-lisp-29/yasnippet/yasnippet.el...
>>
>> In toplevel form:
>> yasnippet.el:475:2: Warning: defvar `yas-after-exit-snippet-hook' docstring wider than 80 characters
>> yasnippet.el:557:2: Warning: custom-declare-variable `yas-keymap-disable-hook' docstring wider than 80 characters
>>
>> In yas-define-snippets:
>> yasnippet.el:1810:2: Warning: docstring wider than 80 characters
>>
>> In yas-longest-key-from-whitespace:
>> yasnippet.el:2982:2: Warning: docstring wider than 80 characters
>>
>> In yas-skip-and-clear-or-delete-char:
>> yasnippet.el:3732:4: Warning: `declare' after `interactive'
>>
>> In yas--field-parse-create:
>> yasnippet.el:4735:2: Warning: docstring wider than 80 characters
>>
>> lisp.h:1289: Emacs fatal error: assertion failed: FIXNUMP (a)
>> Fatal error 6: Aborted
>> Backtrace:
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x24efa0)[0x560461b30fa0]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x2147f1)[0x560461af67f1]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x2cad55)[0x560461bacd55]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x36f6f5)[0x560461c516f5]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x3735ca)[0x560461c555ca]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x37478a)[0x560461c5678a]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x37a2fd)[0x560461c5c2fd]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x37c1b0)[0x560461c5e1b0]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d636f6d70696c652d637478742d746f2d66696c65_comp_compile_ctxt_to_file_0+0x1a1)[0x7fd2331d45c1]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d66696e616c31_comp_final1_0+0xc5)[0x7fd2331d47e5]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309c96)[0x560461bebc96]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d66696e616c_comp_final_0+0xe7)[0x7fd2331d4a17]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d2d6e61746976652d636f6d70696c65_comp__native_compile_0+0x822)[0x7fd2331d8ea2]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x308227)[0x560461bea227]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34efc5)[0x560461c30fc5]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34f825)[0x560461c31825]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34fb6e)[0x560461c31b6e]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/mule-3352613d-8856059e.eln(F6c6f61642d776974682d636f64652d636f6e76657273696f6e_load_with_code_conversion_0+0x384)[0x7fd234843d74]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309d72)[0x560461bebd72]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x348a8c)[0x560461c2aa8c]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34cbcb)[0x560461c2ebcb]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/startup-bbc6ea72-10e8addb.eln(F636f6d6d616e642d6c696e652d31_command_line_1_0+0x1719)[0x7fd234889fa9]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/startup-bbc6ea72-10e8addb.eln(F636f6d6d616e642d6c696e65_command_line_0+0x1afc)[0x7fd2348810cc]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309c96)[0x560461bebc96]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/startup-bbc6ea72-10e8addb.eln(F6e6f726d616c2d746f702d6c6576656c_normal_top_level_0+0xde7)[0x7fd23487ccc7]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30819c)[0x560461bea19c]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x307828)[0x560461be9828]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21ce67)[0x560461afee67]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x305054)[0x560461be7054]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21ceaf)[0x560461afeeaf]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x304284)[0x560461be6284]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21cd86)[0x560461afed86]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21c160)[0x560461afe160]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21c37d)[0x560461afe37d]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x217b24)[0x560461af9b24]
>> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7fd239049d0a]
>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x4978a)[0x56046192b78a]
>> Compilation finished.
>> --------------------------------
>>
>> STEP 3') Native compile yasnippet.el
>>
>>   (native-compile (locate-user-emacs-file "site-lisp-29/yasnippet/yasnippet.el"))
>>
>> ----------------------------
>>  *Backtrace*
>> ----------------------------
>> Debugger entered--Lisp error: (wrong-type-argument "~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el" number-or-marker-p "Aborted")
>>   signal(wrong-type-argument ("~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el" number-or-marker-p "Aborted"))
>>   comp--native-compile("~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el" nil nil)
>>   native-compile("~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el")
>>   (progn (native-compile (locate-user-emacs-file "site-lisp-29/yasnippet/yasnippet.el")))
>>   elisp--eval-last-sexp(t)
>>   eval-last-sexp(t)
>>   eval-print-last-sexp(nil)
>>   funcall-interactively(eval-print-last-sexp nil)
>>   command-execute(eval-print-last-sexp)
>
> PS still, if anyone else find a more reduced reproducer that would
> speed-up the investingation and fix of this issue.
>
> Thanks
>
>   Andrea

Okay ab4273056e0 should be a better (and safer) fix for this bug, I
pushed it now to 29.  This time hopefully it does not cause
regressions...

Bests

  Andrea




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61917; Package emacs. (Wed, 29 Mar 2023 22:54:01 GMT) Full text and rfc822 format available.

Message #52 received at 61917 <at> debbugs.gnu.org (full text, mbox):

From: Naofumi Yasufuku <naofumi <at> yasufuku.dev>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 61917 <at> debbugs.gnu.org,
 Al Haji-Ali <abdo.haji.ali <at> gmail.com>
Subject: Re: bug#61917: 29.0.60; native compilation issues
Date: Thu, 30 Mar 2023 07:53:17 +0900
Andrea Corallo <akrl <at> sdf.org> writes:

> Andrea Corallo <akrl <at> sdf.org> writes:
>
>> Naofumi Yasufuku <naofumi <at> yasufuku.dev> writes:
>>
>>> Andrea Corallo <akrl <at> sdf.org> writes:
>>>
>>>> Naofumi Yasufuku <naofumi <at> yasufuku.dev> writes:
>>>>>
>>>>> My latest emacs-29 08fbc133756 build (includes bug#61917 fixes)
>>>>> fails to start with the following errors after recompiling eln-cache:
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> Loading /Users/naofumi/.ddskk/init (native compiled elisp)...done
>>>>> skk-emacs-prepare-modeline-properties: Wrong type argument: listp, :type
>>>>> Error in post-command-hook (yas--post-command-handler): (wrong-number-of-arguments #<subr signal> 1) [2 times]
>>>>> ------------------------------------------------------------------------
>>>>
>>>> Hi Naofumi,
>>>>
>>>> could you please provide a reproducer so we can investigate this issue?
>>>>
>>>
>>> Hello, Andrea
>>>
>>> I tried to find some simple recipe, but I couldn't.
>>> The following is a bit complicated YASnippet case:
>>>
>>> STEP 1) Clone YASnippet, E.g.
>>>
>>>   $ mkdir ~/.emacs.d/site-lisp-29
>>>   $ cd ~/.emacs.d/site-lisp-29
>>>   $ git clone https://github.com/joaotavora/yasnippet.git
>>>
>>> STEP 2) emacs -Q
>>>
>>> STEP 3) Byte compile yasnippet.el, then enable yas-global-mode
>>>
>>>   (push (locate-user-emacs-file "site-lisp-29/yasnippet") load-path)
>>>   (byte-compile-file (locate-user-emacs-file "site-lisp-29/yasnippet/yasnippet.el"))
>>>   (require 'yasnippet)
>>>   (yas-global-mode 1)
>>>
>>>
>>> ----------------------------
>>>  *Warnings*
>>> ----------------------------
>>> ⛔ Warning (comp): yasnippet.el:475:2: Warning: defvar `yas-after-exit-snippet-hook' docstring wider than 80 characters
>>> ⛔ Warning (comp): yasnippet.el:557:2: Warning: custom-declare-variable `yas-keymap-disable-hook' docstring wider than 80 characters
>>> ⛔ Warning (comp): yasnippet.el:1810:2: Warning: docstring wider than 80 characters
>>> ⛔ Warning (comp): yasnippet.el:2982:2: Warning: docstring wider than 80 characters
>>> ⛔ Warning (comp): yasnippet.el:3732:4: Warning: `declare' after `interactive'
>>> ⛔ Warning (comp): yasnippet.el:4735:2: Warning: docstring wider than 80 characters
>>> ⛔ Warning (comp): lisp.h:1289: Emacs fatal error: assertion failed: FIXNUMP (a)
>>>
>>> ----------------------------
>>>  *Async-native-compile-log*
>>> ----------------------------
>>> Compiling /home/naofumi/.emacs.d/site-lisp-29/yasnippet/yasnippet.el...
>>>
>>> In toplevel form:
>>> yasnippet.el:475:2: Warning: defvar `yas-after-exit-snippet-hook' docstring wider than 80 characters
>>> yasnippet.el:557:2: Warning: custom-declare-variable `yas-keymap-disable-hook' docstring wider than 80 characters
>>>
>>> In yas-define-snippets:
>>> yasnippet.el:1810:2: Warning: docstring wider than 80 characters
>>>
>>> In yas-longest-key-from-whitespace:
>>> yasnippet.el:2982:2: Warning: docstring wider than 80 characters
>>>
>>> In yas-skip-and-clear-or-delete-char:
>>> yasnippet.el:3732:4: Warning: `declare' after `interactive'
>>>
>>> In yas--field-parse-create:
>>> yasnippet.el:4735:2: Warning: docstring wider than 80 characters
>>>
>>> lisp.h:1289: Emacs fatal error: assertion failed: FIXNUMP (a)
>>> Fatal error 6: Aborted
>>> Backtrace:
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x24efa0)[0x560461b30fa0]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x2147f1)[0x560461af67f1]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x2cad55)[0x560461bacd55]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x36f6f5)[0x560461c516f5]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x3735ca)[0x560461c555ca]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x37478a)[0x560461c5678a]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x37a2fd)[0x560461c5c2fd]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x37c1b0)[0x560461c5e1b0]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d636f6d70696c652d637478742d746f2d66696c65_comp_compile_ctxt_to_file_0+0x1a1)[0x7fd2331d45c1]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d66696e616c31_comp_final1_0+0xc5)[0x7fd2331d47e5]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309c96)[0x560461bebc96]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d66696e616c_comp_final_0+0xe7)[0x7fd2331d4a17]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/native-lisp/29.0.60-1d11f894/comp-7672a6ed-a5895679.eln(F636f6d702d2d6e61746976652d636f6d70696c65_comp__native_compile_0+0x822)[0x7fd2331d8ea2]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x308227)[0x560461bea227]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34efc5)[0x560461c30fc5]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34f825)[0x560461c31825]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34fb6e)[0x560461c31b6e]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/mule-3352613d-8856059e.eln(F6c6f61642d776974682d636f64652d636f6e76657273696f6e_load_with_code_conversion_0+0x384)[0x7fd234843d74]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309d72)[0x560461bebd72]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x348a8c)[0x560461c2aa8c]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x34cbcb)[0x560461c2ebcb]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/startup-bbc6ea72-10e8addb.eln(F636f6d6d616e642d6c696e652d31_command_line_1_0+0x1719)[0x7fd234889fa9]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309cac)[0x560461bebcac]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/startup-bbc6ea72-10e8addb.eln(F636f6d6d616e642d6c696e65_command_line_0+0x1afc)[0x7fd2348810cc]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309c96)[0x560461bebc96]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30973f)[0x560461beb73f]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x309a8d)[0x560461beba8d]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/../native-lisp/29.0.60-1d11f894/preloaded/startup-bbc6ea72-10e8addb.eln(F6e6f726d616c2d746f702d6c6576656c_normal_top_level_0+0xde7)[0x7fd23487ccc7]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x30819c)[0x560461bea19c]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x307828)[0x560461be9828]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21ce67)[0x560461afee67]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x305054)[0x560461be7054]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21ceaf)[0x560461afeeaf]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x304284)[0x560461be6284]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21cd86)[0x560461afed86]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21c160)[0x560461afe160]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x21c37d)[0x560461afe37d]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x217b24)[0x560461af9b24]
>>> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7fd239049d0a]
>>> /home/naofumi/src/git.sv.gnu.org/debug/emacs-29/src/emacs(+0x4978a)[0x56046192b78a]
>>> Compilation finished.
>>> --------------------------------
>>>
>>> STEP 3') Native compile yasnippet.el
>>>
>>>   (native-compile (locate-user-emacs-file "site-lisp-29/yasnippet/yasnippet.el"))
>>>
>>> ----------------------------
>>>  *Backtrace*
>>> ----------------------------
>>> Debugger entered--Lisp error: (wrong-type-argument "~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el" number-or-marker-p "Aborted")
>>>   signal(wrong-type-argument ("~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el" number-or-marker-p "Aborted"))
>>>   comp--native-compile("~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el" nil nil)
>>>   native-compile("~/.emacs.d/site-lisp-29/yasnippet/yasnippet.el")
>>>   (progn (native-compile (locate-user-emacs-file "site-lisp-29/yasnippet/yasnippet.el")))
>>>   elisp--eval-last-sexp(t)
>>>   eval-last-sexp(t)
>>>   eval-print-last-sexp(nil)
>>>   funcall-interactively(eval-print-last-sexp nil)
>>>   command-execute(eval-print-last-sexp)
>>
>> PS still, if anyone else find a more reduced reproducer that would
>> speed-up the investingation and fix of this issue.
>>
>> Thanks
>>
>>   Andrea
>
> Okay ab4273056e0 should be a better (and safer) fix for this bug, I
> pushed it now to 29.  This time hopefully it does not cause
> regressions...
>
> Bests
>
>   Andrea

Thank you.  I will try ;-)

Best regards,
  Naofumi




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61917; Package emacs. (Thu, 30 Mar 2023 13:15:02 GMT) Full text and rfc822 format available.

Message #55 received at 61917 <at> debbugs.gnu.org (full text, mbox):

From: Naofumi Yasufuku <naofumi <at> yasufuku.dev>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 61917 <at> debbugs.gnu.org,
 Al Haji-Ali <abdo.haji.ali <at> gmail.com>
Subject: Re: bug#61917: 29.0.60; native compilation issues
Date: Thu, 30 Mar 2023 22:14:08 +0900
Naofumi Yasufuku <naofumi <at> yasufuku.dev> writes:

> Andrea Corallo <akrl <at> sdf.org> writes:
>
[..snip..]
>>
>> Okay ab4273056e0 should be a better (and safer) fix for this bug, I
>> pushed it now to 29.  This time hopefully it does not cause
>> regressions...
>>
>> Bests
>>
>>   Andrea
>
> Thank you.  I will try ;-)
>

Hi Andrea,

I've confirmed that my build of emacs-29 ab4273056e0 works well.
Thank you very much for your great work.

- Recompiled all .elc and .eln successfully.

- .eln issues of both yasnippet and ddskk (Japanese input method) have gone.
  They are successfully loaded, and work without any problem.
>>>> ------------------------------------------------------------------------
>>>> Loading /Users/naofumi/.ddskk/init (native compiled elisp)...done
>>>> skk-emacs-prepare-modeline-properties: Wrong type argument: listp, :type
>>>> Error in post-command-hook (yas--post-command-handler): (wrong-number-of-arguments #<subr signal> 1) [2 times]
>>>> ------------------------------------------------------------------------

- comp-tests-61917-1 passes.
----------------------------
Selector: comp-tests-61917-1
Passed:  1
Failed:  0
Skipped: 0
Total:   1/1

Started at:   2023-03-30 21:48:11+0900
Finished.
Finished at:  2023-03-30 21:48:12+0900

.
----------------------------

- comp-subr-arities-h
#s(hash-table size 1642 test equal rehash-size 1.5 rehash-threshold 0.8125 data (treesit-node-field-name-for-child (2 . 2) message-box (1 . many) set-process-sentinel (2 . 2) previous-property-change (1 . 3) set-marker (2 . 3) bool-vector-p (1 . 1) set-coding-system-priority (0 . many) set-window-dedicated-p (2 . 2) sqlite-next (1 . 1) x-display-grayscale-p (0 . 1) syntax-class-to-char (1 . 1) window-text-pixel-size (0 . 7) ...))

----------------------------

In GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.16.0, Xaw3d scroll bars) of 2023-03-30 built on titan
Repository revision: ab4273056e0ab68a27fe807b16e2995bf84b72ec
Repository branch: HEAD
Windowing system distributor 'The X.Org Foundation', version 11.0.12101006
System Description: Debian GNU/Linux 11 (bullseye)

Configured using:
 'configure 'CFLAGS=-g3 -O2' TMPDIR=/home/naofumi/tmp
 --prefix=/home/naofumi/.local/emacs/emacs-29 --with-x
 --with-x-toolkit=lucid --with-mailutils --with-native-compilation'

----------------------------

In GNU Emacs 29.0.60 (build 1, aarch64-apple-darwin22.3.0, NS
 appkit-2299.40 Version 13.2.1 (Build 22D68)) of 2023-03-30 built on
 mimas.local
Repository revision: ab4273056e0ab68a27fe807b16e2995bf84b72ec
Repository branch: HEAD
Windowing system distributor 'Apple', version 10.3.2299
System Description:  macOS 13.2.1

Configured using:
 'configure 'CPPFLAGS=-DFD_SETSIZE=65536 -D_DARWIN_UNLIMITED_SELECT
 -I/opt/homebrew/include' 'CFLAGS=-g3 -O2' LDFLAGS=-L/opt/homebrew/lib
 TMPDIR=/Users/naofumi/tmp --prefix=/Users/naofumi/.local/emacs/emacs-29
 --with-ns --disable-ns-self-contained --with-mailutils
 --with-native-compilation --with-xwidgets'

----------------------------


Best regards,
  Naofumi




Reply sent to Andrea Corallo <akrl <at> sdf.org>:
You have taken responsibility. (Thu, 30 Mar 2023 13:33:02 GMT) Full text and rfc822 format available.

Notification sent to Al Haji-Ali <abdo.haji.ali <at> gmail.com>:
bug acknowledged by developer. (Thu, 30 Mar 2023 13:33:02 GMT) Full text and rfc822 format available.

Message #60 received at 61917-done <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Naofumi Yasufuku <naofumi <at> yasufuku.dev>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Al Haji-Ali <abdo.haji.ali <at> gmail.com>,
 61917-done <at> debbugs.gnu.org
Subject: Re: bug#61917: 29.0.60; native compilation issues
Date: Thu, 30 Mar 2023 13:32:25 +0000
Naofumi Yasufuku <naofumi <at> yasufuku.dev> writes:

> Naofumi Yasufuku <naofumi <at> yasufuku.dev> writes:
>
>> Andrea Corallo <akrl <at> sdf.org> writes:
>>
> [..snip..]
>>>
>>> Okay ab4273056e0 should be a better (and safer) fix for this bug, I
>>> pushed it now to 29.  This time hopefully it does not cause
>>> regressions...
>>>
>>> Bests
>>>
>>>   Andrea
>>
>> Thank you.  I will try ;-)
>>
>
> Hi Andrea,
>
> I've confirmed that my build of emacs-29 ab4273056e0 works well.
> Thank you very much for your great work.
>
> - Recompiled all .elc and .eln successfully.
>
> - .eln issues of both yasnippet and ddskk (Japanese input method) have gone.
>   They are successfully loaded, and work without any problem.

Wonderful, thank you very much for reporting!

Closing this then.

Bests

  Andrea




Reply sent to Andrea Corallo <akrl <at> sdf.org>:
You have taken responsibility. (Thu, 30 Mar 2023 13:33:02 GMT) Full text and rfc822 format available.

Notification sent to Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>:
bug acknowledged by developer. (Thu, 30 Mar 2023 13:33:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61917; Package emacs. (Sun, 09 Apr 2023 17:49:01 GMT) Full text and rfc822 format available.

Message #68 received at 61917 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: 61917 <at> debbugs.gnu.org, akrl <at> sdf.org
Subject: Re: bug#61917: 29.0.60; native compilation issues
Date: Sun, 9 Apr 2023 20:48:05 +0300
Hi Andrea and all,

On 30/03/2023 16:32, Andrea Corallo wrote:
>> I've confirmed that my build of emacs-29 ab4273056e0 works well.
>> Thank you very much for your great work.
>>
>> - Recompiled all .elc and .eln successfully.
>>
>> - .eln issues of both yasnippet and ddskk (Japanese input method) have gone.
>>    They are successfully loaded, and work without any problem.
> Wonderful, thank you very much for reporting!
> 
> Closing this then.

There was a report against company-mode which I just localized to this 
bug: https://github.com/company-mode/company-mode/issues/1381

The symptoms looked different, though: more like one sees when a macro 
definition is not loaded during byte-compilation ("Invalid function: xxx").

Just mentioning this here for posterity and better searchability.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 08 May 2023 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 6 days ago.

Previous Next


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