Skip to content

Recursive symlink in fonts folder causes precompilation to fail #169

Open

Description

@Vectornaut

My ~/.fonts folder contains a relative symlink called fonts, with target fonts. This causes the precompilation of MathTeXEngine to fail, with the following message buried in a torrent of error and warning output.

ERROR: LoadError: InitError: IOError: stat("/home/USERNAME/.fonts/fonts"): too many symbolic links encountered (ELOOP)

When the symlink is removed, compilation succeeds.

I'm not sure how MathTeXEngine should handle recursive symlinks like this, but the current behavior made it very hard to figure out what was going on. Fonts work fine everywhere else in my system, and I only use MathTeXEngine as a dependency of other packages, so it took me a lot of digging to even understand where the problem was coming from.

Platform

Julia: Tested in 1.13.0 and 1.10.0
OS: Ubuntu 24.04

Activity

  1. added
    help wanted
    on Oct 19, 2026
  2. Kolaru commented on Oct 19, 2026

    @Kolaru
    Owner

    Thanks for reporting!

    However, I have really no idea how to fix this.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions