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

Doesn't work with Ubuntu 22.04 #206

Closed
msrd0 opened this issue Sep 16, 2022 · 4 comments · Fixed by #220
Closed

Doesn't work with Ubuntu 22.04 #206

msrd0 opened this issue Sep 16, 2022 · 4 comments · Fixed by #220
Labels
bug Something isn't working upstream

Comments

@msrd0
Copy link

msrd0 commented Sep 16, 2022

I'm using inkscape to convert svg to tex so I need Ubuntu 22.04 for a recent inkscape version in CI. However, tectonic then fails to run with error message

tectonic myfile.tex
dlopen(): error loading libfuse.so.2

AppImages require FUSE to run. 
You might still be able to extract the contents of this AppImage 
if you run it with the --appimage-extract option. 
See https://github.com/AppImage/AppImageKit/wiki/FUSE 
for more information
make: *** [Makefile:28: myfile.pdf] Error 1
@WtfJoke
Copy link
Owner

WtfJoke commented Sep 17, 2022

Hi @msrd0

Thanks for reporting the issue.
This is an upstream issue of AppImage (AppImage/AppImageKit#1120 AppImage/AppImageKit#877) / Ubuntu 22.04 (Bug 1965636 marked as wont fixed in Ubuntu) .

Have you tried installing libfuse like described in the link?
e.g.

sudo add-apt-repository universe
sudo apt install libfuse2

Probably this will be fixed upstream in AppImage with this issue AppImage/AppImageKit#877

EDIT: I tested the workaround on a sample repo and it seems to work.
See here https://github.com/WtfJoke/setup-tectonic-sample/blob/ubuntu2204/.github/workflows/push.yml#L9-L12

@WtfJoke WtfJoke added bug Something isn't working upstream labels Sep 17, 2022
@msrd0
Copy link
Author

msrd0 commented Sep 17, 2022

Yes the workaround works. Unfortunately I'm stuck with texlive (which takes forever to install) since tectonic doesn't support pstricks which is what inkscape outputs.

EDIT: if anyone else needs to use texlive in CI, I highly recommend using jirutka/setup-alpine and apk add texlive-xetex texlive-texmf-most. This completes in about a minute, compared to the 15 minutes it takes ubuntu to install those same packages with an already installed os.

@WtfJoke
Copy link
Owner

WtfJoke commented Sep 18, 2022

Yes the workaround works.

🎉

I'm stuck with texlive (which takes forever to install) since tectonic doesn't support pstricks which is what inkscape outputs.

Thats a bummer :S but glad it worked out with the alpine package

WtfJoke added a commit that referenced this issue Dec 11, 2022
As there is no support yet for AppImage on Ubuntu 22.04, see
#206 (comment)

Newer tectonic version doesnt seem to be need any dependencies on linux anymore, according to the latest install-docs
https://tectonic-typesetting.github.io/book/latest/installation/
WtfJoke added a commit that referenced this issue Dec 11, 2022
As there is no support yet for AppImage on Ubuntu 22.04, see
#206 (comment)

Newer tectonic version doesnt seem to be need any dependencies on linux anymore, according to the latest install-docs
https://tectonic-typesetting.github.io/book/latest/installation/
@WtfJoke WtfJoke linked a pull request Dec 11, 2022 that will close this issue
WtfJoke added a commit that referenced this issue Dec 11, 2022
As there is no support yet for AppImage on Ubuntu 22.04, see
#206 (comment)

Newer tectonic version doesnt seem to be need any dependencies on linux anymore, according to the latest install-docs
https://tectonic-typesetting.github.io/book/latest/installation/
WtfJoke added a commit that referenced this issue Dec 11, 2022
As there is no support yet for AppImage on Ubuntu 22.04, see
#206 (comment)
and GitHub rolls out Ubuntu 22.04 soon, see
actions/runner-images#6399

Newer tectonic version doesnt seem to be need any dependencies on linux
anymore, according to the latest install-docs
https://tectonic-typesetting.github.io/book/latest/installation/

This means we can use the normal .tar.gz file on these versions. Stick
to AppImage on older versions (<= 0.10.0) to keep compatibility high.
@WtfJoke
Copy link
Owner

WtfJoke commented Dec 11, 2022

Hey @msrd0
FYI: I've added support for Ubuntu 22.04 now (I've switched from AppImage to the regular binary on newer tectonic versions).
You can test it if you want/can:

steps:
  - uses: wtfjoke/setup-tectonic@v2
    with:
      github-token: ${{ secrets.GITHUB_TOKEN }}
  - run: tectonic main.tex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants