Skip to content
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

AUCTeX mirror no longer contains tex-site.el #1160

Closed
TOTBWF opened this issue May 3, 2024 · 6 comments
Closed

AUCTeX mirror no longer contains tex-site.el #1160

TOTBWF opened this issue May 3, 2024 · 6 comments
Labels

Comments

@TOTBWF
Copy link

TOTBWF commented May 3, 2024

In #240, a full mirror of ELPA was created to work around to auctex not shipping build artifacts. It seems that emacs-straight/auctex@5471db4 removed the build artifacts for some reason, which means that (straight-use-package auctex) now fails due to tex-site.el being missing.

@TOTBWF TOTBWF added the bug label May 3, 2024
@raxod502
Copy link
Member

raxod502 commented May 4, 2024

Confirmed, and I ran into this today while upgrading.

This change from upstream sure looks relevant:

image

Guess we have to figure out (again) what GNU ELPA is doing, and replicate that (again).

@raxod502
Copy link
Member

raxod502 commented May 4, 2024

Ok, that comes from this upstream commit which deletes tex-site.el: https://git.savannah.gnu.org/cgit/auctex.git/commit/?h=main&id=6b3e109cd46c5c2d1d1379891bf79cf934246789 which was pushed on 2024-04-19.

Confirmed that GNU ELPA build system is somehow generating tex-site.el though - https://elpa.gnu.org/devel/auctex.html download of auctex-14.0.4.0.20240427.91120.tar gives an archive that does contain tex-site.el, and it is dated 2024-04-27.

@raxod502
Copy link
Member

raxod502 commented May 4, 2024

Well that'll do it, there is a new :make parameter, so I just have to update GNU ELPA Mirror to run the command given there if present.

@raxod502
Copy link
Member

raxod502 commented May 5, 2024

I've dug into this a bunch and it turns out that you have to make build/<package> which is a step we were not doing. But then it turns out that this has a billion dependencies on random things like Markdown converters and TeX Live and other undocumented things, and it also doesn't work without various hacks to the source code to do things like bind-mount /var and and and...

A stupider yet far superior option is to rewrite GNU ELPA Mirror to just pull the published tarballs. Then we don't ever have to maintain this again.

@raxod502
Copy link
Member

raxod502 commented May 5, 2024

Pushed radian-software/gnu-elpa-mirror@accb598 and rebuilding now. You can see https://github.com/emacs-straight/auctex/blob/a5552370bde473b1043f20a6385f89122af9af7d/tex-site.el is available after the latest commit.

@raxod502 raxod502 closed this as completed May 5, 2024
@TOTBWF
Copy link
Author

TOTBWF commented May 5, 2024

Thanks for fixing this so quickly, really appreciate it 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants