On Sunday, February 26 2023, I wrote:

> On Sunday, February 26 2023, I wrote:
>
>> On Saturday, February 25 2023, I wrote:
>>
>>> On Monday, February 20 2023, David Bremner wrote:
>>>
>>>> David Bremner <da...@tethera.net> writes:
>>>>
>>>>> I don't think these are the same as previously encountered
>>>>> native-compilation related failures. I get the same / similar failures
>>>>> when running
>>>>>
>>>>> EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION=t emacs -q -batch -L . -l 
>>>>> buttercup -f buttercup-run-discover
>>>>>
>>>>> as a non-root user with a defined home directory. Log is attached (there
>>>>> is one more failure in the log, iiuc related to gpg missing in the
>>>>> chroot).
>>>>
>>>> With the latest upstream master (32-182-g5561440) which contains the
>>>> merge of PR 2002, this is down to 2 failures, both trampoline related.
>>>
>>> Very similar failures are also affecting emacs-web-server:
>>>
>>>   
>>> https://ci.debian.net/data/autopkgtest/unstable/amd64/e/emacs-web-server/31076037/log.gz
>>>
>>> I suspected the problem could be related to emacs-buttercup, so I
>>> updated it locally to the latest upstream version and rebuilt flycheck
>>> with it, to no avail.
>>
>> I spent some more time investigating this problem and was able to
>> pinpoint it to the fact that, for some reason, this problem happens when
>> you have two (spy-on) calls and the first one uses :and-return-value,
>> which is the case here.
>>
>> I'm not sure this is a bug with buttercup, but I filed an upstream bug
>> with them just in case:
>>
>>   https://github.com/jorgenschaefer/emacs-buttercup/issues/230
>
> The following incantation makes the testsuite pass for me:
>
>   buttercup --eval "(setq native-comp-enable-subr-trampolines nil)" -L .

I was testing with an upstream build.  For Debian's Emacs, we should
use:

  buttercup --eval "(setq comp-enable-subr-trampolines nil)" -L .

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/

Attachment: signature.asc
Description: PGP signature

Reply via email to