Open forgemo opened 5 months ago
Little addition:
When using tectonic as a dependency, I get the same error from cargo build
.
However, when adding the feature flag external-harfbuzz
, it builds successfully.
// this works
tectonic = {version = "0.15", features = ["external-harfbuzz"]}
// this fails
tectonic = {version = "0.15"}
Therefore, the issue is likely related to the vendoring of harfbuzz.
Ran into the same error just now on a Kali (Debian-based) system (rolling release; updated just prior) where the same tectonic version (0.15.0) was being reinstalled (--force
) due to Rust upgrading to 1.77.0. Installed libharfbuzz-dev version is 8.3.0-2.
Uninstalling and installing fresh did not resolve it.
Based on your observation adding the external-harfbuzz
feature, I tried cargo install -F external-harfbuzz tectonic
... that worked!
I believe this might be fixed in https://github.com/tectonic-typesetting/tectonic/issues/1156 which has not yet made it to a crates.io release. I was able to successfully build by specifying a git dependency in my Cargo.toml:
tectonic = { git = "https://github.com/tectonic-typesetting/tectonic.git", branch = "master" }
I have the same problem when trying to install tectonic on Ubuntu 24.04 beta with:
cargo install tectonic
If instead I use
cargo install --git https://github.com/tectonic-typesetting/tectonic tectonic
It works fine.
I guess a lot of people will hit this problem when Ubuntu 24.04 is released in a week or so, so maybe it makes sense to cut a release.
I tried to install tectonic via
cargo install tectonic
. Unfortunately, it failed with the following error message.I'm using Ubuntu 22.04 and my installed libharfbuzz-dev version is
I installed all dependencies via
Please help me to understand what is going wrong.