GNU bug report logs - #36321
Error: Forgot to expand macro pcase--flip in (pcase--flip memql '(2 1) val)

Previous Next

Package: emacs;

Reported by: Andreas Schwab <schwab <at> linux-m68k.org>

Date: Fri, 21 Jun 2019 10:24:01 UTC

Severity: normal

Tags: fixed

Merged with 36447

Found in version 27.0.50

Done: Noam Postavsky <npostavs <at> gmail.com>

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 36321 in the body.
You can then email your comments to 36321 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#36321; Package emacs. (Fri, 21 Jun 2019 10:24:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Schwab <schwab <at> linux-m68k.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 21 Jun 2019 10:24:02 GMT) Full text and rfc822 format available.

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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Error: Forgot to expand macro pcase--flip in (pcase--flip memql '(2
 1) val)
Date: Fri, 21 Jun 2019 12:23:22 +0200
https://build.opensuse.org/package/live_build_log/home:AndreasSchwab:emacs:master/emacs/f/i586

What does this error mean?

In calculator-op:
calculator.el:1289:32:Error: Forgot to expand macro pcase--flip in (pcase--flip memql '(2 1) val)
calculator.el:1289:32:Warning: reference to free variable ‘memql’

In end of data:
calculator.el:1664:1:Warning: the function ‘pcase--flip’ might not be defined
    at runtime.
calculator.el:1664:1:Warning: the function ‘check’ is not known to be defined.
make[3]: *** [Makefile:296: calculator.elc] Error 1

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36321; Package emacs. (Fri, 21 Jun 2019 10:41:01 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> gmail.com>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 36321 <at> debbugs.gnu.org
Subject: Re: bug#36321: Error: Forgot to expand macro pcase--flip in
 (pcase--flip memql '(2 1) val)
Date: Fri, 21 Jun 2019 06:40:48 -0400
Andreas Schwab <schwab <at> linux-m68k.org> writes:

> https://build.opensuse.org/package/live_build_log/home:AndreasSchwab:emacs:master/emacs/f/i586
>
> What does this error mean?
>
> In calculator-op:
> calculator.el:1289:32:Error: Forgot to expand macro pcase--flip in (pcase--flip memql '(2 1) val)
> calculator.el:1289:32:Warning: reference to free variable ‘memql’
>
> In end of data:
> calculator.el:1664:1:Warning: the function ‘pcase--flip’ might not be defined
>     at runtime.
> calculator.el:1664:1:Warning: the function ‘check’ is not known to be defined.
> make[3]: *** [Makefile:296: calculator.elc] Error 1
>
> Andreas.

It sounds like it could a bug caused by [6: b8c74742c0], but it's not
happening here, or on hydra.

https://hydra.nixos.org/eval/1526398#tabs-still-succeed

[6: b8c74742c0]: 2019-06-19 11:20:58 +0200
  Tighter pcase or-pattern member function selection (bug#36139)
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=b8c74742c0238fe15b1cdc9a7f6ee021d038368f




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36321; Package emacs. (Fri, 21 Jun 2019 12:37:01 GMT) Full text and rfc822 format available.

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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 36321 <at> debbugs.gnu.org
Subject: Re: bug#36321: Error: Forgot to expand macro pcase--flip in
 (pcase--flip memql '(2 1) val)
Date: Fri, 21 Jun 2019 14:36:37 +0200
On Jun 21 2019, Noam Postavsky <npostavs <at> gmail.com> wrote:

> Andreas Schwab <schwab <at> linux-m68k.org> writes:
>
>> https://build.opensuse.org/package/live_build_log/home:AndreasSchwab:emacs:master/emacs/f/i586
>>
>> What does this error mean?
>>
>> In calculator-op:
>> calculator.el:1289:32:Error: Forgot to expand macro pcase--flip in (pcase--flip memql '(2 1) val)
>> calculator.el:1289:32:Warning: reference to free variable ‘memql’
>>
>> In end of data:
>> calculator.el:1664:1:Warning: the function ‘pcase--flip’ might not be defined
>>     at runtime.
>> calculator.el:1664:1:Warning: the function ‘check’ is not known to be defined.
>> make[3]: *** [Makefile:296: calculator.elc] Error 1
>>
>> Andreas.
>
> It sounds like it could a bug caused by [6: b8c74742c0], but it's not
> happening here, or on hydra.

It could be a race condition.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36321; Package emacs. (Sun, 23 Jun 2019 09:17:02 GMT) Full text and rfc822 format available.

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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 36321 <at> debbugs.gnu.org
Subject: Re: bug#36321: Error: Forgot to expand macro pcase--flip in
 (pcase--flip memql '(2 1) val)
Date: Sun, 23 Jun 2019 11:16:16 +0200
It happened again:

https://build.opensuse.org/package/live_build_log/home:AndreasSchwab:emacs:master/emacs/p/ppc

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36321; Package emacs. (Sun, 23 Jun 2019 09:37:02 GMT) Full text and rfc822 format available.

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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 36321 <at> debbugs.gnu.org
Subject: Re: bug#36321: Error: Forgot to expand macro pcase--flip in
 (pcase--flip memql '(2 1) val)
Date: Sun, 23 Jun 2019 11:36:46 +0200
The error was introduced between
8b379bbeca9b3765e2b1e948d9d9c90ab92ff4b6 and
869cf5cbc0721bbe9e4df557f4ed3633fb13c05f

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36321; Package emacs. (Thu, 04 Jul 2019 20:25:01 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> gmail.com>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 36321 <at> debbugs.gnu.org
Subject: Re: bug#36321: Error: Forgot to expand macro pcase--flip in
 (pcase--flip memql '(2 1) val)
Date: Thu, 04 Jul 2019 16:24:36 -0400
Andreas Schwab <schwab <at> linux-m68k.org> writes:

> The error was introduced between
> 8b379bbeca9b3765e2b1e948d9d9c90ab92ff4b6 and
> 869cf5cbc0721bbe9e4df557f4ed3633fb13c05f

I don't see anything plausible in that range.  I wonder if this could be
the same as Bug#36447.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36321; Package emacs. (Thu, 04 Jul 2019 21:02:02 GMT) Full text and rfc822 format available.

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

From: Pip Cet <pipcet <at> gmail.com>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: Andreas Schwab <schwab <at> linux-m68k.org>, 36321 <at> debbugs.gnu.org
Subject: Re: bug#36321: Error: Forgot to expand macro pcase--flip in
 (pcase--flip memql '(2 1) val)
Date: Thu, 4 Jul 2019 21:00:27 +0000
On Thu, Jul 4, 2019 at 8:25 PM Noam Postavsky <npostavs <at> gmail.com> wrote:
> Andreas Schwab <schwab <at> linux-m68k.org> writes:
> > The error was introduced between
> > 8b379bbeca9b3765e2b1e948d9d9c90ab92ff4b6 and
> > 869cf5cbc0721bbe9e4df557f4ed3633fb13c05f
>
> I don't see anything plausible in that range.  I wonder if this could be
> the same as Bug#36447.

I rather suspect it is, too. Can we get our hands on an emacs binary
and an emacs.pdmp file from a failing build?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36321; Package emacs. (Sun, 14 Jul 2019 14:40:02 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> gmail.com>
To: Pip Cet <pipcet <at> gmail.com>
Cc: Andreas Schwab <schwab <at> linux-m68k.org>, 36321 <at> debbugs.gnu.org
Subject: Re: bug#36321: Error: Forgot to expand macro pcase--flip in
 (pcase--flip memql '(2 1) val)
Date: Sun, 14 Jul 2019 10:39:15 -0400
forcemerge 36447 36321
quit

Pip Cet <pipcet <at> gmail.com> writes:

> On Thu, Jul 4, 2019 at 8:25 PM Noam Postavsky <npostavs <at> gmail.com> wrote:
>> Andreas Schwab <schwab <at> linux-m68k.org> writes:
>> > The error was introduced between
>> > 8b379bbeca9b3765e2b1e948d9d9c90ab92ff4b6 and
>> > 869cf5cbc0721bbe9e4df557f4ed3633fb13c05f
>>
>> I don't see anything plausible in that range.  I wonder if this could be
>> the same as Bug#36447.
>
> I rather suspect it is, too. Can we get our hands on an emacs binary
> and an emacs.pdmp file from a failing build?

By the timing of when this error popped up, I'm going to say it's most
likely the same as 36447, so I'll go ahead and merge them.  It should be
fixed now, but if the error ever happens again, we'll know it's actually
something else.




Forcibly Merged 36321 36447. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 14 Jul 2019 14:40:03 GMT) Full text and rfc822 format available.

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

This bug report was last modified 4 years and 258 days ago.

Previous Next


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