-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eldev test can fail if there is extra lines in the output of packaging child process #67
Comments
It's somewhat difficult, since we cannot differentiate between stdout and stderr, and I don't want to lose stderr completely, since it is at least shown to the user in some cases... Also, doesn't help that Emacs gives them to us in mixed order, since bootstrapping must certainly have happened first. Anyway, I guess it is related to that XDG crap. Do you have a simple way to reproduce? |
I think I've managed to crack it ... The issue is indeed related to XDG and is caused by the different Eldev versions used to bootstrap (latest mainline 0.10.4snapshot with XDG support) and the eldev version used thereafter (0.10.3 downloaded from Melpa stable). The first time This is the why we get a second bootstrap in the child, resulting tot he Bootstrap message generated in the package output. To reproduce on Linux
This will not lead to a crash on Linux, but will do on MS-Windows, due to
It appears to me that we have two issues
Thanks! |
Sorry, don't have much time for Eldev currently. Just released 0.11, so that should restore webinstall and MELPA synchronization, and hopefully resolve visible effects of this. I'll leave the bug open, though, maybe we come up with a generic solution. |
…produces unexpected output (see issue #67).
This commit doesn't fix or improve anything, but at least it makes Eldev fail explicitly in such cases, so that it's easier to understand what's wrong. |
Hi,
the cider project circle ci windows tests started to unexpectedly fail recently , caused by what it appears to be extra space in the output of the child process while creating the project's package:
It appears the extra bootstrap line in the child's output confuses Eldev which instead of trying to locate the file at
c:/Users/circleci/project/.eldev/27.2/local/generated/cider-1.3.0snapshot.tar
it tries to locate it inBootstrapping Eldev for Emacs 27.2 from MELPA Stable...
.Irrespective as to why the child process tries to reboostrap Eldev, should we improve the relevant code to gracefully handle extra output in the child process, perhaps by using a pattern to scan for the package location rather than offsetting from the last line?
circle ci log file at https://gist.github.com/ikappaki/76d7d81e363a0f9244b2374d62d11a89#file-issue-eldev-circleci-cider-test-output-boot-log.
Thanks
The text was updated successfully, but these errors were encountered: