Bug#1033697: flycheck: autopkgtest fails: trampoline file does not exists

2023-04-03 Thread Nicholas D Steeves
Paul Gevers  writes:

> Source: flycheck
> Version: 32~git.20200527.9c435db3-3
> Severity: serious
[snip]
> Traceback (most recent call last):
>spy-on(buffer-file-name :and-return-value "test-buffer-name")
>buttercup--spy-on-and-call-replacement(buffer-file-name (lambda 
> ( arg...
>comp-subr-trampoline-install(buffer-file-name)
>comp-trampoline-search(buffer-file-name)
>  
> native-elisp-load("/home/debci/.emacs.d/eln-cache/28.2-ffd0c654/subr--tram...
> error: (native-lisp-load-failed "file does not exists" 
> "/home/debci/.emacs.d/eln-cache/28.2-ffd0c654/subr--trampoline-627565722d66696c652d6e616d65_buffer_file_name_0.eln")
>
> 
> [31mUtilities flycheck-buffer-saved-p considers a modified buffer with 
> backing file unsaved[0m
>
> Traceback (most recent call last):
>spy-on(buffer-file-name :and-return-value "test-buffer-name")
>buttercup--spy-on-and-call-replacement(buffer-file-name (lambda 
> ( arg...
>comp-subr-trampoline-install(buffer-file-name)
>comp-trampoline-search(buffer-file-name)
>  
> native-elisp-load("/home/debci/.emacs.d/eln-cache/28.2-ffd0c654/subr--tram...
> error: (native-lisp-load-failed "file does not exists" 
> "/home/debci/.emacs.d/eln-cache/28.2-ffd0c654/subr--trampoline-627565722d66696c652d6e616d65_buffer_file_name_0.eln")
>
> Ran 109 out of 110 specs, 2 failed, in 389.98ms.

I wonder if the following upstream Emacs bug (tldr: given two
primitives, the necessary trampoline and eln file is not generated for
the second primitive) is the cause of this behaviour?:

  https://mail.gnu.org/archive/html/bug-gnu-emacs/2023-02/msg02464.html

Rob, Sean, and Aymeric, what do you think?  To my eyes that upstream
Emacs bug looks like it's probably RC buggy, and flycheck+buttercup is a
reproducer.

Regards,
Nicholas


signature.asc
Description: PGP signature


Bug#1033697: flycheck: autopkgtest fails: trampoline file does not exists

2023-03-30 Thread Paul Gevers

Source: flycheck
Version: 32~git.20200527.9c435db3-3
Severity: serious
User: debian...@lists.debian.org
Usertags: regression

Dear maintainer(s),

Your package has an autopkgtest, great. However, it fails since January 
2023. Can you please investigate the situation and fix it? I copied some 
of the output at the bottom of this report.


The release team has announced [1] that failing autopkgtest on amd64 and 
arm64 are considered RC in testing.


More information about this bug and the reason for filing it can be 
found on 
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation


Paul

[1] https://lists.debian.org/debian-devel-announce/2019/07/msg2.html

https://ci.debian.net/data/autopkgtest/testing/amd64/f/flycheck/32470842/log.gz


Utilities flycheck-buffer-saved-p considers an unmodified buffer 
with backing file saved


Traceback (most recent call last):
  spy-on(buffer-file-name :and-return-value "test-buffer-name")
  buttercup--spy-on-and-call-replacement(buffer-file-name (lambda 
( arg...

  comp-subr-trampoline-install(buffer-file-name)
  comp-trampoline-search(buffer-file-name)

native-elisp-load("/home/debci/.emacs.d/eln-cache/28.2-ffd0c654/subr--tram...
error: (native-lisp-load-failed "file does not exists" 
"/home/debci/.emacs.d/eln-cache/28.2-ffd0c654/subr--trampoline-627565722d66696c652d6e616d65_buffer_file_name_0.eln")



Utilities flycheck-buffer-saved-p considers a modified buffer with 
backing file unsaved


Traceback (most recent call last):
  spy-on(buffer-file-name :and-return-value "test-buffer-name")
  buttercup--spy-on-and-call-replacement(buffer-file-name (lambda 
( arg...

  comp-subr-trampoline-install(buffer-file-name)
  comp-trampoline-search(buffer-file-name)

native-elisp-load("/home/debci/.emacs.d/eln-cache/28.2-ffd0c654/subr--tram...
error: (native-lisp-load-failed "file does not exists" 
"/home/debci/.emacs.d/eln-cache/28.2-ffd0c654/subr--trampoline-627565722d66696c652d6e616d65_buffer_file_name_0.eln")


Ran 109 out of 110 specs, 2 failed, in 389.98ms.


OpenPGP_signature
Description: OpenPGP digital signature