Comments (9)
It should resolve in #2002.
from flycheck.
from flycheck.
Interesting... Our CI does not report anything like this. See https://github.com/flycheck/flycheck/actions/runs/4238492328/jobs/7365623154#step:5:878
Edit: How do you invoke the tests? Through Cask, Eask, makem.sh?
from flycheck.
Debian invokes buttercup -L .
directly. I'm also investigating this problem and I noticed something interesting. If I get inside the chroot where the package is being built, set HOME
to a proper location (e.g., /tmp/
), create the .emacs.d
directory, and run buttercup
again, I see the same error:
...
========================================
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 (&rest args) nil '"test-buffer-name"))
comp-subr-trampoline-install(buffer-file-name)
comp-trampoline-search(buffer-file-name)
native-elisp-load("/tmp/.emacs.d/eln-cache/28.2-b25a1857/subr--trampoline-6275666665722d66696c652d6e616d65_buffer_file_name_0.eln")
error: (native-lisp-load-failed "file does not exists" "/tmp/.emacs.d/eln-cache/28.2-b25a1857/subr--trampoline-6275666665722d66696c652d6e616d65_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 (&rest args) nil '"test-buffer-name"))
comp-subr-trampoline-install(buffer-file-name)
comp-trampoline-search(buffer-file-name)
native-elisp-load("/tmp/.emacs.d/eln-cache/28.2-b25a1857/subr--trampoline-6275666665722d66696c652d6e616d65_buffer_file_name_0.eln")
error: (native-lisp-load-failed "file does not exists" "/tmp/.emacs.d/eln-cache/28.2-b25a1857/subr--trampoline-6275666665722d66696c652d6e616d65_buffer_file_name_0.eln")
...
However, if I inspect the contents of $HOME/.emacs.d
, I see:
# tree $HOME/.emacs.d/
/tmp/.emacs.d/
└── eln-cache
└── 28.2-b25a1857
└── subr--trampoline-66696c652d6578697374732d70_file_exists_p_0.eln
3 directories, 1 file
So there is a .eln
file there, but it's a different one than the one expected by the test. I'm still trying to figure out what's going on here.
from flycheck.
After some more investigation, I found that the problem is not with flycheck, but probably with buttercup: jorgenschaefer/emacs-buttercup#230
I'm still puzzled as to why these failures are not reproducible in your CI, though.
from flycheck.
May be something went wrong with .eln
? I haven't tried native compilation, but I've heard is unstable. 😕 Maybe that was the issue?
from flycheck.
It's a new feature but I wouldn't say it's unstable. However, it seems like the Emacs your CI is using doesn't have native compilation enabled, which explains why the error doesn't manifest there.
from flycheck.
It's a new feature but I wouldn't say it's unstable.
That's good to know. :)
Yeah, we don't tested with native compilation. That's indeed true. 😅
from flycheck.
The tests are working for me, both locally and on the CI, so I close the issue for now.
from flycheck.
Related Issues (20)
- Terraform-tflint command line arguments have changed HOT 1
- flycheck wrong type argument HOT 2
- Flycheck clears the selection mark when selecting text with errors HOT 2
- Running `global-flycheck-mode` errors if no "Tools" menu on startup HOT 3
- PHP - Warning about A file should declare new symbols... HOT 1
- test failure: flycheck-define-checker/awk-gawk/syntax-error HOT 1
- Flycheck's Emacs Lisp checker is unable to identify functions defined in nested block
- flycheck in buffers with no file name
- *compilation* buffer takes precedence when it exists
- Is CLA assistant working ? HOT 4
- Rust: couldn't create a temp dir: Operation not permitted HOT 1
- Need a version of flycheck-define-checker and flycheck-define-command-checker that doesn't have to have the checker executable be hard-coded to a string but rather looked up dynamically HOT 1
- Problems setting up PHP_CodeSniffer in Emacs HOT 1
- Support oxlint please HOT 2
- Discrepancy between flycheck-compile output and Flycheck errors buffer using slim-lint checker HOT 2
- Consider downgrading seq dep version HOT 7
- Error when loading: Eager macro-expansion skipped due to cycle HOT 3
- Checker `python-ruff` fails for Python buffers not visiting a file. HOT 18
- Hardcoded "python3" value for executable breaks Windows installs HOT 4
- Flycheck reports 'the function ... is not known to be defined' for autoloaded elisp function. Why? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flycheck.