emacs-eldev / eldev

Elisp development tool
https://emacs-eldev.github.io/eldev/
GNU General Public License v3.0
230 stars 17 forks source link

My Github CI actions started failing, so I'm working my way up the tree of my ignorance, starting with eldev #84

Closed Trevoke closed 1 year ago

Trevoke commented 1 year ago

Hello! My CI actions on Github started failing earlier this year and I can't figure out why. The action file is here: https://github.com/Trevoke/org-gtd.el/blob/master/.github/workflows/test.yml

A sample failure is here https://github.com/Trevoke/org-gtd.el/actions/runs/4145028703/jobs/7168845293

The error, I think is this:

2023-02-10T14:56:57.6694492Z [00:10.756]  Debugger entered--Lisp error: (error "Package does not untar cleanly into directory org-gtd-2.2.0/")
2023-02-10T14:56:57.6695947Z                signal(error ("Package does not untar cleanly into directory org-gtd-2.2.0/"))
2023-02-10T14:56:57.6696918Z                error("Package does not untar cleanly into directory %s/" "org-gtd-2.2.0")

I hate to trouble you with this because this probably isn't a problem with eldev (after all, it's my package...) but I genuinely don't know what I could have done to cause my package to untar uncleanly, so I'm hoping you can help me out with this -- and if not, I'm hoping you can turn me in the right direction.

Thanks!

doublep commented 1 year ago

I don't know what leads to it, but the error is gone if I make the version in org-gtd-pkg.el consistent with what is declared in org-gtd.el, i.e. change 2.2.0 to 2.3.0. Maybe best to just delete explicit -pkg.el file?

Maybe leave this bug open, eventually Eldev should warn about such things.

Quick debug how-to:

Trevoke commented 1 year ago

Thanks! Fixed the problem, found a bug in the product logic, and fixed that. Much appreciated! I'll store your quick debug how-to for later use!